S390: Regenerate ULPs
[glibc.git] / ChangeLog
blob6d621ee8aaead15992cdbcdc6d920767fdbbe350
1 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5 2017-03-07  Florian Weimer  <fweimer@redhat.com>
7         * time/tzset.c (compute_offset): Open-code min macro.
8         (min, max, sign): Remove.
10 2017-03-07  Florian Weimer  <fweimer@redhat.com>
12         [BZ #15576]
13         Remove TZNAME_MAX limit from sysconf.
14         * include/time.h (__tzname_cur_max, __tzname_max): Remove
15         declaration.
16         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
17         compute_tzname_max.
18         (compute_tzname_max): Remove.
19         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
20         (update_vars): Do not update __tzname_cur_max.
21         (tzset_internal): Remove argument.
22         (__tzset): Adjust call to tzset_internal.
23         (__tz_convert): Likewise.
25         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
26         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
27         * manual/conf.texi (Sysconf Definition): Update comment.
29 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
31         [BZ #21209]
32         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
33         AT_SECURE processes.
34         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
35         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
36         (test_child): Likewise.
37         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
39 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
41         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
43 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
45         * sysdeps/s390/atomic-machine.h
46         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
47         (__arch_compare_and_exchange_val_8_acq,
48         __arch_compare_and_exchange_val_16_acq,
49         __arch_compare_and_exchange_val_32_acq,
50         __arch_compare_and_exchange_val_64_acq):
51         Delete macro.
52         (atomic_compare_and_exchange_val_acq,
53         atomic_compare_and_exchange_val_rel,
54         atomic_compare_and_exchange_bool_acq,
55         catomic_compare_and_exchange_bool_acq,
56         atomic_exchange_acq, atomic_exchange_rel,
57         atomic_exchange_and_add_acq,
58         atomic_exchange_and_add_rel,
59         catomic_exchange_and_add, atomic_or_val,
60         atomic_or, catomic_or, atomic_bit_test_set,
61         atomic_and_val, atomic_and, catomic_and):
62         Define macros with help of C11 atomic builtins.
64 2017-03-03  Justus Winter <justus@gnupg.org>
66         * sysdeps/mach/hurd/ftruncate64.c: New file.
67         * sysdeps/mach/hurd/truncate64.c: Likewise.
69 2017-03-03  Florian Weimer  <fweimer@redhat.com>
71         * time/tzfile.c (NOID): Do not define.
72         * time/tzset.c (NOID): Likewise.
74 2017-03-03  Florian Weimer  <fweimer@redhat.com>
76         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
78 2017-03-02  Florian Weimer  <fweimer@redhat.com>
80         * elf/get-dynamic-info.h: Remove header file inclusion guard.
82 2017-03-02  Florian Weimer  <fweimer@redhat.com>
84         [BZ #21015]
85         * manual/install.texi (Configuring and compiling): Document
86         --enable-bind-now.
87         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
88         (build-shlib-helper): Use $(LDFLAGS-lib.so).
89         (format.lds): Likewise.
90         [bind-now] (LDFLAGS-c.so): Remove.
91         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
92         be R_X86_64_GLOB_DAT.
93         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
94         relocation can be R_386_GLOB_DAT.
95         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
96         relocaiton can be R_ALPHA_GLOB_DAT.
97         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
99 2017-03-01  Zack Weinberg  <zackw@panix.com>
101         * include/libc-pointer-arith.h: New file.  Define
102         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
103         PTR_ALIGN_DOWN here.
104         * include/libc-internal.h: Definitions of above macros
105         moved from here.  Don't include libc-diag.h anymore either.
106         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
107         Don't include libc-internal.h.
109         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
110         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
111         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
112         * string/strcoll_l.c, sysdeps/nacl/brk.c
113         * sysdeps/unix/clock_settime.c
114         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
115         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
116         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
117         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
118         Don't include libc-internal.h.
120         * elf/get-dynamic-info.h, iconv/loop.c
121         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
122         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
123         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
124         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
125         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
126         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
127         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
128         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
129         * sysdeps/ieee754/ldbl-128/k_tanl.c
130         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
131         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
132         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
133         Include libc-diag.h instead of libc-internal.h.
135         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
136         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
137         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
138         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
139         * sysdeps/unix/sysv/linux/spawni.c
140         * sysdeps/x86_64/nptl/tls.h:
141         Include libc-pointer-arith.h instead of libc-internal.h.
143         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
144         * sysdeps/x86_64/atomic-machine.h:
145         Add multiple include guard.
147         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
148         * string/strcasestr.c: No need to include config.h.
149         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
150         sys/auxv.h. Don't include sysdep.h.
151         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
153         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
154         DL_LOOKUP_ADDRESS.
155         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
156         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
157         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
158         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
159         of ARTIFICIAL_LIMIT.
160         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
161         declaration of __clone2.
163 2017-02-28  Florian Weimer  <fweimer@redhat.com>
165         * scripts/backport-support.sh (latest_commit): New file.
167 2017-02-28  Florian Weimer  <fweimer@redhat.com>
169         [BZ #20257]
170         * inet/Makefile (routines): Add deadline.
171         (tests-static): Add tst-deadline.
172         * inet/net-internal.h (struct deadline_current_time)
173         (__deadline_current_time, struct deadline, __deadline_is_infinite)
174         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
175         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
176         * inet/deadline.c: New file.
177         * inet/tst-deadline.c: Likewise.
178         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
179         tst-udp-timeout, tst-udp-garbage.
180         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
181         explicitly.
182         (tst-udp-garbage): Likewise.  Also link against thread library.
183         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
184         struct layout is part of the ABI.
185         (clntudp_call): Rework timeout handling.
186         * sunrpc/tst-udp-garbage.c: New file.
187         * sunrpc/tst-udp-nonblocking.c: Likewise.
188         * sunrpc/tst-udp-timeout.c: Likewise.
190 2017-02-28  Florian Weimer  <fweimer@redhat.com>
192         [BZ #5010]
193         * sunrpc/svc.c (svc_is_mapped): Remove.
194         (svc_unregister): Obtain mapped status while the service is still
195         registered.
196         * sunrpc/Makefile [have-thread-library] (tests): Add
197         tst-svc_register.
198         (tst-svc_register): Link against libc.so explicitly and the thread
199         library.
200         * sunrpc/tst-svc_register.c: New file.
202 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
204         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
205         * sysdeps/pthread/bits/sigthread.h: Likewise.
207 2017-02-27  Florian Weimer  <fweimer@redhat.com>
209         [BZ #21115]
210         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
211         * sunrpc/Makefile (tests): Add tst-udp-error.
212         (tst-udp-error): Link against libc.so explicitly.
213         * sunrpc/tst-udp-error: New file.
215 2017-02-25  Zack Weinberg  <zackw@panix.com>
217         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
218         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
220         * sysdeps/generic/math_ldbl.h
221         * sysdeps/ia64/fpu/math_ldbl.h
222         * sysdeps/ieee754/ldbl-128/math_ldbl.h
223         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
224         * sysdeps/ieee754/ldbl-96/math_ldbl.h
225         * sysdeps/powerpc/fpu/math_ldbl.h
226         * sysdeps/x86_64/fpu/math_ldbl.h:
227         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
228         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
229         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
230         Add copyright notices.
232         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
233         Don't use EXTRACT_WORDS64.
235         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
236         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
237         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
238         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
239         Include math_ldbl.h, not math_private.h.
241 2017-02-25  Zack Weinberg  <zackw@panix.com>
243         * include/libc-diag.h: New file.  Define ignore_value,
244         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
245         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
247         * include/libc-internal.h: Definitions of above macros moved from
248         here.  Include libc-diag.h.  Add copyright notice.
250         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
251         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
252         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
253         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
254         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
255         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
256         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
257         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
258         Include libc-diag.h instead of libc-internal.h.
260         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
261         call to unsetenv (NULL).
262         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
263         call to pthread_mutexattr_destroy (NULL).
265 2017-02-25  Zack Weinberg  <zackw@panix.com>
267         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
268         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
269         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
270         gets was removed from C++ in C++14.
271         * include/stdio.h: Remove redundant declaration of gets.
272         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
273         be declared, since we are testing it.
274         * stdio-common/Makefile (tst-gets.c): Compile with
275         -Wno-deprecated-declarations.
276         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
277         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
278         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
279         Compile with -Wno-deprecated-declarations.
281 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
283         * math/libm-test-support.c (check_ulp): Use LIT() around literal
284         numbers.
286 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
288         * resolv/tst-resolv-qtypes.c (domain):
289         Change type to const pointer to const char.
291 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
293         * math/Makefile (libm-tests-generated): Remove variable.
294         (libm-tests-base-normal): New variable.
295         (libm-tests-base-finite): Likewise.
296         (libm-tests-base-inline): Likewise.
297         (libm-tests-base): Likewise.
298         (libm-tests-normal): Likewise.
299         (libm-tests-finite): Likewise.
300         (libm-tests-inline): Likewise.
301         (libm-tests-vector): Likewise.
302         (libm-tests): Define in terms of these new variables.
303         (libm-tests-for-type): New variable.
304         (libm-tests.o): Move definition.
305         (tests): Move addition of $(libm-tests).
306         (generated): Update for new and removed libm test files.
307         ($(objpfx)libm-test.c): Remove target.
308         ($(objpfx)libm-have-vector-test.h): Likewise.
309         (CFLAGS-test-double-vlen2.c): Remove variable.
310         (CFLAGS-test-double-vlen4.c): Likewise.
311         (CFLAGS-test-double-vlen8.c): Likewise.
312         (CFLAGS-test-float-vlen4.c): Likewise.
313         (CFLAGS-test-float-vlen8.c): Likewise.
314         (CFLAGS-test-float-vlen16.c): Likewise.
315         (CFLAGS-test-float.c): Likewise.
316         (CFLAGS-test-float-finite.c): Likewise.
317         (CFLAGS-libm-test-support-float.c): Likewise.
318         (CFLAGS-test-double.c): Likewise.
319         (CFLAGS-test-double-finite.c): Likewise.
320         (CFLAGS-libm-test-support-double.c): Likewise.
321         (CFLAGS-test-ldouble.c): Likewise.
322         (CFLAGS-test-ldouble-finite.c): Likewise.
323         (CFLAGS-libm-test-support-ldouble.c): Likewise.
324         (libm-test-inline-cflags): New variable.
325         (CFLAGS-test-ifloat.c): Remove variable.
326         (CFLAGS-test-idouble.c): Likewise.
327         (CFLAGS-test-ildouble.c): Likewise.
328         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
329         dependencies.
330         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
331         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
332         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
333         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
334         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
335         Likewise.
336         (dependencies on libm-test-support-*.o): Remove.
337         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
338         rules using iterators.
339         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
340         Likewise.
341         ($(objpfx)libm-test-support-$(o).o): Likewise.
342         ($(addprefix $(objpfx),$(filter-out $(tests-static)
343         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
344         instead.
345         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
346         define rule instead.
347         * math/README.libm-test: Update.
348         * math/libm-test-acos.inc: Include libm-test-driver.c.
349         (do_test): New function.
350         * math/libm-test-acosh.inc: Include libm-test-driver.c.
351         (do_test): New function.
352         * math/libm-test-asin.inc: Include libm-test-driver.c.
353         (do_test): New function.
354         * math/libm-test-asinh.inc: Include libm-test-driver.c.
355         (do_test): New function.
356         * math/libm-test-atan.inc: Include libm-test-driver.c.
357         (do_test): New function.
358         * math/libm-test-atan2.inc: Include libm-test-driver.c.
359         (do_test): New function.
360         * math/libm-test-atanh.inc: Include libm-test-driver.c.
361         (do_test): New function.
362         * math/libm-test-cabs.inc: Include libm-test-driver.c.
363         (do_test): New function.
364         * math/libm-test-cacos.inc: Include libm-test-driver.c.
365         (do_test): New function.
366         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
367         (do_test): New function.
368         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
369         (do_test): New function.
370         * math/libm-test-carg.inc: Include libm-test-driver.c.
371         (do_test): New function.
372         * math/libm-test-casin.inc: Include libm-test-driver.c.
373         (do_test): New function.
374         * math/libm-test-casinh.inc: Include libm-test-driver.c.
375         (do_test): New function.
376         * math/libm-test-catan.inc: Include libm-test-driver.c.
377         (do_test): New function.
378         * math/libm-test-catanh.inc: Include libm-test-driver.c.
379         (do_test): New function.
380         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
381         (do_test): New function.
382         * math/libm-test-ccos.inc: Include libm-test-driver.c.
383         (do_test): New function.
384         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
385         (do_test): New function.
386         * math/libm-test-ceil.inc: Include libm-test-driver.c.
387         (do_test): New function.
388         * math/libm-test-cexp.inc: Include libm-test-driver.c.
389         (do_test): New function.
390         * math/libm-test-cimag.inc: Include libm-test-driver.c.
391         (do_test): New function.
392         * math/libm-test-clog.inc: Include libm-test-driver.c.
393         (do_test): New function.
394         * math/libm-test-clog10.inc: Include libm-test-driver.c.
395         (do_test): New function.
396         * math/libm-test-conj.inc: Include libm-test-driver.c.
397         (do_test): New function.
398         * math/libm-test-copysign.inc: Include libm-test-driver.c.
399         (do_test): New function.
400         * math/libm-test-cos.inc: Include libm-test-driver.c.
401         (do_test): New function.
402         * math/libm-test-cosh.inc: Include libm-test-driver.c.
403         (do_test): New function.
404         * math/libm-test-cpow.inc: Include libm-test-driver.c.
405         (do_test): New function.
406         * math/libm-test-cproj.inc: Include libm-test-driver.c.
407         (do_test): New function.
408         * math/libm-test-creal.inc: Include libm-test-driver.c.
409         (do_test): New function.
410         * math/libm-test-csin.inc: Include libm-test-driver.c.
411         (do_test): New function.
412         * math/libm-test-csinh.inc: Include libm-test-driver.c.
413         (do_test): New function.
414         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
415         (do_test): New function.
416         * math/libm-test-ctan.inc: Include libm-test-driver.c.
417         (do_test): New function.
418         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
419         (do_test): New function.
420         * math/libm-test-erf.inc: Include libm-test-driver.c.
421         (do_test): New function.
422         * math/libm-test-erfc.inc: Include libm-test-driver.c.
423         (do_test): New function.
424         * math/libm-test-exp.inc: Include libm-test-driver.c.
425         (do_test): New function.
426         * math/libm-test-exp10.inc: Include libm-test-driver.c.
427         (do_test): New function.
428         * math/libm-test-exp2.inc: Include libm-test-driver.c.
429         (do_test): New function.
430         * math/libm-test-expm1.inc: Include libm-test-driver.c.
431         (do_test): New function.
432         * math/libm-test-fabs.inc: Include libm-test-driver.c.
433         (do_test): New function.
434         * math/libm-test-fdim.inc: Include libm-test-driver.c.
435         (do_test): New function.
436         * math/libm-test-floor.inc: Include libm-test-driver.c.
437         (do_test): New function.
438         * math/libm-test-fma.inc: Include libm-test-driver.c.
439         (do_test): New function.
440         * math/libm-test-fmax.inc: Include libm-test-driver.c.
441         (do_test): New function.
442         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
443         (do_test): New function.
444         * math/libm-test-fmin.inc: Include libm-test-driver.c.
445         (do_test): New function.
446         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
447         (do_test): New function.
448         * math/libm-test-fmod.inc: Include libm-test-driver.c.
449         (do_test): New function.
450         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
451         (do_test): New function.
452         * math/libm-test-frexp.inc: Include libm-test-driver.c.
453         (do_test): New function.
454         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
455         (do_test): New function.
456         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
457         (do_test): New function.
458         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
459         (do_test): New function.
460         * math/libm-test-hypot.inc: Include libm-test-driver.c.
461         (do_test): New function.
462         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
463         (do_test): New function.
464         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
465         (do_test): New function.
466         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
467         (do_test): New function.
468         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
469         (do_test): New function.
470         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
471         (do_test): New function.
472         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
473         (do_test): New function.
474         * math/libm-test-isinf.inc: Include libm-test-driver.c.
475         (do_test): New function.
476         * math/libm-test-isless.inc: Include libm-test-driver.c.
477         (do_test): New function.
478         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
479         (do_test): New function.
480         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
481         (do_test): New function.
482         * math/libm-test-isnan.inc: Include libm-test-driver.c.
483         (do_test): New function.
484         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
485         (do_test): New function.
486         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
487         (do_test): New function.
488         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
489         (do_test): New function.
490         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
491         (do_test): New function.
492         * math/libm-test-iszero.inc: Include libm-test-driver.c.
493         (do_test): New function.
494         * math/libm-test-j0.inc: Include libm-test-driver.c.
495         (do_test): New function.
496         * math/libm-test-j1.inc: Include libm-test-driver.c.
497         (do_test): New function.
498         * math/libm-test-jn.inc: Include libm-test-driver.c.
499         (do_test): New function.
500         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
501         (do_test): New function.
502         * math/libm-test-llogb.inc: Include libm-test-driver.c.
503         (do_test): New function.
504         * math/libm-test-llrint.inc: Include libm-test-driver.c.
505         (do_test): New function.
506         * math/libm-test-llround.inc: Include libm-test-driver.c.
507         (do_test): New function.
508         * math/libm-test-log.inc: Include libm-test-driver.c.
509         (do_test): New function.
510         * math/libm-test-log10.inc: Include libm-test-driver.c.
511         (do_test): New function.
512         * math/libm-test-log1p.inc: Include libm-test-driver.c.
513         (do_test): New function.
514         * math/libm-test-log2.inc: Include libm-test-driver.c.
515         (do_test): New function.
516         * math/libm-test-logb.inc: Include libm-test-driver.c.
517         (do_test): New function.
518         * math/libm-test-lrint.inc: Include libm-test-driver.c.
519         (do_test): New function.
520         * math/libm-test-lround.inc: Include libm-test-driver.c.
521         (do_test): New function.
522         * math/libm-test-modf.inc: Include libm-test-driver.c.
523         (do_test): New function.
524         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
525         (do_test): New function.
526         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
527         (do_test): New function.
528         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
529         (do_test): New function.
530         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
531         (do_test): New function.
532         * math/libm-test-nextup.inc: Include libm-test-driver.c.
533         (do_test): New function.
534         * math/libm-test-pow.inc: Include libm-test-driver.c.
535         (do_test): New function.
536         * math/libm-test-remainder.inc: Include libm-test-driver.c.
537         (do_test): New function.
538         * math/libm-test-remquo.inc: Include libm-test-driver.c.
539         (do_test): New function.
540         * math/libm-test-rint.inc: Include libm-test-driver.c.
541         (do_test): New function.
542         * math/libm-test-round.inc: Include libm-test-driver.c.
543         (do_test): New function.
544         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
545         (do_test): New function.
546         * math/libm-test-scalb.inc: Include libm-test-driver.c.
547         (do_test): New function.
548         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
549         (do_test): New function.
550         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
551         (do_test): New function.
552         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
553         (do_test): New function.
554         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
555         (do_test): New function.
556         * math/libm-test-signbit.inc: Include libm-test-driver.c.
557         (do_test): New function.
558         * math/libm-test-significand.inc: Include libm-test-driver.c.
559         (do_test): New function.
560         * math/libm-test-sin.inc: Include libm-test-driver.c.
561         (do_test): New function.
562         * math/libm-test-sincos.inc: Include libm-test-driver.c.
563         (do_test): New function.
564         * math/libm-test-sinh.inc: Include libm-test-driver.c.
565         (do_test): New function.
566         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
567         (do_test): New function.
568         * math/libm-test-tan.inc: Include libm-test-driver.c.
569         (do_test): New function.
570         * math/libm-test-tanh.inc: Include libm-test-driver.c.
571         (do_test): New function.
572         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
573         (do_test): New function.
574         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
575         (do_test): New function.
576         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
577         (do_test): New function.
578         * math/libm-test-trunc.inc: Include libm-test-driver.c.
579         (do_test): New function.
580         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
581         (do_test): New function.
582         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
583         (do_test): New function.
584         * math/libm-test-y0.inc: Include libm-test-driver.c.
585         (do_test): New function.
586         * math/libm-test-y1.inc: Include libm-test-driver.c.
587         (do_test): New function.
588         * math/libm-test-yn.inc: Include libm-test-driver.c.
589         (do_test): New function.
590         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
591         (HAVE_VECTOR): Remove macro.
592         (START): Do not call HAVE_VECTOR.
593         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
594         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
595         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
596         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
597         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
598         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
599         * math/test-math-vector.h (FUNC_TEST): New macro.
600         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
601         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
602         (double-vlen4-funcs): Likewise.
603         (double-vlen4-avx2-funcs): Likewise.
604         (double-vlen8-funcs): Likewise.
605         (float-vlen4-funcs): Likewise.
606         (float-vlen8-funcs): Likewise.
607         (float-vlen8-avx2-funcs): Likewise.
608         (float-vlen16-funcs): Likewise.
609         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
610         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
611         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
612         macro.
613         (TEST_VECTOR_sin): Likewise.
614         (TEST_VECTOR_sincos): Likewise.
615         (TEST_VECTOR_log): Likewise.
616         (TEST_VECTOR_exp): Likewise.
617         (TEST_VECTOR_pow): Likewise.
618         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
619         Likewise.
620         (TEST_VECTOR_sin): Likewise.
621         (TEST_VECTOR_sincos): Likewise.
622         (TEST_VECTOR_log): Likewise.
623         (TEST_VECTOR_exp): Likewise.
624         (TEST_VECTOR_pow): Likewise.
625         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
626         Likewise.
627         (TEST_VECTOR_sinf): Likewise.
628         (TEST_VECTOR_sincosf): Likewise.
629         (TEST_VECTOR_logf): Likewise.
630         (TEST_VECTOR_expf): Likewise.
631         (TEST_VECTOR_powf): Likewise.
632         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
633         Likewise.
634         (TEST_VECTOR_sinf): Likewise.
635         (TEST_VECTOR_sincosf): Likewise.
636         (TEST_VECTOR_logf): Likewise.
637         (TEST_VECTOR_expf): Likewise.
638         (TEST_VECTOR_powf): Likewise.
639         * math/gen-libm-have-vector-test.sh: Remove file.
640         * math/libm-test.inc: Likewise.
641         * math/libm-test-support-double.c: Likewise.
642         * math/libm-test-support-float.c: Likewise.
643         * math/libm-test-support-ldouble.c: Likewise.
644         * math/test-double-finite.c: Likewise.: Likewise.
645         * math/test-double.c: Likewise.
646         * math/test-float-finite.c: Likewise.
647         * math/test-float.c: Likewise.
648         * math/test-idouble.c: Likewise.
649         * math/test-ifloat.c: Likewise.
650         * math/test-ildouble.c: Likewise.
651         * math/test-ldouble-finite.c: Likewise.
652         * math/test-ldouble.c: Likewise.
653         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
654         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
655         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
656         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
657         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
658         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
659         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
660         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
661         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
662         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
664 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
665            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
667         * math/Makefile: Add wrappers to gen-libm-calls.
668         * math/w_acos_template.c: New file.
669         * math/w_acosh_template.c: Likewise.
670         * math/w_asin_template.c: Likewise.
671         * math/w_atan2_template.c: Likewise.
672         * math/w_atanh_template.c: Likewise.
673         * math/w_cosh_template.c: Likewise.
674         * math/w_exp10_template.c: Likewise.
675         * math/w_exp2_template.c: Likewise.
676         * math/w_exp_template.c: Likewise.
677         * math/w_fmod_template.c: Likewise.
678         * math/w_hypot_template.c: Likewise.
679         * math/w_j0_template.c: Likewise.
680         * math/w_j1_template.c: Likewise.
681         * math/w_jn_template.c: Likewise.
682         * math/w_lgamma_r_template.c: Likewise.
683         * math/w_lgamma_template.c: Likewise.
684         * math/w_log10_template.c: Likewise.
685         * math/w_log2_template.c: Likewise.
686         * math/w_log_template.c: Likewise.
687         * math/w_pow_template.c: Likewise.
688         * math/w_remainder_template.c: Likewise.
689         * math/w_sinh_template.c: Likewise.
690         * math/w_sqrt_template.c: Likewise.
691         * math/w_tgamma_template.c: Likewise.: Likewise.
692         * sysdeps/generic/math-type-macros-double.h
693         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
694         the new wrappers.
695         * sysdeps/generic/math-type-macros-float.h: Likewise.
696         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
698 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
700         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
701         New enum constant and macro.
703         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
704         kernel version to 4.10.
706 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
708         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
710 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
714 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
716         * sysdeps/powerpc/tst-set_ppr.c: New file.
717         Implement test cases for __ppc_set_ppr_* functions.
718         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
719         in the list of tests.
721 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
723         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
724         instead of test-skeleton.c.
725         (do_test): Replaced pthread_create and pthread_join with
726         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
727         Removed unneeded status variable.
728         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
729         instead of test-skeleton.c.
730         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
732 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
734         [BZ #20313]
735         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
736         201605L, for Unicode 9.
738 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
740         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
741         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
742         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
743         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
744         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
745         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
747 2017-02-19  Zack Weinberg  <zackw@panix.com>
749         * rt/tst-mqueue4.c: Include stdint.h.
751 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
753         * sysdeps/arm/libm-test-ulps: Update.
754         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
755         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
756         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
758 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
760         [BZ #21029]
761         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
762         * sysdeps/unix/sysv/linux/i386/Makefile
763         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
764         (uses-6-syscall-arguments): Remove.
765         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
766         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
767         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
768         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
769         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
770         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
771         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
772         [$(subdir) = misc] (cflags-pselect.o): Likewise.
773         [$(subdir) = misc] (cflags-pselect.os): Likewise.
774         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
775         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
776         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
777         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
778         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
779         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
780         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
781         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
782         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
783         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
784         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
785         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
786         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
787         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
788         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
789         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
790         Likewise.
791         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
792         Likewise.
793         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
794         Likewise.
795         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
796         Likewise.
797         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
798         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
799         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
800         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
801         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
802         ebp on inline assembly.
803         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
804         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
805         Set if CAN_USE_REGISTER_ASM_EBP is set.
807 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
809         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
810         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
812 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
814         * math/auto-libm-test-in: Add tests of catan and catanh.
815         * math/auto-libm-test-out-catan: New generated file.
816         * math/auto-libm-test-out-catanh: Likewise.
817         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
818         Move tests with finite inputs, except divide-by-zero cases, to
819         auto-libm-test-in.
820         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
821         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
822         (libm-test-funcs-noauto): Remove catan and catanh.
823         * sysdeps/i386/fpu/libm-test-ulps: Update.
824         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
827         * math/auto-libm-test-in: Add tests of casin and casinh.
828         * math/auto-libm-test-out-casin: New generated file.
829         * math/auto-libm-test-out-casinh: Likewise.
830         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
831         Move tests with finite inputs to auto-libm-test-in.
832         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
833         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
834         (libm-test-funcs-noauto): Remove casin and casinh.
835         * sysdeps/i386/fpu/libm-test-ulps: Update.
836         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
839         * math/auto-libm-test-in: Add tests of cacos and cacosh.
840         * math/auto-libm-test-out-cacos: New generated file.
841         * math/auto-libm-test-out-cacosh: Likewise.
842         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
843         Move tests with finite inputs to auto-libm-test-in.
844         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
845         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
846         (libm-test-funcs-noauto): Remove cacos and cacosh.
847         * sysdeps/i386/fpu/libm-test-ulps: Update.
848         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
851         Revert:
852         2017-02-16  Zack Weinberg  <zackw@panix.com>
854         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
855         Don't include init-arch.h.
856         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
857         Don't include init-arch.h.
859 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
861         [BZ #21171]
862         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
863         +Inf and raise divide-by-zero when x is negative.
864         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
865         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
866         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
867         -Inf and raise divide-by-zero when x = +-0.
868         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
869         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
870         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
871         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
872         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
873         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
874         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
876 2017-02-16  Zack Weinberg  <zackw@panix.com>
878         * scripts/build-many-glibcs.py (bot_build_mail): If the
879         bot_config does not contain all of the necessary email-
880         related settings, just print a warning and continue.
882 2017-02-16  Zack Weinberg  <zackw@panix.com>
884         * crypt/md5.h: Test _LIBC with #if defined, not #if.
885         * dirent/opendir-tst1.c: Include sys/stat.h.
886         * dirent/tst-fdopendir.c: Include sys/stat.h.
887         * dirent/tst-fdopendir2.c: Include stdlib.h.
888         * dirent/tst-scandir.c: Include stdbool.h.
889         * elf/tst-auditmod1.c: Include link.h and stddef.h.
890         * elf/tst-tls15.c: Include stdlib.h.
891         * elf/tst-tls16.c: Include stdlib.h.
892         * elf/tst-tls17.c: Include stdlib.h.
893         * elf/tst-tls18.c: Include stdlib.h.
894         * iconv/tst-iconv6.c: Include endian.h.
895         * iconvdata/bug-iconv11.c: Include limits.h.
896         * io/test-utime.c: Include stdint.h.
897         * io/tst-faccessat.c: Include sys/stat.h.
898         * io/tst-fchmodat.c: Include sys/stat.h.
899         * io/tst-fchownat.c: Include sys/stat.h.
900         * io/tst-fstatat.c: Include sys/stat.h.
901         * io/tst-futimesat.c: Include sys/stat.h.
902         * io/tst-linkat.c: Include sys/stat.h.
903         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
904         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
905         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
906         * io/tst-openat.c: Include stdbool.h.
907         * io/tst-readlinkat.c: Include sys/stat.h.
908         * io/tst-renameat.c: Include sys/stat.h.
909         * io/tst-symlinkat.c: Include sys/stat.h.
910         * io/tst-unlinkat.c: Include stdbool.h.
911         * libio/bug-memstream1.c: Include stdlib.h.
912         * libio/bug-wmemstream1.c: Include stdlib.h.
913         * libio/tst-fwrite-error.c: Include stdlib.h.
914         * libio/tst-memstream1.c: Include stdlib.h.
915         * libio/tst-memstream2.c: Include stdlib.h.
916         * libio/tst-memstream3.c: Include stdlib.h.
917         * malloc/tst-interpose-aux.c: Include stdint.h.
918         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
919         * nptl/tst-basic7.c: Include limits.h.
920         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
921         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
922         * nptl/tst-cancel4_1.c: Include stddef.h.
923         * nptl/tst-cancel4_2.c: Include stddef.h.
924         * nptl/tst-cond16.c: Include limits.h.
925         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
926         * nptl/tst-cond18.c: Include limits.h.
927         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
928         * nptl/tst-cond4.c: Include stdint.h.
929         * nptl/tst-cond6.c: Include stdint.h.
930         * nptl/tst-stack2.c: Include limits.h.
931         * nptl/tst-stackguard1.c: Include stddef.h.
932         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
933         * nptl/tst-tls4moda.c: Include stddef.h.
934         Don't include stdio.h, unistd.h, or tls.h.
935         * nptl/tst-tls4modb.c: Include stddef.h.
936         Don't include stdio.h, unistd.h, or tls.h.
937         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
938         * posix/tst-getaddrinfo2.c: Include stdio.h.
939         * posix/tst-getaddrinfo5.c: Include stdio.h.
940         * posix/tst-pathconf.c: Include sys/stat.h.
941         * posix/tst-posix_fadvise-common.c: Include stdint.h.
942         * posix/tst-preadwrite-common.c: Include sys/stat.h.
943         * posix/tst-regex.c: Include stdint.h.
944         Don't include spawn.h or spawn_int.h.
945         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
946         * posix/tst-vfork3.c: Include sys/stat.h.
947         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
948         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
949         * resolv/tst-resolv-search.c: Include stdlib.h.
950         * stdio-common/tst-fmemopen2.c: Include stdint.h.
951         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
952         * stdlib/test-canon.c: Include sys/stat.h.
953         * stdlib/tst-tls-atexit.c: Include stdbool.h.
954         * string/test-memchr.c: Include stdint.h.
955         * string/tst-cmp.c: Include stdint.h.
956         * sysdeps/pthread/tst-timer.c: Include stdint.h.
957         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
958         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
959         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
960         Don't include init-arch.h.
961         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
962         Don't include init-arch.h.
963         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
964         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
965         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
966         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
967         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
968         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
969         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
970         * time/clocktest.c: Include stdint.h.
971         * time/tst-posixtz.c: Include stdint.h.
972         * timezone/tst-timezone.c: Include stdint.h.
974 2017-02-16  Zack Weinberg  <zackw@panix.com>
976         * string/string.h [__USE_MISC]: Include strings.h.
977         (__bzero, bcmp, bcopy, bzero, index, rindex)
978         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
979         (ffs, ffsl, ffsll): Don't declare.
980         * string/strings.h: Do not suppress the file if string.h has
981         already been included.
982         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
983         annotations.
984         (index, rindex): Define inline forwarders even if
985         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
986         (ffs): Use __attribute_const__.
987         (ffsl, ffsll): Declare here.
988         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
989         have now been standardized.
990         * include/string.h (__bzero): Declare here.
992         * bits/types.h: Move to posix/bits.
993         * include/bits/types.h: New wrapper.
995 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
997         * string/bits/string2.h (strcmp): Remove define.
998         (__strcmp_cg): Likewise.
999         (strncmp): Likewise.
1001 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1003         * include/string.h: Add __cplusplus check.
1005 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1007         [BZ #21134]
1008         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
1009         "divide by zero" exception when the input is zero.
1010         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
1011         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
1012         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
1013         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
1014         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1016 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
1018         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
1019         and include ...
1020         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
1021         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
1022         to, and include ...
1023         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
1024         file.
1025         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
1026         and include ...
1027         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
1028         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
1029         and include ...
1030         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
1031         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
1032         and include ...
1033         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
1034         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
1035         and include ...
1036         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
1037         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
1038         to, and include ...
1039         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
1040         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
1041         and include ...
1042         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
1044 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
1046         * math/libm-test-support.h: Do not include <math-tests-arch.h>
1047         here.
1048         * math/libm-test-support.c (libm_test_init): Do not call
1049         INIT_ARCH_EXT here.
1050         * math/libm-test-driver.c: Include <math-tests-arch.h>.
1051         (main): Call INIT_ARCH_EXT.
1053 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1055         [BZ #21130]
1056         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
1057         with the "invalid" exception raised when x is -Inf.
1058         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1060 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
1062         * string/bits/string2.h (strchr): Remove define.
1064 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
1066         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
1067         tst-avx512.
1068         (test-extras): Add tst-avx-aux and tst-avx512-aux.
1069         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
1070         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
1071         ($(objpfx)tst-sse): New rule.
1072         ($(objpfx)tst-avx): Likewise.
1073         ($(objpfx)tst-avx512): Likewise.
1074         (CFLAGS-tst-avx-aux.c): New.
1075         (CFLAGS-tst-avxmod.c): Likewise.
1076         (CFLAGS-tst-avx512-aux.c): Likewise.
1077         (CFLAGS-tst-avx512mod.c): Likewise.
1078         * sysdeps/x86_64/tst-avx-aux.c: New file.
1079         * sysdeps/x86_64/tst-avx.c: Likewise.
1080         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
1081         * sysdeps/x86_64/tst-avx512.c: Likewise.
1082         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
1083         * sysdeps/x86_64/tst-avxmod.c: Likewise.
1084         * sysdeps/x86_64/tst-sse.c: Likewise.
1085         * sysdeps/x86_64/tst-ssemod.c: Likewise.
1087 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1089         * math/auto-libm-test-in: Add more tests of csin and csinh.
1090         * math/auto-libm-test-out-csin: Regenerated.
1091         * math/auto-libm-test-out-csinh: Likewise.
1092         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
1093         auto-libm-test-in.
1094         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
1096 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1098         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
1099         libm-compat-calls-auto.
1100         (libm-compat-calls): Likewise.
1101         (libm-compat-calls-auto): Rename to libm-compat-calls and add
1102         w_lgamma_compatF and k_standardF (merged from the items above).
1103         (libm-routines): Use libm-compat-calls, instead of
1104         libm-compat-calls-auto, with type-foreach.
1106 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1108         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
1109         macro.
1110         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
1111         (CFLAGS-test-ifloat.c): ... this.  Remove
1112         -U__LIBC_INTERNAL_MATH_INLINES.
1113         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
1114         (CFLAGS-test-idouble.c): ... this.  Remove
1115         -U__LIBC_INTERNAL_MATH_INLINES.
1116         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
1117         (CFLAGS-test-ildouble.c): ... this.  Remove
1118         -U__LIBC_INTERNAL_MATH_INLINES.
1120 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
1122         * math/libm-test-support.c: New file.  Content from
1123         math/libm-test-driver.c.
1124         * math/libm-test-support.h: Likewise.
1125         * math/libm-test-support-double.c: New file.
1126         * math/libm-test-support-float.c: Likewise.
1127         * math/libm-test-support-ldouble.c: Likewise.
1128         * math/libm-test-driver.c: Remove main comment and header
1129         includes.  Include libm-test-support.h.
1130         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
1131         (flag_test_errno): Remove static.
1132         (flag_test_exceptions): Likewise.
1133         (flag_test_finite): Likewise.
1134         (flag_test_inline): Likewise.
1135         (flag_test_mathvec): Likewise.
1136         (test_msg): Likewise.
1137         (NO_EXCEPTION): Remove.
1138         (INVALID_EXCEPTION): Likewise.
1139         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1140         (OVERFLOW_EXCEPTION): Likewise.
1141         (UNDERFLOW_EXCEPTION): Likewise.
1142         (INEXACT_EXCEPTION): Likewise.
1143         (INVALID_EXCEPTION_OK): Likewise.
1144         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1145         (OVERFLOW_EXCEPTION_OK): Likewise.
1146         (UNDERFLOW_EXCEPTION_OK): Likewise.
1147         (NO_INEXACT_EXCEPTION): Likewise.
1148         (EXCEPTIONS_OK): Likewise.
1149         (IGNORE_ZERO_INF_SIGN): Likewise.
1150         (TEST_NAN_SIGN): Likewise.
1151         (TEST_NAN_PAYLOAD): Likewise.
1152         (NO_TEST_INLINE): Likewise.
1153         (XFAIL_TEST): Likewise.
1154         (ERRNO_UNCHANGED): Likewise.
1155         (ERRNO_EDOM): Likewise.
1156         (ERRNO_ERANGE): Likewise.
1157         (IGNORE_RESULT): Likewise.
1158         (NON_FINITE): Likewise.
1159         (TEST_SNAN): Likewise.
1160         (NO_TEST_MATHVEC): Likewise.
1161         (__CONCATX): Likewise.
1162         (TYPE_MIN): Likewise.
1163         (TYPE_TRUE_MIN): Likewise.
1164         (TYPE_MAX): Likewise.
1165         (MIN_EXP): Likewise.
1166         (MAX_EXP): Likewise.
1167         (MANT_DIG): Likewise.
1168         (FSTR_MAX): Likewise.
1169         (ulp_idx): Likewise.
1170         (qtype_str): Remove static.
1171         (TEST_COND_binary32): Remove.
1172         (TEST_COND_binary64): Likewise.
1173         (TEST_COND_binary128): Likewise.
1174         (TEST_COND_ibm128): Likewise.
1175         (TEST_COND_intel96): Likewise.
1176         (TEST_COND_m68k96): Likewise.
1177         (TEST_COND_ibm128_libgcc): Likewise.
1178         (XFAIL_IBM128_LIBGCC): Likewise.
1179         (PAYLOAD_DIG): Likewise.
1180         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1181         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1182         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1183         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1184         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1185         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
1186         (TEST_COND_long32): Likewise.
1187         (TEST_COND_long64): Likewise.
1188         (TEST_COND_before_rounding): Likewise.
1189         (TEST_COND_after_rounding): Likewise.
1190         (ulps_file_name): Likewise.
1191         (ulps_file): Likewise.
1192         (output_ulps): Likewise.
1193         (output_dir): Likewise.
1194         (noErrors): Likewise.
1195         (noTests): Likewise.
1196         (noExcTests): Likewise.
1197         (noErrnoTests): Likewise.
1198         (verbose): Likewise.
1199         (output_max_error): Likewise.
1200         (output_points): Likewise.
1201         (ignore_max_ulp): Likewise.
1202         (max_error): Likewise.
1203         (real_max_error): Likewise.
1204         (imag_max_error): Likewise.
1205         (prev_max_error): Likewise.
1206         (prev_real_max_error): Likewise.
1207         (prev_imag_max_error): Likewise.
1208         (max_valid_error): Likewise.
1209         (TYPE_DECIMAL_DIG): Likewise.
1210         (TYPE_HEX_DIG): Likewise.
1211         (fmt_ftostr): Likewise.
1212         (compare_ulp_data): Likewise.
1213         (find_ulps): Likewise.
1214         (init_max_error): Likewise.
1215         (set_max_error): Likewise.
1216         (print_float): Likewise.
1217         (print_screen): Likewise.
1218         (print_screen_max_error): Likewise.
1219         (update_stats): Likewise.
1220         (print_function_ulps): Likewise.
1221         (print_complex_function_ulps): Likewise.
1222         (fpstack_test): Likewise.
1223         (print_max_error): Likewise.
1224         (print_complex_max_error): Likewise.
1225         (test_single_exception): Likewise.
1226         (test_exceptions): Likewise.
1227         (test_single_errno): Likewise.
1228         (test_errno): Likewise.
1229         (ULPDIFF): Likewise.
1230         (ulp): Likewise.
1231         (check_float_internal): Likewise.
1232         (check_float): Likewise.
1233         (check_complex): Likewise.
1234         (check_int): Likewise.
1235         (check_long): Likewise.
1236         (check_bool): Likewise.
1237         (check_longlong): Likewise.
1238         (check_intmax_t): Likewise.
1239         (check_uintmax_t): Likewise.
1240         (enable_test): Likewise.
1241         (matherr): Likewise.
1242         (initialize): Likewise.
1243         (options): Likewise.
1244         (doc): Remove static.
1245         (argp): Likewise.
1246         (parse_opt): Remove.
1247         (check_ulp): Likewise.
1248         (libm_test_init): Likewise.
1249         (libm_test_finish): Likewise.
1250         * math/Makefile (libm-test-support): New variable.
1251         (test-extras): Add libm-test-support files.
1252         (extra-test-objs): Likewise.
1253         (CFLAGS-libm-test-support-float.c): New variable.
1254         (CFLAGS-libm-test-support-double.c): Likewise.
1255         (CFLAGS-libm-test-support-ldouble.c): Likewise.
1256         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
1257         libm-test-support objects.
1259 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1261         * math/Makefile (libm-calls): Move w_exp...
1262         (libm-compat-calls-auto): Here.
1264         * math/w_expl.c: Add suffix "_compat" to filename.
1265         * sysdeps/ia64/fpu/w_expl.c: Likewise.
1266         * sysdeps/ia64/fpu/w_expf.c: Likewise.
1267         * sysdeps/ia64/fpu/w_exp.c: Likewise.
1268         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1269         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1270         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1271         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1272         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1274         * math/w_expl_compat.c: New file, copied from above.
1275         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
1276         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
1277         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
1278         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
1279         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1280         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1281         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1282         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1284         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
1285         to filename.
1286         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
1288         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
1289         copied from above and adjusted for the new filenames.
1290         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
1292 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1294         * math/Makefile (libm-calls): Move w_lgammaF...
1295         (libm-compat-calls-auto): Here.
1297         * math/w_lgamma.c: Add suffix "_compat2" to filename.
1298         * math/w_lgammaf.c: Likewise.
1299         * math/w_lgammal.c: Likewise.
1301         * math/w_lgamma_compat2.c: New file, copied from above.
1302         * math/w_lgammaf_compat2.c: Likewise.
1303         * math/w_lgammal_compat2.c: Likewise.
1305 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1307         * math/Makefile (libm-calls): Move w_lgammaF_r...
1308         (libm-compat-calls-auto): Here.
1310         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
1311         * math/w_lgammaf_r.c: Likewise.
1312         * math/w_lgammal_r.c: Likewise.
1313         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1314         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1315         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1317         * math/w_lgamma_r_compat.c: New file, copied from above.
1318         * math/w_lgammaf_r_compat.c: Likewise.
1319         * math/w_lgammal_r_compat.c: Likewise.
1320         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
1321         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
1322         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
1324         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
1325         to filename.
1326         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
1328         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
1329         copied from above and adjusted for the new filenames.
1330         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1332 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
1334         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
1335         calculation in SYSCALL_ERROR_HANDLER().
1337 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
1339         * manual/contrib.texi: Fix typo.
1341 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1343         [BZ #21109]
1344         * elf/dl-tunable-types.h (tunable_callback_t): Accept
1345         tunable_val_t as argument.
1346         * elf/dl-tunables.c (__tunable_set_val): Add comment.
1347         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
1348         argument.
1349         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
1351 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
1353         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
1354         Add PTRACE_EVENT_STOP.
1355         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1356         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1357         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1358         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1359         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1360         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
1362 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
1364         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
1365         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
1366         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
1367         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
1368         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
1369         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
1370         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
1371         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
1372         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
1373         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
1375         [BZ #21112]
1376         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
1377         12 bits zero.
1378         (cp_l): Update for new value of cp_h.
1379         * math/auto-libm-test-in: Add another test of pow.
1380         * math/auto-libm-test-out-pow: Regenerated.
1382 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1384         * manual/contrib.texi: Fix typo.
1386 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1388         [BZ #15998]
1389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1390         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
1391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1393 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1395         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
1396         STRCHR as __strchr_power8.
1397         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
1398         strlen as __strlen_power8.
1400 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1402         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
1403         unaligned load for shorter strings.
1404         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1406 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1408         * math/libm-test-driver.c (flag_test_errno): New variable.
1409         (flag_test_exceptions): Likewise.
1410         (flag_test_finite): Likewise.
1411         (flag_test_inline): Likewise.
1412         (flag_test_mathvec): Likewise.
1413         (test_msg): Likewise.
1414         (ulp_idx): Likewise.
1415         (qtype_str): Likewise.
1416         (ULP_IDX): Remove macro.
1417         (QTYPE_STR): Likewise.
1418         (find_ulps): Use ulp_idx not ULP_IDX.
1419         (print_function_ulps): Use qtype_str, printed with %s, not
1420         QTYPE_STR, printed with concatentation to format string.
1421         (print_complex_function_ulps): Likewise.
1422         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
1423         (test_errno): Use flag_test_errno not TEST_ERRNO.
1424         (enable_test): Use flag_test_inline, flag_test_finite and
1425         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
1426         TEST_MATHVEC.
1427         (libm_test_init): New function.  Factored out of main.
1428         (libm_test_finish): Likewise.
1429         (main): Call libm_test_init and libm_test_finish and move most
1430         code to those functions.
1432         * math/libm-test-driver.c (STRX): New macro.
1433         (STR): Likewise.
1434         (STR_FLOAT): Likewise.
1435         (STR_VEC_LEN): Likewise.
1436         (TEST_MSG): Likewise.  Define here instead of expecting to be
1437         defined by including file.
1438         * math/test-double-finite.c (TEST_MSG): Remove macro.
1439         * math/test-double-vlen2.h (TEST_MSG): Likewise.
1440         * math/test-double-vlen4.h (TEST_MSG): Likewise.
1441         * math/test-double-vlen8.h (TEST_MSG): Likewise.
1442         * math/test-double.c (TEST_MSG): Likewise.
1443         * math/test-float-finite.c (TEST_MSG): Likewise.
1444         * math/test-float-vlen16.h (TEST_MSG): Likewise.
1445         * math/test-float-vlen4.h (TEST_MSG): Likewise.
1446         * math/test-float-vlen8.h (TEST_MSG): Likewise.
1447         * math/test-float.c (TEST_MSG): Likewise.
1448         * math/test-idouble.c (TEST_MSG): Likewise.
1449         * math/test-ifloat.c (TEST_MSG): Likewise.
1450         * math/test-ildouble.c (TEST_MSG): Likewise.
1451         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
1452         * math/test-ldouble.c (TEST_MSG): Likewise.
1454         * math/libm-test.inc: Move all tests of individual functions to
1455         libm-test-*.inc and #include libm-test-*.c files.
1456         (acos_test_data): Remove.
1457         (acos_test): Likewise.
1458         (acosh_test_data): Likewise.
1459         (acosh_test): Likewise.
1460         (asin_test_data): Likewise.
1461         (asin_test): Likewise.
1462         (asinh_test_data): Likewise.
1463         (asinh_test): Likewise.
1464         (atan_test_data): Likewise.
1465         (atan_test): Likewise.
1466         (atanh_test_data): Likewise.
1467         (atanh_test): Likewise.
1468         (atan2_test_data): Likewise.
1469         (atan2_test): Likewise.
1470         (cabs_test_data): Likewise.
1471         (cabs_test): Likewise.
1472         (cacos_test_data): Likewise.
1473         (cacos_test): Likewise.
1474         (cacosh_test_data): Likewise.
1475         (cacosh_test): Likewise.
1476         (canonicalize_test_data): Likewise.
1477         (canonicalize_test): Likewise.
1478         (carg_test_data): Likewise.
1479         (carg_test): Likewise.
1480         (casin_test_data): Likewise.
1481         (casin_test): Likewise.
1482         (casinh_test_data): Likewise.
1483         (casinh_test): Likewise.
1484         (catan_test_data): Likewise.
1485         (catan_test): Likewise.
1486         (catanh_test_data): Likewise.
1487         (catanh_test): Likewise.
1488         (cbrt_test_data): Likewise.
1489         (cbrt_test): Likewise.
1490         (ccos_test_data): Likewise.
1491         (ccos_test): Likewise.
1492         (ccosh_test_data): Likewise.
1493         (ccosh_test): Likewise.
1494         (ceil_test_data): Likewise.
1495         (ceil_test): Likewise.
1496         (cexp_test_data): Likewise.
1497         (cexp_test): Likewise.
1498         (cimag_test_data): Likewise.
1499         (cimag_test): Likewise.
1500         (clog_test_data): Likewise.
1501         (clog_test): Likewise.
1502         (clog10_test_data): Likewise.
1503         (clog10_test): Likewise.
1504         (conj_test_data): Likewise.
1505         (conj_test): Likewise.
1506         (copysign_test_data): Likewise.
1507         (copysign_test): Likewise.
1508         (cos_test_data): Likewise.
1509         (cos_test): Likewise.
1510         (cosh_test_data): Likewise.
1511         (cosh_test): Likewise.
1512         (cpow_test_data): Likewise.
1513         (cpow_test): Likewise.
1514         (cproj_test_data): Likewise.
1515         (cproj_test): Likewise.
1516         (creal_test_data): Likewise.
1517         (creal_test): Likewise.
1518         (csin_test_data): Likewise.
1519         (csin_test): Likewise.
1520         (csinh_test_data): Likewise.
1521         (csinh_test): Likewise.
1522         (csqrt_test_data): Likewise.
1523         (csqrt_test): Likewise.
1524         (ctan_test_data): Likewise.
1525         (ctan_test): Likewise.
1526         (ctanh_test_data): Likewise.
1527         (ctanh_test): Likewise.
1528         (erf_test_data): Likewise.
1529         (erf_test): Likewise.
1530         (erfc_test_data): Likewise.
1531         (erfc_test): Likewise.
1532         (exp_test_data): Likewise.
1533         (exp_test): Likewise.
1534         (exp10_test_data): Likewise.
1535         (exp10_test): Likewise.
1536         (pow10_test): Likewise.
1537         (exp2_test_data): Likewise.
1538         (exp2_test): Likewise.
1539         (expm1_test_data): Likewise.
1540         (expm1_test): Likewise.
1541         (fabs_test_data): Likewise.
1542         (fabs_test): Likewise.
1543         (fdim_test_data): Likewise.
1544         (fdim_test): Likewise.
1545         (floor_test_data): Likewise.
1546         (floor_test): Likewise.
1547         (fma_test_data): Likewise.
1548         (fma_test): Likewise.
1549         (fmax_test_data): Likewise.
1550         (fmax_test): Likewise.
1551         (fmaxmag_test_data): Likewise.
1552         (fmaxmag_test): Likewise.
1553         (fmin_test_data): Likewise.
1554         (fmin_test): Likewise.
1555         (fminmag_test_data): Likewise.
1556         (fminmag_test): Likewise.
1557         (fmod_test_data): Likewise.
1558         (fmod_test): Likewise.
1559         (fpclassify_test_data): Likewise.
1560         (fpclassify_test): Likewise.
1561         (frexp_test_data): Likewise.
1562         (frexp_test): Likewise.
1563         (fromfp_test_data): Likewise.
1564         (fromfp_test): Likewise.
1565         (fromfpx_test_data): Likewise.
1566         (fromfpx_test): Likewise.
1567         (getpayload_test_data): Likewise.
1568         (getpayload_test): Likewise.
1569         (hypot_test_data): Likewise.
1570         (hypot_test): Likewise.
1571         (ilogb_test_data): Likewise.
1572         (ilogb_test): Likewise.
1573         (iscanonical_test_data): Likewise.
1574         (iscanonical_test): Likewise.
1575         (iseqsig_test_data): Likewise.
1576         (iseqsig_test): Likewise.
1577         (isfinite_test_data): Likewise.
1578         (isfinite_test): Likewise.
1579         (finite_test): Likewise.
1580         (isgreater_test_data): Likewise.
1581         (isgreater_test): Likewise.
1582         (isgreaterequal_test_data): Likewise.
1583         (isgreaterequal_test): Likewise.
1584         (isinf_test_data): Likewise.
1585         (isinf_test): Likewise.
1586         (isless_test_data): Likewise.
1587         (isless_test): Likewise.
1588         (islessequal_test_data): Likewise.
1589         (islessequal_test): Likewise.
1590         (islessgreater_test_data): Likewise.
1591         (islessgreater_test): Likewise.
1592         (isnan_test_data): Likewise.
1593         (isnan_test): Likewise.
1594         (isnormal_test_data): Likewise.
1595         (isnormal_test): Likewise.
1596         (issignaling_test_data): Likewise.
1597         (issignaling_test): Likewise.
1598         (issubnormal_test_data): Likewise.
1599         (issubnormal_test): Likewise.
1600         (isunordered_test_data): Likewise.
1601         (isunordered_test): Likewise.
1602         (iszero_test_data): Likewise.
1603         (iszero_test): Likewise.
1604         (j0_test_data): Likewise.
1605         (j0_test): Likewise.
1606         (j1_test_data): Likewise.
1607         (j1_test): Likewise.
1608         (jn_test_data): Likewise.
1609         (jn_test): Likewise.
1610         (lgamma_test_data): Likewise.
1611         (lgamma_test): Likewise.
1612         (gamma_test): Likewise.
1613         (llogb_test_data): Likewise.
1614         (llogb_test): Likewise.
1615         (lrint_test_data): Likewise.
1616         (lrint_test): Likewise.
1617         (llrint_test_data): Likewise.
1618         (llrint_test): Likewise.
1619         (log_test_data): Likewise.
1620         (log_test): Likewise.
1621         (log10_test_data): Likewise.
1622         (log10_test): Likewise.
1623         (log1p_test_data): Likewise.
1624         (log1p_test): Likewise.
1625         (log2_test_data): Likewise.
1626         (log2_test): Likewise.
1627         (logb_test_data): Likewise.
1628         (logb_test): Likewise.
1629         (lround_test_data): Likewise.
1630         (lround_test): Likewise.
1631         (llround_test_data): Likewise.
1632         (llround_test): Likewise.
1633         (modf_test_data): Likewise.
1634         (modf_test): Likewise.
1635         (nearbyint_test_data): Likewise.
1636         (nearbyint_test): Likewise.
1637         (nextafter_test_data): Likewise.
1638         (nextafter_test): Likewise.
1639         (nextup_test_data): Likewise.
1640         (nextup_test): Likewise.
1641         (nextdown_test_data): Likewise.
1642         (nextdown_test): Likewise.
1643         (nexttoward_test_data): Likewise.
1644         (nexttoward_test): Likewise.
1645         (pow_test_data): Likewise.
1646         (pow_test): Likewise.
1647         (remainder_test_data): Likewise.
1648         (remainder_test): Likewise.
1649         (drem_test): Likewise.
1650         (remquo_test_data): Likewise.
1651         (remquo_test): Likewise.
1652         (rint_test_data): Likewise.
1653         (rint_test): Likewise.
1654         (round_test_data): Likewise.
1655         (round_test): Likewise.
1656         (roundeven_test_data): Likewise.
1657         (roundeven_test): Likewise.
1658         (scalb_test_data): Likewise.
1659         (scalb_test): Likewise.
1660         (scalbn_test_data): Likewise.
1661         (scalbn_test): Likewise.
1662         (ldexp_test): Likewise.
1663         (scalbln_test_data): Likewise.
1664         (scalbln_test): Likewise.
1665         (setpayload_test_data): Likewise.
1666         (setpayload_test): Likewise.
1667         (setpayloadsig_test_data): Likewise.
1668         (setpayloadsig_test): Likewise.
1669         (signbit_test_data): Likewise.
1670         (signbit_test): Likewise.
1671         (sin_test_data): Likewise.
1672         (sin_test): Likewise.
1673         (sincos_test_data): Likewise.
1674         (sincos_test): Likewise.
1675         (sinh_test_data): Likewise.
1676         (sinh_test): Likewise.
1677         (sqrt_test_data): Likewise.
1678         (sqrt_test): Likewise.
1679         (tan_test_data): Likewise.
1680         (tan_test): Likewise.
1681         (tanh_test_data): Likewise.
1682         (tanh_test): Likewise.
1683         (tgamma_test_data): Likewise.
1684         (tgamma_test): Likewise.
1685         (totalorder_test_data): Likewise.
1686         (totalorder_test): Likewise.
1687         (totalordermag_test_data): Likewise.
1688         (totalordermag_test): Likewise.
1689         (trunc_test_data): Likewise.
1690         (trunc_test): Likewise.
1691         (ufromfp_test_data): Likewise.
1692         (ufromfp_test): Likewise.
1693         (ufromfpx_test_data): Likewise.
1694         (ufromfpx_test): Likewise.
1695         (y0_test_data): Likewise.
1696         (y0_test): Likewise.
1697         (y1_test_data): Likewise.
1698         (y1_test): Likewise.
1699         (yn_test_data): Likewise.
1700         (yn_test): Likewise.
1701         (significand_test_data): Likewise.
1702         (significand_test): Likewise.
1703         * math/Makefile (auto-libm-test-out-files): Remove variable.
1704         (libm-test-funcs-noauto): New variable.
1705         (libm-test-funcs-all): Likewise.
1706         (libm-test-c-auto): Likewise.
1707         (libm-test-c-noauto): Likewise.
1708         (libm-tests-generated): Add $(libm-test-c-auto) and
1709         $(libm-test-c-noauto).
1710         (generated): Do not add auto-libm-test-out.
1711         (libm-test-c-auto-obj): New variable.
1712         (libm-test-c-noauto-obj): Likewise.
1713         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
1714         ($(libm-test-c-noauto-obj)): New static pattern rule.
1715         ($(libm-test-c-auto-obj)): Likewise.
1716         (libm-test-incs): New variable.
1717         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
1718         and pass it to gen-libm-have-vector-test.sh.
1719         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
1720         be passed on command line.
1721         * math/libm-test-acos.inc: New file.  Content from
1722         math/libm-test.inc.
1723         * math/libm-test-acosh.inc: Likewise.
1724         * math/libm-test-asin.inc: Likewise.
1725         * math/libm-test-asinh.inc: Likewise.
1726         * math/libm-test-atan.inc: Likewise.
1727         * math/libm-test-atan2.inc: Likewise.
1728         * math/libm-test-atanh.inc: Likewise.
1729         * math/libm-test-cabs.inc: Likewise.
1730         * math/libm-test-cacos.inc: Likewise.
1731         * math/libm-test-cacosh.inc: Likewise.
1732         * math/libm-test-canonicalize.inc: Likewise.
1733         * math/libm-test-carg.inc: Likewise.
1734         * math/libm-test-casin.inc: Likewise.
1735         * math/libm-test-casinh.inc: Likewise.
1736         * math/libm-test-catan.inc: Likewise.
1737         * math/libm-test-catanh.inc: Likewise.
1738         * math/libm-test-cbrt.inc: Likewise.
1739         * math/libm-test-ccos.inc: Likewise.
1740         * math/libm-test-ccosh.inc: Likewise.
1741         * math/libm-test-ceil.inc: Likewise.
1742         * math/libm-test-cexp.inc: Likewise.
1743         * math/libm-test-cimag.inc: Likewise.
1744         * math/libm-test-clog.inc: Likewise.
1745         * math/libm-test-clog10.inc: Likewise.
1746         * math/libm-test-conj.inc: Likewise.
1747         * math/libm-test-copysign.inc: Likewise.
1748         * math/libm-test-cos.inc: Likewise.
1749         * math/libm-test-cosh.inc: Likewise.
1750         * math/libm-test-cpow.inc: Likewise.
1751         * math/libm-test-cproj.inc: Likewise.
1752         * math/libm-test-creal.inc: Likewise.
1753         * math/libm-test-csin.inc: Likewise.
1754         * math/libm-test-csinh.inc: Likewise.
1755         * math/libm-test-csqrt.inc: Likewise.
1756         * math/libm-test-ctan.inc: Likewise.
1757         * math/libm-test-ctanh.inc: Likewise.
1758         * math/libm-test-erf.inc: Likewise.
1759         * math/libm-test-erfc.inc: Likewise.
1760         * math/libm-test-exp.inc: Likewise.
1761         * math/libm-test-exp10.inc: Likewise.
1762         * math/libm-test-exp2.inc: Likewise.
1763         * math/libm-test-expm1.inc: Likewise.
1764         * math/libm-test-fabs.inc: Likewise.
1765         * math/libm-test-fdim.inc: Likewise.
1766         * math/libm-test-floor.inc: Likewise.
1767         * math/libm-test-fma.inc: Likewise.
1768         * math/libm-test-fmax.inc: Likewise.
1769         * math/libm-test-fmaxmag.inc: Likewise.
1770         * math/libm-test-fmin.inc: Likewise.
1771         * math/libm-test-fminmag.inc: Likewise.
1772         * math/libm-test-fmod.inc: Likewise.
1773         * math/libm-test-fpclassify.inc: Likewise.
1774         * math/libm-test-frexp.inc: Likewise.
1775         * math/libm-test-fromfp.inc: Likewise.
1776         * math/libm-test-fromfpx.inc: Likewise.
1777         * math/libm-test-getpayload.inc: Likewise.
1778         * math/libm-test-hypot.inc: Likewise.
1779         * math/libm-test-ilogb.inc: Likewise.
1780         * math/libm-test-iscanonical.inc: Likewise.
1781         * math/libm-test-iseqsig.inc: Likewise.
1782         * math/libm-test-isfinite.inc: Likewise.
1783         * math/libm-test-isgreater.inc: Likewise.
1784         * math/libm-test-isgreaterequal.inc: Likewise.
1785         * math/libm-test-isinf.inc: Likewise.
1786         * math/libm-test-isless.inc: Likewise.
1787         * math/libm-test-islessequal.inc: Likewise.
1788         * math/libm-test-islessgreater.inc: Likewise.
1789         * math/libm-test-isnan.inc: Likewise.
1790         * math/libm-test-isnormal.inc: Likewise.
1791         * math/libm-test-issignaling.inc: Likewise.
1792         * math/libm-test-issubnormal.inc: Likewise.
1793         * math/libm-test-isunordered.inc: Likewise.
1794         * math/libm-test-iszero.inc: Likewise.
1795         * math/libm-test-j0.inc: Likewise.
1796         * math/libm-test-j1.inc: Likewise.
1797         * math/libm-test-jn.inc: Likewise.
1798         * math/libm-test-lgamma.inc: Likewise.
1799         * math/libm-test-llogb.inc: Likewise.
1800         * math/libm-test-llrint.inc: Likewise.
1801         * math/libm-test-llround.inc: Likewise.
1802         * math/libm-test-log.inc: Likewise.
1803         * math/libm-test-log10.inc: Likewise.
1804         * math/libm-test-log1p.inc: Likewise.
1805         * math/libm-test-log2.inc: Likewise.
1806         * math/libm-test-logb.inc: Likewise.
1807         * math/libm-test-lrint.inc: Likewise.
1808         * math/libm-test-lround.inc: Likewise.
1809         * math/libm-test-modf.inc: Likewise.
1810         * math/libm-test-nearbyint.inc: Likewise.
1811         * math/libm-test-nextafter.inc: Likewise.
1812         * math/libm-test-nextdown.inc: Likewise.
1813         * math/libm-test-nexttoward.inc: Likewise.
1814         * math/libm-test-nextup.inc: Likewise.
1815         * math/libm-test-pow.inc: Likewise.
1816         * math/libm-test-remainder.inc: Likewise.
1817         * math/libm-test-remquo.inc: Likewise.
1818         * math/libm-test-rint.inc: Likewise.
1819         * math/libm-test-round.inc: Likewise.
1820         * math/libm-test-roundeven.inc: Likewise.
1821         * math/libm-test-scalb.inc: Likewise.
1822         * math/libm-test-scalbln.inc: Likewise.
1823         * math/libm-test-scalbn.inc: Likewise.
1824         * math/libm-test-setpayload.inc: Likewise.
1825         * math/libm-test-setpayloadsig.inc: Likewise.
1826         * math/libm-test-signbit.inc: Likewise.
1827         * math/libm-test-significand.inc: Likewise.
1828         * math/libm-test-sin.inc: Likewise.
1829         * math/libm-test-sincos.inc: Likewise.
1830         * math/libm-test-sinh.inc: Likewise.
1831         * math/libm-test-sqrt.inc: Likewise.
1832         * math/libm-test-tan.inc: Likewise.
1833         * math/libm-test-tanh.inc: Likewise.
1834         * math/libm-test-tgamma.inc: Likewise.
1835         * math/libm-test-totalorder.inc: Likewise.
1836         * math/libm-test-totalordermag.inc: Likewise.
1837         * math/libm-test-trunc.inc: Likewise.
1838         * math/libm-test-ufromfp.inc: Likewise.
1839         * math/libm-test-ufromfpx.inc: Likewise.
1840         * math/libm-test-y0.inc: Likewise.
1841         * math/libm-test-y1.inc: Likewise.
1842         * math/libm-test-yn.inc: Likewise.
1843         * math/README.libm-test: Update.
1845         * math/gen-auto-libm-tests.c: Update comment about use of program.
1846         (generate_output): Add argument FUNCTION.
1847         (main): Require extra argument.  Pass function name to
1848         generate_output.
1849         * math/Makefile (generated): Add auto-libm-test-out.
1850         (libm-test-funcs-auto): New variable.
1851         (auto-libm-test-out-files): New variable.
1852         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
1853         Concatenate those files to form $(objpfx)auto-libm-test-out and
1854         use it as input to gen-libm-test.pl.
1855         * math/README.libm-test: Update.
1856         * math/auto-libm-test-out: Remove.
1857         * math/auto-libm-test-out-acos: New generated file.
1858         * math/auto-libm-test-out-acosh: Likewise.
1859         * math/auto-libm-test-out-asin: Likewise.
1860         * math/auto-libm-test-out-asinh: Likewise.
1861         * math/auto-libm-test-out-atan: Likewise.
1862         * math/auto-libm-test-out-atan2: Likewise.
1863         * math/auto-libm-test-out-atanh: Likewise.
1864         * math/auto-libm-test-out-cabs: Likewise.
1865         * math/auto-libm-test-out-carg: Likewise.
1866         * math/auto-libm-test-out-cbrt: Likewise.
1867         * math/auto-libm-test-out-ccos: Likewise.
1868         * math/auto-libm-test-out-ccosh: Likewise.
1869         * math/auto-libm-test-out-cexp: Likewise.
1870         * math/auto-libm-test-out-clog: Likewise.
1871         * math/auto-libm-test-out-clog10: Likewise.
1872         * math/auto-libm-test-out-cos: Likewise.
1873         * math/auto-libm-test-out-cosh: Likewise.
1874         * math/auto-libm-test-out-cpow: Likewise.
1875         * math/auto-libm-test-out-csin: Likewise.
1876         * math/auto-libm-test-out-csinh: Likewise.
1877         * math/auto-libm-test-out-csqrt: Likewise.
1878         * math/auto-libm-test-out-ctan: Likewise.
1879         * math/auto-libm-test-out-ctanh: Likewise.
1880         * math/auto-libm-test-out-erf: Likewise.
1881         * math/auto-libm-test-out-erfc: Likewise.
1882         * math/auto-libm-test-out-exp: Likewise.
1883         * math/auto-libm-test-out-exp10: Likewise.
1884         * math/auto-libm-test-out-exp2: Likewise.
1885         * math/auto-libm-test-out-expm1: Likewise.
1886         * math/auto-libm-test-out-fma: Likewise.
1887         * math/auto-libm-test-out-hypot: Likewise.
1888         * math/auto-libm-test-out-j0: Likewise.
1889         * math/auto-libm-test-out-j1: Likewise.
1890         * math/auto-libm-test-out-jn: Likewise.
1891         * math/auto-libm-test-out-lgamma: Likewise.
1892         * math/auto-libm-test-out-log: Likewise.
1893         * math/auto-libm-test-out-log10: Likewise.
1894         * math/auto-libm-test-out-log1p: Likewise.
1895         * math/auto-libm-test-out-log2: Likewise.
1896         * math/auto-libm-test-out-pow: Likewise.
1897         * math/auto-libm-test-out-sin: Likewise.
1898         * math/auto-libm-test-out-sincos: Likewise.
1899         * math/auto-libm-test-out-sinh: Likewise.
1900         * math/auto-libm-test-out-sqrt: Likewise.
1901         * math/auto-libm-test-out-tan: Likewise.
1902         * math/auto-libm-test-out-tanh: Likewise.
1903         * math/auto-libm-test-out-tgamma: Likewise.
1904         * math/auto-libm-test-out-y0: Likewise.
1905         * math/auto-libm-test-out-y1: Likewise.
1906         * math/auto-libm-test-out-yn: Likewise.
1908         * math/Makefile (generated): Do not include libm-test.stmp.
1909         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
1910         on $(objpfx)libm-test.stmp.
1911         ($(objpfx)libm-test.stmp): Remove rule.
1912         ($(objpfx)libm-test-ulps.h): New rule.
1913         ($(objpfx)libm-test.c): Likewise.
1914         ($(objpfx)libm-have-vector-test.h): Likewise.
1915         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
1916         individual generated files, not libm-test.stmp.
1918         * math/gen-libm-test.pl ($output_dir): Remove variable.
1919         ($srcdir): Likewise.
1920         ($opt_a): New variable.
1921         ($opt_c): Likewise.
1922         ($opt_C): Likewise.
1923         ($opt_H): Likewise.
1924         (-n): Make option take argument and use it as NewUlps output.
1925         (-a): New option.  Use its argument for auto-libm-test-out input.
1926         (-c): New option.  Use its argument for libm-test.inc input.
1927         (-C): New option.  Use its argument for libm-test.c output.
1928         (-H): New option.  Use its argument for libm-test-ulps.h output.
1929         (top level): Only process inputs needed to generate outputs
1930         specified by command-line options.  Only generate outputs
1931         specified by command-line options.
1932         * math/README.libm-test: Update example gen-libm-test.pl command.
1933         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
1934         commands.
1935         (regen-ulps): Likewise.
1937 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
1939         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
1940         * include/string.h (index): Remove define.
1941         (rindex): Likewise.
1942         * misc/getttyent.c (__getttyent): Rename index to strchr.
1943         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
1944         * sunrpc/rpc_main.c (mkfile_output): Likewise.
1946 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1948         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
1949         * math/libm-test.inc: Move all contents, other than tests of
1950         individual functions, to libm-test-driver.c.
1951         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
1952         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
1953         [!FE_UPWARD] (FE_UPWARD): Likewise.
1954         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
1955         (NO_EXCEPTION): Likewise.
1956         (INVALID_EXCEPTION): Likewise.
1957         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1958         (OVERFLOW_EXCEPTION): Likewise.
1959         (UNDERFLOW_EXCEPTION): Likewise.
1960         (INEXACT_EXCEPTION): Likewise.
1961         (INVALID_EXCEPTION_OK): Likewise.
1962         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1963         (OVERFLOW_EXCEPTION_OK): Likewise.
1964         (UNDERFLOW_EXCEPTION_OK): Likewise.
1965         (NO_INEXACT_EXCEPTION): Likewise.
1966         (EXCEPTIONS_OK): Likewise.
1967         (IGNORE_ZERO_INF_SIGN): Likewise.
1968         (TEST_NAN_SIGN): Likewise.
1969         (TEST_NAN_PAYLOAD): Likewise.
1970         (NO_TEST_INLINE): Likewise.
1971         (XFAIL_TEST): Likewise.
1972         (ERRNO_UNCHANGED): Likewise.
1973         (ERRNO_EDOM): Likewise.
1974         (ERRNO_ERANGE): Likewise.
1975         (IGNORE_RESULT): Likewise.
1976         (NON_FINITE): Likewise.
1977         (TEST_SNAN): Likewise.
1978         (NO_TEST_MATHVEC): Likewise.
1979         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
1980         (__CONCATX): Likewise.
1981         (TYPE_MIN): Likewise.
1982         (TYPE_TRUE_MIN): Likewise.
1983         (TYPE_MAX): Likewise.
1984         (MIN_EXP): Likewise.
1985         (MAX_EXP): Likewise.
1986         (MANT_DIG): Likewise.
1987         (FSTR_MAX): Likewise.
1988         (ULP_IDX): Likewise.
1989         (QTYPE_STR): Likewise.
1990         (TEST_COND_binary32): Likewise.
1991         (TEST_COND_binary64): Likewise.
1992         (TEST_COND_binary128): Likewise.
1993         (TEST_COND_ibm128): Likewise.
1994         (TEST_COND_intel96): Likewise.
1995         (TEST_COND_m68k96): Likewise.
1996         (TEST_COND_ibm128_libgcc): Likewise.
1997         (XFAIL_IBM128_LIBGCC): Likewise.
1998         (PAYLOAD_DIG): Likewise.
1999         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2000         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2001         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2002         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2003         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2004         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2005         (TEST_COND_long32): Likewise.
2006         (TEST_COND_long64): Likewise.
2007         (TEST_COND_before_rounding): Likewise.
2008         (TEST_COND_after_rounding): Likewise.
2009         (lit_pi_3_m_4_d): Likewise.
2010         (lit_pi_3_m_4_ln10_m_d): Likewise.
2011         (lit_pi_2_ln10_m_d): Likewise.
2012         (lit_pi_4_ln10_m_d): Likewise.
2013         (lit_pi_ln10_d): Likewise.
2014         (lit_pi_2_d): Likewise.
2015         (lit_pi_4_d): Likewise.
2016         (lit_pi): Likewise.
2017         (lit_e): Likewise.
2018         (ulps_file_name): Likewise.
2019         (ulps_file): Likewise.
2020         (output_ulps): Likewise.
2021         (output_dir): Likewise.
2022         (noErrors): Likewise.
2023         (noTests): Likewise.
2024         (noExcTests): Likewise.
2025         (noErrnoTests): Likewise.
2026         (verbose): Likewise.
2027         (output_max_error): Likewise.
2028         (output_points): Likewise.
2029         (ignore_max_ulp): Likewise.
2030         (plus_zero): Likewise.
2031         (minus_zero): Likewise.
2032         (plus_infty): Likewise.
2033         (minus_infty): Likewise.
2034         (qnan_value_pl): Likewise.
2035         (qnan_value): Likewise.
2036         (snan_value_pl): Likewise.
2037         (snan_value): Likewise.
2038         (max_value): Likewise.
2039         (min_value): Likewise.
2040         (min_subnorm_value): Likewise.
2041         (snan_value_ld): Likewise.
2042         (max_error): Likewise.
2043         (real_max_error): Likewise.
2044         (imag_max_error): Likewise.
2045         (prev_max_error): Likewise.
2046         (prev_real_max_error): Likewise.
2047         (prev_imag_max_error): Likewise.
2048         (max_valid_error): Likewise.
2049         (TYPE_DECIMAL_DIG): Likewise.
2050         (TYPE_HEX_DIG): Likewise.
2051         (fmt_ftostr): Likewise.
2052         (compare_ulp_data): Likewise.
2053         (find_ulps): Likewise.
2054         (init_max_error): Likewise.
2055         (set_max_error): Likewise.
2056         (print_float): Likewise.
2057         (print_screen): Likewise.
2058         (print_screen_max_error): Likewise.
2059         (update_stats): Likewise.
2060         (print_function_ulps): Likewise.
2061         (print_complex_function_ulps): Likewise.
2062         (fpstack_test): Likewise.
2063         (print_max_error): Likewise.
2064         (print_complex_max_error): Likewise.
2065         (test_single_exception): Likewise.
2066         (test_exceptions): Likewise.
2067         (test_single_errno): Likewise.
2068         (test_errno): Likewise.
2069         (ULPDIFF): Likewise.
2070         (ulp): Likewise.
2071         (check_float_internal): Likewise.
2072         (check_float): Likewise.
2073         (check_complex): Likewise.
2074         (check_int): Likewise.
2075         (check_long): Likewise.
2076         (check_bool): Likewise.
2077         (check_longlong): Likewise.
2078         (check_intmax_t): Likewise.
2079         (check_uintmax_t): Likewise.
2080         (enable_test): Likewise.
2081         (struct test_f_f_data): Likewise.
2082         (struct test_ff_f_data): Likewise.
2083         (struct test_fj_f_data): Likewise.
2084         (struct test_fi_f_data): Likewise.
2085         (struct test_fl_f_data): Likewise.
2086         (struct test_if_f_data): Likewise.
2087         (struct test_fff_f_data): Likewise.
2088         (struct test_fiu_M_data): Likewise.
2089         (struct test_fiu_U_data): Likewise.
2090         (struct test_c_f_data): Likewise.
2091         (struct test_f_f1_data): Likewise.
2092         (struct test_fF_f1_data): Likewise.
2093         (struct test_ffI_f1_data): Likewise.
2094         (struct test_c_c_data): Likewise.
2095         (struct test_cc_c_data): Likewise.
2096         (struct test_f_i_data): Likewise.
2097         (struct test_ff_i_data): Likewise.
2098         (struct test_f_l_data): Likewise.
2099         (struct test_f_L_data): Likewise.
2100         (struct test_fFF_11_data): Likewise.
2101         (struct test_Ff_b1_data): Likewise.
2102         (IF_ROUND_INIT_): Likewise.
2103         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2104         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2105         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2106         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2107         (ROUND_RESTORE_): Likewise.
2108         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2109         (ROUND_RESTORE_FE_TONEAREST): Likewise.
2110         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2111         (ROUND_RESTORE_FE_UPWARD): Likewise.
2112         (RM_): Likewise.
2113         (RM_FE_DOWNWARD): Likewise.
2114         (RM_FE_TONEAREST): Likewise.
2115         (RM_FE_TOWARDZERO): Likewise.
2116         (RM_FE_UPWARD): Likewise.
2117         (COMMON_TEST_SETUP): Likewise.
2118         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2119         (COMMON_TEST_CLEANUP): Likewise.
2120         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2121         (RUN_TEST_f_f): Likewise.
2122         (RUN_TEST_LOOP_f_f): Likewise.
2123         (RUN_TEST_fp_f): Likewise.
2124         (RUN_TEST_LOOP_fp_f): Likewise.
2125         (RUN_TEST_2_f): Likewise.
2126         (RUN_TEST_LOOP_2_f): Likewise.
2127         (RUN_TEST_ff_f): Likewise.
2128         (RUN_TEST_LOOP_ff_f): Likewise.
2129         (RUN_TEST_LOOP_fj_f): Likewise.
2130         (RUN_TEST_fi_f): Likewise.
2131         (RUN_TEST_LOOP_fi_f): Likewise.
2132         (RUN_TEST_fl_f): Likewise.
2133         (RUN_TEST_LOOP_fl_f): Likewise.
2134         (RUN_TEST_if_f): Likewise.
2135         (RUN_TEST_LOOP_if_f): Likewise.
2136         (RUN_TEST_fff_f): Likewise.
2137         (RUN_TEST_LOOP_fff_f): Likewise.
2138         (RUN_TEST_fiu_M): Likewise.
2139         (RUN_TEST_LOOP_fiu_M): Likewise.
2140         (RUN_TEST_fiu_U): Likewise.
2141         (RUN_TEST_LOOP_fiu_U): Likewise.
2142         (RUN_TEST_c_f): Likewise.
2143         (RUN_TEST_LOOP_c_f): Likewise.
2144         (RUN_TEST_f_f1): Likewise.
2145         (RUN_TEST_LOOP_f_f1): Likewise.
2146         (RUN_TEST_fF_f1): Likewise.
2147         (RUN_TEST_LOOP_fF_f1): Likewise.
2148         (RUN_TEST_fI_f1): Likewise.
2149         (RUN_TEST_LOOP_fI_f1): Likewise.
2150         (RUN_TEST_ffI_f1_mod8): Likewise.
2151         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
2152         (RUN_TEST_Ff_b1): Likewise.
2153         (RUN_TEST_LOOP_Ff_b1): Likewise.
2154         (RUN_TEST_Ffp_b1): Likewise.
2155         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2156         (RUN_TEST_c_c): Likewise.
2157         (RUN_TEST_LOOP_c_c): Likewise.
2158         (RUN_TEST_cc_c): Likewise.
2159         (RUN_TEST_LOOP_cc_c): Likewise.
2160         (RUN_TEST_f_i): Likewise.
2161         (RUN_TEST_LOOP_f_i): Likewise.
2162         (RUN_TEST_f_i_tg): Likewise.
2163         (RUN_TEST_LOOP_f_i_tg): Likewise.
2164         (RUN_TEST_ff_b): Likewise.
2165         (RUN_TEST_LOOP_ff_b): Likewise.
2166         (RUN_TEST_ff_i_tg): Likewise.
2167         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2168         (RUN_TEST_f_b): Likewise.
2169         (RUN_TEST_LOOP_f_b): Likewise.
2170         (RUN_TEST_f_b_tg): Likewise.
2171         (RUN_TEST_LOOP_f_b_tg): Likewise.
2172         (RUN_TEST_f_l): Likewise.
2173         (RUN_TEST_LOOP_f_l): Likewise.
2174         (RUN_TEST_f_L): Likewise.
2175         (RUN_TEST_LOOP_f_L): Likewise.
2176         (RUN_TEST_fFF_11): Likewise.
2177         (RUN_TEST_LOOP_fFF_11): Likewise.
2178         (VEC_SUFF): Likewise.
2179         (STR_CONCAT): Likewise.
2180         (STR_CON3): Likewise.
2181         (HAVE_VECTOR): Likewise.
2182         (START): Likewise.
2183         (END): Likewise.
2184         (END_COMPLEX): Likewise.
2185         (ALL_RM_TEST): Likewise.
2186         (matherr): Likewise.
2187         (initialize): Likewise.
2188         (options): Likewise.
2189         (doc): Likewise.
2190         (parse_opt): Likewise.
2191         (argp): Likewise.
2192         (check_ulp): Likewise.
2193         (main): Likewise.
2194         (do_test): New function.  Call tests of individual functions
2195         previously called from main.
2197         * math/libm-test.inc: Remove comment listing functions tested and
2198         not tested.
2200 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2202         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
2203         (allocate_stack): Remove COLORING_INCREMENT usage.
2204         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
2205         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
2207 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2209         * manual/libm-err-tab.pl (@all_functions): Change to
2210         %all_functions.  Initialize as empty.
2211         (parse_ulps): Add to %all_functions based on functions found in
2212         ulps files.  Ignore results for non-default rounding modes and
2213         vector functions.
2214         (print_platforms): Use %all_platforms.
2215         * manual/math.texi (Errors in Math Functions): Document omissions
2216         from the table.
2218         * math/Makefile (before-compile): Remove.
2220 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
2222         [BZ #21075]
2223         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
2224         unused assignment.
2225         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2227 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2229         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
2230         Add __glibc_unlikely hint.
2232 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2234         [BZ #16640]
2235         * sysdeps/i386/i686/strtok.S: Remove file.
2236         * sysdeps/i386/i686/strtok_r.S: Likewise.
2237         * sysdeps/i386/strtok.S: Likewise.
2238         * sysdeps/i386/strtok_r.S: Likewise.
2239         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
2240         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
2241         * sysdeps/x86_64/strtok.S: Likewise.
2242         * sysdeps/x86_64/strtok_r.S: Likewise.
2244         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
2245         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2246         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2247         (__ASSUME_FADVISE64_AS_64_64): Define.
2248         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
2249         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
2250         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
2251         __ALIGNMENT_ARG usage.
2252         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
2253         __NR_fadvise64_64 if it is not defined.
2255 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2257         * version.h (RELEASE): Set to "development"
2258         (VERSION): Set to 2.25.90.
2259         * NEWS: Add 2.26 section.
2261         * version.h (RELEASE): Set to "stable"
2262         (VERSION): Set to 2.25.
2263         * include/features.h (__GLIBC_MINOR__): Set to 25.
2265         * manual/contrib.texi: Add more contributors from this release
2266         and past releases.
2268         * NEWS (2.25): Add list of bugs fixed.
2270         * NEWS: Add missing news items.
2272 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2274         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
2275         parent if child exited in that manner.  Print WEXITSTATUS
2276         instead of the raw status.
2277         (do_test_prep): Rename to do_test.
2278         (do_test): Return the result of run_executable_sgid.
2279         (TEST_FUNCTION_ARGV): Adjust.
2281 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
2282             Florian Weimer  <fweimer@redhat.com>
2283             Carlos O'Donell  <carlos@redhat.com>
2285         [BZ #20915]
2286         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
2287         Do not initialize DTV.
2288         * nptl/allocatestack.c (init_one_static_tls): Likewise.
2290 2017-02-03  David S. Miller  <davem@davemloft.net>
2292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
2293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2294         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
2295         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2296         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
2297         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2298         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
2299         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2300         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2301         (libm-sysdep_routines): Update.
2302         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
2303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
2304         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
2306         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2307         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
2308         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
2309         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
2310         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
2311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
2312         Likewise.
2313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
2315         Likewise.
2316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
2318         Likewise.
2319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
2321         Likewise.
2322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2324         (libm-sysdep_routines): Update.
2326 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
2328         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
2329         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
2330         against unrelocated shared library.
2331         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2333 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2335         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
2336         * elf/tst-env-setuid-tunables.c
2337         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
2338         GLIBC_TUNABLES is removed in a setgid process.
2340         [BZ #21073]
2341         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
2342         * elf/dl-tunables.c (tunables_strdup): Remove.
2343         (get_next_env): Also return the previous envp.
2344         (parse_tunables): Erase tunables of category
2345         TUNABLES_SECLEVEL_SXID_ERASE.
2346         (maybe_enable_malloc_check): Make MALLOC_CHECK_
2347         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
2348         (__tunables_init)[TUNABLES_FRONTEND ==
2349         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
2350         after parsing.
2351         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
2352         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
2353         * elf/dl-tunables.h (struct _tunable): Change member is_secure
2354         to security_level.
2355         * elf/dl-tunables.list: Add security_level annotations for all
2356         tunables.
2357         * scripts/gen-tunables.awk: Recognize and generate enum values
2358         for security_level.
2359         * elf/tst-env-setuid.c: New test case.
2360         * elf/tst-env-setuid-tunables: new test case.
2361         * elf/Makefile (tests-static): Add them.
2363 2017-02-01  Richard Henderson  <rth@twiddle.net>
2365         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
2366         adjusting the byte count.
2368 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
2370         * conform/Makefile (linknamespace-libs): Define.
2372         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
2373         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
2374         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
2375         operands.
2377 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
2379         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
2381 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
2383         [BZ #21081]
2384         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2385         (L(stosb)): Add VZEROUPPER before ret.
2387 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
2388             Alexey Makhalov <amakhalov@vmware.com>
2389             Florian Weimer <fweimer@redhat.com>
2391         [BZ #20116]
2392         * nptl/pthread_create.c: Document concurrency notes.
2393         Enhance thread creation notes.
2394         (create_thread): Use bool *stopped_start.
2395         (START_THREAD_DEFN): Comment ownership of PD.
2396         (__pthread_create_2_1): Add local bool stopped_start and use
2397         that instead of pd->stopped_start where appropriate.
2398         * nptl/createthread.c (create_thread): Use bool *stopped_start.
2399         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
2400         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2401         * nptl/tst-create-detached.c: New file.
2402         * nptl/Makefile (tests): Add tst-create-detached.
2403         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2404         Reference the enhanced thread creation notes.
2405         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
2406         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2407         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
2408         (__pthread_current_priority): Likewise.
2409         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
2410         xpthread_attr_init, xpthread_attr_setdetachstate, and
2411         xpthread_attr_setstacksize.
2412         * support/xpthread_attr_destroy.c: New file.
2413         * support/xpthread_attr_init.c: New file.
2414         * support/xpthread_attr_setdetachstate.c: New file.
2415         * support/xpthread_attr_setstacksize.c: New file.
2416         * support/xthread.h: Define prototypes for xpthread_attr_destroy
2417         xpthread_attr_init, xpthread_attr_setdetachstate, and
2418         xpthread_attr_setstacksize.
2420 2017-01-27  Florian Weimer  <fweimer@redhat.com>
2422         * nptl/Makefile (tests): Add tst-robust-fork.
2423         * nptl/tst-robust-fork.c: New file.
2424         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
2425         xpthread_mutex_consistent, xpthread_mutex_destroy,
2426         xpthread_mutex_init, xpthread_mutexattr_destroy,
2427         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
2428         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
2429         xpthread_mutexattr_settype.
2430         * support/xmmap.c: New file.
2431         * support/xmunmap.c: Likewise.
2432         * support/xpthread_mutex_consistent.c: Likewise.
2433         * support/xpthread_mutex_destroy.c: Likewise.
2434         * support/xpthread_mutex_init.c: Likewise.
2435         * support/xpthread_mutexattr_destroy.c: Likewise.
2436         * support/xpthread_mutexattr_init.c: Likewise.
2437         * support/xpthread_mutexattr_setprotocol.c: Likewise.
2438         * support/xpthread_mutexattr_setpshared.c: Likewise.
2439         * support/xpthread_mutexattr_setrobust.c: Likewise.
2440         * support/xpthread_mutexattr_settype.c: Likewise.
2441         * support/xthread.h (xpthread_mutexattr_destroy)
2442         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
2443         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
2444         (xpthread_mutexattr_settype, xpthread_mutex_init)
2445         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
2446         * support/xunistd.h (xmmap, xmunmap): Likewise.
2448 2017-01-25  Florian Weimer  <fweimer@redhat.com>
2450         * string/Makefile (xtests): Add comment.
2451         (LOCALES): Add en_GB.UTF-8.
2452         (tst-strcoll-overflow.out): Depend on generated locales.
2453         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
2454         (SIZE, TIMEOUT): Update comments.
2455         (do_test): Define as static.  Fail test if setlocale fails.
2456         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
2457         messages.
2458         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
2459         TIMEOUT at 300 seconds should be enough to run this test
2460         successfully.
2462 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
2464         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2465         /* FALLTHRU */ comments.
2467 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
2469         [BZ #21053]
2470         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
2471         constants instead of the old R* ones.
2472         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
2473         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
2474         (NGREG): ... to this, to fit in with other architectures.
2475         (gpregset_t): Use new NGREG macro.
2476         [__USE_GNU]: Remove condition; all architectures other than tile
2477         are unconditional.
2478         (R*): Rename to REG_R*.
2480 2017-01-20  DJ Delorie  <dj@redhat.com>
2482         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
2483         (tunable_set_val_if_valid_range_signed) ... this, and ...
2484         (tunable_set_val_if_valid_range_unsigned) ... this.
2485         (tunable_initialize): Call the correct one of the above based on type.
2487 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
2489         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
2490         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2491         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2492         * sysdeps/microblaze/libm-test-ulps: Likewise.
2493         * sysdeps/sh/libm-test-ulps: Likewise.
2495         * math/README.libm-test: Update list of characters for input and
2496         output types.
2498 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2500         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2501         (__lll_unlock_elision): Fix adapt_count decrement.
2503 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
2505         * README.pretty-printers (Known issues): Warn about printers not
2506         always covering everything.
2507         * nptl/nptl-printers.py (MutexPrinter): Change output.
2508         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
2510 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2512         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
2513         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2514         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
2515         (__lll_lock_elision): Do not test futex before starting a
2516         transaction.  Use __glibc_likely instead of __builtin_expect.
2517         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
2518         (__lll_trylock_elision): Do not test futex before starting a
2519         transaction.  Use __glibc_likely instead of __builtin_expect.
2521 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2523         * po/Makefile (update-translations): New target.
2525 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
2527         [BZ #21061]
2528         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
2530 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2532         * elf/dl-tunables (get_next_env): Always advance envp.
2533         * stdlib/tst-empty-env.c: New test case.
2534         * stdlib/Makefile (tests): Use it.
2536 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
2538         [BZ #21047]
2539         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
2540         name for instruction.
2541         [!__SOFTFP__] (_FPU_SETCW): Likewise.
2543 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
2545         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
2546         for make install.
2548 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2550         * po/bg.po: Merge from Translation Project.
2551         * po/fr.po: Likewise.
2552         * po/ko.po: Likewise.
2553         * po/nl.po: Likewise.
2554         * po/sv.po: Likewise.
2556 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
2558         * manual/install.texi (Tools for Compilation): Update GCC version
2559         known to work to build glibc.
2560         * INSTALL: Regenerated.
2562 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2564         [BZ #21006]
2565         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
2567 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
2569         [BZ #21045]
2570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2571         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
2572         to __sigprocmask.
2574 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
2576         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
2577         wrap-around.
2578         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
2580         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
2582 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2584         * NEWS: Fix typo.
2586 2016-01-13  Torvald Riegel  <triegel@redhat.com>
2588         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
2589         barriers and comments.
2590         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
2591         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2592         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2594 2016-01-13  Torvald Riegel  <triegel@redhat.com>
2596         [BZ #19402]
2597         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
2598         mutexes.
2600 2016-01-13  Torvald Riegel  <triegel@redhat.com>
2602         [BZ #20985]
2603         * nptl/Makefile: Adapt.
2604         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
2605         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
2606         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
2607         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
2608         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
2609         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
2610         lll_robust* functions and adapt.
2611         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2612         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
2613         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
2614         __lll_robust_timedlock, __lll_robust_unlock): Remove.
2615         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
2616         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
2617         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
2618         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
2619         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
2620         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
2621         __lll_robust_timedlock, __lll_robust_unlock): Remove.
2622         * nptl/lowlevelrobustlock.c: Remove file.
2623         * nptl/lowlevelrobustlock.sym: Likewise.
2624         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
2625         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
2627 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2629         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2631 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2633         * po/cs.po: Merge translations from the Translation Project.
2634         * po/de.po: Likewise.
2635         * po/pl.po: Likewise.
2636         * po/ru.po: Likewise.
2637         * po/tr.po: Likewise.
2638         * po/uk.po: Likewise.
2639         * po/vi.po: Likewise.
2640         * po/zh_CN.po: Likewise.
2642 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
2644         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
2646         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
2647         object.
2649 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
2651         [BZ #16458]
2652         * bits/uintn-identity.h: New file.
2653         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
2654         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
2655         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
2656         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
2657         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
2658         * string/endian.h: Include <bits/uintn-identity.h>.
2659         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
2660         __uint16_identity.
2661         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
2662         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
2663         __uint32_identity.
2664         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
2665         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
2666         __uint64_identity.
2667         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
2668         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
2669         __uint16_identity.
2670         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
2671         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
2672         __uint32_identity.
2673         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
2674         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
2675         __uint64_identity.
2676         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
2677         * string/Makefile (headers): Add bits/uintn-identity.h.
2678         (tests): Add test-endian-types.
2679         * string/test-endian-types.c: New file.
2680         * inet/Makefile (tests): Add test-hnto-types.
2681         * inet/test-hnto-types.c: New file.
2683 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2685         * po/be.po: Update from Translation Project.
2686         * po/bg.po: Likewise.
2687         * po/ca.po: Likewise.
2688         * po/cs.po: Likewise.
2689         * po/da.po: Likewise.
2690         * po/de.po: Likewise.
2691         * po/el.po: Likewise.
2692         * po/eo.po: Likewise.
2693         * po/es.po: Likewise.
2694         * po/fi.po: Likewise.
2695         * po/fr.po: Likewise.
2696         * po/gl.po: Likewise.
2697         * po/hr.po: Likewise.
2698         * po/hu.po: Likewise.
2699         * po/ia.po: Likewise.
2700         * po/id.po: Likewise.
2701         * po/it.po: Likewise.
2702         * po/ja.po: Likewise.
2703         * po/ko.po: Likewise.
2704         * po/lt.po: Likewise.
2705         * po/nb.po: Likewise.
2706         * po/nl.po: Likewise.
2707         * po/pl.po: Likewise.
2708         * po/pt_BR.po: Likewise.
2709         * po/ru.po: Likewise.
2710         * po/rw.po: Likewise.
2711         * po/sk.po: Likewise.
2712         * po/sl.po: Likewise.
2713         * po/sv.po: Likewise.
2714         * po/tr.po: Likewise.
2715         * po/uk.po: Likewise.
2716         * po/vi.po: Likewise.
2717         * po/zh_CN.po: Likewise.
2718         * po/zh_TW.po: Likewise.
2720 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
2722         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
2723         -Wformat-truncation instead of -Wformat-length.
2724         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
2725         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
2726         GCC 7.
2727         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
2728         (do_test): Ignore -Wformat-truncation for GCC 7.
2730         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
2731         buffer used to print long int value.
2733         * elf/sotruss-lib.c (init): Increase space allocated for pid by
2734         one byte.  Print it with %ld, cast to long int.
2736 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2738         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
2739         (re.fullmatch, subprocess.run): Likewise.
2741 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2743         * po/libc.pot: Regenerate.
2745 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2747         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
2748         (min_strlen): Likewise.
2749         (disable_tunable): Likewise.
2750         (maybe_disable_malloc_check): Rename to
2751         maybe_enable_malloc_check.
2752         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
2753         if /etc/suid-debug file exists.
2754         (__tunables_init): Update caller.
2755         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
2756         secure.
2758 2016-01-10  Torvald Riegel  <triegel@redhat.com>
2760         * nptl/DESIGN-rwlock.txt: Remove.
2761         * nptl/lowlevelrwlock.sym: Remove.
2762         * nptl/Makefile: Add new tests.
2763         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
2764         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
2765         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
2766         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
2767         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
2768         PTHREAD_RWLOCK_FUTEX_USED): New.
2769         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
2770         implementation.
2771         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
2772         (__pthread_rwlock_rdlock): Adapt.
2773         * nptl/pthread_rwlock_timedrdlock.c
2774         (pthread_rwlock_timedrdlock): Adapt.
2775         * nptl/pthread_rwlock_timedwrlock.c
2776         (pthread_rwlock_timedwrlock): Adapt.
2777         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
2778         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
2779         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
2780         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
2781         (__pthread_rwlock_wrlock): Adapt.
2782         * nptl/tst-rwlock10.c: Adapt.
2783         * nptl/tst-rwlock11.c: Adapt.
2784         * nptl/tst-rwlock17.c: New file.
2785         * nptl/tst-rwlock18.c: New file.
2786         * nptl/tst-rwlock19.c: New file.
2787         * nptl/tst-rwlock2b.c: New file.
2788         * nptl/tst-rwlock8.c: Adapt.
2789         * nptl/tst-rwlock9.c: Adapt.
2790         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2791         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2792         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2793         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2794         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2795         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2796         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2797         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2798         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2799         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2800         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2801         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2802         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
2803         (pthread_rwlock_t): Adapt.
2804         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2805         (pthread_rwlock_t): Adapt.
2806         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2807         * nptl/nptl-printers.py (): Adapt.
2808         * nptl/nptl_lock_constants.pysym: Adapt.
2809         * nptl/test-rwlock-printers.py: Adapt.
2810         * nptl/test-rwlockattr-printers.c: Adapt.
2811         * nptl/test-rwlockattr-printers.py: Adapt.
2813 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
2815         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
2816         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
2817         (fma_test_data): Likewise.
2818         (hypot_test_data): Likewise.
2819         (log1p_test_data): Likewise.
2820         (modf_test_data): Likewise.
2821         (pow_test_data): Likewise.
2822         (remainder_test_data): Likewise.
2823         (remquo_test_data): Likewise.
2824         (scalb_test_data): Likewise.
2825         (scalbn_test_data): Likewise.
2826         (scalbln_test_data): Likewise.
2827         * math/gen-libm-test.pl (parse_args): Transform
2828         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
2829         on the rounding mode.
2831 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
2833         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
2834         xfail-rounding:ibm128-libgcc automatically to tests overflowing
2835         and those that can underflow to zero.
2836         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
2837         add others.
2838         * math/auto-libm-test-out: Regenerated.
2840         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
2841         supported.
2842         (feholdexcept_tests): Skip tests requiring exceptions or rounding
2843         modes support if not supported.
2845         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
2846         Add libc.so PLT entry.
2847         (__tls_get_addr): Make ld.so PLT entry optional.
2849 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2851         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
2852         * string/bits/string3.h: ... here.
2854 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
2856         [BZ #21028]
2857         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
2858         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
2859         if EXCEPTION_TESTS returns false.
2861 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2863         [BZ #20558]
2864         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
2865         strings_fortified.h.
2866         [__USE_MISC] (bzero): Likewise.
2867         [__USE_MISC] (explicit_bzero): Likewise.
2868         * string/strings.h: Include strings_fortified.h.
2869         * string/Makefile (headers): Add strings_fortified.h.
2870         * string/bits/strings_fortified.h: New file.
2871         * include/bits/strings_fortified.h: Likewise.
2873 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
2875         * elf/tst-tls13.c (TIMEOUT): Remove.
2876         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
2877         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
2878         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
2879         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
2880         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
2882         [BZ #21026]
2883         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
2884         (readahead): New syscall entry.
2886 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
2888         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
2889         around tests of strncat with large sizes.
2891         * malloc/tst-malloc.c: Include <libc-internal.h>.
2892         (do_test): Disable -Walloc-size-larger-than= around tests of
2893         malloc with negative sizes.
2894         * malloc/tst-mcheck.c: Include <libc-internal.h>.
2895         (do_test): Disable -Walloc-size-larger-than= around tests of
2896         malloc and realloc with negative sizes.
2897         * malloc/tst-realloc.c: Include <libc-internal.h>.
2898         (do_test): Disable -Walloc-size-larger-than= around tests of
2899         realloc with negative sizes.
2901         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
2902         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
2903         allowed to 16 ulps.
2904         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
2905         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
2906         * math/auto-libm-test-out: Regenerated.
2908 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2910         * math/Makefile (libm-calls): Move wrappers...
2911         (libm-compat-call-auto): Here.
2912         (libm-routines): Add items in libm-compat-calls-auto.
2913         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
2914         the filenames of the wrappers that have been renamed.
2915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
2916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2918         * math/w_acos.c: Add _compat suffix to filename.
2919         * math/w_acosf.c: Likewise.
2920         * math/w_acosh.c: Likewise.
2921         * math/w_acoshf.c: Likewise.
2922         * math/w_acoshl.c: Likewise.
2923         * math/w_acosl.c: Likewise.
2924         * math/w_asin.c: Likewise.
2925         * math/w_asinf.c: Likewise.
2926         * math/w_asinl.c: Likewise.
2927         * math/w_atan2.c: Likewise.
2928         * math/w_atan2f.c: Likewise.
2929         * math/w_atan2l.c: Likewise.
2930         * math/w_atanh.c: Likewise.
2931         * math/w_atanhf.c: Likewise.
2932         * math/w_atanhl.c: Likewise.
2933         * math/w_cosh.c: Likewise.
2934         * math/w_coshf.c: Likewise.
2935         * math/w_coshl.c: Likewise.
2936         * math/w_exp10.c: Likewise.
2937         * math/w_exp10f.c: Likewise.
2938         * math/w_exp10l.c: Likewise.
2939         * math/w_exp2.c: Likewise.
2940         * math/w_exp2f.c: Likewise.
2941         * math/w_exp2l.c: Likewise.
2942         * math/w_fmod.c: Likewise.
2943         * math/w_fmodf.c: Likewise.
2944         * math/w_fmodl.c: Likewise.
2945         * math/w_hypot.c: Likewise.
2946         * math/w_hypotf.c: Likewise.
2947         * math/w_hypotl.c: Likewise.
2948         * math/w_j0.c: Likewise.
2949         * math/w_j0f.c: Likewise.
2950         * math/w_j0l.c: Likewise.
2951         * math/w_j1.c: Likewise.
2952         * math/w_j1f.c: Likewise.
2953         * math/w_j1l.c: Likewise.
2954         * math/w_jn.c: Likewise.
2955         * math/w_jnf.c: Likewise.
2956         * math/w_jnl.c: Likewise.
2957         * math/w_log10.c: Likewise.
2958         * math/w_log10f.c: Likewise.
2959         * math/w_log10l.c: Likewise.
2960         * math/w_log2.c: Likewise.
2961         * math/w_log2f.c: Likewise.
2962         * math/w_log2l.c: Likewise.
2963         * math/w_log.c: Likewise.
2964         * math/w_logf.c: Likewise.
2965         * math/w_logl.c: Likewise.
2966         * math/w_pow.c: Likewise.
2967         * math/w_powf.c: Likewise.
2968         * math/w_powl.c: Likewise.
2969         * math/w_remainder.c: Likewise.
2970         * math/w_remainderf.c: Likewise.
2971         * math/w_remainderl.c: Likewise.
2972         * math/w_scalb.c: Likewise.
2973         * math/w_scalbf.c: Likewise.
2974         * math/w_scalbl.c: Likewise.
2975         * math/w_sinh.c: Likewise.
2976         * math/w_sinhf.c: Likewise.
2977         * math/w_sinhl.c: Likewise.
2978         * math/w_sqrt.c: Likewise.
2979         * math/w_sqrtf.c: Likewise.
2980         * math/w_sqrtl.c: Likewise.
2981         * math/w_tgamma.c: Likewise.
2982         * math/w_tgammaf.c: Likewise.
2983         * math/w_tgammal.c: Likewise.
2985         * math/w_acos_compat.c: New file copied from above and
2986         adjusted for new #includes path
2987         * math/w_acosf_compat.c: Likewise.
2988         * math/w_acosh_compat.c: Likewise.
2989         * math/w_acoshf_compat.c: Likewise.
2990         * math/w_acoshl_compat.c: Likewise.
2991         * math/w_acosl_compat.c: Likewise.
2992         * math/w_asin_compat.c: Likewise.
2993         * math/w_asinf_compat.c: Likewise.
2994         * math/w_asinl_compat.c: Likewise.
2995         * math/w_atan2_compat.c: Likewise.
2996         * math/w_atan2f_compat.c: Likewise.
2997         * math/w_atan2l_compat.c: Likewise.
2998         * math/w_atanh_compat.c: Likewise.
2999         * math/w_atanhf_compat.c: Likewise.
3000         * math/w_atanhl_compat.c: Likewise.
3001         * math/w_cosh_compat.c: Likewise.
3002         * math/w_coshf_compat.c: Likewise.
3003         * math/w_coshl_compat.c: Likewise.
3004         * math/w_exp10_compat.c: Likewise.
3005         * math/w_exp10f_compat.c: Likewise.
3006         * math/w_exp10l_compat.c: Likewise.
3007         * math/w_exp2_compat.c: Likewise.
3008         * math/w_exp2f_compat.c: Likewise.
3009         * math/w_exp2l_compat.c: Likewise.
3010         * math/w_fmod_compat.c: Likewise.
3011         * math/w_fmodf_compat.c: Likewise.
3012         * math/w_fmodl_compat.c: Likewise.
3013         * math/w_hypot_compat.c: Likewise.
3014         * math/w_hypotf_compat.c: Likewise.
3015         * math/w_hypotl_compat.c: Likewise.
3016         * math/w_j0_compat.c: Likewise.
3017         * math/w_j0f_compat.c: Likewise.
3018         * math/w_j0l_compat.c: Likewise.
3019         * math/w_j1_compat.c: Likewise.
3020         * math/w_j1f_compat.c: Likewise.
3021         * math/w_j1l_compat.c: Likewise.
3022         * math/w_jn_compat.c: Likewise.
3023         * math/w_jnf_compat.c: Likewise.
3024         * math/w_jnl_compat.c: Likewise.
3025         * math/w_log10_compat.c: Likewise.
3026         * math/w_log10f_compat.c: Likewise.
3027         * math/w_log10l_compat.c: Likewise.
3028         * math/w_log2_compat.c: Likewise.
3029         * math/w_log2f_compat.c: Likewise.
3030         * math/w_log2l_compat.c: Likewise.
3031         * math/w_log_compat.c: Likewise.
3032         * math/w_logf_compat.c: Likewise.
3033         * math/w_logl_compat.c: Likewise.
3034         * math/w_pow_compat.c: Likewise.
3035         * math/w_powf_compat.c: Likewise.
3036         * math/w_powl_compat.c: Likewise.
3037         * math/w_remainder_compat.c: Likewise.
3038         * math/w_remainderf_compat.c: Likewise.
3039         * math/w_remainderl_compat.c: Likewise.
3040         * math/w_scalb_compat.c: Likewise.
3041         * math/w_scalbf_compat.c: Likewise.
3042         * math/w_scalbl_compat.c: Likewise.
3043         * math/w_sinh_compat.c: Likewise.
3044         * math/w_sinhf_compat.c: Likewise.
3045         * math/w_sinhl_compat.c: Likewise.
3046         * math/w_sqrt_compat.c: Likewise.
3047         * math/w_sqrtf_compat.c: Likewise.
3048         * math/w_sqrtl_compat.c: Likewise.
3049         * math/w_tgamma_compat.c: Likewise.
3050         * math/w_tgammaf_compat.c: Likewise.
3051         * math/w_tgammal_compat.c: Likewise.
3053         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
3054         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
3055         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
3056         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
3057         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
3058         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
3059         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
3060         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
3061         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
3062         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
3063         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
3064         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
3065         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
3066         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
3067         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
3068         * sysdeps/ia64/fpu/w_powl.c: Likewise.
3069         * sysdeps/ia64/fpu/w_powf.c: Likewise.
3070         * sysdeps/ia64/fpu/w_pow.c: Likewise.
3071         * sysdeps/ia64/fpu/w_logl.c: Likewise.
3072         * sysdeps/ia64/fpu/w_logf.c: Likewise.
3073         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
3074         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
3075         * sysdeps/ia64/fpu/w_log2.c: Likewise.
3076         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
3077         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
3078         * sysdeps/ia64/fpu/w_log10.c: Likewise.
3079         * sysdeps/ia64/fpu/w_log.c: Likewise.
3080         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
3081         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
3082         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
3083         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
3084         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
3085         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
3086         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
3087         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
3088         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
3089         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
3090         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
3091         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
3092         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
3093         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
3094         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
3095         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
3096         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
3097         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
3098         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
3099         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
3100         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
3101         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
3102         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
3103         * sysdeps/ia64/fpu/w_asin.c: Likewise.
3104         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
3105         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
3106         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3107         * sysdeps/ia64/fpu/w_acos.c: Likewise.
3108         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
3109         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
3110         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
3111         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
3112         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
3113         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
3114         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
3115         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
3116         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
3117         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
3118         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
3119         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
3120         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
3121         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
3122         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
3123         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
3124         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
3125         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
3126         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
3127         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
3128         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
3129         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
3130         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
3131         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
3132         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
3133         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
3134         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
3135         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
3136         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
3137         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
3138         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
3139         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
3140         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
3141         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
3142         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
3143         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
3144         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
3145         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
3146         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
3147         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
3148         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
3149         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
3150         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
3151         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
3152         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
3153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
3154         Likewise.
3155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
3156         Likewise.
3157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
3158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
3159         Likewise.
3160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
3161         Likewise.
3162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
3163         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3164         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3165         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3166         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3167         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3168         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
3170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
3172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3173         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3174         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3175         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3176         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3178         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
3179         and adjusted for new #includes path
3180         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
3181         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
3182         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
3183         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
3184         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
3185         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
3186         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
3187         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
3188         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
3189         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
3190         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
3191         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
3192         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
3193         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
3194         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
3195         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
3196         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
3197         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
3198         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
3199         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
3200         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
3201         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
3202         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
3203         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
3204         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
3205         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
3206         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
3207         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
3208         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
3209         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
3210         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
3211         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
3212         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
3213         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
3214         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
3215         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
3216         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
3217         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
3218         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
3219         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
3220         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
3221         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
3222         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
3223         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
3224         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
3225         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
3226         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
3227         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
3228         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
3229         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
3230         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
3231         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
3232         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
3233         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
3234         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
3235         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
3236         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
3237         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
3238         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
3239         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3240         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3241         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
3242         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3243         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3244         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3245         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3246         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3247         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3248         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3249         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
3250         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
3251         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3252         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3253         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3254         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3255         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3256         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3257         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3258         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3259         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3260         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3261         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3262         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3263         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3264         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3265         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3266         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3267         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3268         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3269         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
3270         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
3271         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
3272         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
3273         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3274         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3275         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3276         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3277         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3278         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
3280         Likewise.
3281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
3282         Likewise.
3283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
3284         Likewise.
3285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
3286         Likewise.
3287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
3288         Likewise.
3289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
3290         Likewise.
3291         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3292         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3293         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3294         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3295         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
3296         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3298         Likewise.
3299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
3300         Likewise.
3301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3302         Likewise.
3303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
3304         Likewise.
3305         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
3306         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3307         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3308         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3310 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3312         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
3313         __jmp_buf_internal_tag.
3315         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
3316         preserve NaN payload if [__mips_nan2008].
3317         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3319         [BZ #21022]
3320         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
3322 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3324         * sysdeps/i386/fpu/libm-test-ulps: Update.
3326 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3328         * sysdeps/ia64/strcat.c: Remove file.
3329         * sysdeps/powerpc/strcat.c: Likewise.
3330         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
3331         C implementation.
3332         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
3333         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
3335 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3336             Steven Munroe  <sjmunroe@us.ibm.com>
3337             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3339         [BZ #20822]
3340         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3341         (__lll_lock_elision): Access adapt_count via C11 atomics.
3342         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3343         (__lll_trylock_elision): Likewise.
3344         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3345         (__lll_unlock_elision):  Update adapt_count variable inside the
3346         critical section using C11 atomics.
3348 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3350         * math/test-fenvinline.c (do_test): Disable tests of raised
3351         exceptions if !EXCEPTION_TESTS (FLOAT).
3353 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3355         [BZ #19390]
3356         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
3357         maximum string size.
3358         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
3359         in pointer addition.
3360         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
3361         Likewise.
3363 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3365         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
3366         passed to tst-ldconfig-X.sh.
3368 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
3370         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
3372 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3374         [BZ #21019]
3375         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
3376         New syscall entry.
3377         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
3378         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
3379         lseek.
3381         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3382         power4 glibc for powerpc-linux-gnu.
3384 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3386         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
3387         semctl.
3389 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3391         * math/test-nearbyint-except.c: Include <stdbool.h>.
3392         (any_supported): New variable.
3393         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
3394         set any_supported.
3395         (do_test): Return 77 if no floating-point type supported
3396         exceptions.
3398         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
3399         condition on [__mips_hard_float].
3401 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3403         [BZ #21014]
3404         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
3405         in pointer addition.
3406         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
3408 2017-01-02  Torvald Riegel  <triegel@redhat.com>
3410         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
3411         new condvar.
3413 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3415         * scripts/build-many-glibcs.py (Context.checkout): Default
3416         binutils version to 2.28 branch.
3418 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3420         * support/support_format_netent.c (support_format_netent): Work
3421         around alpha struct netent definition difference.
3423 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3425         * support/xwrite.c (xwrite): Use %td for pointer difference.
3427 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3429         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
3430         have-tunables only.
3431         (tests-static): Add tst-malloc-usable-static-tunables for
3432         have-tunables only.
3434 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
3436         * scripts/config.guess: Update to version 2017-01-01.
3437         * scripts/config.sub: Update to version 2017-01-01.
3439         * NEWS: Update copyright dates.
3440         * catgets/gencat.c (print_version): Likewise.
3441         * csu/version.c (banner): Likewise.
3442         * debug/catchsegv.sh: Likewise.
3443         * debug/pcprofiledump.c (print_version): Likewise.
3444         * debug/xtrace.sh (do_version): Likewise.
3445         * elf/ldconfig.c (print_version): Likewise.
3446         * elf/ldd.bash.in: Likewise.
3447         * elf/pldd.c (print_version): Likewise.
3448         * elf/sotruss.sh: Likewise.
3449         * elf/sprof.c (print_version): Likewise.
3450         * iconv/iconv_prog.c (print_version): Likewise.
3451         * iconv/iconvconfig.c (print_version): Likewise.
3452         * locale/programs/locale.c (print_version): Likewise.
3453         * locale/programs/localedef.c (print_version): Likewise.
3454         * login/programs/pt_chown.c (print_version): Likewise.
3455         * malloc/memusage.sh (do_version): Likewise.
3456         * malloc/memusagestat.c (print_version): Likewise.
3457         * malloc/mtrace.pl: Likewise.
3458         * manual/libc.texinfo: Likewise.
3459         * nptl/version.c (banner): Likewise.
3460         * nscd/nscd.c (print_version): Likewise.
3461         * nss/getent.c (print_version): Likewise.
3462         * nss/makedb.c (print_version): Likewise.
3463         * posix/getconf.c (main): Likewise.
3464         * scripts/test-installation.pl: Likewise.
3465         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3467         * All files with FSF copyright notices: Update copyright dates
3468         using scripts/update-copyrights.
3469         * intl/plural.c: Regenerated.
3470         * locale/programs/charmap-kw.h: Likewise.
3471         * locale/programs/locfile-kw.h: Likewise.
3473 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3475         [BZ #20593]
3476         Update DNS RR type definitions.
3477         * scripts/gen-rrtypes.py: New file.
3478         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
3479         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
3480         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
3481         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
3482         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
3483         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
3484         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
3485         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
3486         ns_t_ta, ns_t_dlv.
3487         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
3488         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
3489         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
3490         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
3491         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
3492         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
3493         Define.
3494         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
3495         entry for ns_t_zxfr.
3497 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3499         [BZ #18784]
3500         CVE-2015-5180
3501         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
3502         T_UNSPEC.  Adjust value.
3503         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
3504         * resolv/res_query.c (__libc_res_nquery): Likewise.
3505         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
3506         QTYPEs.
3507         * resolv/tst-resolv-qtypes.c: New file.
3508         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
3509         (tst-resolv-qtypes): Link against libresolv and libpthread.
3511 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3513         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
3515 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3517         * manual/tunables.texi: New chapter.
3518         * manual/Makefile (chapters): Add it.
3519         * manual/probes.texi (@node): Point to the Tunables chapter.
3521         * Makeconfig (have-tunables): Check for non-negative instead
3522         of positive.
3523         * configure.ac: Add 'valstring' as a valid value for
3524         --enable-tunables.
3525         * configure: Regenerate.
3526         * elf/Makefile (have-tunables): Check for non-negative instead
3527         of positive.
3528         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
3529         dl-tunables.c.
3530         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
3531         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
3532         (tunables_strdup): Likewise.
3533         (disable_tunables): Likewise.
3534         (parse_tunables): Likewise.
3535         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
3536         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
3537         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
3538         (TUNABLES_FRONTEND_yes): New macro, define as
3539         TUNABLES_FRONTEND_valstring by default.
3540         * manual/install.texi: Document new acceptable values for
3541         --enable-tunables.
3542         * INSTALL: Regenerate.
3544         * config.make.in (have-loop-to-function): Define.
3545         * elf/Makefile (CFLAGS-dl-tunables.c): Add
3546         -fno-tree-loop-distribute-patterns.
3547         * elf/dl-tunables.c: Include libc-internals.h.
3548         (GLIBC_TUNABLES): New macro.
3549         (tunables_strdup): New function.
3550         (parse_tunables): New function.
3551         (min_strlen): New function.
3552         (__tunables_init): Use the new functions and macro.
3553         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
3554         * malloc/tst-malloc-usable-tunables.c: New test case.
3555         * malloc/tst-malloc-usable-static-tunables.c: New test case.
3556         * malloc/Makefile (tests, tests-static): Add tests.
3558         * manual/install.texi: Add --enable-tunables option.
3559         * INSTALL: Regenerate.
3560         * README.tunables: New file.
3561         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
3562         (before-compile): Generate dl-tunable-list.h early.
3563         * config.h.in: Add HAVE_TUNABLES.
3564         * config.make.in: Add have-tunables.
3565         * configure.ac: Add --enable-tunables option.
3566         * configure: Regenerate.
3567         * csu/init-first.c (__libc_init_first): Move
3568         __libc_init_secure earlier...
3569         * csu/init-first.c (LIBC_START_MAIN):... to here.
3570         Include dl-tunables.h, libc-internal.h.
3571         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
3572         binaries.
3573         * elf/Makefile (dl-routines): Add dl-tunables.
3574         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
3575         namespace.
3576         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
3577         only when !HAVE_TUNABLES.
3578         * elf/rtld.c (process_envvars): Likewise.
3579         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
3580         (_dl_sysdep_start): Call __tunables_init.
3581         * elf/dl-tunable-types.h: New file.
3582         * elf/dl-tunables.c: New file.
3583         * elf/dl-tunables.h: New file.
3584         * elf/dl-tunables.list: New file.
3585         * malloc/tst-malloc-usable-static.c: New test case.
3586         * malloc/Makefile (tests-static): Add it.
3587         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
3588         Define TUNABLE_NAMESPACE.
3589         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
3590         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
3591         callback functions.
3592         (ptmalloc_init): Set tunable values.
3593         * scripts/gen-tunables.awk: New file.
3594         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
3595         (_dl_sysdep_start): Call __tunables_init.
3597 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3599         * resolv/resolv.h (RES_BLAST): Deprecate.
3600         * resolv/res_debug.c (p_option): Remove RES_BLAST.
3601         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
3602         to RES_BLAST.
3604 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3606         [BZ #19582]
3607         Deprecate RES_USE_INET6.
3608         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
3609         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
3610         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
3611         RES_USE_INET6.
3612         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
3613         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
3614         (_nss_nisplus_gethostbyaddr_r): Likewise.
3615         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
3616         of res_use_inet6.
3617         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
3618         instead of RES_USE_INET6.
3619         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
3620         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
3621         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
3622         Likewise.
3623         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
3624         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
3625         Likewise.
3626         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
3627         (_nss_dns_gethostbyname_r): Likewise.
3628         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
3629         alternate RES_USE_INET6 handling.
3630         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
3631         instead of RES_USE_INET6.
3632         * resolv/res_init.c (res_setoptions): Likewise.
3633         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
3634         * resolv/resolv-internal.h: New file.
3635         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
3636         make the deprecation warning non-fatal.
3637         * resolv/README (Using the resolver in multi-threaded code): Drop
3638         reference to RES_USE_INET6.
3639         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
3640         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
3642 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3644         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
3645         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
3646         tst-resolv-search.
3647         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
3648         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
3649         with libresolv and libpthread.
3650         * resolv/tst-bug18665.c: New file.
3651         * resolv/tst-bug18665-tcp: Likewise.
3652         * resolv/tst-res_use_inet6: Likewise.
3653         * resolv/tst-resolv-basic: Likewise.
3654         * resolv/tst-resolv-network: Likewise.
3655         * resolv/tst-resolv-search: Likewise.
3656         * support/Makefile (libsupport-routines): Add check_addrinfo,
3657         check_dns_packet, check_hostent, check_netent, resolv_test,
3658         support_format_address_family, support_format_addrinfo,
3659         support_format_dns_packet, support_format_herrno,
3660         support_format_hostent, support_format_netent, support_run_diff,
3661         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
3662         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
3663         xstrdup, xwrite.
3664         * support/check_addrinfo.c: New file.
3665         * support/check_dns_packet.c: Likewise.
3666         * support/check_hostent.c: Likewise.
3667         * support/check_netent.c: Likewise.
3668         * support/check_nss.h: Likewise.
3669         * support/format_nss.h: Likewise.
3670         * support/resolv_test.c: Likewise.
3671         * support/resolv_test.h: Likewise.
3672         * support/run_diff.h: Likewise.
3673         * support/support_format_address_family.c: Likewise.
3674         * support/support_format_addrinfo.c: Likewise.
3675         * support/support_format_dns_packet.c: Likewise.
3676         * support/support_format_herrno.c: Likewise.
3677         * support/support_format_hostent.c: Likewise.
3678         * support/support_format_netent.c: Likewise.
3679         * support/support_run_diff.c: Likewise.
3680         * support/xaccept.c: Likewise.
3681         * support/xbind.c: Likewise.
3682         * support/xconnect.c: Likewise.
3683         * support/xfclose.c: Likewise.
3684         * support/xfopen.c: Likewise.
3685         * support/xgetsockname.c: Likewise.
3686         * support/xlisten.c: Likewise.
3687         * support/xmemstream.c: Likewise.
3688         * support/xmemstream.h: Likewise.
3689         * support/xpoll.c: Likewise.
3690         * support/xpthread_once.c: Likewise.
3691         * support/xrecvfrom.c: Likewise.
3692         * support/xsendto.c: Likewise.
3693         * support/xsetsockopt.c: Likewise.
3694         * support/xstdio.h: Likewise.
3695         * support/xstrdup.c: Likewise.
3696         * support/support.h (xstrdup): Declare.
3697         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
3698         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
3699         * support/xthread.h (xpthread_once): Likwise.
3700         * support/xunistd.h (xwrite): Declare.
3702 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3704         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
3705         (test_verbose): Declare.
3706         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
3707         * support/support_test_main.c (default_options): Likewise.
3708         (usage, support_test_main): Handle 'v'.
3709         (test_verbose): Define.
3710         * support/tst-support_record_failure.c (do_test): Use
3711         test_verbose.
3712         * support/tst-support_record_failure-2.sh (different_status): Add
3713         --verbose test.
3715 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3717         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
3718         test failures are recorded.
3719         * support/check.c (support_print_failure_impl): Call
3720         support_record_failure.
3721         (support_exit_failure_impl): Call support_record_failure if status
3722         indicates failure.
3723         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
3724         * support/xasprintf.c (xasprintf): Likewise.
3725         * support/xfork.c (xfork): Likewise.
3726         * support/xpthread_check_return.c (xpthread_check_return):
3727         Likewise.
3728         * support/xsocket.c (xsocket): Likeweise.
3729         * support/xwaitpid.c (xwaitpid): Likewise.
3730         * support/support_record_failure.c (struct test_failures): Adjust
3731         to coding style.
3732         * support/support_test_verify_impl.c (support_test_verify_impl):
3733         Adjust error messages.
3734         * support/tst-support_record_failure-2.sh (different_status):
3735         Adjust error messages.
3737 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3739         * support/namespace.h: New file.
3740         * support/support_become_root.c: Likewise.
3741         * support/support_enter_network_namespace.c: Likewise.
3742         * support/tst-support-namespace.c: Likewise.
3743         * support/xsocket.c: Likewise.
3744         * support/xsocket.h: Likewise.
3745         * support/Makefile (libsupport-routines): Add support_become_root,
3746         support_enter_network_namespace, xsocket.
3747         (tests): Add tst-support-namespace.
3749 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3751         [BZ #17252]
3752         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
3753         __USE_GNU.
3755 2016-12-31  Torvald Riegel  <triegel@redhat.com>
3757         [BZ #13165]
3758         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
3759         use new algorithm.
3760         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3761         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3762         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3763         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3764         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
3765         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
3766         __condvar_cleanup_waiting, __condvar_dec_grefs,
3767         __pthread_cond_wait_common): New.
3768         (__condvar_cleanup): Remove.
3769         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
3770         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
3771         Likewise.
3772         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
3773         Likewise.
3774         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
3775         * nptl/tst-cond1.c: Add comment.
3776         * nptl/tst-cond20.c (do_test): Adapt.
3777         * nptl/tst-cond22.c (do_test): Likewise.
3778         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
3779         structure.
3780         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3781         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3782         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3783         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
3784         Likewise.
3785         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3786         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3787         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3788         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3789         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3790         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
3791         Likewise.
3792         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
3793         Likewise.
3794         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3795         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
3796         (COND_CLOCK_BITS): Adapt.
3797         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
3798         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
3799         __PTHREAD_COND_SHARED_MASK): New.
3800         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
3801         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
3802         * nptl/nptl_lock_constants.pysym: Adapt.
3803         * nptl/test-cond-printers.py: Adapt.
3804         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
3805         cond_compat_check_and_clear): Adapt.
3806         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
3807         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3808         (__pthread_cond_timedwait): ... and move here.
3809         * nptl/DESIGN-condvar.txt: Remove file.
3810         * nptl/lowlevelcond.sym: Likewise.
3811         * nptl/pthread_cond_timedwait.c: Likewise.
3812         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
3813         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
3814         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
3815         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
3816         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
3817         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
3818         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
3819         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
3820         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
3821         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
3822         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
3823         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
3824         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
3825         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
3826         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
3827         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
3829 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
3831         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3832         (fromfp): New declaration.
3833         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
3834         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
3835         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
3836         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
3837         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
3838         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
3839         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
3840         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
3841         * math/math.h: Include <bits/types.h>.
3842         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
3843         constant and macro.
3844         (FP_INT_DOWNWARD): Likewise.
3845         (FP_INT_TOWARDZERO): Likewise.
3846         (FP_INT_TONEARESTFROMZERO): Likewise.
3847         (FP_INT_TONEAREST): Likewise.
3848         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
3849         (fromfpf): Likewise.
3850         (fromfpl): Likewise.
3851         (ufromfp): Likewise.
3852         (ufromfpf): Likewise.
3853         (ufromfpl): Likewise.
3854         (fromfpx): Likewise.
3855         (fromfpxf): Likewise.
3856         (fromfpxl): Likewise.
3857         (ufromfpx): Likewise.
3858         (ufromfpxf): Likewise.
3859         (ufromfpxl): Likewise.
3860         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
3861         s_fromfpxF and s_ufromfpxF.
3862         * math/gen-fromfp-tests.py: New file.
3863         * math/gen-fromfp-tests-inputs: Likewise.
3864         * math/libm-test.inc: Include <stdint.h>
3865         (check_intmax_t): New function.
3866         (check_uintmax_t): Likewise.
3867         (struct test_fiu_M_data): New type.
3868         (struct test_fiu_U_data): Likewise.
3869         (RUN_TEST_fiu_M): New macro.
3870         (RUN_TEST_LOOP_fiu_M): Likewise.
3871         (RUN_TEST_fiu_U): Likewise.
3872         (RUN_TEST_LOOP_fiu_U): Likewise.
3873         (fromfp_test_data): New array.
3874         (fromfp_test): New function.
3875         (fromfpx_test_data): New array.
3876         (fromfpx_test): New function.
3877         (ufromfp_test_data): New array.
3878         (ufromfp_test): New function.
3879         (ufromfpx_test_data): New array.
3880         (ufromfpx_test): New function.
3881         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
3882         ufromfpx_test.
3883         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
3884         characters.
3885         * math/test-tgmath-ret.c: Include <stdint.h>.
3886         (rm): New variable.
3887         (width): Likewise.
3888         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
3889         called function.
3890         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
3891         CHECK_RET_CONST_TYPE.
3892         (CHECK_RET_CONST_DOUBLE): Likewise.
3893         (CHECK_RET_CONST_LDOUBLE): Likewise.
3894         (CHECK_RET_CONST): Take extra arguments and pass them to calls
3895         macros.
3896         (fromfp): New CHECK_RET_CONST call.
3897         (ufromfp): Likewise.
3898         (fromfpx): Likewise.
3899         (ufromfpx): Likewise.
3900         (do_test): Call check_return_fromfp, check_return_ufromfp,
3901         check_return_fromfpx and check_return_ufromfpx.
3902         * math/test-tgmath.c: Include <stdint.h>
3903         (NCALLS): Increase to 138.
3904         (F(compile_test)): Initialize i.  Call fromfp functions.
3905         (F(fromfp)): New function.
3906         (F(fromfpx)): Likewise.
3907         (F(ufromfp)): Likewise.
3908         (F(ufromfpx)): Likewise.
3909         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
3910         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
3911         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
3912         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
3913         ufromfpxl.
3914         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
3915         ufromfp and ufromfpx.
3916         * math/fromfp.h: New file.
3917         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
3918         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
3919         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
3920         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
3921         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
3922         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
3923         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
3924         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
3925         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
3926         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
3927         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
3928         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
3929         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
3930         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
3931         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
3932         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
3933         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
3934         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
3935         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
3936         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
3937         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
3938         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
3939         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
3940         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
3941         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
3942         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
3943         ufromfp, fromfpx and ufromfpx.
3944         (CFLAGS-nldbl-fromfp.c): New variable.
3945         (CFLAGS-nldbl-fromfpx.c): Likewise.
3946         (CFLAGS-nldbl-ufromfp.c): Likewise.
3947         (CFLAGS-nldbl-ufromfpx.c): Likewise.
3948         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
3949         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
3950         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
3951         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
3952         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
3953         * sysdeps/nacl/libm.abilist: Update.
3954         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3955         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3956         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3957         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3958         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3959         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3960         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3961         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3962         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3963         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3964         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3965         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3967         Likewise.
3968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3969         Likewise.
3970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3971         Likewise.
3972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3973         Likewise.
3974         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3975         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3976         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3977         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3978         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3980         Likewise.
3981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3982         Likewise.
3983         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3984         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3985         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3987 2016-12-30  Florian Weimer  <fweimer@redhat.com>
3989         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
3990         compat-gethnamaddr.
3991         (CPPFLAGS): Remove.
3992         * resolv/gethnamaddr.c: Rename ...
3993         * resolv/compat-gethnamaddr.c: ... to this file.
3994         (_endhtent): Make static.
3995         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
3996         symbol.
3997         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
3998         compat symbol.
3999         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
4000         symbol.
4001         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
4002         Turn into compat symbol.
4003         * include/resolv.h (_endhtent): Remove declaration.
4005 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
4007         * bits/types.h (__intmax_t): New typedef.
4008         (__uintmax_t): Likewise.
4009         * sysdeps/generic/stdint.h: Include <bits/types.h>.
4010         (intmax_t): Define using __intmax_t.
4011         (uintmax_t): Define using __uintmax_t.
4013         * support/Makefile (tests-special): Make definition conditional on
4014         [$(run-built-tests) = yes].
4015         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
4016         on [$(run-built-tests) = yes].
4018 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4020         * Rules (tests): Add tests-printers-programs to tests to be
4021         built.
4023 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4025         * sysvipc/Makefile (tests): Add test-sysvshm.
4026         * sysvipc/test-sysvshm.c: New file.
4028         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
4029         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
4030         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
4031         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
4032         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
4033         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
4034         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
4035         Likewise.
4036         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
4037         Likewise.
4038         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
4039         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
4040         is defined.
4042         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
4043         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
4044         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
4045         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
4046         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
4047         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
4048         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
4049         Likewise.
4050         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
4051         Likewise.
4052         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
4053         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
4054         defined.
4056         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4057         oldshmctl.
4058         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
4059         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
4060         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
4061         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
4062         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
4063         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
4064         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
4065         Likewise.
4066         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
4067         Likewise.
4068         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
4069         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
4070         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
4071         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
4072         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
4073         implementation.
4074         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
4075         if it is defined.
4077         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
4078         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
4079         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
4080         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
4081         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
4082         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
4083         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
4084         Likewise.
4085         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
4086         Likewise.
4087         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
4088         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4089         Define to __NR_osf_shmat.
4090         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
4091         defined.
4093         * sysvipc/Makefile (tests): Add test-sysvsem.
4094         * sysvipc/test-sysvsem.c: New file.
4096         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
4097         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
4098         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
4099         Likewise.
4100         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
4101         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
4102         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
4103         Likewise.
4104         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
4105         Likewise.
4106         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
4107         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
4108         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
4109         add a comment about s390 syscall difference from default one.
4110         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
4111         syscall if it is defined.
4113         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
4114         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
4115         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
4116         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
4117         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
4118         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
4119         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
4120         Likewise.
4121         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
4122         Likewise.
4123         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
4124         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
4125         defined.
4127         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
4128         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
4129         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
4130         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
4131         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
4132         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
4133         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
4134         Likewise.
4135         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
4136         Likewise.
4137         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
4138         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
4139         if it is defined.
4141         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4142         oldsemctl.
4143         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
4144         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
4145         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
4146         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4147         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
4148         implementation.
4149         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
4150         syscall if it is defined.
4151         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
4152         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
4153         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
4154         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
4155         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
4156         Likewise.
4157         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
4159         * sysvipc/Makefile (tests): Add test-sysvmsg.
4160         * sysvipc/test-sysvmsg.c: New file.
4161         * support/check.h (FAIL_UNSUPPORTED): New define.
4163         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
4164         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
4165         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
4166         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
4167         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
4168         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
4169         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
4170         Likewise.
4171         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
4172         Likewise.
4173         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
4174         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
4175         define.
4177         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
4178         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
4179         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
4180         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
4181         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
4182         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
4183         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
4184         Likewise.
4185         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
4186         Likewise.
4187         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
4188         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
4189         if defined.
4191         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
4192         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
4193         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4194         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4195         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4196         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
4197         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4198         Likewise.
4199         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
4200         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
4201         Likewise.
4202         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
4203         if defined.
4204         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
4206         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4207         oldmsgctl.
4208         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
4209         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
4210         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
4211         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
4212         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4213         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4214         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4215         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4216         Likewise.
4217         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
4218         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
4219         implementation.
4220         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
4221         if defined.
4223         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
4224         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
4225         definition and define its own.
4226         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
4227         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
4228         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
4229         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
4230         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
4231         definitions to common header.
4232         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
4233         operation from ipc_ops.h.
4235         * sysdeps/unix/sysv/linux/kernel-features.h
4236         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
4237         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4238         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
4239         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4240         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4241         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4242         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4243         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4244         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4245         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4246         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4247         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4248         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4249         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4250         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4252 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4254         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
4255         overflow in pointer addition.
4257 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4259         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4260         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
4261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4262         (strchr): Add __strchr_power8 to list of strchr functions.
4263         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
4264         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
4265         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
4266         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
4267         (strchr): Add __strchr_power8 to ifunc list.
4268         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
4269         (__strchrnul): Add __strchrnul_power8 to ifunc list.
4270         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
4271         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
4273 2016-12-28  Florian Weimer  <fweimer@redhat.com>
4275         * support/Makefile (libsupport-routines): Add
4276         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
4277         (tests): Add tst-support_record_failure.
4278         (tests-special): tst-support_record_failure-2.
4279         (tst-support_record_failure-2.out): Depend on
4280         tst-support_record_failure-2.sh and tst-support_record_failure.
4281         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
4282         (support_test_verify_impl, support_record_failure)
4283         (support_report_failure, support_report_failure_reset): Declare.
4284         * support/support_test_main.c (adjust_exit_status): New function.
4285         (support_test_main): Call it to incorporate record test failures.
4286         * support/support_test_verify_impl.c: New file.
4287         * support/support_record_failure.c: Likewise.
4288         * support/tst-support_record_failure.c: Likewise.
4289         * support/tst-support_record_failure-2.sh: Likewise.
4290         * support/xunistd.h: Likewise.
4291         * support/xfork.c: Likewise.
4292         * support/xwaitpid.c: Likewise.
4294 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
4296         * scripts/check-c++-types.sh: Add comments.
4298 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
4300         [BZ #19514]
4301         * resolv/res_send.c: Fix typo in comment.
4302         * sysdeps/i386/i386-mcount.S: Likewise.
4303         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4304         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4305         * sysdeps/sparc/sparc-mcount.S: Likewise.
4307 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4309         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
4310         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
4311         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4312         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4313         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
4314         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
4315         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
4316         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
4318 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4320         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
4322 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4324         [BZ #17252]
4325         * posix/unistd.h (getentropy): Declare.
4327 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4329         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
4330         Remove.
4331         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
4332         (cmd): Remove spoof, nospoof, spoofalert.
4333         (parse_line): Ignore spoof-related lines.
4334         (do_init): Do not process RESOLV_SPOOF_CHECK.
4336 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4338         [BZ #20964]
4339         sunrpc: Always obtain AF_INET addresses from NSS.
4340         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
4341         * sunrpc/rpc_gethostbyname.c: New file.
4342         * sunrpc/Makefile (routines): Add it.
4343         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
4344         * sunrpc/clnt_simp.c (callrpc): Likewise.
4345         * sunrpc/getrpcport.c (getrpcport): Likewise.
4347 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4349         * sunrpc/rpcinfo.c: Remove.
4350         * sunrpc/Makefile: Remove comments referring to rpcinfo.
4352 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4354         [BZ# 19387]
4355         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
4356         addition.
4357         * string/test-memchr.c (do_test): Remove alignment limitation.
4358         (test_main): Add test that trigger BZ# 19387.
4360 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4362         [BZ #7065]
4363         Enable stack protectore if requested by ./configure.
4364         * Makeconfig (+stack-protector): New variable.
4365         (+cflags): Use it.
4367 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4369         [BZ #7065]
4370         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
4371         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
4372         (__rt_sigreturn_stub): Use inhibit_stack_protector.
4373         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4374         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
4376 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4378         [BZ #7065]
4379         * login/Makefile (pt_chown-cflags): Remove.
4380         * nscd/Makefile (CFLAGS-nscd): Likewise.
4381         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4383 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4385         [BZ #7065]
4386         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
4387         non-libc-linking testcase.
4389 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4390             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4391             Florian Weimer  <fweimer@redhat.com>
4393         [BZ #7065]
4394         PLT avoidance for __stack_chk_fail*.
4395         * debug/Makefile (CFLAGS-stack_chk_fail.c)
4396         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
4397         * debug/stack_chk_fail.c (__stack_chk_fail): Add
4398         __stack_chk_fail_local alias.
4399         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
4400         (__stack_chk_fail): Turn into hidden reference to
4401         __stack_chk_fail_local.
4403 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4405         [BZ #7065]
4406         * configure.ac: Add check for unsupported stack-protection level.
4407         (libc_cv_predef_stack_protector): Remove.
4408         (no_ssp): New variable.
4409         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
4410         (stack_protector): Set to -fno-stack-protector similarly.
4411         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
4412         (libc_cv_asm_set_directive): Likewise.
4413         (libc_cv_protected_data): Likewise.
4414         (libc_cv_z_combreloc): Likewise.
4415         (libc_cv_hashstyle): Likewise.
4416         (libc_cv_has_glob_dat): Likewise.
4417         (libc_cv_output_format): Likewise.
4418         (libc_cv_output_format): Likewise.
4419         (libc_cv_ehdr_start): Likewise.
4420         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
4421         (LIBC_LINKER_FEATURE): Likewise.
4422         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
4424 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4426         [BZ #7065]
4427         * elf/Makefile (dummy-stack-chk-fail): New.
4428         (librtld.map): Use it.
4430 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4432         [BZ #7065]
4433         Compile the dynamic linker without stack protection.
4434         * elf/Makefile (elide-stack-protector): New.
4435         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
4436         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
4437         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
4438         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
4440 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4442         [BZ #7065]
4443         * config.make.in (have-ssp, no-stack-protector): New.
4444         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
4445         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
4446         (CFLAGS-sbrk.op): Likewise.
4447         (CFLAGS-brk.o): Likewise.
4448         (CFLAGS-brk.op): Likewise.
4449         * string/Makefile (CFLAGS-memcpy.c): Likewise.
4450         (CFLAGS-wordcopy.c): Likewise.
4452 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4454         [BZ #7065]
4455         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
4456         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
4457         * include/libc-symbols.h (inhibit_stack_protector): New macro.
4458         (__ifunc_resolver): Use it.
4459         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
4460         inhibit_stack_protector.
4461         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
4462         * elf/ifuncmain7.c (foo_ifunc): Likewise.
4463         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
4464         (foo_protected_ifunc): Likewise.
4465         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
4466         (foo_protected_ifunc): Likewise.
4467         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4468         * sysdeps/nacl/nacl_interface_query.c
4469         (nacl_interface_query_ifunc): Likewise.
4470         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4471         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
4472         Likewise.
4473         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
4474         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
4475         the generated vDSO syscall resolver.
4477 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4478             Florian Weimer  <fweimer@redhat.com>
4480         [BZ #7065]
4481         Initialize the stack guard earlier when linking statically.
4482         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
4483         (__pthread_initialize_minimal): Declare.
4484         * csu/libc-start.c (__pthread_initialize_minimal): Remove
4485         declaration.
4486         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
4487         stack canary and apply_irel initialization up.  Call
4488         __pthread_initialize_minimal only if linked in.
4489         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
4490         constant values.
4491         (__pthread_initialize_minimal): Remove.
4492         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
4493         (__pthread_initialize_minimal_internal): Do not call
4494         __libc_setup_tls.
4496 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4498         [BZ #7065]
4499         * configure.ac (libc_cv_ssp): Move up.
4500         (libc_cv_ssp_strong): Likewise.
4501         (libc_cv_ssp_all): New.
4502         (stack_protector): Augment, adding -fstack-protector-all.
4503         (no_stack_protector): New.
4504         (STACK_PROTECTOR_LEVEL): New.
4505         (AC_ARG_ENABLE(stack-protector)): New configure flag.
4506         * manual/install.texi (--enable-stack-protector): Document it.
4507         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
4509 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
4511         * README.pretty-printers: Must specify CPPFLAGS-* also.
4512         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
4513         (CPPFLAGS-test-mutex-printers.c): Define.
4514         (CPPFLAGS-test-condattr-printers.c): Define.
4515         (CPPFLAGS-test-cond-printers.c): Define.
4516         (CPPFLAGS-test-rwlockattr-printers.c): Define.
4517         (CPPFLAGS-test-rwlock-printers.c): Define.
4519         * nss/Makefile [ifeq (yes,$(have-thread-library))]
4520         (tests): Add tst-cancel-getpwuid_r.
4521         * nss/tst-cancel-getpwuid_r.c: New file.
4523         [BZ #11941]
4524         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
4525         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
4526         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
4527         tst-nodelete-dlclose.
4528         (modules-names): Add tst-nodelete-dlclose-dso and
4529         tst-nodelete-dlclose-plugin.
4530         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
4531         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
4532         ($(objpfx)tst-nodelete-dlclose): Define.
4533         ($(objpfx)tst-nodelete-dlclose.out): Define.
4535 2016-12-23  Florian Weimer  <fweimer@redhat.com>
4537         * scripts/test_printers_common.py: Log GDB output in case of
4538         Python detection failure.
4540 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4542         * configure.ac: Check for python3 or python.
4543         * configure: Regenerated.
4544         * config.make.in (PYTHON): New variable.
4545         * benchtests/Makefile: Don't define PYTHON.
4546         (bench): Define target only if PYTHON was defined.
4547         * Rules: Don't define PYTHON.
4548         Define pretty printer targets only if PYTHON was defined.
4549         (tests-printers): Add to tests-unsupported if PYTHON is not
4550         found.
4551         (python-flags, python-invoke): Remove.
4552         (tests-printers-out): Use PYTHON instead of python-invoke.
4554 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
4556         [BZ #20978]
4557         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4558         Compare name == NULL, not name != NULL.
4560         * manual/texinfo.tex: Update to version 2016-09-18.18 with
4561         trailing whitespace removed.
4562         * scripts/config.guess: Update to version 2016-10-02.
4563         * scripts/config.sub: Update to version 2016-11-19.
4564         * scripts/install-sh: Update to version 2016-01-11.22.
4565         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
4566         * scripts/move-if-change: Update to version 2016-01-11 22:04.
4568 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
4570         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
4571         (do_one_test) Restore original string so iteration works.
4572         * string/string-inlines.c (do_test): Create better input strings.
4573         (test_main) Reduce number of testruns.
4574         * string/string-inlines.c (__old_strsep_1c): New function.
4575         (__old_strsep_2c): Likewise.
4576         (__old_strsep_3c): Likewise.
4577         * string/strsep.c (__strsep): Remove case of small delim string.
4578         Call strcspn directly rather than strpbrk.
4579         * string/bits/string2.h (__strsep): Remove define.
4580         (__strsep_1c): Remove.
4581         (__strsep_2c): Remove.
4582         (__strsep_3c): Remove.
4583         (strsep): Remove.
4584         * sysdeps/unix/sysv/linux/internal_statvfs.c
4585         (__statvfs_getflags): Rename to __strsep.
4587 2016-12-21  Florian Weimer  <fweimer@redhat.com>
4589         * csu/libc-tls.c (_dl_tls_setup): Remove.
4590         * elf/dl-tls.c (_dl_tls_setup): Likewise.
4591         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
4592         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
4594 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
4596         [BZ #7065]
4597         * sysdeps/x86_64/Makefile [$(subdir) = elf]
4598         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
4600 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
4601             Florian Weimer  <fweimer@redhat.com>
4603         [BZ #7065]
4604         * csu/Makefile (tests): Empty assignment and document it.
4605         (tests-static): Remove.
4606         * csu/tst-empty.c: Move to...
4607         * misc/tst-empty.c: ... here.  Switch to new test driver.
4608         * csu/tst-atomic.c: Move to...
4609         * misc/tst-atomic.c: ... here.  Switch to new test driver.
4610         * csu/tst-atomic-long.c: Move to...
4611         * misc/tst-atomic-long.c: ... here.
4612         * misc/Makefile (tests): Add tst-empty, tst-atomic,
4613         tst-atomic-long.
4614         (tests-static): Add tst-empty.
4616 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
4618         * manual/nss.texi: Change incorrect @vtable to @table.
4619         * manual/arith.texi: Convert @tables of variables to @vtables
4620         and remove unnecessary indexing.
4621         * manual/filesys.texi: Likewise.
4622         * manual/llio.texi: Likewise.
4623         * manual/memory.texi: Likewise.
4624         * manual/process.texi: Likewise.
4625         * manual/resource.texi: Likewise.
4626         * manual/search.texi: Likewise.
4627         * manual/signal.texi: Likewise.
4628         * manual/socket.texi: Likewise.
4629         * manual/stdio.texi: Likewise.
4630         * manual/sysinfo.texi: Likewise.
4631         * manual/syslog.texi: Likewise.
4632         * manual/terminal.texi: Likewise.
4633         * manual/time.texi: Likewise.
4634         * manual/users.texi: Likewise.
4636 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
4638         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4639         (roundeven): New declaration.
4640         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
4641         macro.
4642         * math/Versions (roundeven): New libm symbol at version
4643         GLIBC_2.25.
4644         (roundevenf): Likewise.
4645         (roundevenl): Likewise.
4646         * math/Makefile (libm-calls): Add s_roundevenF.
4647         * math/libm-test.inc (roundeven_test_data): New array.
4648         (roundeven_test): New function.
4649         (main): Call roundeven_test.
4650         * math/test-tgmath.c (NCALLS): Increase to 134.
4651         (F(compile_test)): Call roundeven.
4652         (F(roundeven)): New function.
4653         * manual/arith.texi (Rounding Functions): Document roundeven,
4654         roundevenf and roundevenl.
4655         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
4656         * include/math.h (roundeven): Use libm_hidden_proto.
4657         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
4658         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
4659         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
4660         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
4661         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
4662         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
4663         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4664         roundeven.
4665         (CFLAGS-nldbl-roundeven.c): New variable.
4666         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
4667         * sysdeps/nacl/libm.abilist: Update.
4668         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4669         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4670         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4671         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4672         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4673         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4674         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4675         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4676         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4677         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4678         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4679         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4681         Likewise.
4682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4683         Likewise.
4684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4685         Likewise.
4686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4687         Likewise.
4688         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4689         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4690         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4691         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4692         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4694         Likewise.
4695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4696         Likewise.
4697         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4698         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4699         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4701 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
4703         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
4704         preprocessor indentation inside #if.
4706 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4708         * math/libm-test.inc (fmt_ftostr): New function.
4709         (print_float, check_float_internal): Replace some uses of
4710         FTOSTR with uses of fmt_ftostr.
4711         (print_max_error, print_complex_max_error, print_function_ulps)
4712         (print_complex_function_ulps): Remove uses of the macros
4713         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
4714         * math/test-double.h (FTOSTR): Define to strfromd.
4715         (PRINTF_EXPR): Delete.
4716         (PRINTF_XEXPR): Likewise.
4717         (PRINTF_NEXPR): Likewise.
4718         * math/test-float.h (FTOSTR): Define to strfromf.
4719         (PRINTF_EXPR): Delete.
4720         (PRINTF_XEXPR): Likewise.
4721         (PRINTF_NEXPR): Likewise.
4722         * math/test-ldouble.h (FTOSTR): Define to strfroml.
4723         (PRINTF_EXPR): Delete.
4724         (PRINTF_XEXPR): Likewise.
4725         (PRINTF_NEXPR): Likewise.
4727 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4729         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4730         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
4731         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
4732         (__lll_lock_elision): Decrement adapt_count while unlocking
4733         instead of before locking.
4734         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
4735         (__lll_trylock_elision): Likewise.
4736         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
4737         (__lll_unlock_elision): Likewise.
4739 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4741         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
4742         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
4743         Use __libc_tbegin_retry macro.
4745 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4747         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
4748         Add -msoft-float.
4749         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
4750         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
4751         Use __libc_t* transaction macros instead of __builtin_t*.
4752         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4753         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4755 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4757         * sysdeps/unix/sysv/linux/s390/elision-lock.c
4758         (__lll_lock_elision): Use atomics to load / store adapt_count.
4759         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
4760         (__lll_trylock_elision): Likewise.
4762 2016-12-20  Florian Weimer  <fweimer@redhat.com>
4764         Do not require memset elimination in explicit_bzero test.
4765         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
4766         (enum test_expectation): Add NO_EXPECTATIONS.
4767         (subtests): NO_EXPECTATIONS for ordinary clear.
4768         (check_test_buffer): Handle NO_EXPECTATIONS.
4769         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
4771 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
4773         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4774         (fmaxmag): New declaration.
4775         (fminmag): Likewise.
4776         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
4777         macro.
4778         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
4779         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
4780         (fmaxmagf): Likewise.
4781         (fmaxmagl): Likewise.
4782         (fminmag): Likewise.
4783         (fminmagf): Likewise.
4784         (fminmagl): Likewise.
4785         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
4786         * math/s_fmaxmag_template.c: New file.
4787         * math/s_fminmag_template.c: Likewise.
4788         * math/libm-test.inc (fmaxmag_test_data): New array.
4789         (fmaxmag_test): New function.
4790         (fminmag_test_data): New array.
4791         (fminmag_test): New function.
4792         (main): Call fmaxmag_test and fminmag_test.
4793         * math/test-tgmath.c (NCALLS): Increase to 132.
4794         (F(compile_test)): Call fmaxmag and fminmag.
4795         (F(fminmag)): New function.
4796         (F(fmaxmag)): Likewise.
4797         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
4798         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
4799         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
4800         fminmag.
4801         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
4802         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
4803         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4804         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4805         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
4806         and fminmag.
4807         (CFLAGS-nldbl-fmaxmag.c): New variable.
4808         (CFLAGS-nldbl-fminmag.c): Likewise.
4809         * sysdeps/nacl/libm.abilist: Update.
4810         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4811         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4812         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4813         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4814         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4815         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4816         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4817         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4818         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4819         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4820         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4821         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4823         Likewise.
4824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4825         Likewise.
4826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4827         Likewise.
4828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4829         Likewise.
4830         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4831         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4832         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4833         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4834         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4836         Likewise.
4837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4838         Likewise.
4839         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4840         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4841         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4843 2016-12-19  Torvald Riegel  <triegel@redhat.com>
4845         [BZ #20973]
4846         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
4847         wake-up in robust mutexes.
4848         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4850 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4852         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
4853         (CFLAGS-bench-fmaxf.c): New rule.
4854         (CFLAGS-bench-fminf.c): Likewise.
4855         * benchtests/fmaxf-inputs: New file.
4856         * benchtests/fminf-inputs: Likewise.
4858         * benchtests/Makefile (bench-math): Add fmin and fmax.
4859         (CFLAGS-bench-fmax.c): New rule.
4860         (CFLAGS-bench-fmin.c): Likewise.
4861         * benchtests/fmax-inputs: New file.
4862         * benchtests/fmin-inputs: Likewise.
4864         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
4865         parenthesis.
4866         (CMDLINE_PROCESS): Define using function instead of macro.
4867         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
4868         of test-skeleton.
4869         * benchtests/bench-memchr.c: Likewise.
4870         * benchtests/bench-memcmp.c: Likewise.
4871         * benchtests/bench-memcpy-large.c: Likewise.
4872         * benchtests/bench-memcpy.c: Likewise.
4873         * benchtests/bench-memmem.c: Likewise.
4874         * benchtests/bench-memmove-large.c: Likewise.
4875         * benchtests/bench-memmove.c: Likewise.
4876         * benchtests/bench-memset-large.c: Likewise.
4877         * benchtests/bench-memset.c: Likewise.
4878         * benchtests/bench-rawmemchr.c: Likewise.
4879         * benchtests/bench-strcasecmp.c: Likewise.
4880         * benchtests/bench-strcasestr.c: Likewise.
4881         * benchtests/bench-strcat.c: Likewise.
4882         * benchtests/bench-strchr.c: Likewise.
4883         * benchtests/bench-strcmp.c: Likewise.
4884         * benchtests/bench-strcpy.c: Likewise.
4885         * benchtests/bench-strcpy_chk.c: Likewise.
4886         * benchtests/bench-strlen.c: Likewise.
4887         * benchtests/bench-strncasecmp.c: Likewise.
4888         * benchtests/bench-strncmp.c: Likewise.
4889         * benchtests/bench-strncpy.c: Likewise.
4890         * benchtests/bench-strnlen.c: Likewise.
4891         * benchtests/bench-strpbrk.c: Likewise.
4892         * benchtests/bench-strrchr.c: Likewise.
4893         * benchtests/bench-strsep.c: Likewise.
4894         * benchtests/bench-strspn.c: Likewise.
4895         * benchtests/bench-strstr.c: Likewise.
4896         * benchtests/bench-strtok.c: Likewise.
4898 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4900         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
4901         stepping identification.
4902         (init_cpu_features): Add handle of Haswell.
4904 2016-11-25  Jim Meyering  <meyering@fb.com>
4906         [BZ #20386]
4907         Let gcc detect assert(a = 1) errors.
4908         * assert/assert.h (assert): Rewrite, retaining the old definintion
4909         when required, but otherwise putting the expression as-is in an "if"
4910         expression (hence, with no added parentheses) within a statement
4911         expression.
4913 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4915         * benchtests/Makefile (binaries-benchset): Depend on libsupport
4916         DSO.
4918 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
4920         * Rules (python-flags, python-invoke): New.
4921         ($(test-printers-out)): Use $(python-flags).
4923 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4925         * manual/arith.texi (Math Error Reporting): Document that sNaN
4926         arguments are not considered domain errors.
4928 2016-12-16  Zack Weinberg <zackw@panix.com>
4929             Florian Weimer <fweimer@redhat.com>
4930             Nick Mathewson <nickm@torproject.org>
4932         * string/explicit_bzero.c: New routine.
4933         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
4934         * string/Makefile (routines, strop-tests, tests): Add them.
4935         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
4936         * string/string.h [__USE_MISC]: Declare explicit_bzero.
4938         * debug/explicit_bzero_chk.c: New routine.
4939         * debug/Makefile (routines): Add it.
4940         * debug/tst-chk1.c: Test fortification of explicit_bzero.
4941         * string/bits/string3.h: Fortify explicit_bzero.
4943         * manual/string.texi: Document explicit_bzero.
4944         * NEWS: Mention addition of explicit_bzero.
4946         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
4947         data before returning, using explicit_bzero.
4948         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
4949         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4950         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4952         * include/string.h: Redirect internal uses of explicit_bzero
4953         to __explicit_bzero_chk[_internal].
4954         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
4955         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
4956         * sysdeps/arm/nacl/libc.abilist
4957         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
4958         * sysdeps/unix/sysv/linux/alpha/libc.abilist
4959         * sysdeps/unix/sysv/linux/arm/libc.abilist
4960         * sysdeps/unix/sysv/linux/hppa/libc.abilist
4961         * sysdeps/unix/sysv/linux/i386/libc.abilist
4962         * sysdeps/unix/sysv/linux/ia64/libc.abilist
4963         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4964         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
4965         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
4966         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4967         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4968         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4969         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4970         * sysdeps/unix/sysv/linux/nios2/libc.abilist
4971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4975         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
4976         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4977         * sysdeps/unix/sysv/linux/sh/libc.abilist
4978         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4979         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4982         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
4983         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
4984         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
4985         Add entries for explicit_bzero and __explicit_bzero_chk.
4987 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
4989         * math/fenv.h
4990         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
4991         (FE_SNANS_ALWAYS_SIGNAL): New macro.
4992         * math/test-fe-snans-always-signal.c: New file.
4993         * math/Makefile (tests): Add test-fe-snans-always-signal.
4994         (CFLAGS-test-fe-snans-always-signal.c): New variable.
4995         * manual/arith.texi (Infinity and NaN): Document
4996         FE_SNANS_ALWAYS_SIGNAL.
4998 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5000         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
5001         bracket.
5003 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5005         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
5006         before calling execv.
5008 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5010         [BZ# 20971]
5011         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
5012         overflow in pointer addition.
5013         * string/test-memchr.c (do_test): Add an argument to pass as
5014         the size on memchr.
5015         (test_main): Add check for SIZE_MAX.
5017 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5019         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
5020         (libm-calls): Add w_scalblnF.
5021         * math/w_scalbln.c: Remove.
5022         * math/w_scalblnf.c: Likewise.
5023         * math/w_scalblnl.c: Likewise.
5024         * math/w_scalbln_template.c: New file with type-generic
5025         implementation based on math/w_scalbln.c.
5026         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
5027         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
5029 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5031         [BZ #20947]
5032         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
5033         either is a signaling NaN.
5034         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
5035         follow fmaxl more closely.
5036         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
5037         when either is a signaling NaN.
5038         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
5039         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
5040         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
5041         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
5042         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
5043         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
5044         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
5045         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
5046         (fmin_test_data): Likewise.
5048 2016-12-15  Andreas Schwab  <schwab@suse.de>
5050         * support/support_test_main.c (support_test_main): Don't shadow
5051         file-local variable test_pid.
5053 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5055         [BZ #20947]
5056         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
5057         either is a signaling NaN.
5058         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
5060 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5062         [BZ #20947]
5063         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
5064         when either is a signaling NaN.
5065         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
5067         * bits/long-double.h: New file.
5068         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
5069         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
5070         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
5071         * sysdeps/mips/bits/long-double.h: Likewise.
5072         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
5073         * math/Makefile (headers): Add bits/long-double.h.
5074         * misc/sys/cdefs.h: Include <bits/long-double.h>.
5075         * stdlib/strtold.c: Include <bits/long-double.h> instead of
5076         <bits/wordsize.h>.
5077         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
5078         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
5079         * math/math.h: Do not include <bits/mathdef.h>.
5080         * sysdeps/aarch64/bits/mathdef.h: Remove file.
5081         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
5082         inclusion.
5083         * sysdeps/ia64/bits/mathdef.h: Remove file.
5084         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
5085         * sysdeps/mips/bits/mathdef.h: Likewise.
5086         * sysdeps/powerpc/bits/mathdef.h: Likewise.
5087         * sysdeps/s390/bits/mathdef.h: Likewise.
5088         * sysdeps/sparc/bits/mathdef.h: Likewise.
5089         * sysdeps/x86/bits/mathdef.h: Likewise.
5090         * sysdeps/s390/s390-32/bits/wordsize.h
5091         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
5092         conditional code.
5093         * sysdeps/s390/s390-64/bits/wordsize.h
5094         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5095         Likewise.
5096         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
5097         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5098         Likewise.
5099         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
5100         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5101         Likewise.
5102         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
5103         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5104         Likewise.
5106         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
5107         <linux/falloc.h>.
5108         (FALLOC_FL_KEEP_SIZE): Remove.
5109         (FALLOC_FL_PUNCH_HOLE): Likewise.
5110         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
5111         (FALLOC_FL_ZERO_RANGE): Likewise.
5113 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5115         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
5117 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5119         * sysdeps/unix/sysv/linux/renameat.c: New file.
5120         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
5122         * sysdeps/unix/sysv/linux/rename.c: New file.
5123         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
5125 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5127         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
5128         * string/strtok.c (strtok): Change to tailcall __strtok_r.
5129         * string/strtok_r.c (__strtok_r): Optimize for performance.
5130         * string/string-inlines.c (__old_strtok_r_1c): New function.
5131         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
5133 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5135         * math/Makefile (gen-libm-calls): Add w_log1pF.
5136         (libm-calls): Remove w_log1pF.
5137         * math/w_log1p.c: Remove.
5138         * math/w_log1pf.c: Likewise.
5139         * math/w_log1pl.c: Likewise.
5140         * math/w_log1p_template.c: New file with type-generic
5141         implementation based on math/w_log1p.c.
5142         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
5143         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
5145 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5147         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
5149 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5151         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5152         kernel version to 4.9.
5154 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
5156         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
5157         ($(inst_libdir)/libm.a): Fix rule to create the target only.
5159 2016-12-13  Andreas Schwab  <schwab@suse.de>
5161         * sysdeps/powerpc/dl-procinfo.c: Don't define
5162         _dl_powerpc_platforms.
5163         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
5164         constants instead of referencing _dl_powerpc_platforms.
5165         (_dl_platform_string): Remove.
5167 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5169         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
5171 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5173         * Rules (binaries-shared-tests, binaries-pie-tests)
5174         (binaries-static-tests): Link with $(link-extra-libs-tests).
5175         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
5176         Remove $(link-extra-libs-tests).
5178 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5180         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5181         (sysdep_routines): Add strncmp_power9.
5182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5183         (strncmp): Add __strncmp_power9 to list of strncmp functions.
5184         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
5185         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
5186         (strncmp): Add __strncmp_power9 to ifunc list.
5187         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
5189 2016-12-12  Florian Weimer  <fweimer@redhat.com>
5191         [BZ #17252]
5192         Add getentropy, getrandom.
5193         * stdlib/sys/random.h: New file.
5194         (headers): Add it.
5195         * stdlib/Makefile (routines): Add getentropy, getrandom.
5196         (tests): Add tst-getrandom.
5197         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
5198         * stdlib/getentropy.c: New file.
5199         * stdlib/getrandom.c: Likewise.
5200         * stdlib/tst-getrandom.c: Likewise.
5201         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
5202         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
5203         * manual/crypt.texi (Unpredictable Bytes): New section.
5204         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
5205         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
5206         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
5207         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5208         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5209         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5210         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5211         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5212         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5213         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5214         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5215         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5216         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5217         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5218         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5219         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5221         Likewise.
5222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5223         Likewise.
5224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5226         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5227         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5228         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5229         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5230         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5233         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5234         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5235         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5237 2016-12-10  Florian Weimer  <fweimer@redhat.com>
5239         [BZ #20956]
5240         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
5241         as additional compiler barriers.
5242         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
5243         (fn2, do_test): Declare with external linkage.
5244         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
5245         (do_test): Declare with external linkage.
5246         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
5247         (do_test): Declare with external linkage.
5248         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
5249         (do_test): Declare with external linkage.
5251 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
5253         * support/support_test_main.c (support_test_main): Use correct
5254         timeout.
5256 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
5257             Florian Weimer  <fweimer@redhat.com>
5259         [BZ #16421]
5260         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
5261         and __u6_addr32 members.
5262         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
5263         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
5264         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
5265         Use __u6_addr32.
5266         * inet/tst-checks.c: Use <support/test-driver.c>
5267         * inet/tst-checks-posix.c: New file.
5268         * inet/Makefile (tests): Add it.
5269         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
5271 2016-12-09  Florian Weimer  <fweimer@redhat.com>
5273         New subdirectory support for build and test infrastructure.
5274         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
5275         setting install-lib.
5276         * Makeconfig (link-extra-libs-tests): Define.
5277         (+link-pie-tests, +link-static-tests, +link-tests): Use
5278         link-extra-libs-tests.
5279         (rpath-dirs, all-subdirs): Add support.
5280         (built-modules): Add libsupport.
5281         (libsupport): Define.
5282         * support: New directory.
5283         * support/Makefile: New file.
5284         * support/check.c: Likewise.
5285         * support/check.h: Likewise.
5286         * support/delayed_exit.c: Likewise.
5287         * support/ignore_stderr.c: Likewise.
5288         * support/oom_error.c: Likewise.
5289         * support/set_fortify_handler.c: Likewise.
5290         * support/support.h: Likewise.
5291         * support/temp_file-internal.h: Likewise.
5292         * support/temp_file.c: Likewise.
5293         * support/test-driver.c: Likewise.
5294         * support/test-driver.h: Likewise.
5295         * support/test_main.c: Likewise.
5296         * support/write_message.c: Likewise.
5297         * support/xasprintf.c: Likewise.
5298         * support/xcalloc.c: Likewise.
5299         * support/xmalloc.c: Likewise.
5300         * support/xpthread_barrier_destroy.c: Likewise.
5301         * support/xpthread_barrier_init.c: Likewise.
5302         * support/xpthread_barrier_wait.c: Likewise.
5303         * support/xpthread_cancel.c: Likewise.
5304         * support/xpthread_check_return.c: Likewise.
5305         * support/xpthread_cond_wait.c: Likewise.
5306         * support/xpthread_create.c: Likewise.
5307         * support/xpthread_detach.c: Likewise.
5308         * support/xpthread_join.c: Likewise.
5309         * support/xpthread_mutex_lock.c: Likewise.
5310         * support/xpthread_mutex_unlock.c: Likewise.
5311         * support/xpthread_sigmask.c: Likewise.
5312         * support/xpthread_spin_lock.c: Likewise.
5313         * support/xpthread_spin_unlock.c: Likewise.
5314         * support/xrealloc.c: Likewise.
5315         * support/xsignal.h: Likewise.
5316         * support/xthread.h: Likewise.
5317         * support_tempfile.h: Likewise.
5318         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
5319         (TEST_DATA_LIMIT): Remove unused macro.
5320         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
5321         <support/check.h>.
5322         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
5323         (ignore_stderr, set_fortify_handler): Remove.  Now in
5324         <support/support.h>.
5325         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
5326         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
5327         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
5328         (xpthread_join): Remove.  Now in <support/xthread.h>.
5329         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
5330         Introduce legacy wrappers.
5331         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
5332         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
5333         (write_message): Remove.
5334         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
5335         test-skeleton.c.
5336         * io/test-open-tmpfile: Likewise.
5337         * io/tst-posix_fallocate-common.c: Likewise.
5338         * libio/tst-fseek.c: Likewise.
5339         * malloc/tst-malloc-backtrace.c: Likewise.
5340         * malloc/tst-malloc-fork-deadlock.c: Likewise.
5341         * malloc/tst-malloc-thread-exit.c: Likewise.
5342         * nptl/tst-cancel7.c: Likewise.
5343         * nptl/tst-cleanup0.c: Likewise.
5344         * posix/tst-posix_fadvise-common.c: Likewise.
5345         * rt/tst-shm.c: Likewise.
5346         * time/bug-getdate1.c: Likewise.
5347         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5348         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
5349         * elf/Makefile (tst-piemod1.so): Link against libsupport.
5351 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
5353         * Rules [$(run-built-tests) != no] (tests-expected): Add
5354         $(tests-printers).
5355         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
5357 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
5359         [BZ #20539]
5360         * math/Makefile (install-lib-ldscripts): Add libm.a.
5361         (install_subdir): Remove.
5362         (install-others): Add.
5363         ($(inst_libdir)/libm.a): Add rule for installation as
5364         linker script.
5365         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
5367 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
5369         * INSTALL: Regenerated.
5370         * Makeconfig: Add comments and whitespace to make the control flow
5371         clearer.
5372         (+link-printers-tests, +link-pie-printers-tests,
5373         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
5374         built-rtld-LDFLAGS, link-libc-rpath,
5375         link-libc-tests-after-rpath-link,
5376         link-libc-printers-tests): New.
5377         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
5378         link-libc-tests): Use the new variables as required.
5379         * Makerules ($(py-const)): New rule.
5380         generated: Add $(py-const).
5381         * README.pretty-printers: New file.
5382         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
5383         (others): Depend on $(py-const).
5384         (tests): Depend on $(tests-printers-programs) or
5385         $(tests-printers-out),
5386         as required.  Pass $(tests-printers) to merge-test-results.sh.
5387         * manual/install.texi: Add requirements for testing the pretty
5388         printers.
5389         * nptl/Makefile (gen-py-const-headers, pretty-printers,
5390         tests-printers, CFLAGS-test-mutexattr-printers.c
5391         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
5392         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
5393         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
5394         * nptl/nptl-printers.py: New file.
5395         * nptl/nptl_lock_constants.pysym: Likewise.
5396         * nptl/test-cond-printers.c: Likewise.
5397         * nptl/test-cond-printers.py: Likewise.
5398         * nptl/test-condattr-printers.c: Likewise.
5399         * nptl/test-condattr-printers.py: Likewise.
5400         * nptl/test-mutex-printers.c: Likewise.
5401         * nptl/test-mutex-printers.py: Likewise.
5402         * nptl/test-mutexattr-printers.c: Likewise.
5403         * nptl/test-mutexattr-printers.py: Likewise.
5404         * nptl/test-rwlock-printers.c: Likewise.
5405         * nptl/test-rwlock-printers.py: Likewise.
5406         * nptl/test-rwlockattr-printers.c: Likewise.
5407         * nptl/test-rwlockattr-printers.py: Likewise.
5408         * scripts/gen-py-const.awk: Likewise.
5409         * scripts/test_printers_common.py: Likewise.
5410         * scripts/test_printers_exceptions.py: Likewise.
5412 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5414         * scripts/build-many-glibcs.py (Context.__init__): Take strip
5415         argument.
5416         (Glibc.build_glibc): Strip installed shared libraries if
5417         requested.
5418         (get_parser): Add --strip option.
5419         (main): Update Context call.
5421 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5422             Dominik Vogt  <vogt@linux.vnet.ibm.com>
5424         [BZ #20847]
5425         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5426         array bounds for else branch.
5427         (__execvpe): Style fixes.
5428         * posix/tst-vfork3.c (run_script): New function.
5429         (create_script): Likewise.
5430         (do_test): Use run_script internal function.
5431         (do_prepare): Use create_script internal function.
5433 2016-12-07  Andreas Schwab  <schwab@suse.de>
5435         * sysdeps/unix/sysv/linux/x86/elision-conf.h
5436         (__elision_available): Don't declare.
5437         * sysdeps/unix/sysv/linux/x86/elision-conf.c
5438         (__elision_available): Don't define.
5439         (elision_init): Don't set __elision_available.
5441 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5443         [BZ #20940]
5444         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
5445         return Inf for arguments Inf and sNaN.
5446         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
5447         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5448         Likewise.
5449         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5450         Likewise.
5451         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5452         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
5453         for arguments Inf and sNaN.  When returning a NaN, compute it by
5454         arithmetic on the arguments.
5455         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
5456         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
5457         arguments.
5459 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
5461         [BZ #20916]
5462         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
5463         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
5464         to compute result.
5465         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5466         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
5468 2016-12-05  Torvald Riegel  <triegel@redhat.com>
5470         * include/atomic.h (__atomic_check_size_ls): New.
5471         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
5472         atomic_store_release): Use it.
5473         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
5474         (elision_adapt, ELIDE_LOCK): Use atomics.
5475         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
5476         atomics and improve code comments.
5477         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
5478         (__lll_trylock_elision): Likewise.
5480 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5482         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
5483         programs.
5485 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
5487         [BZ #20916]
5488         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
5489         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
5490         arguments to compute result.
5491         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
5492         1 for arguments (sNaN, 0) or (1, sNaN).
5493         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5494         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5496         [BZ #20919]
5497         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
5498         NaN first argument when raised to power 0.
5499         * math/w_pow.c (__pow): Do not check for NaN or zero results from
5500         raising to power zero.
5501         * math/w_powf.c (__powf): Likewise.
5502         * math/w_powl.c (__powl): Likewise.
5503         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
5504         pow (0, 0) or pow (NaN, 0).
5506 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
5508         [BZ #20918]
5509         * configure.ac: Test for static NSS cryptographic libraries and set
5510         libc_cv_static_nss_crypt.
5511         * configure: Regenerate.
5512         * config.make.in (static-nss-crypt): Define.
5513         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
5514         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
5515         (CFLAGS-tst-linkall-static.c): Define.
5516         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
5517         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
5518         ($(objpfx)tst-linkall-static): Define.
5519         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
5520         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
5522 2016-12-02  Florian Weimer  <fweimer@redhat.com>
5524         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
5525         (one-hundred, tst-tls-many-dynamic-modules): Define.
5526         (modules-names): Add $(tst-tls-many-dynamic-modules).
5527         (tst-tls-manydynamic%mod.os): Build with special preprocessor
5528         macros.
5529         (tst-tls-manydynamic): Link against libdl, libpthread.
5530         (tst-tls-manydynamic.out): The test needs the test modules at run
5531         time.
5532         * elf/tst-tls-manydynamic.c: New file.
5533         * elf/tst-tls-manydynamic.h: Likewise.
5534         * elf/tst-tls-manydynamicmod.c: Likewise.
5536 2016-12-02  Florian Weimer  <fweimer@redhat.com>
5538         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
5539         (TLS_DTV_UNALLOCATED): Add.
5540         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
5541         offsets.
5543 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
5545         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5547 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
5549         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
5550         Add -fno-optimize-sibling-calls.
5552 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
5554         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
5555         New declaration.
5556         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
5557         macro.
5558         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
5559         New macro.
5560         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
5561         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
5562         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
5563         (llogbf): Likewise.
5564         (llogbl): Likewise.
5565         * math/Makefile (gen-libm-calls): Add w_llogbF.
5566         (tests): Add test-fp-llogb-constants.
5567         * math/w_llogb_template.c: New file.  Based on
5568         math/w_ilogb_template.c.
5569         * math/libm-test.inc (llogb_test_data): New array.
5570         (llogb_test): New function.
5571         (main): Call llogb_test.
5572         * math/test-fp-llogb-constants.c: New file.  Based on
5573         math/test-fp-ilogb-constants.c.
5574         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
5575         (do_test): Call check_return_llogb.
5576         * math/test-tgmath.c (NCALLS): Increase to 126.
5577         (F(compile_test)): Call llogb.
5578         (F(llogb)): New function.
5579         * manual/math.texi (Exponents and Logarithms): Document llogb,
5580         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
5581         * manual/libm-err-tab.pl (@all_functions): Add llogb.
5582         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
5583         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
5584         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
5585         (CFLAGS-nldbl-llogb.c): New variable.
5586         * sysdeps/nacl/libm.abilist: Update.
5587         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5588         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5589         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5590         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5591         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5592         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5593         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5594         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5595         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5596         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5597         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5598         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5600         Likewise.
5601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5602         Likewise.
5603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5604         Likewise.
5605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5606         Likewise.
5607         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5608         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5609         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5610         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5611         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5613         Likewise.
5614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5615         Likewise.
5616         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5617         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5618         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5620 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
5622         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
5623         _Float128 instead of long double.
5624         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
5626         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
5627         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
5628         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
5629         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
5630         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
5631         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
5632         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
5633         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
5634         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
5635         Likewise.
5637 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5639         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
5640         Remove redirection to __strrchr_ppc.
5642 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5644         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5645         (sysdep_routines): Add strcmp_power9.
5646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5647         (strcmp): Add __strcmp_power9 to list of strcmp functions.
5648         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
5649         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
5650         (strcmp): Add __strcmp_power9 to ifunc list.
5651         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
5653 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
5655         * bits/fp-logb.h: New file.
5656         * sysdeps/ia64/bits/fp-logb.h: Likewise.
5657         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
5658         * sysdeps/x86/bits/fp-logb.h: Likewise.
5659         * math/Makefile (headers): Add bits/fp-logb.h.
5660         * math/math.h: Include <bits/fp-logb.h>.
5661         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
5662         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
5663         * bits/mathdef.h (FP_ILOGB0): Remove.
5664         (FP_ILOGBNAN): Likewise.
5665         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
5666         (FP_ILOGBNAN): Likewise.
5667         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
5668         (FP_ILOGBNAN): Likewise.
5669         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
5670         (FP_ILOGBNAN): Likewise.
5671         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
5672         (FP_ILOGBNAN): Likewise.
5673         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
5674         (FP_ILOGBNAN): Likewise.
5675         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
5676         (FP_ILOGBNAN): Likewise.
5677         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
5678         (FP_ILOGBNAN): Likewise.
5679         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
5680         (FP_ILOGBNAN): Likewise.
5681         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
5682         (FP_ILOGBNAN): Likewise.
5684         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
5685         time module.
5686         (Context.__init__): Initialize self.logsdir_old.
5687         (Context.run_builds): Handle bot action.
5688         (Context.bot_cycle): Copy logs directory before running builds.
5689         (Context.bot_run_self): Take argument for whether to check
5690         subprocess result.  Flush stdout before running subprocess.
5691         (Context.bot): New function.
5692         (get_parser): Allow bot action.
5694 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
5696         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
5697         Import email.mime.text, email.utils and smtplib modules.
5698         (Context.__init__): Initialize self.bot_config_json.
5699         (Context.run_builds): Handle bot-cycle action.
5700         (Context.load_bot_config_json): New function.
5701         (Context.part_build_old): Likewise.
5702         (Context.bot_cycle): Likewise.
5703         (Context.bot_build_mail): Likewise.
5704         (Context.bot_run_self): Likewise.
5705         (get_parser): Allow bot-cycle action.
5707 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5709         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
5710         Remove redirection to __stpcpy_ppc.
5712 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5714         Remove __libc_memalign from ld.so because it is unused.
5715         * elf/dl-minimal.c: Update comment on the malloc implementation.
5716         (malloc): Renamed from __libc_memalign, replacing the original
5717         malloc implementation.  Replace the align parameter with
5718         MALLOC_ALIGNMENT.
5719         * elf/Versions (ld): Update comment and remove __libc_memalign.
5720         * sysdeps/nacl/ld.abilist: Likewise.
5721         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
5722         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
5723         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
5724         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
5725         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
5726         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
5727         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
5728         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
5729         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
5730         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
5731         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
5732         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
5733         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
5734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
5735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5737         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
5738         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
5739         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
5740         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
5741         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
5742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
5743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
5744         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
5745         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
5746         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
5747         * sysdeps/generic/localplt.data (ld.so): Likewise.
5748         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
5749         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
5750         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
5751         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
5752         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
5753         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
5754         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
5755         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
5756         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
5757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
5758         (ld.so): Likewise.
5759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5760         (ld.so): Likewise.
5761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
5762         Likewise.
5763         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
5764         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
5765         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
5766         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
5767         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
5769 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5771         [BZ #16628]
5772         Implement _dl_catch_error, _dl_signal_error in libc.so.
5773         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
5774         (catch_hook): Define as thread-local or regular variable,
5775         depending on DL_ERROR_BOOTSTRAP.
5776         (CATCH_HOOK): Remove.
5777         (dl_signal_error, _dl_catch_error): Use
5778         catch_hook.  Add hidden definition for libc.
5779         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
5780         for DL_ERROR_BOOTSTRAP only.
5781         * elf/dl-error.c: New file.
5782         * elf/dl-error-minimal.c: Likewise.
5783         * elf/tst-latepthread.c: Likewise.
5784         * elf/tst-latepthreadmod.c: Likewise.
5785         * elf/Makefile (routines): Add dl-error.
5786         (dl-routines): Remove dl-error.
5787         (rtld-routines): Add dl-error-minimal.
5788         [build-shared] (tests): Add tst-latepthread.
5789         (module-names): Add tst-latepthreadmod.
5790         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
5791         symbol.
5792         (tst-latepthreadmod.so): Link against libpthread.
5793         (tst-latepthread): Link against libdbl.
5794         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
5795         _dl_catch_error.
5796         [ld] (GLIBC_PRIVATE): Likewise.
5797         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
5798         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
5799         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
5800         directly.
5801         * elf/dl-tsd.c: Remove file.
5802         * elf/rtld.c (_rtld_global_ro): Remove initializers for
5803         _dl_catch_error, _dl_signal_error.
5804         (_dl_initial_error_catch_tsd): Remove definition.
5805         (do_preload): Remove initialization of dl_error_catch_tsd.
5806         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
5807         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
5808         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5809         * dlfcn/dlopen.c (dlopen_doit): Likewise.
5810         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
5811         set dl_error_catch_tsd.
5812         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
5813         _dl_error_catch_tsd member.
5814         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
5815         members.
5816         (_dl_initial_error_catch_tsd): Remove declaration.
5817         (_dl_dprintf): Provide definition for use outside of ld.so.
5818         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
5819         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
5820         prototype for libc.
5821         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
5822         _dl_catch_error.
5823         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
5824         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
5825         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
5826         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
5827         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
5828         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
5829         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
5830         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
5831         Likewise.
5832         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
5833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
5834         (ld.so): Likewise.
5835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5836         (ld.so): Likewise.
5837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
5838         Likewise.
5839         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
5840         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
5841         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
5842         Likewise.
5843         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
5844         Likewise.
5845         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
5847 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5849         [BZ #4099]
5850         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
5851         _IO_BUFSIZ (8192).
5853 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
5855         * PROJECTS: Remove file.
5857 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5859         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
5861 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
5862             Steve Ellcey  <sellcey@caviumnetworks.com>
5864         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
5865         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
5866         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
5867         fxstatat.
5868         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
5869         lxstat.
5870         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
5871         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
5872         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
5873         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
5874         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
5875         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
5876         __xstat.
5878 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5880         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
5881         Define.
5882         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
5883         definition.
5885 2016-11-29  Florian Weimer  <fweimer@redhat.com>
5887         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
5888         version and turn into strong alias.  Remove compat symbol.
5890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5891         (__longjmp): Remove.
5893 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
5895         * bits/fp-fast.h: New file.
5896         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
5897         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
5898         * math/Makefile (headers): Add bits/fp-fast.h.
5899         * math/math.h: Include <bits/fp-fast.h>.
5900         * bits/mathdef.h (FP_FAST_FMA): Remove.
5901         (FP_FAST_FMAF): Likewise.
5902         (FP_FAST_FMAL): Likewise.
5903         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
5904         (FP_FAST_FMAF): Likewise.
5905         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
5906         (FP_FAST_FMAF): Likewise.
5907         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
5908         (FP_FAST_FMAF): Likewise.
5909         (FP_FAST_FMAL): Likewise.
5910         * sysdeps/arm/bits/mathdef.h: Remove file.
5911         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
5912         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5913         * sysdeps/tile/bits/mathdef.h: Likewise.
5915 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
5917         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
5918         * math/w_ilogb.c: Remove.
5919         * math/w_ilogbf.c: Likewise.
5920         * math/w_ilogbl.c: Likewise.
5921         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
5922         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
5923         * math/Makefile (gen-libm-calls): Add w_ilogbF.
5924         (libm-calls): Remove w_ilogbF.
5925         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
5926         (LDOUBLE_ilogbl_libm_version): New macro.
5928         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
5930         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
5931         [!__STRICT_ANSI__ && !__cplusplus].
5933 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
5935         [BZ #20750]
5936         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
5937         of PIC.
5939 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
5940             Yury Norov  <ynorov@caviumnetworks.com>
5941             Steve Ellcey  <sellcey@caviumnetworks.com>
5943         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
5944         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
5945         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
5946         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
5947         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
5948         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
5949         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
5950         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
5951         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
5952         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
5953         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
5954         to get correct reg name for ILP32.
5955         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
5956         (RELA_SIZE): New Macro.
5957         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
5958         to support ILP32.
5959         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
5960         cast for ILP32 mode.
5961         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
5962         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
5963         * sysdeps/aarch64/memset.S (__memset): Ditto.
5964         * sysdeps/aarch64/strchr.S (strchr): Ditto.
5965         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
5966         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
5967         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
5968         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
5969         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
5970         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
5971         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
5972         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
5973         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
5974         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
5975         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
5976         change PTR_MANGLE call to use register numbers instead of names.
5977         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
5978         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
5979         ILP32 mode, change PTR_MANGLE calls to use register numbers.
5980         * sysdeps/aarch64/start.S (_start): Ditto.
5981         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
5982         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
5983         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
5984         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
5985         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
5986         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
5987         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
5988         Make defined values dependent on __ILP32__.
5989         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
5990         (sem_t): Change __align type.
5991         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
5992         PTR_SIZE): New Macros.
5993         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
5994         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
5995         Set when in ILP32 mode.
5996         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
5997         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
5998         Set elf flags for ILP32.
5999         (add_system_dir): Set ILP32 library directories.
6000         * sysdeps/unix/sysv/linux/aarch64/init-first.c
6001         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
6002         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
6003         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
6004         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
6005         New Macros.
6006         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
6008 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
6010         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
6011         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
6012         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
6014 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6016         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
6017         <asm/cachectl.h>.
6019 2016-11-27  Zack Weinberg  <zackw@panix.com>
6021         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
6022         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
6024 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6026         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
6027         error_t to fix usage in C++ programs.
6029 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
6031         * scripts/build-many-glibcs.py: Import datetime module.
6032         (Context.__init__): Load JSON build state.  Initialize list of
6033         status logs.
6034         (Context.run_builds): Update saved build state.
6035         (Context.add_makefile_cmdlist): Update list of status logs.
6036         (Context.load_build_state_json): New function.
6037         (Context.store_build_state_json): Likewise.
6038         (Context.clear_last_build_state): Likewise.
6039         (Context.update_build_state): Likewise.
6040         (CommandList.status_logs): Likewise.
6042 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
6044         * scripts/build-many-glibcs.py (Context.__init__): Save text of
6045         script being executed.
6046         (Context.get_script_text): New function.
6047         (Context.exec_self): Likewise.
6048         (Context.checkout): Re-exec script if changed by checkout process.
6050 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6052         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6053         (setpayloadsig): New declaration.
6054         * math/Versions (setpayloadsig): New libm symbol at version
6055         GLIBC_2.25.
6056         (setpayloadsigf): Likewise.
6057         (setpayloadsigl): Likewise.
6058         * math/Makefile (libm-calls): Add s_setpayloadsigF.
6059         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
6060         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
6061         (setpayloadsig_test_data): New array.
6062         (setpayloadsig_test): New function.
6063         (main): Call setpayloadsig_test.
6064         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
6065         setpayloadsigf and setpayloadsigl.
6066         * manual/libm-err-tab.pl: Update comment on interfaces without
6067         ulps tabulated.
6068         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
6069         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
6070         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
6071         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
6072         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
6073         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
6074         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6075         setpayloadsig.
6076         (CFLAGS-nldbl-setpayloadsig.c): New variable.
6077         * sysdeps/nacl/libm.abilist: Update.
6078         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6079         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6080         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6081         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6082         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6083         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6084         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6085         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6086         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6087         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6088         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6089         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6091         Likewise.
6092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6093         Likewise.
6094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6095         Likewise.
6096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6097         Likewise.
6098         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6099         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6100         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6101         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6102         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6104         Likewise.
6105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6106         Likewise.
6107         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6108         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6109         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6111         * scripts/build-many-glibcs.py: Import json module.
6112         (Context.__init__): Take replace_sources argument.  Load
6113         versions.json.
6114         (Context.load_versions_json): New function.
6115         (Context.store_json): Likewise.
6116         (Context.store_versions_json): Likewise.
6117         (Context.set_component_version): Likewise.
6118         (Context.checkout): Update versions.json.  Check for and handle
6119         changes of version.  Prefer previously explicitly specified
6120         version to default version.
6121         (Context.checkout_vcs): Return a revision identifier.
6122         (Context.git_checkout): Likewise.
6123         (Context.gcc_checkout): Likewise.
6124         (get_parser): Add --replace-sources option.
6125         (main): Pass replace_sources argument to Context call.
6127 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6129         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
6130         * nptl/allocatestack.c (allocate_stack): Likewise.
6131         (__reclaim_stacks): Likewise.
6132         (setxid_signal_thread): Obtain pid through syscall.
6133         * nptl/nptl-init.c (sigcancel_handler): Likewise.
6134         (sighandle_setxid): Likewise.
6135         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
6136         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6137         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6138         Likewise.
6139         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6140         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
6141         comment.
6142         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
6143         * nptl/descr.h (struct pthread): Change comment about pid value.
6144         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
6145         pid assert.
6146         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
6147         Do not set pid value.
6148         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
6149         pid cache check.
6150         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
6151         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
6152         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
6153         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
6154         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
6155         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6156         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
6157         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
6158         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
6159         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
6160         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
6161         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6162         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
6163         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6164         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
6165         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
6166         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6167         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
6168         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
6169         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
6170         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
6171         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6172         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
6173         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
6174         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
6175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6177         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6178         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6179         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6180         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
6181         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6182         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
6183         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6184         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
6185         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6186         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
6187         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6188         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
6189         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
6190         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6191         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
6192         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
6193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6195         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6196         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6197         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6198         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6199         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6200         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
6201         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6202         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
6203         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
6204         struct access.
6205         (clone_test): Remove function.
6206         (do_test): Rewrite to take in consideration pid is not cached anymore.
6208 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6210         * bits/flt-eval-method.h: New file.
6211         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
6212         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
6213         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
6214         * math/Makefile (headers): Add bits/flt-eval-method.h.
6215         * math/math.h: Include <bits/flt-eval-method.h>.
6216         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
6217         [__USE_ISOC99] (double_t): Likewise.
6218         * bits/mathdef.h (float_t): Remove.
6219         (double_t): Likewise.
6220         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
6221         (double_t): Likewise.
6222         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
6223         (double_t): Likewise.
6224         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
6225         (double_t): Likewise.
6226         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
6227         (double_t): Likewise.
6228         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
6229         (double_t): Likewise.
6230         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
6231         (double_t): Likewise.
6232         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
6233         (double_t): Likewise.
6234         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
6235         (double_t): Likewise.
6236         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
6237         (double_t): Likewise.
6238         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
6239         (double_t): Likewise.
6240         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
6241         (double_t): Likewise.
6242         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
6243         (double_t): Likewise.
6244         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
6245         (double_t): Likewise.
6247 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
6249         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
6250         instead of PIC.
6252 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6254         [BZ #20859]
6255         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
6256         (-0x7fffffff) instead of 0x80000001.
6257         * math/test-fp-ilogb-constants.c: New file.
6258         * math/Makefile (tests): Add test-fp-ilogb-constants.
6260 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
6262         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
6263         (_init): Use it in place of hardcoded R_MIPS_JALR.
6264         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
6265         (_init): Use it in place of hardcoded R_MIPS_JALR.
6266         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
6267         (_init): Use it in place of hardcoded R_MIPS_JALR.
6269 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6271         [BZ #20787]
6272         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
6273         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
6274         (double_t): Do not define to double if [__x86_64__] when
6275         __FLT_EVAL_METHOD__ is nonzero.
6276         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
6277         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
6278         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6279         test-flt-eval-method-387 and test-flt-eval-method-sse.
6280         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
6281         variable.
6282         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
6284 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
6286         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
6287         use of -fno-isolate-erroneous-paths options for tilepro.
6289 2016-11-23  Florian Weimer  <fweimer@redhat.com>
6291         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
6292         structure initialization is no longer needed.
6294 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6296         [BZ #20855]
6297         * bits/mathdef.h (float_t): Define to float.
6298         * math/test-flt-eval-method.c: New file.
6299         * math/Makefile (tests): Add test-flt-eval-method.
6300         (CFLAGS-test-flt-eval-method.c): New variable.
6302 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
6304         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
6305         and __fstatfs.  Make them aliases of __fstatfs64 if
6306         STATFS_IS_STATFS64 is set to non-zero.
6307         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
6308         and __statfs64.
6309         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
6310         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
6311         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
6312         for __statfs and statfs.
6313         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
6314         to 0.
6315         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
6316         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
6317         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
6318         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6319         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6320         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
6323         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
6324         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6325         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
6326         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
6328 2016-11-22  Andreas Schwab  <schwab@suse.de>
6330         * misc/mkstemp.c: Include <fcntl.h>.
6331         * misc/mkstemps.c: Likewise.
6332         * misc/mkostemp.c: Likewise.
6333         * misc/mkostemps.c: Likewise.
6335 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
6337         [BZ #20847]
6338         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6339         array bounds.
6340         (__execvpe): Likewise.
6342 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
6344         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
6345         -fno-isolate-erroneous-paths options for tilepro.
6347 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
6349         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
6350         to 0 when in 32 bit mode.
6351         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
6352         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6353         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6354         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6356         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6357         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
6358         XSTAT_IS_XSTAT64 test.
6359         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
6360         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
6361         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
6362         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
6363         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
6364         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
6365         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
6366         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
6367         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
6368         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
6369         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
6371 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
6373         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6374         (setpayload): New declaration.
6375         * math/Versions (setpayload): New libm symbol at version
6376         GLIBC_2.25.
6377         (setpayloadf): Likewise.
6378         (setpayloadl): Likewise.
6379         * math/Makefile (libm-calls): Add s_setpayloadF.
6380         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
6381         test_Ff_b1_data.
6382         (RUN_TEST_Ff_b1): New macro.
6383         (RUN_TEST_LOOP_Ff_b1): Likewise.
6384         (canonicalize_test_data): Update type.
6385         (setpayload_test_data): New array.
6386         (setpayload_test): New function.
6387         (main): Call setpayload_test.
6388         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
6389         setpayloadf and setpayloadl.
6390         * manual/libm-err-tab.pl: Update comment on interfaces without
6391         ulps tabulated.
6392         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
6393         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
6394         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
6395         Likewise.
6396         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
6397         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
6398         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
6399         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
6400         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
6401         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
6402         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
6403         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
6404         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
6405         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6406         setpayload.
6407         (CFLAGS-nldbl-setpayload.c): New variable.
6408         * sysdeps/nacl/libm.abilist: Update.
6409         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6410         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6411         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6412         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6413         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6414         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6415         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6416         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6417         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6418         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6419         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6420         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6422         Likewise.
6423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6424         Likewise.
6425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6426         Likewise.
6427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6428         Likewise.
6429         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6430         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6431         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6432         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6433         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6435         Likewise.
6436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6437         Likewise.
6438         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6439         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6440         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6442 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6444         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
6445         * include/unistd.h: Extend comment about __access_noerrno return
6446         semantics.
6447         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
6448         (access_common): Correct typo for EACCES.
6450 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
6452         * sysdeps/tile/math-tests.h: New file.
6454         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
6455         (__old_set_dataplane): Rename from set_dataplane and make a
6456         compatibility symbol.
6457         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
6458         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
6459         sys/dataplane.h.
6461 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
6463         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
6464         script quote words in command output to log suitably for input to
6465         the shell.
6467 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
6468             Maciej W. Rozycki  <macro@imgtec.com>
6470         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
6471         `.Lno_weak_fn' label.
6472         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
6473         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
6475 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6476             Yury Norov  <ynorov@caviumnetworks.com>
6478         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
6479         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
6480         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6481         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
6482         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6483         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
6484         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6485         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6486         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6487         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
6488         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6489         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
6490         (sysdep_routines): Remove oldgetrlimit64.
6491         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
6492         (sysdep_routines): Likewise.
6493         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
6494         (sysdep_routines): Likewise.
6495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6496         [$(subdir) = resource] (sysdep_routines): Likewise.
6497         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6498         [$(subdir) = resource] (sysdep_routines): Likewise.
6499         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
6500         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
6501         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
6502         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
6503         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
6504         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6505         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
6506         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
6507         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
6508         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
6509         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
6510         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
6511         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
6512         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
6513         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
6514         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
6515         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
6516         setrlimit and getrlimit.
6517         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6518         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6519         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
6520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
6521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
6522         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6523         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
6524         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6525         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6526         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
6527         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
6528         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
6529         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
6530         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
6531         (__old_getrlimit64): Add compatibility symbol.
6532         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
6534 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
6536         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
6537         newly built gmp, mpfr and mpc.
6539         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
6541 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
6543         * conform/Makefile (linknamespace-libs): Rename to
6544         linknamespace-libs-thr.
6545         (linknamespace-libs-posix): New variable.
6546         (linknamespace-libs-xsi): Likewise.
6547         (linknamespace-libs-XPG3): Include libcrypt.a.
6548         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
6549         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
6550         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
6551         (linknamespace-libs-XOPEN2K): Likewise.
6552         (linknamespace-libs-XOPEN2K8): Likewise.
6553         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
6555         [BZ #20829]
6556         * stdio-common/Versions (__snprintf): Add to version
6557         GLIBC_PRIVATE.
6558         * include/stdio.h (__snprintf): Use libc_hidden_proto.
6559         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
6560         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
6561         of snprintf.
6562         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6564 2016-11-16  Zack Weinberg  <zackw@panix.com>
6566         * string/string.h: Remove obsolete comment stating that
6567         strcoll_l and strxfrm_l have not yet been standardized.
6569 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6571         * hurd/hurd.h (__hurd_fail_noerrno): New function.
6572         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
6573         __access_noerrno.
6574         * io/access.c (__access_noerrno): New function.
6575         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
6576         (hurd_fail_seterrno): Likewise.
6577         (access_common): Likewise.
6578         (__access_noerrno): Likewise.
6579         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
6580         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
6581         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
6582         macro.
6584 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
6586         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
6587         Only declare fpregs if [__SH_FPU_ANY__].
6589 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
6591         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
6592         Make code unconditional.
6593         [!(__SH4__ || __SH4A__)]: Remove conditional code.
6595 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
6597         * manual/sysinfo.texi (S_APPEND): Delete.
6598         (S_IMMUTABLE): Likewise.
6600 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
6601             Magnus Granberg  <zorry@gentoo.org>
6602             Mike Frysinger  <vapier@gentoo.org>
6604         [BZ #20662]
6605         * configure.ac (libc_cv_predef_stack_protector): Also check for
6606         __stack_chk_fail_local symbols.
6607         * configure: Regenerated.
6609 2016-11-15  Florian Weimer  <fweimer@redhat.com>
6611         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
6612         (libc_hidden_def): Remove redefinition.
6613         (__sigsetjmp): Add hidden definition.
6614         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
6615         (libc_hidden_def): Remove redefinition.
6616         (__sigsetjmp): Add hidden definition.
6618 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
6620         * scripts/build-many-glibcs.py (os.path): Do not import.
6621         (Context): Inherit explicitly from object.  Remove blank line
6622         between class and docstring.
6623         (Config): Likewise.
6624         (Glibc): Likewise.
6625         (Command): Likewise.
6626         (CommandList): Likewise.
6627         (Context.write_files): Store chmod mode in a variable.
6629         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
6630         LIBC_SLIBDIR_RTLDDIR for tilegx32.
6631         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
6633 2016-11-14  Zack Weinberg  <zackw@panix.com>
6635         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
6636         creating or re-creating it.
6638         * string/bits/string2.h: Fix typo in comment.
6640 2016-11-14  Zack Weinberg  <zackw@panix.com>
6642         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
6643         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
6644         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
6645         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
6646         of redirected function names.
6648         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
6649         as well.  Document that MESSAGE must be a single string literal.
6651 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
6653         * scripts/build-many-glibcs.py: New file.
6655         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
6656         (do_test): Disable -Wmaybe-uninitialized around uses of
6657         except_mask.
6659         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
6661 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
6663         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
6664         (atomic_store_release): Provide tilepro-specific implementations.
6666 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
6668         * math/math.h (__MATH_TG): New macro.
6669         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
6670         [__USE_ISOC99] (signbit): Likewise.
6671         [__USE_ISOC99] (isfinite): Likewise.
6672         [__USE_ISOC99] (isnan): Likewise.
6673         [__USE_ISOC99] (isinf): Likewise.
6674         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
6675         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
6676         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
6677         __MATH_TG and __MATH_EVAL_FMT2.
6678         * sysdeps/generic/math_private.h (fabs_tg): Define using
6679         __MATH_TG.
6680         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
6681         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
6682         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
6683         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
6684         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
6685         macro.
6686         (__iscanonical): Likewise.
6687         (iscanonical): Define using __MATH_TG.
6689 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6691         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
6692         guards.
6694         * sysdeps/unix/sysv/linux/access.c: New file.
6695         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
6697 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
6699         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
6700         and __WORDSIZE32_PTRDIFF_LONG.
6702 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6704         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6706 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6708         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
6709         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
6710         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
6711         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
6712         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
6713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
6714         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
6715         * sysdeps/unix/sysv/linux/truncate.c: New file.
6716         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
6717         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
6718         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
6719         Remove.
6720         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
6721         Likewise.
6723         * posix/tst-truncate-common.c: New file.
6724         * posix/tst-truncate.c: Use tst-truncate-common.c.
6725         * posix/tst-truncate64.c: Likewise and add LFS tests.
6726         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
6727         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
6728         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
6729         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
6730         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
6731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
6732         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
6733         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
6734         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
6735         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
6736         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
6737         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
6738         Remove.
6739         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
6740         Likewise.
6742 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
6744         [BZ #20790]
6745         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
6746         to MAXLINESIZE.
6747         * sunrpc/bug20790.x: New file.
6748         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
6749         variable.
6750         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
6751         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
6753         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
6755         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
6757         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
6758         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
6759         calloc, realloc, free, memalign and __libc_memalign rather than
6760         making them optional.
6762         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
6763         for libc.so.
6765 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6767         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
6768         ptw-lseek64.
6769         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
6770         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
6771         Likewise.
6772         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
6773         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
6774         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
6775         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
6776         * sysdeps/unix/sysv/linux/lseek.c: New file.
6777         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
6778         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
6779         __libc_lseek64 from auto-generation.
6780         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6781         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
6783 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6785         * nptl/tst-basic1.c (tf, do_test): Use write_message.
6786         * nptl/tst-cleanup1.c (do_test): Likewise.
6787         * nptl/tst-cleanup3.c (do_test): Likewise.
6788         * nptl/tst-key1.c (do_test): Likewise.
6789         * nptl/tst-key2.c (tf, do_test): Likewise.
6790         * nptl/tst-key3.c (tf, do_test): Likewise.
6791         * nptl/tst-stdio1.c (do_test): Likewise.
6792         * nptl/tst-stdio2.c (do_test): Likewise.
6794         * nptl/tst-kill3.c (handler): Use write_message in place of write.
6795         * nptl/tst-kill6.c (handler): Likewise.
6796         * nptl/tst-tls2.c (CB): Likewise.
6797         * nptl/tst-tls3.c (CB): Likewise.
6799 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
6801         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
6803 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
6804             Steve Ellcey  <sellcey@caviumnetworks.com>
6806         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
6807           __ASSUME_ST_INO_64_BIT as 0
6808         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
6809         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
6810           over the code where __ASSUME_ST_INO_64_BIT is used.
6811         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
6812         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
6813         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6815 2016-11-07  Florian Weimer  <fweimer@redhat.com>
6817         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6818         Document ABI exposure of the __kind offset.
6819         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6820         Mention reason for the __kind offset exposure in the ABI.
6821         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6822         Likewise.
6823         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6824         Likewise.
6825         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6826         Likewise.
6827         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
6828         (struct __pthread_mutex_s): Likewise.
6829         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6830         Likewise.
6831         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6832         Likewise.
6833         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6834         Likewise.
6835         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6836         Likewise.
6837         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6838         Likewise.
6839         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
6840         Likewise.
6841         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
6842         (struct __pthread_mutex_s): Likewise.
6843         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6844         (struct __pthread_mutex_s): Likewise.
6845         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
6846         Likewise.
6848 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
6850         * test-skeleton.c: Document do_test usage.
6852 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
6854         * iconv/gconv.h (__gconv_info): Define __data element using a
6855         zero-length array.
6857 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
6859         * math/test-tgmath2.c: Split up test function.
6861 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6863         * Rules (tests-expected): New variable, depending on
6864         $(run-built-tests).
6865         (tests): Pass $(tests-expected) to merge-test-results.sh, not
6866         $(tests).
6868         * Rules [$(run-built-tests) = no] (tests): Do not depend on
6869         $(tests-unsupported).
6871 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6873         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6874         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
6876 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6878         [BZ #20768]
6879         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
6880         __fegetenv instead of fegetenv.
6882         [BZ #14139]
6883         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
6884         (find_files): Obtain platform name from libm-test-ulps-name and
6885         store in %pplatforms.
6886         (canonicalize_platform): Remove.
6887         (print_platforms): Use $pplatforms directly.
6888         (by_platforms): Do not allow for platforms missing from
6889         %pplatforms.
6890         * sysdeps/aarch64/libm-test-ulps-name: New file.
6891         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
6892         * sysdeps/arm/libm-test-ulps-name: Likewise.
6893         * sysdeps/generic/libm-test-ulps-name: Likewise.
6894         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
6895         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
6896         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
6897         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
6898         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
6899         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
6900         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
6901         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
6902         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
6903         * sysdeps/nios2/libm-test-ulps-name: Likewise.
6904         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
6905         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
6906         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
6907         * sysdeps/sh/libm-test-ulps-name: Likewise.
6908         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
6909         * sysdeps/tile/libm-test-ulps-name: Likewise.
6910         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
6912         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
6914         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
6915         (test-xfail-check-execstack): New variable.
6917         * sysdeps/mips/localplt.data: New file.
6919 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
6920             Steve Ellcey  <sellcey@caviumnetworks.com>
6922         * bits/wordsize.h: Add documentation.
6923         * sysdeps/aarch64/bits/wordsize.h : New file
6924         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
6925         definitions.
6926         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
6927         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
6928         with #if instead of #ifdef.
6929         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
6930         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
6931         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
6932         Add or change defines.
6933         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
6934         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6935         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
6936         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
6937         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6938         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6939         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
6940         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
6941         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
6942         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6943         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
6944         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
6945         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
6946         * sysdeps/x86/bits/wordsize.h: Likewise.
6948 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
6949             Kevin Petit  <kevin.petit@arm.com>
6951         * sysdeps/aarch64/memchr.S (__memchr): New file.
6953 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
6955         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
6957 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
6959         [BZ #19398]
6960         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
6961         $(linknamespace-symlists-tests).
6963 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
6965         * time/tst-strptime2.c: Ignore -Wformat-length warning.
6967 2016-11-02  Florian Weimer  <fweimer@redhat.com>
6968             Carlos O'Donell  <carlos@redhat.com>
6970         [Bug #20729]
6971         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
6972         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
6973         for -Os related change.
6975 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
6977         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
6979 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
6981         [BZ #19673]
6982         * manual/math.texi (Exponents and Logarithms): Correct description
6983         of clog10.
6985 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
6987         [Bz #20729]
6988         * locale/weight.h: Include libc-internal.h.
6989         * locale/weightwc.h: Likewise.
6990         * nptl/nptl_dbP.h: Likewise.
6992 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
6994         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
6995         when it is MACH_PORT_NULL.
6997 2016-10-31  Andreas Schwab  <schwab@suse.de>
6999         [BZ #20707]
7000         * posix/glob.c (glob): Initialize pglob before checking for
7001         GLOB_BRACE.  Don't call glob recursively if pattern contains no
7002         valid brace expression despite GLOB_BRACE.
7003         * posix/globtest.sh: Test it.
7005 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7007         [BZ #20729]
7008         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
7009         Define.
7010         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
7011         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
7012         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
7013         for seq2.back_us and seq1.back_us only for -Os compiles.
7014         * locale/weightwc.h (findix): Likewise.
7015         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
7016         DB_GET_FIELD_ADDRESS only for -Os compiles.
7017         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
7018         for slen only for -Os compiles.
7019         * string/strcoll_l.c (get_next_seq): Ignore
7020         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
7021         for -Os compiles.
7023         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
7024         * include/crypt.h: New file.
7026 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7028         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
7029         from test-skeleton.c.
7030         (statclass): Replace calls to write with calls to write_message.
7032 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7034         * math/math.h
7035         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
7036         New macro.
7037         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
7038         Likewise.
7039         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
7040         Likewise.
7041         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
7042         SNANL.
7043         * math/test-double.h (snan_value_MACRO): New macro.
7044         * math/test-float.h (snan_value_MACRO): Likewise.
7045         * math/test-ldouble.h (snan_value_MACRO): Likewise.
7046         * math/libm-test.inc (issignaling_test_data): Add tests of
7047         snan_value_MACRO.
7049 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7051         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
7052         behavior when eliding a lock not held by the current thread.
7053         * sysdeps/powerpc/nptl/elide.h: Likewise.
7055 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7057         [BZ #20728]
7058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
7059         branch to _exit() by a function call.
7061 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7063         * malloc/malloc.c: Update chunk layout comments.
7064         (chunk_main_arena): Update comment.
7066 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7068         * crypt/sha256.c, crypt/sha256-block.c,
7069         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
7070         sha256_process_block to __sha256_process_block.
7071         * crypt/sha512.c, crypt/sha512-block.c,
7072         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
7073         sha512_process_block to __sha512_process_block.
7075 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7077         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
7079         * math/test-nan-overflow.c: Include stdlib.h for malloc.
7081 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
7083         [BZ #20019]
7084         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
7085         definition in unrelocated shared library.
7086         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7088 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7090         [BZ #20729]
7091         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
7092         * sysdeps/unix/sysv/linux/i386/Makefile
7093         (uses-6-syscall-arguments): Define.
7094         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
7095         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
7096         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
7097         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
7098         Likewise.
7099         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
7100         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
7101         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
7102         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
7103         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
7104         (CFLAGS-fallocate64.os): Likewise.
7105         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
7106         (CFLAGS-pthread_rwlock_timedrdlock.os)
7107         (CFLAGS-pthread_rwlock_timedwrlock.o)
7108         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
7109         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
7110         (CFLAGS-sem_timedwait.os): Likewise.
7112 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7114         * elf/tst-linkall-static.c: New file.
7115         * elf/Makefile (tests-static): Add tst-linkall-static.
7116         (tst-linkall-static): Link against static libraries.
7118 2016-10-27  Florian Weimer  <fweimer@redhat.com>
7120         * malloc/malloc.c (sysmalloc): Initialize previous size field of
7121         mmaped chunks.
7123 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7125         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
7126         members to mchunk_prev_size, mchunk_size.
7127         (chunk_main_arena): Reverse sense and rename from
7128         chunk_non_main_arena.
7129         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
7130         mchunk_size instead of size.
7131         (set_non_main_arena): Define.
7132         (chunksize): Use chunksize_nomask instead of direct member access.
7133         (chunksize_nomask): Define.
7134         (next_chunk): Use chunksize instead of direct member access.
7135         (prev_size, set_prev_size): Define.
7136         (prev_chunk): Use prev_size instead of direct member access.
7137         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
7138         (inuse_bit_at_offset, set_inuse_bit_at_offset)
7139         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
7140         (mchunk_prev_size, mchunk_size): Poison tokens.
7141         (unlink): Use chunksize_nomask, prev_size accessors.
7142         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
7143         (do_check_free_chunk): Use prev_size accessor.
7144         (sysmalloc): Use set_prev_size, set_head accessors.
7145         (munmap_chunk, mremap_chunk): Use prev_size accessor.
7146         (__libc_free): Use chunksize_nomask accessor.
7147         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
7148         chunk_main_arena accessors.
7149         (_int_free): Use chunksize_nomask, prev_size accessors.
7150         (malloc_consolidate): Use chunksize, prev_size accessors.
7151         (_int_realloc): Use chunksize_nomask accessor.
7152         (_int_memalign): Use set_prev_size accessor.
7153         (__malloc_info): Use chunksize_nomask accessor.
7154         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
7155         accessors.
7156         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
7157         (heap_trim): Use chunksize_nomask, prev_size accessors.
7159 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7161         [BZ #19380]
7162         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
7163         for inexact results.
7164         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
7165         of inexact result where mpfr_subnormalize is the only inexact
7166         step.
7167         * stdlib/tst-strtod-round-data.h: Regenerated.
7168         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
7169         Define to 0.
7170         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
7172 2016-10-27  David S. Miller  <davem@davemloft.net>
7174         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
7176 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7178         * malloc/malloc.c (do_set_mallopt_check): New function.
7179         (do_set_mmap_threshold): Likewise.
7180         (do_set_mmaps_max): Likewise.
7181         (do_set_top_pad): Likewise.
7182         (do_set_perturb_byte): Likewise.
7183         (do_set_trim_threshold): Likewise.
7184         (do_set_arena_max): Likewise.
7185         (do_set_arena_test): Likewise.
7186         (__libc_mallopt): Use them.
7188 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
7190         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7191         (canonicalize): New declaration.
7192         * math/Versions (canonicalize): New libm symbol at version
7193         GLIBC_2.25.
7194         (canonicalizef): Likewise.
7195         (canonicalizel): Likewise.
7196         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
7197         * math/s_canonicalize_template.c: New file.
7198         * math/libm-test.inc: Update comment on functions tested and
7199         testing of NaN payloads.
7200         (TEST_NAN_PAYLOAD): New macro.
7201         (NO_TEST_INLINE): Update value.
7202         (XFAIL_TEST): Likewise.
7203         (ERRNO_UNCHANGED): Likewise.
7204         (ERRNO_EDOM): Likewise.
7205         (ERRNO_ERANGE): Likewise.
7206         (IGNORE_RESULT): Likewise.
7207         (NON_FINITE): Likewise.
7208         (TEST_SNAN): Likewise.
7209         (NO_TEST_MATHVEC): Likewise.
7210         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
7211         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
7212         (struct test_Ffp_b1_data): New type.
7213         (RUN_TEST_Ffp_b1): New macro.
7214         (RUN_TEST_LOOP_Ffp_b1): Likewise.
7215         (canonicalize_test_data): New array.
7216         (canonicalize_test): New function.
7217         (main): Call canonicalize_test.
7218         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
7219         canonicalizef and canonicalizel.
7220         * manual/libm-err-tab.pl: Update comment on interfaces without
7221         ulps tabulated.
7222         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
7223         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
7224         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7225         canonicalize.
7226         (CFLAGS-nldbl-canonicalize.c): New variable.
7227         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
7228         to ...
7229         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
7230         ... here.
7231         (do_test): Also test canonicalizel.
7232         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
7233         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
7234         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
7235         file.
7236         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
7237         Use libm_hidden_def.
7238         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
7239         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
7240         (do_test): Also test canonicalizel.
7241         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
7242         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
7243         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
7244         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
7245         libm_hidden_def.
7246         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
7247         macro.
7248         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
7249         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
7250         * sysdeps/nacl/libm.abilist: Update.
7251         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7252         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7253         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7254         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7255         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7256         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7257         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7258         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7259         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7260         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7261         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7262         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7264         Likewise.
7265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7266         Likewise.
7267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7268         Likewise.
7269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7270         Likewise.
7271         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7272         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7273         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7274         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7275         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7277         Likewise.
7278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7279         Likewise.
7280         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7281         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7282         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7284         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
7285         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7286         getpayload.
7287         (CFLAGS-nldbl-getpayload.c): New variable.
7289 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7291         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
7292         integer from the format string.
7294 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7296         [BZ #19473]
7297         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
7298         declarations.
7299         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
7300         weak aliases.
7301         * malloc/hooks.c (__malloc_get_state): Remove definition.
7302         (malloc_get_state): New stub implementation as
7303         compatibility symbol.
7304         (malloc_set_state): Rename from __malloc_set_state.  Turn into
7305         compat symbol.
7306         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
7307         malloc_set_state.
7308         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
7310 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7312         * iconvdata/iso646.c (enum variant): Drop illegal_var.
7313         (names): Turn into concatenation of strings.
7314         (gconv_init): Adapt iteration over names.
7316 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7318         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
7319         make const.
7320         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
7321         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
7322         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
7323         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
7324         character in sbconv.
7325         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
7326         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
7327         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
7329 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7331         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
7333         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
7334         (M_TRIM_THRESHOLD): Likewise.
7336         * manual/memory.texi (M_ARENA_TEST): Add documentation.
7337         (M_ARENA_MAX): Likewise.
7338         * malloc/malloc.c: Remove obsolete comment.
7340         * manual/memory.texi: Add environment variable alternatives to
7341         setting mallopt parameters.
7343 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
7345         * include/atomic.h
7346         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
7347         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
7349 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7351         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
7352         * stdlib/tst-strfrom.h: New file.
7353         * stdlib/tst-strfrom.c: New file.
7354         * stdlib/tst-strfrom-locale.c: New file.
7356         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
7357         * stdlib/bug-strtod2.c: Likewise.
7358         * stdlib/tst-strtod-round-skeleton.c: Likewise.
7359         * stdlib/tst-strtod6.c: Likewise.
7360         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
7362 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7364         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
7365         * manual/arith.texi: Document strfromd, strfromf, strfroml.
7366         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
7367         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
7368         * stdlib/stdlib.h (strfromd): New declaration.
7369         (strfromf): Likewise.
7370         (strfroml): Likewise.
7371         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
7372         strfrom.
7373         * stdlib/strfromd.c: New file.
7374         * stdlib/strfromf.c: Likewise.
7375         * stdlib/strfroml.c: Likewise.
7376         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
7377         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
7378         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
7379         * sysdeps/arm/nacl/libc.abilist: Update.
7380         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7381         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7382         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7383         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7384         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7385         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7386         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7387         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7388         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7389         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7390         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7391         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7392         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7393         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
7395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7398         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7399         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7400         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7401         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7402         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7405         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7406         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7407         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7409 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
7411         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
7412         instead of cmpli.
7413         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
7414         instead of cmpli.
7416 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
7418         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
7419         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
7420         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
7421         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7422         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7423         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7425 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7427         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
7428         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7429         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
7430         SYSCALL_LL64_PRW.
7431         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7432         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
7433         __ASSUME_PRW_DUMMY_ARG.
7434         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
7435         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7436         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7437         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7438         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
7439         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
7441 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
7443         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
7445 2016-10-22  Florian Weimer  <fweimer@redhat.com>
7447         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
7448         "C++", to override a potential extern "C" directive around the
7449         header file inclusion.
7451 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
7453         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
7455 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7457         * sysdeps/powerpc/fpu/fenv_private.h:
7458         (_FPU_MASK_ALL): Rename to...
7459         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
7460         XE FPSCR bits.
7462         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
7464         (_FPU_MASK_ROUNDING): Rename to...
7465         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
7466         NI bits.
7468         (_FPU_MASK_EXCEPT_ROUND): Rename to...
7469         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
7470         bits and rounding bits.
7472         (__libc_feholdbits_ppc): New inline function to mask, set,
7473         and pontentially clear FSPCR bits, and change MSR[FE] bits.
7474         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
7475         (libc_feholdexcept_setround_ppc): Likewise.
7477         (__libc_femergeenv_ppc): New function to dynamically mask both
7478         old and new FP environments and merge.
7479         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
7480         (libc_feresetround_ppc): Likewise.
7481         (libc_feupdateenv_test_ppc): Likewise.
7482         (libc_feupdateenv_ppc): Likewise.
7484         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
7485         of ISA RN bits, and update macro names.
7486         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
7487         effectively the same as the previously mentioned function.
7489         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
7490         usage with fe_resetround_ppc.
7492         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
7493         to be used.
7494         (libc_feholdexcept_setround_ctxf): Likewise.
7495         (libc_feholdexcept_setround_ctxl): Likewise.
7497 2016-10-21  Florian Weimer  <fweimer@redhat.com>
7499         [BZ #20715]
7500         * math/math.h [__cplusplus] (iszero): Define as function template.
7501         * math/Makefile [CXX] (tests): Add test-math-iszero.
7502         (CFLAGS-test-math-iszero.cc): Set.
7503         * math/test-math-iszero.cc: New file.
7505 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
7507         [BZ #20660]
7508         * sysdeps/arm/e_sqrt.c: New file.
7509         * sysdeps/arm/e_sqrtf.c: Likewise.
7511 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
7513         [BZ #20718]
7514         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
7515         not use floating-point comparisons to test sign.
7516         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
7517         Likewise.
7519         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7520         (getpayload): New declaration.
7521         * math/Versions (getpayload): New libm symbol at version
7522         GLIBC_2.25.
7523         (getpayloadf): Likewise.
7524         (getpayloadl): Likewise.
7525         * math/Makefile (libm-calls): Add s_getpayloadF.
7526         * math/libm-test.inc: Include <nan-high-order-bit.h>.
7527         (struct test_f_f_data): Add comment.
7528         (RUN_TEST_fp_f): New macro.
7529         (RUN_TEST_LOOP_fp_f): Likewise.
7530         (getpayload_test_data): New array.
7531         (getpayload_test): New function.
7532         (main): Call getpayload_test.
7533         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
7534         descriptor.
7535         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
7536         getpayloadf and getpayloadl.
7537         * manual/libm-err-tab.pl: Update comment on interfaces without
7538         ulps tabulated.
7539         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
7540         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
7541         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
7542         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
7543         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
7544         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
7545         * sysdeps/nacl/libm.abilist: Update.
7546         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7547         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7548         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7549         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7550         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7551         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7552         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7553         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7554         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7555         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7556         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7557         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7559         Likewise.
7560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7561         Likewise.
7562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7563         Likewise.
7564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7565         Likewise.
7566         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7567         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7568         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7569         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7570         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7572         Likewise.
7573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7574         Likewise.
7575         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7576         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7577         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7579 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7581         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
7582         tst-fallocate{64}.
7583         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
7584         on syscall return.
7586 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
7588         [BZ #20689]
7589         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
7590         usable.
7592 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
7594         * sysdeps/generic/nan-high-order-bit.h: New file.
7595         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
7596         * sysdeps/mips/nan-high-order-bit.h: Likewise.
7597         * sysdeps/hppa/math_private.h: Remove file.
7598         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
7599         not define here.
7600         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
7601         <nan-high-order-bit.h>.
7602         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7603         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
7604         <nan-high-order-bit.h>.
7605         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7606         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
7607         <nan-high-order-bit.h>.
7608         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7609         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
7610         <nan-high-order-bit.h>.
7611         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7612         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
7613         <nan-high-order-bit.h>.
7614         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7615         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
7616         <nan-high-order-bit.h>.
7617         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7618         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
7619         <nan-high-order-bit.h>.
7620         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7621         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
7622         <nan-high-order-bit.h>.
7623         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7624         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
7625         <nan-high-order-bit.h>.
7626         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7627         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
7628         <nan-high-order-bit.h>.
7629         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7630         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
7631         <nan-high-order-bit.h>.
7632         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7633         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
7634         <nan-high-order-bit.h>.
7635         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7636         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
7637         <nan-high-order-bit.h>.
7638         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7639         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
7640         <nan-high-order-bit.h>.
7641         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7642         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
7643         <nan-high-order-bit.h>.
7644         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7645         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
7646         <nan-high-order-bit.h>.
7647         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7648         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
7649         <nan-high-order-bit.h>.
7650         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7651         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
7652         <nan-high-order-bit.h>.
7653         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7655 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7657         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
7659 2016-09-22  John David Anglin  <dave.anglin@bell.net>
7661         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
7662         abort-instr.h.
7663         (EFAULT): Remove conditional define.
7664         (ENOSYS): Likewise.
7665         (atomic_compare_and_exchange_val_acq): Use instruction nullification
7666         instead of conditional branch instructions.
7668 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
7670         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7671         (totalordermag): New declaration.
7672         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
7673         New macro.
7674         * math/Versions (totalordermag): New libm symbol at version
7675         GLIBC_2.25.
7676         (totalordermagf): Likewise.
7677         (totalordermagl): Likewise.
7678         * math/Makefile (libm-calls): Add s_totalordermagF.
7679         * math/libm-test.inc (totalordermag_test_data): New array.
7680         (totalordermag_test): New function.
7681         (main): Call totalordermag_test.
7682         * math/test-tgmath.c (NCALLS): Increase to 125.
7683         (F(compile_test)): Call totalordermag.
7684         (F(totalordermag)): New function.
7685         * manual/arith.texi (FP Comparison Functions): Document
7686         totalordermag, totalordermagf and totalordermagl.
7687         * manual/libm-err-tab.pl: Update comment on interfaces without
7688         ulps tabulated.
7689         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
7690         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
7691         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
7692         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
7693         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
7694         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
7695         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
7696         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7697         totalordermag.
7698         (CFLAGS-nldbl-totalordermag.c): New variable.
7699         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
7700         (do_test): Also test totalordermagl.
7701         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
7702         Likewise.
7703         * sysdeps/nacl/libm.abilist: Update.
7704         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7705         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7706         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7707         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7708         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7709         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7710         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7711         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7712         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7713         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7714         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7715         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7717         Likewise.
7718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7719         Likewise.
7720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7721         Likewise.
7722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7723         Likewise.
7724         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7725         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7726         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7727         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7728         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7730         Likewise.
7731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7732         Likewise.
7733         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7734         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7735         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7737 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
7739         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
7740         boolean.
7742 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
7744         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
7745         raising FE_INVALID with feraisexcept in case where part of
7746         argument is infinite, subtract that part of argument from itself.
7747         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
7748         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
7749         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
7751 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
7753         * math/libm-test.inc (totalorder_test_data): Add more tests.
7755 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7757         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
7758         Undefine weak_alias and add a comment why mips64 require
7759         versioning.
7761 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7763         [BZ #20647]
7764         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
7765         maximum CPUID level is less than 2.
7767 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
7769         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7770         (totalorder): New declaration.
7771         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
7772         New macro.
7773         * math/Versions (totalorder): New libm symbol at version
7774         GLIBC_2.25.
7775         (totalorderf): Likewise.
7776         (totalorderl): Likewise.
7777         * math/Makefile (libm-calls): Add s_totalorderF.
7778         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
7779         string.
7780         * math/libm-test.inc (PAYLOAD_DIG): New macro.
7781         (qnan_value_pl): Likewise.
7782         (snan_value_pl): Likewise.
7783         (qnan_value): Define using qnan_value_pl.
7784         (snan_value): Define using snan_value_pl.
7785         (struct test_ff_i_data): Add comment about which tests use this
7786         structure.
7787         (RUN_TEST_ff_b): New macro.
7788         (RUN_TEST_LOOP_ff_b): Likewise.
7789         (totalorder_test_data): New array.
7790         (totalorder_test): New function.
7791         (main): Call totalorder_test.
7792         * math/test-tgmath.c (NCALLS): Increase to 122.
7793         (F(compile_test)): Call totalorder.
7794         (F(totalorder)): New function.
7795         * manual/arith.texi (FP Comparison Functions): Document
7796         totalorder, totalorderf and totalorderl.
7797         * manual/libm-err-tab.pl: Update comment on interfaces without
7798         ulps tabulated.
7799         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
7800         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
7801         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
7802         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
7803         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
7804         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
7805         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
7806         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7807         totalorder.
7808         (CFLAGS-nldbl-totalorder.c): New variable.
7809         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
7810         file.
7811         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7812         Add test-totalorderl-ldbl-128ibm.
7813         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
7814         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
7815         test-totalorderl-ldbl-96.
7816         * sysdeps/nacl/libm.abilist: Update.
7817         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7818         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7819         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7820         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7821         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7822         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7823         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7824         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7825         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7826         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7827         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7828         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7830         Likewise.
7831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7832         Likewise.
7833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7834         Likewise.
7835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7836         Likewise.
7837         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7838         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7839         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7840         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7841         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7843         Likewise.
7844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7845         Likewise.
7846         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7847         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7848         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7850 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7852         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
7853         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
7854         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
7855         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
7856         remove ENOSYS implementation.
7857         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
7858         Consolidate all Linux implementations.
7860 2016-10-11  Florian Weimer  <fweimer@redhat.com>
7862         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
7863         * resolv/herror.c (herror): Cast away const-ness.
7864         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
7865         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
7867 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
7869         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
7870         instead of M_NAN + M_NAN.
7871         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
7873 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7875         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
7876         unused variable 'p'.
7878 2016-10-09  Alan Modra  <amodra@gmail.com>
7879             Andreas Schwab  <schwab@linux-m68k.org>
7881         [BZ #20554]
7882         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
7883         [PIC && !SHARED]: Set up PIC register for PLT call.
7885 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
7887         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
7888         conditional on value of [__FLT_EVAL_METHOD__].
7889         * math/test-iseqsig-excess-precision.c: New file.
7890         * math/Makefile (tests): Add test-iseqsig-excess-precision.
7892 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7894         * math/s_iseqsig_template.c: Include math-private.h.
7896         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
7897         * posix/tst-posix_fadvise.c: New file.
7898         * posix/tst-posix_fadvise64.c: Likewise.
7899         * posix/tst-posix_fadvise-common.c: Likewise.
7900         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7901         (__ASSUME_FADVISE64_64_6ARG): Define.
7902         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7903         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
7904         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7905         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
7906         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
7907         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
7908         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
7909         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
7910         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
7911         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
7912         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
7913         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
7914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
7915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
7916         Likewise.
7917         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
7918         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
7919         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
7920         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
7921         Alias to __posix_fadvise64_l32.
7922         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
7923         Add compat definition to posix_fadvise64.
7924         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
7925         Add versioned definition to posix_fadvise64.
7926         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
7927         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
7928         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
7929         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
7930         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
7932         * io/Makefile (tests): Add tst-posix_fallocate and
7933         tst-posix_fallocate64.
7934         * io/tst-posix_fallocate-common.c: New file.
7935         * io/tst-posix_fallocate.c: Likewise.
7936         * io/tst-posix_fallocate64.c: Likewise.
7937         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
7938         file.
7939         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
7940         Likewise.
7941         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
7942         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
7943         Likewise.
7944         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
7945         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
7946         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
7947         SYSCALL_LL to pass both offset and len arguments.
7948         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
7949         Likewise.
7950         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
7951         __libc_pwrite64 alias used by posix_fallocate64.
7953         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
7954         tst-fallocate64.
7955         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
7956         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
7957         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7958         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
7959         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
7960         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
7961         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
7962         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7963         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
7964         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
7965         macro on offset argument.
7966         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
7967         SYSCALL_LL64 on offset argument.
7969         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
7970         tst-fallocate64.
7971         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
7972         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
7973         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7974         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
7975         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
7976         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
7977         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
7978         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7979         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
7980         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
7981         macro on offset argument.
7982         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
7983         SYSCALL_LL64 on offset argument.
7984         * test-skeleton.c (FAIL_RET): Add macro.
7985         (FAIL_EXIT): Likewise.
7986         (FAIL_EXIT1): Likewise.
7987         (_FAIL): Likewise.
7989 2016-10-07  Florian Weimer  <fweimer@redhat.com>
7991         [BZ #20629]
7992         resolv: Remove RES_USEBSTRING and its implementation.
7993         * resolv/resolv.h (RES_USEBSTRING): Remove.
7994         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
7995         (digitvalue, encode_bitstring, decode_bitstring): Remove.
7996         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
7997         (labellen): Remove extended label types support.
7998         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
7999         * resolv/res_init.c (res_setoptions): Likewise.
8000         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8002 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8004         resolv: Remove RES_NOIP6DOTINT and its implementation.
8005         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
8006         (RES_NOIP6DOTINT): Remove.
8007         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
8008         handling.
8009         * resolv/res_debug.c (p_option): Likewise.
8010         * resolv/res_init.c (res_setoptions): Likewise.
8011         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8013 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8015         resolv: Deprecate unimplemented flags.
8016         * misc/sys/cdefs.h (__glibc_macro_warning1)
8017         (__glibc_macro_warning): Define.
8018         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
8019         (RES_KEEPTSIG): Mark as deprecated.
8020         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
8021         RES_NOCHECKNAME, RES_KEEPTSIG.
8022         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
8024 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8026         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
8027         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
8028         Use strong_alias to create symbols for glibc verison 2.19.
8030 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8032         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
8034 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8036         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
8038 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8040         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
8042 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8044         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8045         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
8046         in header for using it as type for ifunc function because __GI_* symbols
8047         for ppc32 do not target the ifunc symbols.
8048         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8050 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8052         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
8053         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
8054         libc_ifunc_hidden_def.
8055         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
8056         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
8057         Redirect ifunced function in header for using it as type of ifunc'ed
8058         function. Redefine libc_hidden_def to use fallback non ifunc'ed
8059         function for __GI_* symbol.
8060         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
8061         * include/libc-symbols.h
8062         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
8064 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8066         [BZ #20478]
8067         * sysdeps/s390/multiarch/ifunc-resolve.h
8068         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
8069         to create ifunc symbols.
8070         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
8071         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
8072         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
8073         for using it as type for ifunc function.
8074         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8075         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8076         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8077         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8078         * sysdeps/s390/multiarch/strcat.c: Likewise.
8079         * sysdeps/s390/multiarch/strchr.c: Likewise.
8080         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8081         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8082         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8083         * sysdeps/s390/multiarch/strlen.c: Likewise.
8084         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8085         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8086         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8087         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8088         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8089         * sysdeps/s390/multiarch/strspn.c: Likewise.
8090         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8091         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8092         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8093         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8094         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8095         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8096         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8097         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
8098         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
8099         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8100         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
8101         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
8103 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8105         * include/libc-symbols.h (__ifunc_resolver):
8106         New macro is used by __ifunc* macros.
8107         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
8108         depending on HAVE_GCC_IFUNC.
8109         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
8110         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
8111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8112         Redirect ifunced function in header for using as type for ifunc function.
8113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
8114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
8115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
8116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
8117         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8118         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8119         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8120         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8121         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8122         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8123         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8124         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8125         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8126         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
8129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
8131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8132         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8133         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8134         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8135         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8136         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8137         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8138         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8139         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8140         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8141         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8142         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8143         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8144         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
8145         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
8147         Add libc_hidden_def() and use libc_ifunc_hidden() macro
8148         instead of libc_ifunc() macro.
8149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
8150         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8152 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8154         * config.h.in (HAVE_GCC_IFUNC): New undef.
8155         * configure.ac: Add check if gcc supports attribute ifunc feature.
8156         * configure: Regenerated.
8157         * manual/install.texi: Add recommendation for gcc with
8158         indirect-function support.
8159         * INSTALL: Regenerated.
8161 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
8163         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
8164         macro.
8165         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8166         (__iseqsig): New declaration.
8167         * math/s_iseqsig_template.c: New file.
8168         * math/Versions (__iseqsigf): New libm symbol at version
8169         GLIBC_2.25.
8170         (__iseqsig): Likewise.
8171         (__iseqsigl): Likewise.
8172         * math/libm-test.inc (iseqsig_test_data): New array.
8173         (iseqsig_test): New function.
8174         (main): Call iseqsig_test.
8175         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
8176         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
8177         * manual/libm-err-tab.pl: Update comment on interfaces without
8178         ulps tabulated.
8179         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
8180         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
8181         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
8182         * sysdeps/nacl/libm.abilist: Update.
8183         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8184         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8185         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8186         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8187         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8188         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8189         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8190         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8191         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8192         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8193         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8194         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8196         Likewise.
8197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8198         Likewise.
8199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8200         Likewise.
8201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8202         Likewise.
8203         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8204         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8205         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8206         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8207         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8209         Likewise.
8210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8211         Likewise.
8212         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8213         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8214         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8216 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8218         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
8219         do_sincos_2, sloww, sloww1): Update comments.
8221         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
8222         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
8224         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
8225         K boolean and rename it.
8226         (__sin): Adjust.
8227         (__cos): Adjust.
8229 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8230             Siddhesh Poyarekar  <siddhesh@sourceware.org>
8232         * manual/nss.texi: Fix typos in the manual.
8234 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8236         * manual/contrib.texi: Fix typos in the manual.
8238         * manual/maint.texi: Fix typos in the manual.
8240         * manual/install.texi: Fix typos in the manual.
8241         * INSTALL: Regenerated.
8243         * manual/lang.texi: Fix typos in the manual.
8245         * manual/probes.texi: Fix typos in the manual.
8247         * manual/threads.texi: Fix typos in the manual.
8249         * manual/debug.texi: Fix typos in the manual.
8251         * manual/crypt.texi: Fix typos in the manual.
8253         * manual/conf.texi: Fix typos in the manual.
8255         * manual/sysinfo.texi: Fix typos in the manual.
8257         * manual/users.texi: Fix typos in the manual.
8259         * manual/job.texi: Fix typos in the manual.
8261         * manual/process.texi: Fix typos in the manual.
8263         * manual/argp.texi: Fix typos in the manual.
8264         * manual/getopt.texi: Likewise.
8265         * manual/startup.texi: Likewise.
8267         * manual/signal.texi: Fix typos in the manual.
8269         * manual/setjmp.texi: Fix typos in the manual.
8271         * manual/resource.texi: Fix typos in the manual.
8273         * manual/time.texi: Fix typos in the manual.
8275         * manual/arith.texi: Fix typos in the manual.
8277         * manual/math.texi: Fix typos in the manual.
8279         * manual/syslog.texi: Fix typos in the manual.
8281         * manual/terminal.texi: Fix typos in the manual.
8283         * manual/socket.texi: Fix typos in the manual.
8285         * manual/filesys.texi: Fix typos in the manual.
8287         * manual/llio.texi: Fix typos in the manual.
8289         * manual/stdio.text: Fix typos in the manual.
8291 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8293         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
8294         instead of K1.
8296         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
8297         SHIFT_QUADRANT and make it bool.
8298         (do_sincos_2): Likewise.
8299         (sloww): Likewise.
8300         (sloww1): Likewise.
8301         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
8302         (__cos): Likewise.
8304 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8306         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8308 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
8310         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
8311         Define to __WORDSIZE, not conditional on [LONG_MAX ==
8312         0x7fffffffL].
8313         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
8315 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8317         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
8318         inline by __inline__.
8319         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
8320         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
8321         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
8322         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
8323         sigset_t from signal.h.
8324         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
8325         which is already required.
8327 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
8329         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8331 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
8333         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
8334         (struct tcp_repair_window): New type.
8336 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8338         * libio/tst-memstream3.c: Include string.h.
8340 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8342         [BZ #18241]
8343         [BZ #20181]
8344         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
8345         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
8346         write position is at the end the buffer.
8347         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
8348         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
8349         (_IO_str_seekoff): Set correct offset from negative displacement and
8350         set EINVAL for invalid ones.
8351         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
8352         buffer length.
8353         (_IO_wstr_switch_to_get_mode): New function.
8354         (_IO_wstr_seekoff): Set correct offset from negative displacement and
8355         set EINVAL for invalid ones.
8356         * libio/tst-memstream3.c: New file.
8357         * libio/tst-wmemstream3.c: Likewise.
8358         * manual/examples/memstrm.c: Remove warning when priting size_t.
8360 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8362         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
8363         macro to use __builtin_fma.
8364         * sysdeps/x86_64/fpu/dla.h: Remove file.
8366         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8367         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
8368         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
8370 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
8372         [BZ #20292]
8373         * elf/Makefile (routines): Add dl-addr-obj.
8374         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
8375         tst-_dl_addr_inside_object.
8376         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
8377         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8378         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
8379         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8380         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
8381         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
8382         * elf/dl-open.c: Likewise.
8383         * elf/dl-addr-obj.c: New file.
8384         * elf/tst-_dl_addr_inside_object.c: New file.
8386 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8388         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
8389         <bits/iscanonical.h>.
8390         * bits/iscanonical.h: New file.
8391         * math/s_iscanonicall.c: Likewise.
8392         * math/Versions (__iscanonicall): New libm symbol at version
8393         GLIBC_2.25.
8394         * math/libm-test.inc (iscanonical_test_data): New array.
8395         (iscanonical_test): New function.
8396         (main): Call iscanonical_test.
8397         * math/Makefile (headers): Add bits/iscanonical.h.
8398         (type-ldouble-routines): Add s_iscanonicall.
8399         * manual/arith.texi (Floating Point Classes): Document
8400         iscanonical.
8401         * manual/libm-err-tab.pl: Update comment on interfaces without
8402         ulps tabulated.
8403         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
8404         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
8405         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
8406         Likewise.
8407         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8408         test-iscanonical-ldbl-128ibm.
8409         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
8410         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
8411         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
8412         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
8413         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8414         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8415         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8417         Likewise.
8418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8419         Likewise.
8420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8421         Likewise.
8422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8423         Likewise.
8424         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8425         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8427 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8429         * string/bits/string3.h: Remove C++ style comments.
8431 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8433         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
8434         instead of ternary condition.
8435         (do_sincos_2): Likewise.
8436         (__sin): Likewise.
8437         (__cos): Likewise.
8438         (slow): Likewise.
8439         (sloww): Likewise.
8440         (sloww1): Likewise.
8441         (bsloww): Likewise.
8442         (bsloww1): Likewise.
8444         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
8445         instead of ternary condition.
8446         (do_sin_slow): Likewise.
8447         (do_sincos_1): Likewise.
8448         (do_sincos_2): Likewise.
8449         (__cos): Likewise.
8450         (sloww): Likewise.
8451         (sloww1): Likewise.
8452         (sloww2): Likewise.
8453         (bsloww): Likewise.
8454         (bsloww1): Likewise.
8455         (bsloww2): Likewise.
8457         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
8458         check from here...
8459         (slow2): ... and here...
8460         (__sin): ... to here.
8462 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
8464         * math/math.h
8465         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
8466         Cast argument to its own type.
8467         * math/test-iszero-excess-precision.c: New file.
8468         * math/Makefile (tests): Add test-iszero-excess-precision.
8469         (CFLAGS-test-iszero-excess-precision.c): New variable.
8471 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
8473         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
8474         field, add err field.
8475         (__spawni_child): Report error through err member instead of pipe.
8476         (__spawnix): Likewise.
8478 2016-09-28  Zack Weinberg  <zackw@panix.com>
8480         * scripts/check-installed-headers.sh: Generalize treatment of
8481         sys/elf.h to all target architectures.
8483         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
8484         deleted typedef ucontext_t.
8486 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8488         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
8489         (__INTERNAL_SYSCALL1): Likewise.
8490         (__INTERNAL_SYSCALL2): Likewise.
8491         (__INTERNAL_SYSCALL3): Likewise.
8492         (__INTERNAL_SYSCALL4): Likewise.
8493         (__INTERNAL_SYSCALL5): Likewise.
8494         (__INTERNAL_SYSCALL6): Likewise.
8495         (__INTERNAL_SYSCALL7): Likewise.
8496         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
8497         (__INTERNAL_SYSCALL_NARGS): Likewise.
8498         (__INTERNAL_SYSCALL_DISP): Likewise.
8499         (INTERNAL_SYSCALL_CALL): Likewise.
8500         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
8501         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
8502         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
8503         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
8504         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
8505         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
8506         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
8507         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
8508         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
8509         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
8510         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
8511         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
8512         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
8514 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
8516         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
8517         macro.
8518         * math/libm-test.inc (iszero_test_data): New array.
8519         (iszero_test): New function.
8520         (main): Call iszero_test.
8521         * manual/arith.texi (Floating Point Classes): Document iszero.
8522         * manual/libm-err-tab.pl: Update comment on interfaces without
8523         ulps tabulated.
8525 2016-09-23  Zack Weinberg  <zackw@panix.com>
8527         * scripts/check-installed-headers.sh: New script.
8528         * Rules: In each directory that defines header files to be installed,
8529         run check-installed-headers.sh on them as a special test.
8530         * Makefile: Likewise for the headers installed at top level.
8532         * include/aliases.h, include/alloca.h, include/argz.h
8533         * include/arpa/nameser.h, include/arpa/nameser_compat.h
8534         * include/elf.h, include/envz.h, include/err.h
8535         * include/execinfo.h, include/fpu_control.h, include/getopt.h
8536         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
8537         * include/link.h, include/malloc.h, include/mcheck.h
8538         * include/mntent.h, include/netinet/ether.h
8539         * include/nss.h, include/obstack.h, include/printf.h
8540         * include/pty.h, include/resolv.h, include/rpc/auth.h
8541         * include/rpc/auth_des.h, include/rpc/auth_unix.h
8542         * include/rpc/clnt.h, include/rpc/des_crypt.h
8543         * include/rpc/key_prot.h, include/rpc/netdb.h
8544         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
8545         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
8546         * include/rpc/rpc_msg.h, include/rpc/svc.h
8547         * include/rpc/svc_auth.h, include/rpc/xdr.h
8548         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
8549         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
8550         * include/rpcsvc/ypupd.h, include/shadow.h
8551         * include/stdio_ext.h, include/sys/epoll.h
8552         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
8553         * include/sys/prctl.h, include/sys/profil.h
8554         * include/sys/statfs.h, include/sys/sysctl.h
8555         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
8556         * sysdeps/arm/nacl/include/bits/setjmp.h
8557         * sysdeps/mips/include/sys/asm.h
8558         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
8559         * sysdeps/unix/sysv/linux/include/sys/timex.h
8560         * sysdeps/x86/fpu/include/bits/fenv.h:
8561         Add #ifndef _ISOMAC guard around internal declarations.
8562         Add multiple-inclusion guard if not already present.
8564 2016-09-23  Zack Weinberg  <zackw@panix.com>
8566         * sysdeps/generic/sys/ucontext.h
8567         * sysdeps/arm/sys/ucontext.h
8568         * sysdeps/i386/sys/ucontext.h
8569         * sysdeps/m68k/sys/ucontext.h
8570         * sysdeps/mips/sys/ucontext.h
8571         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
8572         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
8573         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
8574         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
8575         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
8576         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
8577         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
8578         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
8579         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
8580         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
8581         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
8582         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
8583         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
8584         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
8585         Include both bits/sigcontext.h and bits/sigstack.h.
8586         Fix grammar error in comment, if present.
8588         * bits/sigstack.h
8589         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
8590         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
8591         * sysdeps/unix/sysv/linux/bits/sigstack.h
8592         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
8593         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
8594         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
8595         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
8596         * bits/sigcontext.h
8597         * sysdeps/mach/hurd/i386/bits/sigcontext.h
8598         * sysdeps/unix/sysv/linux/bits/sigcontext.h
8599         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
8600         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
8601         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
8602         as well as signal.h, if this was not already allowed.  Request
8603         definition of size_t if necessary.  Minimize semantically-null
8604         differences across files.
8606 2016-09-23  Zack Weinberg  <zackw@panix.com>
8608         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
8609         Remove all logic conditional on __need macros.  Move all the
8610         conditionally defined types to their own headers...
8611         * time/bits/types/clock_t.h: Define clock_t here.
8612         * time/bits/types/clockid_t.h: Define clockid_t here.
8613         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
8614         * time/bits/types/struct_timespec.h: Define struct timespec here.
8615         * time/bits/types/struct_timeval.h: Define struct timeval here.
8616         * time/bits/types/struct_tm.h: Define struct tm here.
8617         * time/bits/types/time_t.h: Define time_t here.
8618         * time/bits/types/timer_t.h: Define timer_t here.
8619         * time/Makefile: Install the new headers.
8621         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
8622         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
8623         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
8624         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
8625         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
8626         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
8627         * sysdeps/unix/sysv/linux/bits/resource.h
8628         * sysdeps/unix/sysv/linux/bits/timex.h
8629         * sysdeps/unix/sysv/linux/mips/bits/resource.h
8630         * sysdeps/unix/sysv/linux/net/ppp_defs.h
8631         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
8632         * sysdeps/unix/sysv/linux/sys/acct.h
8633         * sysdeps/unix/sysv/linux/sys/timerfd.h
8634         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
8635         * time/sys/time.h, time/sys/timeb.h
8636         Use the new bits/types headers.
8638         * include/time.h: Remove __need logic.
8639         * include/bits/time.h
8640         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
8641         * include/bits/types/time_t.h, include/bits/types/timer_t.h
8642         * include/bits/types/struct_itimerspec.h
8643         * include/bits/types/struct_timespec.h
8644         * include/bits/types/struct_timeval.h
8645         * include/bits/types/struct_tm.h:
8646         New wrapper headers.
8648 2016-09-23  Zack Weinberg  <zackw@panix.com>
8650         * sysdeps/mach/hurd/net/if_ppp.h
8651         * sysdeps/unix/sysv/linux/net/if_ppp.h:
8652         Only define struct ifpppstatsreq and struct ifpppcstatsreq
8653         if __USE_MISC is defined, to ensure struct ifreq is declared.
8655         * inet/netinet/ether.h: Condition all function prototypes
8656         on __USE_MISC, to ensure struct ether_addr is declared.
8658         * socket/bits/types/struct_osockaddr.h: New header.
8659         * include/bits/types/struct_osockaddr.h: New wrapper.
8660         * socket/Makefile: Install the new header.
8661         * socket/sys/socket.h, inet/protocols/talkd.h:
8662         Refer to bits/types/struct_osockaddr.h for the definition of
8663         struct osockaddr.
8665 2016-09-23  Zack Weinberg  <zackw@panix.com>
8667         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
8668         * inet/protocols/routed.h, inet/protocols/talkd.h
8669         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
8670         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
8671         * sysdeps/generic/netinet/if_ether.h
8672         * sysdeps/generic/netinet/in_systm.h
8673         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
8674         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
8675         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
8676         * sysdeps/mach/hurd/net/if_arp.h
8677         * sysdeps/mach/hurd/net/if_ppp.h
8678         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
8679         * sysdeps/unix/sysv/linux/bits/in.h
8680         * sysdeps/unix/sysv/linux/net/ethernet.h
8681         * sysdeps/unix/sysv/linux/net/if_arp.h
8682         * sysdeps/unix/sysv/linux/net/if_ppp.h
8683         * sysdeps/unix/sysv/linux/net/if_shaper.h
8684         * sysdeps/unix/sysv/linux/net/route.h
8685         * sysdeps/unix/sysv/linux/netinet/if_ether.h
8686         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
8687         * sysdeps/unix/sysv/linux/netinet/if_tr.h
8688         * sysdeps/unix/sysv/linux/netipx/ipx.h
8689         * sysdeps/unix/sysv/linux/sys/acct.h
8690         * include/arpa/nameser.h, include/resolv.h:
8691         Change all uses of u_char to unsigned char,
8692         u_short and ushort to unsigned short, u_int and uint to unsigned int,
8693         u_long and ulong to unsigned long, u_int8_t to uint8_t,
8694         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
8695         and u_int64_t and u_quad_t to uint64_t.
8697         * mach/sys/reboot.h: Remove two casts of integer literals
8698         to the types they already have.
8700         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
8701         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
8702         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
8703         from referring to 'unsigned char' to 'uint8_t' for consistency with
8704         the macro definition below.
8706         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
8707         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
8708         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
8709         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
8710         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
8711         * sysdeps/unix/sysv/linux/sys/acct.h
8712         * include/arpa/nameser.h, include/resolv.h:
8713         Fix indentation disrupted by mechanical edits.
8715         * inet/protocols/talkd.h, resolv/arpa/nameser.h
8716         * sysdeps/generic/netinet/in_systm.h
8717         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
8718         * sysdeps/gnu/netinet/udp.h
8719         * sysdeps/unix/sysv/linux/net/ethernet.h
8720         * sysdeps/unix/sysv/linux/net/if_arp.h
8721         * sysdeps/unix/sysv/linux/net/if_ppp.h
8722         * sysdeps/unix/sysv/linux/net/if_shaper.h
8723         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
8724         * sysdeps/unix/sysv/linux/netinet/if_tr.h
8725         * sysdeps/unix/sysv/linux/netipx/ipx.h
8726         * sysdeps/unix/sysv/linux/sys/acct.h
8727         Include stdint.h for uintNN_t definitions.
8728         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
8730 2016-09-23  Zack Weinberg  <zackw@panix.com>
8732         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
8733         * sysdeps/unix/sysv/linux/netrose/rose.h:
8734         Include sys/socket.h and netax25/ax25.h.
8736         * inet/netinet/icmp6.h, inet/netinet/ip6.h
8737         * resolv/arpa/nameser_compat.h:
8738         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
8740         * sysdeps/unix/sysv/linux/sys/quota.h:
8741         Use __caddr_t instead of caddr_t.
8742         * sysdeps/unix/sysv/linux/sys/timerfd.h:
8743         Use __clockid_t instead of clockid_t.
8745         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
8747         * argp/argp.h: Check whether _LIBC is defined before expanding it.
8748         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
8749         expanding it.
8751         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
8752         Define __glibc_c99_flexarr_available to 1 when the compiler
8753         supports C99-compatible flexible array members, 0 otherwise.
8754         * sysdeps/unix/sysv/linux/bits/socket.h
8755         * sysdeps/mach/hurd/bits/socket.h
8756         * bits/socket.h: Use __glibc_c99_flexarr_available in
8757         definitions of struct cmsghdr and CMSG_DATA.
8759 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8761         * manual/nss.texi (NSS Modules Interface): Adjust function return
8762         type to enum nss_status.  Document errnop argument.  Clarify
8763         h_errnop semantics.  Fix cross-reference formatting.
8764         (NSS Module Function Internals): Mention that *errnop needs to be
8765         set on failure, but not to zero.
8767 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8769         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
8770         (get_random_name): New functions.
8771         (check_wrapper_flags_mode): Use linkat to give the new file a name
8772         determined by get_random_name.
8773         (do_test): Add calls to test open64 and openat64.
8775 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8777         * test-skeleton.c: Remove #include <stdarg.h>.
8779 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
8781         [BZ #19826]
8782         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
8783         initialization of static TLS entries.
8784         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
8785         * nptl/allocatestack.c (init_one_static_tls): Likewise.
8787 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8789         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
8790         _hurd_malloc_fork_prepare.
8791         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
8792         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
8793         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
8794         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
8795         (_hurd_fork_child_hook): Drop malloc_fork_child.
8796         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
8797         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
8798         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
8799         after locking locks (notably hurd_dtable_lock). Call
8800         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
8801         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
8802         __malloc_fork_unlock_child.
8803         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
8805 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
8807         * soft-fp/extendhftf2.c: New.
8808         * soft-fp/fixhfti.c: Likewise.
8809         * soft-fp/fixunshfti.c: Likewise.
8810         * soft-fp/floattihf.c: Likewise.
8811         * soft-fp/floatuntihf.c: Likewise.
8812         * soft-fp/half.h: Likewise.
8813         * soft-fp/trunctfhf2.c: Likewise.
8815 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
8817         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
8818         macro.
8819         * math/libm-test.inc (issubnormal_test_data): New array.
8820         (issubnormal_test): New function.
8821         * manual/arith.texi (Floating Point Classes): Document
8822         issubnormal.
8823         * manual/libm-err-tab.pl: Update comment on interfaces without
8824         ulps tabulated.
8826         * sysdeps/generic/stdint.h: Define
8827         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8828         <bits/libc-header-start.h> instead of including <features.h>.
8829         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
8830         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
8831         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
8832         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
8833         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
8834         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
8835         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
8836         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
8837         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
8838         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
8839         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
8840         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
8841         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
8842         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
8843         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
8844         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
8845         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
8846         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
8847         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
8848         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
8849         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
8850         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
8851         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
8852         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
8853         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
8854         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
8855         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
8856         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
8857         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
8858         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
8859         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
8860         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
8861         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
8862         * manual/arith.texi (Integers): Document these macros for types
8863         specified by width properties.
8864         * manual/lang.texi (Width of Type): Document these macros for
8865         other standard typedefs.
8866         * stdlib/tst-width-stdint.c: New file.
8867         * stdlib/Makefile (tests): Add tst-width-stdint.
8869 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8871         [BZ #20016]
8872         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
8873         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
8874         Move ...
8875         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
8876         ... here, as compatibility symbols in a new file.
8877         * resolv/Makefile (libresolv-routines): Add compat-hooks.
8878         * resolv/res_init.c (__res_vinit): Adjust member names.
8879         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
8880         * resolv/resolv.h (res_sendhookact, res_send_qhook)
8881         (res_send_rhook): Remove.
8882         (struct __res_state): Rename qhook, rhook members.
8884 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8886         malloc: Use __libc_lock wrappers.
8887         * malloc/arena.c (list_lock, free_list_lock): Define using
8888         __libc_lock_define_initialized.
8889         (arena_lock): Adjust formatting.
8890         * malloc/malloc.c (struct malloc_state): Define mutex using
8891         __libc_lock_define.
8892         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
8893         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
8894         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
8895         (mutex_unlock, mutex_trylock): Remove.
8896         (__pthread_initialize): Remove unused macro.
8897         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
8898         (mutex_unlock, mutex_trylock): Remove.
8900 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8902         [BZ #20592]
8903         Remove RR type classification macros.
8904         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
8905         (ns_t_udp_p, ns_t_xfr_p): Remove.
8907 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8909         Remove misleading version information.
8910         * resolv/arpa/nameser.h (__NAMESER): Remove.
8911         * resolv/arpa/nameser_compat.h (__BIND): Remove.
8913 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8915         Remove the always-defined BIND_4_COMPAT macro.
8916         * resolv/arpa/nameser.h: Unconditionally include
8917         <arpa/nameser_compat.h>.
8918         (BIND_4_COMPAT): Remove.
8919         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
8921 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8923         [BZ #20591]
8924         Remove obsolete DNSSEC support.
8925         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
8926         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
8927         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
8928         (ns_verify_tcp, ns_verify_tcp_init): Remove.
8929         (ns_cert_types): Add comment.
8930         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
8931         separately.
8932         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
8933         (dst_s_dns_key_id): Remove.
8934         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
8935         variables.
8937 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8939         [BZ #20524]
8940         * manual/string.texi (String/Array Comparison): Clarify the
8941         strverscmp behavior.
8943 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8945         * test-skeleton.c (xasprintf): Add function.
8946         * io/tst-open-tmpfile.c: New test.
8947         * io/Makefile (tests): Add it.
8949 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8951         Avoid running $(CXX) during build to obtain header file paths.
8952         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
8953         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
8954         * Makerules (cstdlib, cmath): Remove variables.  Use
8955         $(c++-cstdlib-header), $(c++-cmath-header) instead.
8956         * configure: Regenerate.
8958 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8960         * Makeconfig (all-object-suffixes): Include .op only if
8961         $(build-profile).
8963 2016-09-21  Florian Weimer  <fweimer@redhat.com>
8965         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
8966         conditionals.  Do not define PATH_MAX.
8968 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8970         * posix/Makefile (tests): Add tst-spawn3.
8971         * posix/tst-spawn3.c: New file.
8972         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
8973         if it is already opened for open action.
8975         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
8976         all signals when executing the clone vfork child.
8977         (SIGALL_SET): Remove macro.
8979         * nptl/Makefile (tests): Add tst-exec5.
8980         * nptl/tst-exec5.c: New file.
8981         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
8982         asynchronous cancellation.
8984 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8986         * hurd/exc2signal.c: #include <hurd/signal.h>
8987         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
8988         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
8989         accordingly.
8990         * mach/mach_error.c (mach_error): Fix old-style function definition.
8991         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
8993 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8995         * math/Makefile (libm-calls): Remove s_nanF.
8996         (gen-libm-calls): Add s_nanF.
8998         * math/s_nan.c: Refactor into ...
8999         * math/s_nan_template.c: New file.
9001         * math/s_nanf.c: Removed.
9002         * math/s_nanl.c: Removed.
9003         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
9004         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
9006         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9007         (LDOUBLE_nanl_libm_version): New macro.
9009         * sysdeps/generic/math-type-macros-double.h:
9010         (M_STRTO_NAN): New macro.
9011         * sysdeps/generic/math-type-macros-float.h: Likewise.
9012         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9014         * sysdeps/generic/math-type-macros.h: Document
9015         M_STRTO_NAN.
9017 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9019         * math/s_nanf.c: Remove __nanf undef.
9020         * math/s_nan.c: Remove __nan undef.
9021         * math/s_nanl.c: Remove __nanl undef.
9023         * sysdeps/generic/math_private.h (__nan): Remove macro
9024         override.
9025         (__nanf): Likewise.
9026         (__nanl): Likewise.
9028 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9030         * math/Makefile (gen-all-calls): New variable.
9031         (generated): Replace gen-libm-calls with gen-all-calls.
9032         (gen-libm-templates.stmp): Likewise.  Also, ensure
9033         the output directory exists or is created and add
9034         dependency on the Makefile.
9035         (calls): Move s_ldexpF into gen-calls.
9036         (gen-calls): New variable.
9038         * math/s_ldexpf.c: Removed.
9039         * math/s_ldexpl.c: Removed.
9040         * math/s_ldexp.c: Refactored into ...
9041         * math/s_ldexp_template.c: New file.
9043         * sysdeps/generic/math-type-macros-double.h: Remove
9044         redundant fall-through definition of declare_mgen_alias.
9045         (declare_mgen_alias_2): New macro.
9047         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
9048         New macro for function aliased to two exported symbols.
9050         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
9051         new template file.
9052         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9054 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9056         * Makeconfig (all-object-suffixes): Remove .og.
9057         * Makerules (elide-routines.og): Remove.
9058         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
9059         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
9060         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
9062 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9064         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
9065         .os objects.
9067 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9069         [BZ #20615]
9070         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
9071         fpu directory by non-fpu.
9072         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
9073         on non-fpu directory from a fpu directory.
9075 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
9077         * include/limits.h: Define
9078         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9079         <bits/libc-header-start.h> instead of including <features.h>.
9080         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
9081         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
9082         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
9083         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
9084         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
9085         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
9086         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
9087         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
9088         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9089         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
9090         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
9091         * manual/lang.texi (Width of Type): Document these macros.
9092         * stdlib/tst-width.c: New file.
9093         * stdlib/Makefile (tests): Add tst-width.
9095 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9097         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
9098         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
9100 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9102         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
9103         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9104         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9106 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9108         [BZ #18243]
9109         * rt/Makefile (test): Add tst-shm-cancel.
9110         * rt/tst-shm-cancel.c: New file.
9111         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
9113         [BZ #18243]
9114         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
9115         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
9116         definition.
9117         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
9118         uncontended case.
9119         * nptl/sem_wait.c (__new_sem_wait): Likewise.
9120         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
9121         (tf): Fix check for uncontended case.
9122         (do_test): Likewise.
9123         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
9124         (tf): Fix check for uncontended case.
9125         (do_test): Likewise.
9126         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
9127         (tf): Fix check for uncontended case.
9128         (do_test): Likewise.
9129         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
9130         (tf): Fix check for uncontended case.
9131         (do_test): Likewise.
9133         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
9134         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
9136         [BZ #15765]
9137         * nptl/Makefile (tests): Add tst-sem16.
9138         * nptl/tst-sem16.c: New file.
9139         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
9141         * nptl/sem_open.c (sem_open): Init pad value to 0.
9142         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9143         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9145 2016-09-15  Florian Weimer  <fweimer@redhat.com>
9147         [BZ #20611]
9148         * inet/Makefile (routines): Add inet6_scopeid_pton.
9149         (tests): Add tst-inet6_scopeid_pton.
9150         * inet/inet6_scopeid_pton.c: New file.
9151         * inet/net-internal.h: Likewise.
9152         * inet/tst-inet6_scopeid_pton.c: New test.
9153         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
9154         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
9155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9157 2016-09-14  Florian Weimer  <fweimer@redhat.com>
9159         Remove support for compiling wrappers with PTW.
9160         * sysdeps/nptl/Makeconfig: Drop ptw- support.
9161         * nptl/Makefile (pthread-compat-wrappers): Define.
9162         (libpthread-routines): Use pthread-compat-wrappers.
9163         * sysdeps/unix/sysv/linux/alpha/Makefile
9164         (libpthread-routines, libpthread-shared-only-routines): Remove
9165         ptw- prefix.
9166         * sysdeps/s390/nptl/Makefile
9167         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9168         * sysdeps/ia64/nptl/Makefile
9169         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9170         * sysdeps/nacl/Makefile (libpthread-routines): Use
9171         pthread-compat-wrappers to filter the routines list instead of the
9172         ptw- prefix.
9174 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9176         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
9177         with L() and remove explicit suffix, convert real literals
9178         which can be equivalentally substituted with integers, and
9179         transform -L(x) to L(-x).
9181         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9182         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9183         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9184         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9185         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9186         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9187         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9188         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9189         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9190         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9191         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9192         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9193         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9194         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9195         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9196         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9197         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9198         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9199         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9200         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9201         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9202         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9203         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9204         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9205         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9206         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9207         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9208         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9209         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9210         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9211         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9212         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9213         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9214         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9215         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9216         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9217         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9218         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9219         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9220         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9221         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9222         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9223         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9224         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9225         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9226         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9227         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9228         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
9229         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9230         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9232 2016-09-13  Florian Weimer  <fweimer@redhat.com>
9234         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
9236 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9238         * malloc/Makefile (tests): Remove individual static test names
9239         and just add all of tests-static.
9241         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
9243 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
9245         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
9246         file.
9248         * sysdeps/sparc/fpu/fegetmode.c: New file.
9249         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
9251         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
9252         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
9254         * sysdeps/s390/fpu/fegetmode.c: New file.
9255         * sysdeps/s390/fpu/fesetmode.c: Likewise.
9257         * sysdeps/powerpc/fpu/fegetmode.c: New file.
9258         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
9259         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
9260         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
9261         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
9262         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
9264         * sysdeps/mips/fpu/fegetmode.c: New file.
9265         * sysdeps/mips/fpu/fesetmode.c: Likewise.
9267         * sysdeps/m68k/fpu/fegetmode.c: New file.
9268         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
9270         * sysdeps/ia64/fpu/fegetmode.c: New file.
9271         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
9273         * sysdeps/hppa/fpu/fegetmode.c: New file.
9274         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
9276         * sysdeps/arm/fegetmode.c: New file.
9277         * sysdeps/arm/fesetmode.c: Likewise.
9279         * sysdeps/alpha/fpu/fegetmode.c: New file.
9280         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
9282         * sysdeps/aarch64/fpu/fegetmode.c: New file.
9283         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
9285         * math/fegetmode.c: New file.
9286         * math/fesetmode.c: Likewise.
9287         * sysdeps/i386/fpu/fegetmode.c: Likewise.
9288         * sysdeps/i386/fpu/fesetmode.c: Likewise.
9289         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
9290         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
9291         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
9292         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
9293         declaration.
9294         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
9295         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
9296         typedef.
9297         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9298         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9299         (femode_t): New typedef.
9300         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9301         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9302         (femode_t): New typedef.
9303         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9304         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9305         (femode_t): New typedef.
9306         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9307         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9308         (femode_t): New typedef.
9309         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9310         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9311         (femode_t): New typedef.
9312         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9313         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9314         (femode_t): New typedef.
9315         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9316         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9317         (femode_t): New typedef.
9318         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9319         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9320         (femode_t): New typedef.
9321         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9322         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9323         (femode_t): New typedef.
9324         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9325         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9326         (femode_t): New typedef.
9327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
9328         declaration.
9329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9330         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9331         (femode_t): New typedef.
9332         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9333         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9334         (femode_t): New typedef.
9335         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9336         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9337         (femode_t): New typedef.
9338         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9339         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9340         (femode_t): New typedef.
9341         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9342         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9343         (femode_t): New typedef.
9344         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9345         * manual/arith.texi (FE_DFL_MODE): Document macro.
9346         (fegetmode): Document function.
9347         (fesetmode): Likewise.
9348         * math/Versions (fegetmode): New libm symbol at version
9349         GLIBC_2.25.
9350         (fesetmode): Likewise.
9351         * math/Makefile (libm-support): Add fegetmode and fesetmode.
9352         (tests): Add test-femode and test-femode-traps.
9353         * math/test-femode-traps.c: New file.
9354         * math/test-femode.c: Likewise.
9355         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
9356         alias for __fe_dfl_env.
9357         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
9358         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
9359         (__fe_dfl_mode): Likewise.
9360         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
9361         version GLIBC_2.25.
9362         * sysdeps/nacl/libm.abilist: Update.
9363         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9364         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9365         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9366         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9367         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9368         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9369         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9370         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9371         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9372         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9373         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9374         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9376         Likewise.
9377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9378         Likewise.
9379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9380         Likewise.
9381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9382         Likewise.
9383         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9384         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9385         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9386         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9387         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9389         Likewise.
9390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9391         Likewise.
9392         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9393         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9394         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9396 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9398         [BZ #20495]
9399         [BZ #20508]
9400         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
9401         processors, set Use_dl_runtime_resolve_slow and set
9402         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
9403         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
9404         New.
9405         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
9406         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
9407         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
9408         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
9409         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
9410         if Use_dl_runtime_resolve_opt is set.  Use
9411         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
9412         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
9413         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
9414         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
9415         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
9416         New.
9417         (_dl_runtime_resolve_opt): Likewise.
9418         (_dl_runtime_profile): Define only if _dl_runtime_profile is
9419         defined.
9421 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9423         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
9424         __libc_memalign with "+ RELA R_390_GLOB_DAT".
9426 2016-09-06  Florian Weimer  <fweimer@redhat.com>
9428         Convert malloc to __libc_lock.  Automated part, using this Perl
9429         s/// command:
9430           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
9431             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
9432         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
9433         conversion.
9435 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
9437         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
9438         (linknamespace-symlists-tests): Likewise.
9439         (linknamespace-header-tests): Likewise.
9441 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
9443         [BZ #19810]
9444         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
9445         * elf/tst-noload.c: New test case.
9446         * elf/Makefile (tests): Add tst-noload.
9448 2016-09-02  Roland McGrath  <roland@hack.frob.com>
9450         * sysdeps/nacl/dup.c: Add libc_hidden_def.
9452         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
9453         not any more.
9455         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
9457 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9459         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
9460         (do_cos_slow): Likewise.
9461         (do_sin): Likewise.
9462         (do_sin_slow): Likewise.
9463         (slow): Likewise.
9464         (slow1): Likewise.
9465         (slow2): Likewise.
9466         (sloww): Likewise.
9467         (sloww1): Likewise.
9468         (sloww2): Likewise.
9469         (bsloww): Likewise.
9470         (bsloww1): Likewise.
9471         (bsloww2): Likewise.
9472         (cslow2): Likewise.
9474         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
9476         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
9477         arguments.  Consolidate input partitioning from callers here.
9478         (do_cos_slow): Likewise.
9479         (do_sin): Likewise.
9480         (do_sin_slow): Likewise.
9481         (do_sincos_1): Remove the no longer necessary input partitioning.
9482         (do_sincos_2): Likewise.
9483         (__sin): Likewise.
9484         (__cos): Likewise.
9485         (slow1): Likewise.
9486         (slow2): Likewise.
9487         (sloww1): Likewise.
9488         (sloww2): Likewise.
9489         (bsloww1): Likewise.
9490         (bsloww2): Likewise.
9491         (cslow2): Likewise.
9493 2016-09-02  Florian Weimer  <fweimer@redhat.com>
9495         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
9496         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
9497         outside of allocated array.
9499 2016-09-02  Florian Weimer  <fweimer@redhat.com>
9501         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
9502         instead of MB_CUR_MAX to avoid variable-length array.
9504 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9506         * math/Makefile (libm-calls): Remove k_rem_pio2F.
9507         (type-double-routines): Add k_rem_pio2.
9508         (type-float-routines): Add k_rem_pio2f.
9510         * sysdeps/generic/math_private.h:
9511         (__kernel_rem_pio2l): Removed.
9513         * math/k_rem_pio2l.c: Removed.
9514         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
9515         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
9516         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
9517         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
9519 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9521         * math/Makefile (gen-libm-calls): Add s_fmin
9522         (libm-calls): Remove above.
9524         * math/s_fmin.c: Refactor into ...
9525         * math/s_fmin_template.c: New file.
9527         * math/s_fminf.c: Removed.
9528         * math/s_fminl.c: Removed.
9529         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9530         (LDOUBLE_fmin_libm_version): New macro.
9532         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
9533         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
9535 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9537         * math/Makefile: (gen-libm-calls): Add s_fmax.
9538         (libm-calls): Remove above.
9540         * math/s_fmax.c: Refactor into ...
9541         * math/s_fmax_template.c: New file.
9542         * math/s_fmaxf.c: Removed.
9543         * math/s_fmaxl.c: Removed.
9545         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9546         (LDOUBLE_fmaxl_libm_version): New macro.
9548         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
9549         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
9551         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
9552         s_fmin.c to pick the aarch64 version of the file.
9553         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
9554         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
9556 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9558         * math/Makefile: (gen-libm-calls): Add s_nextdown.
9559         (libm-calls): Remove above.
9561         * math/s_nextdown.c: Refactor into ...
9562         * math/s_nextdown_template.c: New file.
9563         * math/s_nextdownf.c: Removed.
9564         * math/s_nextdownl.c: Removed.
9566         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
9568 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9570         * math/Makefile (gen-libm-calls): Add s_fdim.
9571         (libm-calls): Move to above.
9573         * math/s_fdim.c: Renamed and refactored into to ...
9574         * math/s_fdim_template.c: New file.
9575         * math/s_fdiml.c: Removed.
9576         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
9577         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
9579         * sysdeps/generic/math-type-macros-double.h:
9580         (declare_mgen_alias): Don't declare if already declared.
9581         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
9582         Likewise.
9584         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9585         (declare_mgen_alias): Don't declare if already declared.
9586         (M_LIBM_NEED_COMPAT): Likewise.
9587         (declare_mgen_libm_compat): Likewise.
9588         (LDOUBLE_fdiml_libm_version): New macro.
9590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
9591         Include math/s_fdim.c now that ldbl-opt version is not needed.
9592         (declare_mgen_alias): New macro to disable aliasing.
9594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
9595         (declare_mgen_alias): Likewise.
9596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
9597         (declare_mgen_alias): Likewise.
9598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
9599         (declare_mgen_alias): Likewise.
9600         (M_LIBM_NEED_COMPAT): Likewise.
9602 2016-09-01  Florian Weimer  <fweimer@redhat.com>
9604         [BZ #20525]
9605         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
9606         Include <linux/quota.h>.
9607         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
9608         and btodb.
9609         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
9610         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
9611         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
9612         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
9613         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
9614         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
9615         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
9616         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
9617         types.
9618         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
9619         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
9621 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9623         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
9624         (gammal_positive): Fix spacing.
9625         (__ieee754_gammal_r): Likewise.
9627 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9629         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
9630         (_Float128): Define as long double, always.
9631         (L): Apply long double type suffix, always.
9633         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
9634         _Float128, excepting comments.
9636         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9637         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9638         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9639         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9640         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9641         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9642         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9643         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9644         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9645         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
9646         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9647         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9648         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9649         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9650         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9651         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9652         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9653         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9654         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9655         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9656         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9657         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9658         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9659         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9660         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9661         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9662         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9663         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
9664         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9665         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9666         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9667         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9668         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9669         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9670         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9671         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9672         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9673         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9674         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9675         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9676         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9677         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9678         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9679         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9680         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9681         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9682         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9683         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9684         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9685         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9686         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9687         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9688         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9689         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9690         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9691         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9692         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9693         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9694         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9695         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9696         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9697         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9698         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9699         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9700         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9701         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
9702         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9703         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9705         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
9706         _Float128, and include math_private.h.
9707         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9709         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
9710         long double semantics.
9711         (_Float128): Likewise.
9712         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
9713         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9714         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
9715         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
9717 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9719         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
9720         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
9721         * sysdeps/s390/configure: Regenerated.
9722         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
9723         instruction for raising over-/underflow if z196 zarch is supported
9724         by default.
9725         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
9727 2016-08-30  Svante Signell  <svante.signell@gmail.com>
9729         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
9730         it point to a dumb buffer for RPC to fill it.
9732 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9734         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
9735         instead of if/else.
9736         (do_sin_slow): Likewise.
9737         (do_sincos_1): Use fabs instead of if/else.
9738         (do_sincos_2): Likewise.
9739         (__sin): Likewise.
9740         (__cos): Likewise.
9741         (slow2): Likewise.
9742         (sloww): Likewise.
9743         (sloww1): Likewise.  Drop argument M.
9744         (sloww2): Use fabs instead of if/else.
9745         (bsloww): Likewise.
9746         (bsloww1): Likewise.
9747         (bsloww2): Likewise.
9749         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
9750         fall through comment.
9751         (do_sincos_1): Likewise.
9753         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
9754         Consolidate switch cases 0 and 2.
9756 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9758         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
9759         (libm-calls): Remove the above.
9761         * math/s_cexp_template.c: Update using type-generic macros.
9762         * math/s_clog10_template.c: Likewise.
9763         * math/s_cpow_template.c: Likewise.
9764         * math/s_clog_template.c: Likewise.
9765         * math/s_cproj_template.c: Likewise.
9766         * math/s_csqrt_template.c: Likewise.
9768         * math/s_cexp.c: Removed.
9769         * math/s_cexpf.c: Removed.
9770         * math/s_cexpl.c: Removed.
9771         * math/s_clog10.c: Removed.
9772         * math/s_clog10f.c: Removed.
9773         * math/s_clog10l.c: Removed.
9774         * math/s_cpow.c: Removed.
9775         * math/s_cpowf.c: Removed.
9776         * math/s_cpowl.c: Removed.
9777         * math/s_clog.c: Removed.
9778         * math/s_clogf.c: Removed.
9779         * math/s_clogl.c: Removed.
9780         * math/s_cproj.c: Removed.
9781         * math/s_cprojf.c: Removed.
9782         * math/s_cprojl.c: Removed.
9783         * math/s_csqrt.c: Removed.
9784         * math/s_csqrtf.c: Removed.
9785         * math/s_csqrtl.c: Removed.
9787         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
9788         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
9789         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
9790         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
9791         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
9792         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
9794         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
9795         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
9796         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
9797         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
9798         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
9799         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
9800         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
9801         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
9802         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
9803         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
9804         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
9806         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
9807         version.
9809         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
9810         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
9811         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
9812         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
9814 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9816         * s_cexp_template.c: Copy of s_cexp.c.
9817         * s_clog_template.c: Copy of s_clog.c.
9818         * s_clog10_template.c: Copy of s_clog10.c.
9819         * s_cpow_template.c: Copy of s_cpow.c.
9820         * s_cproj_template.c: Copy of s_cproj.c.
9821         * s_csqrt_template.c: Copy of s_csqrt.c.
9823 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9825         [BZ #20517]
9826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
9827         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
9828         exported.
9830 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
9832         * math/fetestexceptflag.c: New file.
9833         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
9834         Stefan Liebler.
9835         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9836         (fetestexceptflag): New function declaration.
9837         * manual/arith.texi (fetestexceptflag): Document function.
9838         * math/Versions (fetestexceptflag): New libm symbol at version
9839         GLIBC_2.25.
9840         * math/Makefile (libm-support): Add fetestexceptflag.
9841         (tests): Add test-fetestexceptflag.
9842         * math/test-fetestexceptflag.c: New file.
9843         * sysdeps/nacl/libm.abilist: Update.
9844         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9845         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9846         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9847         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9848         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9849         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9850         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9851         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9852         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9853         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9854         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9855         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9857         Likewise.
9858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9859         Likewise.
9860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9861         Likewise.
9862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9863         Likewise.
9864         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9865         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9866         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9867         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9868         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9870         Likewise.
9871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9872         Likewise.
9873         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9874         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9875         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9877 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9879         [BZ #20432]
9880         Avoid strong references to malloc-internal symbols when linking
9881         statically, to support statically interposed mallocs.
9882         * include/libc-symbols.h (call_function_static_weak): New macro.
9883         * malloc/Makefile (tests): Add tst-interpose-nothread,
9884         tst-interpose-thread, tst-interpose-static-nothread,
9885         tst-interpose-static-thread.
9886         (tests-static): Add tst-interpose-static-nothread,
9887         tst-interpose-static-thread.
9888         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
9889         tst-interpose-aux-thread.o.
9890         (test-extras): Add tst-interpose-aux-nothread,
9891         tst-interpose-aux-thread.
9892         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
9893         tst-interpose-aux-nothread.o.
9894         (tst-interpose-thread, tst-interpose-static-thread): Link with
9895         tst-interpose-aux-thread.o and libthread.
9896         * malloc/tst-interpose-aux-nothread.c: New file.
9897         * malloc/tst-interpose-aux-thread.c: Likewise.
9898         * malloc/tst-interpose-aux.c: Likewise.
9899         * malloc/tst-interpose-aux.h: Likewise.
9900         * malloc/tst-interpose-nothread.c: Likewise.
9901         * malloc/tst-interpose-skeleton.c: Likewise.
9902         * malloc/tst-interpose-static-nothread.c: Likewise.
9903         * malloc/tst-interpose-static-thread.c: Likewise.
9904         * malloc/tst-interpose-thread.c: Likewise.
9905         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
9906         * sysdeps/mach/hurd/fork.c (__fork): Only call
9907         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9908         __malloc_fork_unlock_child if defined.
9909         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9911 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9913         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
9914         timespec C99 designated initialization.
9916 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9918         [BZ #19946]
9919         Avoid expected SIGALRM signals.
9920         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
9921         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
9922         (xpthread_create, xpthread_detach, xpthread_join)
9923         (delayed_exit_thread, delayed_exit): New functions.
9924         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
9925         (tf): Use xpthread_cond_wait.
9926         (do_test): Likewise.  Replace alarm with delayed_exit.
9927         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9928         (do_test): Call delayed_exit.  Report failure.
9929         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9930         (do_test): Call delayed_exit.
9931         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9932         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
9933         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9934         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
9935         error.
9936         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
9937         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
9938         error.
9939         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
9940         (do_test): Call delayed_exit.
9941         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
9942         (do_test): Call delayed_exit.
9943         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
9944         (do_test): Call delayed_exit instead of alarm.  Use
9945         xpthread_mutex_lock.
9946         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
9947         (do_test): Call delayed_exit instead of alarm.  Use
9948         xpthread_mutex_lock.
9949         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
9950         (do_test): Call delayed_exit instead of alarm.
9951         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
9952         (do_test): Call delayed_exit instead of alarm.  Use
9953         xpthread_spin_lock.
9954         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
9955         (do_test): Call delayed_exit instead of alarm.  Use
9956         xpthread_join.
9958 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9960         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
9961         adjust CFA when allocating register save area on re-aligned
9962         stack.
9964 2016-08-26  Florian Weimer  <fweimer@redhat.com>
9966         * string/tst-cmp.c: New test.
9967         * string/Makefile (tests): Add it.
9969 2016-08-25  Mark Wielaard  <mark@klomp.org>
9971         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
9972         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
9973         (check_tree_recurse): Use newly defined accessors.
9974         (check_tree): Likewise.
9975         (maybe_split_for_insert): Likewise.
9976         (__tfind): Likewise.
9977         (__tdelete): Likewise.
9978         (trecurse): Likewise.
9979         (tdestroy_recurse): Likewise.
9980         (__tsearch): Likewise. And add asserts for malloc alignment.
9981         (__twalk): Cast root to node in case CHECK_TREE is defined.
9983 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9985         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
9987 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9989         * math/Makefile (libm-gen-calls): Add
9990         catan, catanh, ctan, ctanh.
9991         (libm-calls): Remove the above.
9993         * math/s_catan_template.c: Update using type-generic macros.
9994         * math/s_catanh_template.c: Likewise.
9995         * math/s_ctan_template.c: Likewise.
9996         * math/s_ctanh_template.c: Likewise.
9998         * math/s_catanf.c: Removed.
9999         * math/s_catan.c: Removed.
10000         * math/s_catanl.c: Removed.
10001         * math/s_catanhf.c: Removed.
10002         * math/s_catanh.c: Removed.
10003         * math/s_catanhl.c: Removed.
10004         * math/s_ctanf.c: Removed.
10005         * math/s_ctan.c: Removed.
10006         * math/s_ctanl.c: Removed.
10007         * math/s_ctanhf.c: Removed.
10008         * math/s_ctanh.c: Removed.
10009         * math/s_ctanhl.c: Removed.
10011         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
10012         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
10013         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
10014         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
10015         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
10016         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
10018         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
10019         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
10020         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
10021         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
10023 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10025         * s_catan_template.c: Copy of s_catan.c.
10026         * s_catanh_template.c: Copy of s_catanh.c.
10027         * s_ctan_template.c: Copy of s_ctan.c.
10028         * s_ctanh_template.c: Copy of s_ctanh.c.
10030 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10032         * math/Makefile (gen-libm-calls): Move
10033         casin, casinh, csin, csinh here.
10034         (libm-calls): Remove the above.
10036         * math/s_casin_template.c: Update using type-generic macros.
10037         * math/s_casinh_template.c: Likewise.
10038         * math/s_csin_template.c: Likewise.
10039         * math/s_csinh_template.c: Likewise.
10040         * math/k_casinh_template.c: Likewise.
10042         * math/s_casinf.c: Removed.
10043         * math/s_casin.c: Removed.
10044         * math/s_casinl.c: Removed.
10045         * math/s_casinh.c: Removed.
10046         * math/s_casinhf.c: Removed.
10047         * math/s_casinhl.c: Removed.
10048         * math/s_csin.c: Removed.
10049         * math/s_csinf.c: Removed.
10050         * math/s_csinl.c: Removed.
10051         * math/s_csinh.c: Removed.
10052         * math/s_csinhf.c: Removed.
10053         * math/s_csinhl.c: Removed.
10054         * math/k_casinh.c: Removed.
10055         * math/k_casinhf.c: Removed.
10056         * math/k_casinhl.c: Removed.
10058         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
10059         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
10060         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
10061         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
10063         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
10064         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
10065         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
10066         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
10067         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
10068         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
10069         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
10070         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
10072         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
10073         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
10074         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
10075         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
10077         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
10078         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
10079         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
10080         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
10082 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10084         * s_casin_template.c: Copy of s_casin.c.
10085         * s_casinh_template.c: Copy of s_casinh.c.
10086         * s_csin_template.c: Copy of s_csin.c.
10087         * s_csinh_template.c: Copy of s_csinh.c.
10088         * k_casinh_template.c: Copy of k_casinh.c.
10090 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10092         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
10094 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10096         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
10097         (mul_split) Remove, rename as mul_splitl, remove
10098         redundant float.h include, and include via mul_splitl.h
10100         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10101         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10102         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10103         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10104         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10106         * math/mul_splitl.h: New file.
10108         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
10109         Move into mul_split.h, and remove redundant float.h include.
10111         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10112         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10113         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10114         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
10116         * math/mul_split.h: New file.
10118 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10120         * math/Makefile (libm-gen-calls): Move
10121         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
10122         (libm-calls): Remove above.
10124         * math/s_cacos_template.c: Update using type-generic macros.
10125         * math/s_cacosh_template.c: Likewise.
10126         * math/s_ccos_template.c: Likewise.
10127         * math/s_ccosh_template.c: Likewise.
10129         * math/s_cacosf.c: Removed.
10130         * math/s_cacos.c: Removed.
10131         * math/s_cacosl.c: Removed.
10132         * math/s_cacoshf.c: Removed.
10133         * math/s_cacosh.c: Removed.
10134         * math/s_cacoshl.c: Removed.
10135         * math/s_ccosf.c: Removed.
10136         * math/s_ccos.c: Removed.
10137         * math/s_ccosl.c: Removed.
10138         * math/s_ccoshf.c: Removed.
10139         * math/s_ccosh.c: Removed.
10140         * math/s_ccoshl.c: Removed.
10142         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
10143         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
10144         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
10145         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
10146         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
10147         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
10149         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
10150         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
10151         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
10152         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
10154         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
10155         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
10156         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
10157         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
10159 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10161         * s_cacos_template.c: Copy of s_cacos.c.
10162         * s_cacosh_template.c: Copy of s_cacosh.c.
10163         * s_ccos_template.c: Copy of s_ccos.c.
10164         * s_ccosh_template.c: Copy of s_ccosh.c.
10166 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10168         * stdlib/tst-strtod-round-skeleton.c:
10169         Refactored from tst-strtod-round.c.
10171         (L_): New macro to apply literal modifier.
10172         (FNPFX): New macro to select str or wcs prefix.
10173         (CHAR): New macro to choose wchar_t or char.
10174         (STRM): New macro to choose printf for tested character type.
10176         (STRTO): New macro to choose appropriate string -> real function.
10177         (FNPFXS): Stringitized version of FNPFX.
10178         (STR): Support for above macro.
10179         (STRX): Likewise.
10181         (TEST): Update with above macros.
10182         (test): Likewise.
10183         (GEN_ONE_TEST): Likewise.
10184         (test_in_one_mode): Likewise.
10186         * stdlib/tst-strtod-round.c: New file.
10187         * wcsmbs/tst-wcstod-round.c: New file.
10189         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
10190         (tst-wcstod-round): Add libm depencency for fesetround.
10192 2016-08-19  Zack Weinberg  <zackw@panix.com>
10194         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
10196 2016-08-18  Torvald Riegel  <triegel@redhat.com>
10198         [BZ #20477]
10199         * resolv/res_hconf.c (do_init): Use atomic access.
10200         * resolv/res_hconf.h: Add comments.
10201         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
10202         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
10203         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10205 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10207         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10208         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
10209         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10210         Likewise.
10212 2016-08-18  Florian Weimer  <fweimer@redhat.com>
10214         [BZ #16907]
10215         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
10216         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
10217         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
10218         (__attribute__): Remove definition.
10220 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10222         * sysdeps/ieee754/ldbl-128/e_asinl.c:
10223         Remove unused sqrtl declaration.
10225 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10227         * math/Makefile: (gen-libm-templates.stmp): New rule.
10228         (libm-calls): Move carg conj cimag and cabs into ...
10229         (gen-libm-calls): New variable.
10230         (generated): Inform Make objects from gen-libm-calls
10231         may be generated.
10233         * sysdeps/generic/math-type-macros.h: New file.
10234         * sysdeps/generic/math-type-macros-float.h: Likewise.
10235         * sysdeps/generic/math-type-macros-double.h: Likewise.
10236         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10237         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
10238         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
10240         * math/cabs.c: Refactor into
10241         * math/cabs_template.c: new file.
10242         * math/cabsf.c: Removed.
10243         * math/cabsl.c: Removed.
10244         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
10245         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
10247         * math/carg.c: Refactor into
10248         * math/carg_template.c: new file.
10249         * math/cargf.c: Removed.
10250         * math/cargl.c: Removed.
10251         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
10252         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
10254         * math/conj.c: Refactor into
10255         * math/conj_template.c: new file.
10256         * math/conjf.c: Removed.
10257         * math/conjl.c: Removed.
10258         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
10259         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
10261         * math/cimag.c: Refactor into
10262         * math/cimag_template.c: new file.
10263         * math/cimagf.c: Removed.
10264         * math/cimagl.c: Removed.
10265         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10266         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10268         * math/cimag.c: Refactor into
10269         * math/cimag_template.c: new file.
10270         * math/cimagf.c: Removed.
10271         * math/cimagl.c: Removed.
10272         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10273         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10275 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10277         Reduce time to expected nptl/tst-once5 failure.
10278         * nptl/tst-once5.cc (TIMEOUT): Define.
10280 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10282         [BZ #20452]
10283         Avoid additional copies of objects in libc.a in static libraries.
10284         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
10285         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
10286         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
10287         rt-sysdep.
10288         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
10289         Add nptl-sysdep.
10290         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
10291         Add ptw-sysdep.
10292         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
10293         rt-sysdep.
10294         * sysdeps/unix/sysv/linux/alpha/Makefile
10295         (libpthread-shared-only-routines): Add ptw-sysdep,
10296         ptw-sigprocmask, ptw-rt_sigaction.
10297         * sysdeps/unix/sysv/linux/ia64/Makefile
10298         (librt-shared-only-routines): Add rt-sysdep.
10299         * sysdeps/unix/sysv/linux/i386/Makefile
10300         (libpthread-shared-only-routines): Add libc-do-syscall.
10301         * sysdeps/unix/sysv/linux/microblaze/Makefile
10302         (libpthread-shared-only-routines): Add sysdep.
10303         * sysdeps/unix/sysv/linux/powerpc/Makefile
10304         (librt-shared-only-routines): Add rt-sysdep.
10305         (libpthread-shared-only-routines): Add sysdep.
10306         * sysdeps/unix/sysv/linux/s390/Makefile
10307         (librt-shared-only-routines): Add rt-sysdep.
10308         * sysdeps/unix/sysv/linux/sparc/Makefile
10309         (librt-shared-only-routines): Add rt-sysdep.
10310         (libpthread-shared-only-routines): Add sysdep.
10311         * sysdeps/unix/sysv/linux/tile/Makefile
10312         (libpthread-shared-only-routines): Likewise.
10314 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
10316         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
10317         Mask implicit bit out of unpacked value.
10318         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
10319         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
10320         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
10322         * sysdeps/sparc/fpu/fesetexcept.c: New file.
10324         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
10326         * sysdeps/s390/fpu/fesetexcept.c: New file.
10328         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
10329         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
10330         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
10332         * sysdeps/mips/fpu/fesetexcept.c: New file.
10334         * sysdeps/m68k/fpu/fesetexcept.c: New file.
10336         * sysdeps/ia64/fpu/fesetexcept.c: New file.
10338         * sysdeps/hppa/fpu/fesetexcept.c: New file.
10340         * sysdeps/arm/fesetexcept.c: New file.
10342         * sysdeps/alpha/fpu/fesetexcept.c: New file.
10344         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
10346         * math/fesetexcept.c: New file.
10347         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
10348         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
10349         * math/fenv.h: Define
10350         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10351         <bits/libc-header-start.h> instead of including <features.h>.
10352         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
10353         declaration.
10354         * manual/arith.texi (fesetexcept): Document function.
10355         * math/Versions (fesetexcept): New libm symbol at version
10356         GLIBC_2.25.
10357         * math/Makefile (libm-support): Add fesetexcept.
10358         (tests): Add test-fesetexcept and test-fesetexcept-traps.
10359         * math/test-fesetexcept.c: New file.
10360         * math/test-fesetexcept-traps.c: Likewise.
10361         * sysdeps/nacl/libm.abilist: Update.
10362         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10363         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10364         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10365         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10366         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10367         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10368         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10369         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10370         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10371         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10372         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10373         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10375         Likewise.
10376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10377         Likewise.
10378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10379         Likewise.
10380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10381         Likewise.
10382         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10383         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10384         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10385         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10386         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10388         Likewise.
10389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10390         Likewise.
10391         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10392         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10393         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10395 2016-08-16  Florian Weimer  <fweimer@redhat.com>
10397         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
10398         New.
10399         (do_test): Apply default_stack_size_in_mb if not set.
10400         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
10402 2016-08-15  Andreas Schwab  <schwab@suse.de>
10404         [BZ #20435]
10405         CVE-2016-6323
10406         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
10407         as .cantunwind.
10409 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
10411         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
10412         comment from fraiseexcpt.c.
10414         * math/test-fexcept.c (feraiseexcept_exact): New function.
10415         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
10416         (test_except): Likewise.
10418 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
10420         [BZ #20455]
10421         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
10422         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
10423         to be restored.
10425         * math/test-fexcept-traps.c: New file.
10426         * math/test-fexcept.c: Likewise.
10427         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
10428         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
10429         macro.
10430         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
10431         (EXCEPTION_SET_FORCES_TRAP): Likewise.
10433 2016-08-09  Torvald Riegel  <triegel@redhat.com>
10435         * include/atomic.h (atomic_fetch_and_relaxed,
10436         atomic_fetch_and_release, atomic_fetch_or_release,
10437         atomic_fetch_xor_release): New.
10439 2016-08-06  Christian Seiler  <christian@iwakd.de>
10441         [BZ #20444]
10442         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
10443         MACH_PORT_NULL.
10445 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10447         * math/s_fdim.c: Avoid alias renamed.
10448         * math/s_fdimf.c: Likewise.
10449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10450         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10451         Add s_fdimf-vis3, s_fdim-vis3.
10452         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10453         (CFLAGS-s_fdim-vis3.c): Likewise.
10454         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
10455         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
10457 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10460         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10461         Remove s_fdimf-vis3, s_fdim-vis3.
10462         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
10463         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
10464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
10465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
10466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
10467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
10468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
10469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
10470         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
10471         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
10473 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10475         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
10476         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
10477         -Wa,-Av9a -mvis.
10479 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10481         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
10482         LIT() to individual constants in simple expressions
10483         after splitting on spaces.
10484         (_apply_lit): Rename replaced version, and use it to
10485         apply to what appears to be a token.
10487         * math/libm-test.inc: Fix many, many issues with
10488         spacing.
10490 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
10492         * math/math.h: Move comment about <bits/mathdef.h> definitions
10493         above inclusion of <bits/mathdef.h>.  Do not mention
10494         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
10496 2016-08-05  Torvald Riegel  <triegel@redhat.com>
10498         * include/atomic.h (atomic_exchange_relaxed): New.
10500 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
10502         * math/e_scalb.c: Do not include <fenv.h>.
10503         (invalid_fn): Do calculation resulting in NaN instead of raising
10504         FE_INVALID and returning a NaN explicitly.
10505         * math/e_scalbf.c: Do not include <fenv.h>.
10506         (invalid_fn): Do calculation resulting in NaN instead of raising
10507         FE_INVALID and returning a NaN explicitly.
10508         * math/e_scalbl.c: Do not include <fenv.h>.
10509         (invalid_fn): Do calculation resulting in NaN instead of raising
10510         FE_INVALID and returning a NaN explicitly.
10512 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
10514         * po/de.po: Updated from Translation Project.
10515         * po/fi.po: Likewise.
10516         * po/sv.po: Likewise.
10518 2016-08-04  Florian Weimer  <fweimer@redhat.com>
10520         [BZ #20452]
10521         Use sysdep.o from libc.a in static libraries.
10522         * sysdeps/unix/sysv/linux/i386/Makefile
10523         (libpthread-shared-only-routines): Add sysdep.
10524         (librt-shared-only-routines): Likewise.
10526 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10528         * math/tgmath.h (nextdown): Define if
10529         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
10530         (nextup): Likewise.
10532         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
10533         macro.
10534         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
10535         Document.
10536         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
10537         Document macro.
10538         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
10539         (exp10f): Likewise.
10540         (exp10l): Likewise.
10541         * math/bits/mathcalls.h (exp10): Declare if
10542         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
10544         * manual/arith.texi (nextup): Fix typo in last change.
10546 2016-08-03  Zack Weinberg  <zackw@panix.com>
10548         [BZ #19239]
10549         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
10550         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
10551         define major, minor, and makedev to issue deprecation warnings on use.
10552         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
10553         previously-activated deprecation warnings for these macros and prevent
10554         subsequent inclusions of this header from having any effect.
10555         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
10556         including <sys/sysmacros.h>, and undefine it again afterward.
10558 2016-08-03  Zack Weinberg  <zackw@panix.com>
10560         * sysdeps/generic/sys/sysmacros.h: Delete file.
10561         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
10562         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
10563         * bits/sysmacros.h: ... here; this encoding is now the generic
10564         encoding.  Now defines only the following macros:
10565         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
10566         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
10567         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
10569         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
10570         bits/sysmacros.h and the above new macros to generate the
10571         public implementations of major, minor, and makedev.
10572         * misc/tst-makedev.c: New test.
10573         * include/sys/sysmacros.h: New wrapper.
10575         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
10576         (routines): Add makedev.
10577         (tests): Add tst-makedev.
10578         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
10579         gnu_dev_makedev.
10580         * posix/Makefile (headers): Remove sys/sysmacros.h.
10581         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
10583         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
10584         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
10585         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
10586         * sysdeps/unix/sysv/linux/alpha/libc.abilist
10587         * sysdeps/unix/sysv/linux/arm/libc.abilist
10588         * sysdeps/unix/sysv/linux/hppa/libc.abilist
10589         * sysdeps/unix/sysv/linux/i386/libc.abilist
10590         * sysdeps/unix/sysv/linux/ia64/libc.abilist
10591         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10592         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
10593         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
10594         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10595         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10596         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10597         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10598         * sysdeps/unix/sysv/linux/nios2/libc.abilist
10599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10603         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
10604         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10605         * sysdeps/unix/sysv/linux/sh/libc.abilist
10606         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10607         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10610         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
10611         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
10612         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
10613         Add GLIBC_2.25.
10615         * include/features.h (__glibc_clang_prereq): New macro.
10616         * misc/sys/cdefs.h (__glibc_clang_has_extension)
10617         (__attribute_deprecated_msg__): New macros.
10619 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10621         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
10622         macro.
10623         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
10624         * manual/arith.texi (issignaling): Document as ISO from TS
10625         18661-1:2014.
10626         (nextup): Likewise.
10627         (nextupf): Likewise.
10628         (nextupl): Likewise.
10629         (nextdown): Likewise.
10630         (nextdownf): Likewise.
10631         (nextdownl): Likewise.
10632         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
10633         macro.
10634         * math/math.h: Define
10635         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10636         <bits/libc-header-start.h> instead of including <features.h>.
10637         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
10638         [__USE_GNU].
10639         * math/bits/mathcalls.h (nextdown): Declare if
10640         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
10641         (nextup): Likewise.
10642         (__issignaling): Likewise.
10644 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10646         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
10647         check, and remove __glibc_likely hint
10648         from FP_INFINITE check.
10649         * s_csinhf.c (__csinhf): Likewise.
10651         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
10652         hint from FP_INFINITE check.
10653         * s_csinhl.c (__csinhl): Likewise.
10655 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10657         * math/Makefile (libm-calls): Insert F placeholder into
10658         object names.  Move w_lgamma_compat* routines into
10659         (libm-compat-calls): New variable.
10660         (libm-compat-calls-ldouble-yes): New variable.
10661         (calls): Insert F placeholder.
10662         (generated): Redefine using new type-foreach macro call.
10663         (routines): Likewise.
10665         (types): New variable to hold a list of symbolic names
10666         for each type supported by the target machine.
10667         (libm-routines): Redefine using new types variable.
10668         (type-foreach): macro to replace fooF with the
10669         appropriately suffixed foo for each types.
10671         (type-ldouble-suffix): New variable.
10672         (type-ldouble-routines): Likewise.
10673         (type-ldouble-yes): Likewise.
10674         (type-double-suffix): Likewise.
10675         (type-double-routines): Likewise.
10676         (type-float-suffix): Likewise.
10677         (type-float-routines): Likewise.
10679         (dbl-only-routines): Remove.
10680         (long-c-yes): Likewise.
10681         (long-m-routines): Likewise.
10682         (long-m-support): Likewise.
10683         (long-m-yes): Likewise.
10684         (test-longdouble-yes): Likewise.
10686         (test-float.o): Simplify by increasing the scope of the
10687         recipe which adds libm-test.stmp to the vector types.
10688         (test-ifloat.o): Likewise.
10689         (test-float-finite.o): Likewise.
10690         (test-double.o): Likewise
10691         (test-idouble.o): Likewise.
10692         (test-double-finite.o): Likewise.
10693         (test-ldouble.o): Likewise
10694         (test-ildoubl.o): Likewise.
10695         (test-ldouble-finite.o): Likewise.
10697         (libm-tests): Redefine type tests using foreach and the
10698         list of types in types.
10700         (CPPFLAGS-test-ildoubl.c): Rename to
10701         (CPPFLAGS-test-ildouble.c): New variable
10703         * math/test-ildoubl.c: Rename to
10704         * math/test-ildouble.c: New file.
10706 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10708         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
10709         Use fabsl instead of fabs.
10710         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
10711         Likewise.
10712         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
10713         Add long double suffix to constant to ensure proper
10714         promotion to long double.
10716 2016-08-03  Tom Tromey  <tom@tromey.com>
10718         [BZ #20311]
10719         * nptl_db/Makefile (headers): Add proc_service.h.
10720         * nptl_db/proc_service.h: Add include guard.  Use
10721         __BEGIN/__END_DECLS.
10722         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
10723         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
10724         arguments.
10727 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10729         [BZ #17730]
10730         Avoid using memalign for TCB allocations.
10731         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
10732         (_dl_allocate_tls_storage): Use malloc and manual alignment.
10733         Avoid alignment gap in the TLS_DTV_AT_TP case.
10734         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
10735         determine the pointer to free.
10736         * nptl/tst-tls3-malloc.c: New test.
10737         * nptl/Makefile (tests): Add it.
10738         (tst-tls3-malloc): Link with libdl, libpthread.
10739         (LDFLAGS-tst-tls3-malloc): Set.
10740         (tst-tls3-malloc.out): Depend on DSO used in test.
10742 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10744         [BZ #17730]
10745         Avoid using memalign for TLS allocations.
10746         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
10747         is_static member with to_free member.
10748         (union dtv): Use struct dtv_pointer.
10749         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
10750         dtv_pointer instead of is_static.
10751         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
10752         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
10753         instead of val.
10754         (allocate_dtv_entry): New function.
10755         (allocate_and_init): Return struct dtv_pointer.  Call
10756         allocate_dtv_entry instead of __libc_memalign.
10757         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
10758         instead of val.
10759         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
10760         instead of is_static.  Adjust call to allocate_and_init.
10761         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
10762         struct dtv_pointer instead of val.
10764 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10766         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
10767         (MALLOC_ALIGN_MASK): Move ...
10768         * malloc/malloc-internal.h: ... to here.
10769         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
10771 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10773         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
10774         (UDP_ENCAP_GTP1U): Likewise.
10776         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
10777         (PF_MAX): Update value.
10778         (AF_QIPCRTR): New macro.
10780 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
10782         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
10783         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10784         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10785         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10786         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10787         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
10788         s_truncf-vis3, s_trunc-vis3.
10789         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10790         (CFLAGS-s_ceil-vis3.c): Likewise.
10791         (CFLAGS-s_floorf-vis3.c): Likewise.
10792         (CFLAGS-s_floor-vis3.c): Likewise.
10793         (CFLAGS-s_truncf-vis3.c): Likewise.
10794         (CFLAGS-s_trunc-vis3.c): Likewise.
10795         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
10796         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10797         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
10798         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10799         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
10800         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10801         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
10802         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10803         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
10804         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10805         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
10806         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10808 2016-08-02  David S. Miller  <davem@davemloft.net>
10810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
10811         (__nearbyint_vis3): Don't check for sNaN before float register is
10812         loaded with the incoming argument.
10813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
10814         (__nearbyintf_vis3): Likewise.
10815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
10816         Likewise.
10817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
10818         Likewise.
10820         * string/test-strncmp.c (do_test_limit): Make sure the test data
10821         stream is aligned as required for the type "CHAR".
10822         (do_test): Likewise.
10824 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
10826         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
10827         by beq instructions jumping to the end of the function.
10828         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
10829         clobber list. Use "i" constraint instead of "X".
10830         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
10831         of "X".
10833 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
10835         * bits/libc-header-start.h: New file.
10836         * Makefile (headers): Add bits/libc-header-start.h.
10837         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
10838         (__GLIBC_USE): New macro.
10839         * libio/stdio.h: Define
10840         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10841         <bits/libc-header-start.h> instead of including <features.h>.
10842         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
10843         (open_memstream): Likewise.
10844         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
10845         (__asprintf): Likewise.
10846         (asprintf): Likewise.
10847         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
10848         (getdelim): Likewise.
10849         (getline): Likewise.
10850         * string/string.h: Define
10851         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10852         <bits/libc-header-start.h> instead of including <features.h>.
10853         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
10854         (strndup): Likewise.
10855         * wcsmbs/wchar.h: Define
10856         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10857         <bits/libc-header-start.h> instead of including <features.h>.
10858         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
10859         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
10861 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10863         Support linking against compatibility symbols, for use in tests.
10864         * include/libc-symbols.h (symbol_version_reference): New macro.
10865         (symbol_version): Use it.
10866         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
10867         (compat_symbol): Use compat_symbol_reference.
10868         (compat_symbol_1, compat_symbol_2): Remove.
10869         (compat_symbol_reference, compat_symbol_reference_1)
10870         (compat_symbol_reference_2): New macro.  Use
10871         symbol_version_reference.
10873 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10875         [BZ #19469]
10876         * malloc/Makefile (CPPFLAGS): Compile tests with
10877         -DTEST_NO_MALLOPT.
10878         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
10880 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
10882         [BZ #20033]
10883         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
10884         finite version.
10885         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
10886         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
10887         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
10888         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
10889         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
10890         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
10891         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
10892         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
10893         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
10894         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
10895         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
10896         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
10897         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
10898         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
10899         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
10900         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
10901         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
10902         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
10903         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
10904         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
10905         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
10906         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
10907         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
10908         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
10909         in zero power.
10911 2016-08-02  Florian Weimer  <fweimer@redhat.com>
10913         [BZ #20370]
10914         * malloc/arena.c (get_free_list): Update comment.  Assert that
10915         arenas on the free list have no attached threads.
10916         (remove_from_free_list): New function.
10917         (reused_arena): Call it.
10919 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
10921         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
10922         when it is a NaN.
10923         [_IEEE_FP_INEXACT] Remove.
10924         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
10925         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
10926         when it is a NaN.
10927         [_IEEE_FP_INEXACT] Remove.
10928         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
10929         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
10930         when it is a NaN.
10931         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
10932         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
10933         when its absolute value is greater than 0x1.0p52.
10934         [_IEEE_FP_INEXACT] Remove.
10935         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
10936         when its absolute value is greater than 0x1.0p23.
10937         [_IEEE_FP_INEXACT] Remove.
10939 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
10941         * version.h (RELEASE): Set to "development"
10942         (VERSION): Set to 2.24.90.
10943         * NEWS: Add 2.25 section.
10945         * version.h (RELEASE): Set to "stable"
10946         (VERSION): Set to 2.24.
10947         * include/features.h (__GLIBC_MINOR__): Set to 24.
10949         * NEWS: Add 2.24 fixed bugs.
10950         * po/libc.pot: Regenerate.
10952 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
10954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10955         [$(subdir) = math] (libm-sysdep_routines): Remove.
10956         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10957         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
10958         s_truncf-vis3, s_trunc-vis3.
10959         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
10961         file.
10962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
10963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
10964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
10965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
10968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
10969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
10971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
10972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
10973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
10974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
10975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
10976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
10977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
10981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
10982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
10983         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
10984         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10985         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10986         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
10987         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10988         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10989         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
10990         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10991         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10992         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
10993         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10994         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10995         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
10996         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
10997         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
10998         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
10999         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11000         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11001         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
11002         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
11003         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
11004         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
11006 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
11008         [BZ #20384]
11009         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
11010         test-double-libmvec-sincos-avx-main.o,
11011         test-double-libmvec-sincos-avx2-main.o,
11012         test-double-libmvec-sincos-main.o,
11013         test-float-libmvec-sincosf-avx-main.o,
11014         test-float-libmvec-sincosf-avx2-main.o and
11015         test-float-libmvec-sincosf-main.o.
11016         test-float-libmvec-sincosf-avx512-main.o.
11017         ($(objpfx)test-double-libmvec-sincos): Also link with
11018         $(objpfx)test-double-libmvec-sincos-main.o.
11019         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
11020         $(objpfx)test-double-libmvec-sincos-avx-main.o.
11021         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
11022         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
11023         ($(objpfx)test-float-libmvec-sincosf): Also link with
11024         $(objpfx)test-float-libmvec-sincosf-main.o.
11025         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
11026         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
11027         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
11028         test-double-libmvec-sincos-avx512-main.o and
11029         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
11030         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
11031         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
11032         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
11033         (CFLAGS-test-double-libmvec-sincos.c): Removed.
11034         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
11035         (CFLAGS-test-double-libmvec-sincos-main.c): New.
11036         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
11037         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
11038         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
11039         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
11040         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
11041         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
11042         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
11043         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
11044         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
11045         -DREQUIRE_AVX2.
11046         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
11047         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
11048         -DREQUIRE_AVX512F.
11049         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
11050         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
11051         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11052         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
11053         file.
11054         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
11055         Likewise.
11056         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
11057         Likewise.
11058         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
11059         Likewise.
11060         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
11061         Likewise.
11062         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
11063         Likewise.
11064         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
11065         Likewise.
11066         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
11067         Likewise.
11069 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
11071         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
11073 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
11075         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
11076         and typo in a comment about AT_HWCAP entry.
11078 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11080         * sysdeps/aarch64/libm-test-ulps: Updated.
11082 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11084         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
11085         of r13 as it is not restored in mvcle case.
11087 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
11089         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
11090         Rename "ret" to "__ret".
11091         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
11092         inline_syscall5, inline_syscall6): Likewise.
11094 2016-07-19   Will Newton  <will.newton@gmail.com>
11096         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
11097         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
11098         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
11099         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
11100         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
11102 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
11104         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
11105         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
11106         -mfpmath=387 with $(rtld-CFLAGS).
11107         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
11108         $(rtld-CFLAGS).
11110 2016-07-18   Ross Burton  <ross.burton@intel.com>
11111              Khem Raj  <raj.khem@gmail.com>
11113         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
11114         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
11115         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
11116         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
11117         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
11118         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
11119         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
11120         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
11121         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
11122         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
11123         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
11124         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
11125         R_METAG_TLS_DTPOFF): New.
11127 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11128             Matt Clay  <mclay@lycos.com>
11130         [BZ #20357]
11131         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
11132         to call __mpsin/__mpcos and to negate values.
11133         * math/auto-libm-test-in: Add test.
11134         * math/auto-libm-test-out: Regenerate.
11136 2016-07-18  Zack Weinberg  <zackw@panix.com>
11138         * grp/Makefile: Don't install the internal header grp-merge.h.
11140 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11142         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11144 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11146         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
11148 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11150         [BZ #15368]
11151         * sysdeps/unix/sysv/linux/nptl-signals.h
11152         (__nptl_clear_internal_signals): New function.
11153         (__libc_signal_block_all): Likewise.
11154         (__libc_signal_block_app): Likewise.
11155         (__libc_signal_restore_set): Likewise.
11156         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
11157         implementation.
11158         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
11159         the cached pid/tid value in pthread structure.
11161 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
11163         [BZ #20347]
11164         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
11166 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11168         [BZ #20348]
11169         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
11170         preadv64, pwrite64 and pwritev64.
11172 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11174         [BZ #20350]
11175         * posix/tst-preadwrite.c: Renamed to ...
11176         * posix/tst-preadwrite-common.c: This.
11177         (PREAD): Removed.
11178         (PWRITE): Likewise.
11179         (STRINGIFY): Likewise.
11180         (STRINGIFY2): Likewise.
11181         (do_prepare): Make it static and remove function arguments.
11182         (do_test): Likewise.
11183         (PREPARE): Updated.
11184         (TEST_FUNCTION): New.
11185         (name): Make it static.
11186         (fd): Likewise.
11187         (do_prepare): Use create_temp_file.
11188         (do_test): Renamed to ...
11189         (do_test_with_offset): This.  Make it static and accept offset.
11190         Properly check return value of PWRITE and PREAD.  Return bytes
11191         read.  Don't close fd nor unlink name.
11192         * posix/tst-preadwrite.c: Rewrite.
11193         * posix/tst-preadwrite64.c: Likewise.
11195 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11197         [BZ #20309]
11198         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
11199         -mtls-dialect=gnu2 works.
11200         * configure: Regenerated.
11201         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
11202         (tests): Add tst-gnu2-tls1.
11203         (modules-names): Add tst-gnu2-tls1mod.
11204         ($(objpfx)tst-gnu2-tls1): New.
11205         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
11206         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
11207         * elf/tst-gnu2-tls1.c: New file.
11208         * elf/tst-gnu2-tls1mod.c: Likewise.
11209         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
11210         bytes for push in the PLT entry to align the stack.
11212 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11214         [BZ #20349]
11215         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
11217 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11219         [BZ #18707]
11220         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
11221         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
11223 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11225         * sysdeps/unix/sysv/linux/sysdep.h
11226         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
11227         guards.
11228         * misc/tst-preadvwritev-common.c: New file.
11229         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
11230         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
11231         a check for files larger than 2GB.
11233         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11234         (__ASSUME_OFF_DIFF_OFF64): Remove define.
11235         * sysdeps/unix/sysv/linux/pread.c
11236         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
11237         __OFF_T_MATCHES_OFF64_T.
11238         * sysdeps/unix/sysv/linux/pread64.c
11239         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
11240         * sysdeps/unix/sysv/linux/preadv.c
11241         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
11242         * sysdeps/unix/sysv/linux/preadv64.c
11243         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
11244         * sysdeps/unix/sysv/linux/pwrite.c
11245         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
11246         * sysdeps/unix/sysv/linux/pwrite64.c
11247         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
11248         * sysdeps/unix/sysv/linux/pwritev.c
11249         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
11250         * sysdeps/unix/sysv/linux/pwritev64.c
11251         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
11253 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
11255         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11256         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
11258 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11260         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
11262 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11264         [BZ #20240]
11265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
11266         (CFLAGS-s_modf-ppc32.c): New variable.
11267         (CFLAGS-s_modff-ppc32.c): Likewise.
11268         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11269         (CFLAGS-s_modf-ppc64.c): Likewise.
11270         (CFLAGS-s_modff-ppc64.c): Likewise.
11272 2016-07-07  Andreas Schwab  <schwab@suse.de>
11274         [BZ #20263]
11275         * nptl/tst-robust10.c: New test.
11276         * nptl/Makefile (tests): Add tst-robust10.
11278 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
11280         [BZ #20263]
11281         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
11283 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11285         * sysdeps/s390/linkmap.h (struct link_map_machine):
11286         Remove member gotplt and add member jmprel.
11287         * sysdeps/s390/s390-32/dl-machine.h
11288         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
11289         instead of gotplt with &got[3].
11290         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
11291         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11293 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
11295         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
11297 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11299         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
11300         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
11301         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11302         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
11303         * libio/vtables.c (_IO_vtable_check)
11304         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11305         * libio/libioP.h (IO_set_accept_foreign_vtables)
11306         [!PTR_MANGLE]: Do not call PTR_MANGLE.
11308 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
11310         [BZ #20314]
11311         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
11312         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
11313         $(common-objpfx)cmath.
11314         ($(common-objpfx)cstdlib): New target.
11315         ($(common-objpfx)cmath): Likewise.
11317 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
11319         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
11321 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11323         [BZ #20327]
11324         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
11325         are not part of the string.
11327 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11329         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
11330         * nptl/tst-cancel4-common.h (fifoname): New variable.
11331         (fifofd): Likewise.
11332         (cl_fifo): New function.
11333         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
11334         SIGINT.
11335         (tf_open): Add early cancel test.
11337 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11339         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
11341 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
11343         * sysdeps/generic/ldsodefs.h
11344         (dl_symbol_visibility_binds_local_p): New inline function.
11345         * elf/dl-addr.c (determine_info): Treat hidden and internal
11346         symbols as local.
11347         * elf/dl-lookup.c (do_lookup_x): Likewise.
11348         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
11350 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
11352         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
11353         invalid exception for a sNaN input.
11354         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11355         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11356         (__nearbyint_vis3): Likewise
11357         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11358         (__nearbyintf_vis3): Likewise
11359         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
11360         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11361         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
11362         Likewise.
11363         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
11364         Likewise.
11366 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
11368         [BZ #20139]
11369         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
11370         (HAVE_AVX512DQ_ASM_SUPPORT): This.
11371         * sysdeps/x86_64/configure.ac: Require assembler from binutils
11372         2.24 or above.
11373         (HAVE_AVX512_ASM_SUPPORT): Removed.
11374         (HAVE_AVX512DQ_ASM_SUPPORT): New.
11375         * sysdeps/x86_64/configure: Regenerated.
11376         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
11377         check unconditional.
11378         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11379         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11380         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11381         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
11382         Likewise.
11383         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11384         Likewise.
11385         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11386         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11387         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11388         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11389         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11390         Likewise.
11391         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11392         Likewise.
11393         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11394         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11395         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
11396         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
11397         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
11398         Likewise.
11399         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
11400         Likewise.
11401         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
11402         Likewise.
11403         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
11404         Likewise.
11405         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
11406         Likewise.
11407         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
11408         Likewise.
11409         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
11410         Likewise.
11411         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
11412         Likewise.
11413         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
11414         Likewise.
11415         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
11416         Likewise.
11417         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
11418         Likewise.
11420 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
11422         [BZ #20024]
11423         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
11424         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
11425         of this implementation of vector function.
11426         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11427         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11428         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
11429         Likewise.
11430         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11431         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11432         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
11433         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
11434         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
11435         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
11436         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
11437         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
11438         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
11439         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
11440         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
11441         for testing vector sincos with fixed ABI.
11442         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11443         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11444         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11445         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11446         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11447         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11448         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11449         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
11450         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
11451         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
11452         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
11453         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
11454         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
11455         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
11456         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11457         * sysdeps/x86_64/fpu/Makefile: Added new tests.
11459 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11461         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
11463 2016-06-30  Anton Blanchard  <anton@samba.org>
11465         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11466         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
11467         s_sinf-ppc64.
11468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
11469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11471         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11473 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11476         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11477         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
11478         e_expf-ppc64.
11479         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
11480         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
11481         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
11482         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
11484 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
11486         [BZ #20277]
11487         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
11488         when SHARED is defined.
11490 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
11492         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
11493         (index_arch_Prefer_ERMS): Likewise.
11494         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
11495         __memcpy_erms for Prefer_ERMS.
11496         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11497         (__memmove_erms): Enabled for libc.a.
11498         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
11499         __memmove_erms or Prefer_ERMS.
11500         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
11501         __mempcpy_erms for Prefer_ERMS.
11502         * sysdeps/x86_64/multiarch/memset.S (memset): Return
11503         __memset_erms for Prefer_ERMS.
11505 2016-06-30  Andreas Schwab  <schwab@suse.de>
11507         [BZ #20262]
11508         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
11509         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
11510         of memory.
11512 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
11514         [BZ #18645]
11515         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
11516         (test-extras): Add tst-cleanupx4aux.
11517         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
11518         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
11519         tst-cleanupx4aux.o.
11520         * nptl/tst-cleanupx4aux.c: New file.
11522 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11524         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
11526 2016-06-29  Andreas Schwab  <schwab@suse.de>
11528         [BZ #20260]
11529         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
11530         address before the beginning of the string as an integer to avoid
11531         array-bounds warning.
11533 2016-06-28  Richard Henderson  <rth@redhat.com>
11535         * elf/elf.h (EM_BPF): New.
11536         (EM_NUM): Update.
11537         (R_BPF_NONE, R_BPF_MAP_FD): New.
11539         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
11540         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
11541         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
11542         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
11543         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
11544         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
11545         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
11546         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
11547         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
11548         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
11549         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
11550         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
11551         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
11552         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
11553         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
11554         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
11555         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
11556         (EM_NUM): Update.
11558 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
11560         [BZ #18960]
11561         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
11562         Set _nl_current_LC_CATEGORY_used to two instead of one.
11564 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
11566         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
11567         (do_test): ... this.
11568         (TEST_FUNCTION): New macro.
11569          Include test-skeleton.c.
11570         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
11571         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
11573 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
11575         [BZ #15479]
11576         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
11577         floating-point environment rather than just control word.
11578         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11579         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
11580         floating-point environment, with "invalid" exceptions merged in,
11581         rather than just control word.
11582         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
11583         * math/libm-test.inc (trunc_test_data): Do not allow spurious
11584         "inexact" exceptions.
11586         [BZ #15479]
11587         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
11588         floating-point environment rather than just control word.
11589         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11590         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
11591         floating-point environment, with "invalid" exceptions merged in,
11592         rather than just control word.
11593         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
11594         * math/libm-test.inc (floor_test_data): Do not allow spurious
11595         "inexact" exceptions.
11597         [BZ #15479]
11598         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
11599         floating-point environment rather than just control word.
11600         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11601         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
11602         floating-point environment, with "invalid" exceptions merged in,
11603         rather than just control word.
11604         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
11605         * math/libm-test.inc (ceil_test_data): Do not allow spurious
11606         "inexact" exceptions.
11608 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
11610         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
11611         __libc_vfork.
11612         (__vfork) [IS_IN (libc)]: Remove alias.
11613         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
11614         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11615         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11617 2016-06-24  Torvald Riegel  <triegel@redhat.com>
11619         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
11620         of atomic_compare_and_exchange_bool_rel.
11621         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11622         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
11623         catomic_compare_and_exchange_bool_rel): Remove.
11624         * sysdeps/aarch64/atomic-machine.h
11625         (atomic_compare_and_exchange_bool_rel): Likewise.
11626         * sysdeps/alpha/atomic-machine.h
11627         (atomic_compare_and_exchange_bool_rel): Likewise.
11628         * sysdeps/arm/atomic-machine.h
11629         (atomic_compare_and_exchange_bool_rel): Likewise.
11630         * sysdeps/mips/atomic-machine.h
11631         (atomic_compare_and_exchange_bool_rel): Likewise.
11632         * sysdeps/microblaze/atomic-machine.h
11633         ( __arch_compare_and_exchange_bool_8_rel,
11634         __arch_compare_and_exchange_bool_16_rel): Likewise.
11635         * sysdeps/powerpc/atomic-machine.h
11636         ( __arch_compare_and_exchange_bool_8_rel,
11637         __arch_compare_and_exchange_bool_16_rel): Likewise.
11638         * sysdeps/powerpc/powerpc32/atomic-machine.h
11639         ( __arch_compare_and_exchange_bool_32_rel,
11640         __arch_compare_and_exchange_bool_64_rel): Likewise.
11641         * sysdeps/powerpc/powerpc64/atomic-machine.h
11642         ( __arch_compare_and_exchange_bool_32_rel,
11643         __arch_compare_and_exchange_bool_64_rel): Likewise.
11644         * sysdeps/tile/atomic-machine.h
11645         (atomic_compare_and_exchange_bool_rel): Likewise.
11647 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
11649         [BZ #20296]
11650         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
11651         when either argument is a NaN.
11652         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
11653         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
11655         * math/libm-test.inc (snan_value_ld): New macro.
11656         (isgreater_test_data): Add sNaN tests.
11657         (isgreaterequal_test_data): Likewise.
11658         (isless_test_data): Likewise.
11659         (islessequal_test_data): Likewise.
11660         (islessgreater_test_data): Likewise.
11661         (isunordered_test_data): Likewise.
11662         (nextafter_test_data): Likewise.
11663         (nexttoward_test_data): Likewise.
11664         (remainder_test_data): Likewise.
11665         (remquo_test_data): Likewise.
11666         (significand_test_data): Likewise.
11667         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
11669 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11671         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
11672         environment macros are defined.
11673         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
11675 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11677         [BZ #20191]
11678         Implement vtable verification in libio.
11679         * Makerules (shlib.lds): Place __libc_IO_vtables section.
11680         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
11681         * debug/vdprintf_chk.c (__vdprintf_chk): Call
11682         _IO_new_file_init_internal instead of _IO_file_init.
11683         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
11684         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
11685         * libio/Makefile (routines): Add vtables.
11686         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
11687         (_IO_init): Remove, not for internal use.
11688         (_IO_init_internal): Declare, internal replacement for _IO_init.
11689         (_IO_file_init): Remove, not for internal use.
11690         (_IO_new_file_init): Remove, not for internal use.
11691         (_IO_new_file_init_internal): Declare, internal replacement for
11692         _IO_new_file_init.
11693         (_IO_old_file_init): Remove, not for internal use.
11694         (_IO_old_file_init_internal): Declare, internal replacement for
11695         _IO_old_file_init.
11696         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
11697         internal use.
11698         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
11699         Declare.
11700         (libio_vtable): New macro.
11701         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
11702         functions.
11703         * libio/fileops.c (_IO_new_file_init_internal): Rename from
11704         _IO_new_file_init.
11705         (_IO_new_file_init): New externally visible wrapper which disables
11706         vtable verification.
11707         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
11708         Define as vtables.
11709         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
11710         (_IO_init): New externally visible wrapper which disables
11711         vtable verification.
11712         * libio/iofdopen.c (_IO_new_fdopen): Call
11713         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
11714         comment.
11715         * libio/iofopen.c (__fopen_internal): Call
11716         _IO_new_file_init_internal instead of _IO_file_init.
11717         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
11718         Define as vtables.
11719         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
11720         _IO_new_file_init_internal instead of _IO_file_init.
11721         * libio/iopopen.c (_IO_new_popen): Likewise.
11722         (_IO_proc_jumps): Define as vtable.
11723         * libio/iovdprintf.c (_IO_vdprintf): Call
11724         _IO_new_file_init_internal instead of _IO_file_init.
11725         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
11726         (__open_memstream): Call _IO_init_internal instead of _IO_init.
11727         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
11728         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
11729         _IO_old_file_init.
11730         (_IO_old_file_init): New externally visible wrapper which disables
11731         vtable verification.
11732         (_IO_old_file_jumps): Define as vtable.
11733         * libio/oldiofdopen.c (_IO_old_fdopen): Call
11734         _IO_old_file_init_internal instead of _IO_old_file_init.
11735         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11736         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11737         (_IO_old_proc_jumps): Define as vtable.
11738         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
11739         Define as vtables.
11740         * libio/vtables.c: New file.
11741         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
11742         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
11743         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
11744         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
11745         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
11746         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
11747         instead of _IO_init.
11749 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11751         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
11753 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11755         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
11756         potentially unused.
11758 2016-06-22  Florian Weimer  <fweimer@redhat.com>
11760         * test-skeleton.c (write_message): New function.
11761         * malloc/tst-mallocfork2.c (write_message): Remove.
11762         * debug/tst-longjmp_chk2.c (write_indented): New function.
11763         (write_message): Remove.
11764         (stackoverflow_handler): Call write_indented.
11766 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
11768         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
11769         "inexact" exceptions after fnstenv.
11770         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11771         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11772         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11774 2015-06-22  Zack Weinberg  <zackw@panix.com>
11776         * sysdeps/generic/bits/hwcap.h: Moved to ...
11777         * bits/hwcap.h: Here.
11779 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
11781         * sysdeps/aarch64/memcpy.S (memcpy):
11782         Further tuning for performance.
11784 2016-06-21  Florian Weimer  <fweimer@redhat.com>
11786         [BZ #20284]
11787         * malloc/arena.c (reused_arena): Do not return NULL if we start
11788         out with a non-corrupted arena.
11790 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11792         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
11793         * misc/tst-preadvwritev.c: New file.
11794         * misc/tst-preadvwritev64.c: Likewise.
11795         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
11796         usage.
11797         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
11798         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
11799         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
11800         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
11802 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
11804         [BZ #19654]
11805         * sysdeps/x86_64/fpu/Makefile: Added new tests.
11806         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
11807         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
11808         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
11809         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
11810         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
11811         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
11812         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
11813         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
11814         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
11815         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
11816         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
11817         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
11818         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
11819         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
11820         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
11821         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
11822         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
11823         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
11824         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
11825         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
11826         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
11827         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
11828         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
11829         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
11830         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
11832 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
11834         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
11835         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
11837 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
11839         * sysdeps/aarch64/memcpy.S (memcpy):
11840         Rewrite of optimized memcpy and memmove.
11841         * sysdeps/aarch64/memmove.S (memmove): Remove
11842         memmove code (merged into memcpy.S).
11844 2016-06-20  Florian Weimer  <fweimer@redhat.com>
11846         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
11847         * sysdeps/generic/dl-dtv.h: New file.
11848         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11849         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
11850         (dtv_t): Remove.
11851         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11852         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
11853         (dtv_t): Remove.
11854         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11855         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
11856         (dtv_t): Remove.
11857         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11858         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
11859         (dtv_t): Remove.
11860         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11861         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
11862         (dtv_t): Remove.
11863         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11864         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
11865         (dtv_t): Remove.
11866         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11867         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
11868         (dtv_t): Remove.
11869         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
11870         (dtv_t): Remove.
11871         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11872         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
11873         (dtv_t): Remove.
11874         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11875         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
11876         (dtv_t): Remove.
11877         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11878         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
11879         (dtv_t): Remove.
11880         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11881         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
11882         (dtv_t): Remove.
11883         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11884         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
11885         (dtv_t): Remove.
11886         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11887         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
11888         (dtv_t): Remove.
11889         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11890         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
11891         (dtv_t): Remove.
11892         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
11893         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
11894         (dtv_t): Remove.
11896 2016-06-20  Florian Weimer  <fweimer@redhat.com>
11898         Revert symbol poisoning of  __malloc_initialize_hook.
11899         * include/stdc-predef.h (__malloc_initialize_hook): Remove
11900         poisoning.
11901         * malloc/Makefile: Remove un-poisoning.
11902         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
11903         instead of old__malloc_initialize_hook.
11904         * malloc/malloc-hooks.h: Likewise.
11905         * malloc/malloc.c: Likewise.
11906         * malloc/mcheck-init.c: Likewise.
11908 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
11910         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
11912 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
11914         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
11915         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
11916         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11917         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11919 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11921         * NEWS: Mention addition of nextup and nextdown.
11922         * manual/arith.texi: Document nextup and nextdown.
11923         * manual/libm-err-tab.pl: Add nextup and nextdown.
11924         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
11925         * math/Versions (libm): Add GLIBC_2.24.
11926         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
11927         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
11928         Add new test.
11929         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
11930         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
11931         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
11932         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
11933         (nextup_test_data): Likewise.
11934         (nextdown_test_data): Likewise.
11935         * math/s_nextdown.c: New file.
11936         * math/s_nextdownf.c: Likewise.
11937         * math/s_nextdownl.c: Likewise.
11938         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
11939         F(nextup): New function.
11940         F(nextdown): Likewise.
11941         * math/tgmath.h: Add nextup and nextdown.
11942         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
11943         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
11944         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11945         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
11946         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
11947         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
11948         Add nextup and nextdown.
11949         (CFLAGS-nldbl-nextup.c): New variable.
11950         (CFLAGS-nldbl-nextdown.c): Likewise.
11951         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
11952         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
11953         * sysdeps/nacl/libm.abilist: Update.
11954         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11955         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11956         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11957         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11958         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11959         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11960         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11961         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11962         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11963         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11964         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11965         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
11967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11968         Likewise.
11969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
11970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
11971         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11972         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11973         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11974         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11975         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
11977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
11978         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11979         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11980         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
11981         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11983 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11985         * manual/pattern.texi: Fix typos & grammar errors.
11987 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11989         * manual/search.texi: Fix typos & grammar errors.
11991 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
11993         * manual/message.texi: Fix typos & grammar errors.
11995 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
11997         * manual/contrib.texi: Fix spelling typos.
11998         * manual/crypt.texi: Likewise.
11999         * manual/filesys.texi: Likewise.
12000         * manual/locale.texi: Likewise.
12001         * manual/message.texi: Likewise.
12002         * manual/nss.texi: Likewise.
12003         * manual/string.texi: Likewise.
12005 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12007         * manual/locale.texi: Fix typos & grammar errors.
12009 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12011         * manual/charset.texi: Fix typos & grammar errors.
12013 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12015         * manual/string.texi: Fix typos.
12017 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12019         * manual/ctype.texi: Fix typos.
12021 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12023         * manual/memory.texi: Fix various typos & grammar errors.
12025 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
12027         [BZ #20255]
12028         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
12029         * math/libm-test.inc (fdim_test_data): Add another test.
12031         [BZ #6796]
12032         [BZ #20255]
12033         [BZ #20256]
12034         * math/s_fdim.c: Include <math_private.h>.
12035         (__fdim): Use math_narrow_eval on result.
12036         * math/s_fdimf.c: Include <math_private.h>.
12037         (__fdimf): Use math_narrow_eval on result.
12038         * sysdeps/i386/fpu/s_fdim.S: Remove file.
12039         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
12040         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
12041         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
12042         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
12043         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
12044         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
12045         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
12046         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
12047         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
12048         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
12049         * math/libm-test.inc (fdim_test_data): Expect errno setting on
12050         overflow.  Add sNaN tests.
12052         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
12053         fpclassify.
12054         * math/s_fdimf.c (__fdimf): Likewise.
12055         * math/s_fdiml.c (__fdiml): Likewise.
12057 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12059         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12060         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
12061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12062         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12063         ifunc'ed strcasecmp/strncasecmp.
12064         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
12065         [EALIGN]: Removed.
12066         [END]: Likewise.
12067         [__strcasecmp]: Define instead of the above to control symbol name.
12068         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
12069         for __strcasecmp_power8.
12070         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
12071         for __strncasecmp_power8.
12072         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
12073         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
12074         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
12075         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
12076         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
12077         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
12079 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
12081         [BZ #20252]
12082         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
12083         arguments when second argument is a NaN.
12084         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
12085         qNaN tests.
12087         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
12088         (conj_test_data): Likewise.
12089         (copysign_test_data): Likewise.
12090         (creal_test_data): Likewise.
12091         (fma_test_data): Likewise.
12092         (fmod_test_data): Likewise.
12094         [BZ #20250]
12095         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
12096         itself.
12097         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
12098         zero input to itself.
12099         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
12100         Likewise.
12101         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
12102         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
12103         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12104         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
12105         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
12107 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12109         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
12110         * nptl/tst-cancel4-common.c: New file.
12111         * nptl/tst-cancel4-common.h: Likewise.
12112         * nptl/tst-cancel4.c: Move common definitions to
12113         tst-cancel4-common.{c,h} file.
12114         * nptl/tst-cancel4_1.c: New test.
12115         * nptl/tst-cancel4_2.c: New test.
12117 2016-06-13  Florian Weimer  <fweimer@redhat.com>
12119         [BZ #20248]
12120         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
12121         (write_message): New function.
12122         (stackoverflow_handler): Call it instead of printf, to avoid
12123         excessive stack usage by printf.
12124         (do_test): Restore SIGSEGV, SIGBUS default handlers.
12126 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12128         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
12129         (prio_inherit_missing): Remove define.
12130         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12131         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12132         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
12133         Likewise.
12134         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12135         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12136         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12137         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12138         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12139         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12141 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12143         [BZ #19670]
12144         [BZ #19672]
12146         * io/test-lfs.c (do_prepare): Use xmalloc.
12147         * io/tst-fcntl.c (do_prepare): Likewise.
12148         * libio/tst-fopenloc.c (do_bz17916): Likewise.
12149         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
12150         * login/tst-utmp.c (do_prepare): Likewise.
12151         * posix/tst-exec.c (do_prepare): Likewise.
12152         * posix/tst-pathconf.c (prepare): Likewise.
12153         * posix/tst-spawn.c (do_prepare): Likewise.
12154         * posix/tst-truncate.c (do_prepare): Likewise.
12155         * rt/tst-aio.c (do_prepare): Likewise.
12156         * rt/tst-aio64.c (do_prepare): Likewise.
12158 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12160         [BZ #20237]
12161         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
12162         (get*ent): Set entidx to NULL during initialization.  If entidx is
12163         NULL, start iteration from the beginning.
12165 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12167         * malloc/malloc.c (musable): Return correct size for dumped fake
12168         mmapped chunk.
12170 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12172         [BZ #20222]
12173         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
12174         (_IO_cookie_write): Likewise.
12175         (_IO_cookie_seek): Likewise.
12176         (_IO_cookie_close): Likewise.
12177         (_IO_old_cookie_seek): Likewise.
12178         (set_callbacks): New function.
12179         (_IO_cookie_init): Call set_callbacks to copy callbacks.
12181 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
12183         * locale/programs/localedef.c (oldstyle_tables): Remove.
12184         * locale/programs/localedef.h (oldstyle_tables): Likewise.
12186 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
12188         [BZ #20240]
12189         * math/Makefile (CFLAGS-s_modf.c): New variable.
12190         (CFLAGS-s_modff.c): Likewise.
12191         (CFLAGS-s_modfl.c): Likewise.
12192         * math/libm-test.inc (modf_test_data): Add sNaN tests.
12194 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
12196         [BZ #20215]
12197         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
12198         [!__GNUC_PREREQ (3,2)]: Likewise.
12200 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
12202         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
12203         (msghdr.msg_controllen): Likewise.
12204         (cmsghdr.cmsg_len): Likewise.
12205         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
12206         ptw-oldsendmsg.
12207         (CFLAGS-oldrecvmsg.c): Remove rule.
12208         (CFLAGS-oldsendmsg.c): Likewise.
12209         (CFLAGS-recvmsg.c): Add rule.
12210         (CFLAGS-sendmsg.c): Likewise.
12211         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
12212         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
12213         (CFLAGS-recvmsg.c): Remove rule.
12214         (CFLAGS-sendmsg.c): Likewise.
12215         (CFLAGS-oldrecvmsg.c): Likewise.
12216         (CFLAGS-oldsendmsg.c): Likewise.
12217         (CFLAGS-recvmmsg.c): Likewise.
12218         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
12219         to kernel defined interfaces.
12220         (msghdr.msg_controllen): Likewise.
12221         (cmsghdr.cmsg_len): Likewise.
12222         (msghdr.__glibc_reserved1): Remove member.
12223         (msghdr.__glibc_reserved2): Likewise.
12224         (cmsghdr.__glibc_reserved1): Likewise.
12225         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
12226         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
12227         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
12228         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
12229         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
12230         version.
12231         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12232         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
12233         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12234         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
12235         Remove recvmsg and sendmsg.
12236         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
12237         Likewise.
12238         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
12239         Likewise.
12240         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
12241         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
12242         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
12243         Likewise.
12244         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
12245         Likewise.
12246         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
12247         [libc] (GLIBC_2.24): Likewise.
12248         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
12249         Likewise.
12250         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
12251         Likewise.
12252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12253         [libc] (GLIBC_2.24): Likewise.
12254         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
12255         Likewise.
12256         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
12257         Likewise.
12258         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
12259         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
12260         Likewise.
12261         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
12262         Likewise.
12263         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
12264         Likewise.
12265         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
12266         Likewise.
12267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
12268         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
12269         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
12270         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
12271         version for {recv,send,recm,sendm}msg.
12272         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12273         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12274         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12275         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12276         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12277         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12278         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12279         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12280         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12281         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12282         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12283         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12285         Likewise.
12286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12287         Likewise.
12288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12290         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12291         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12292         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12293         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12294         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12295         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12298         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12299         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12300         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12302 2016-06-10  Florian Weimer  <fweimer@redhat.com>
12304         [BZ #19564]
12305         Remove __malloc_initialize_hook from the API.
12306         * malloc/malloc.h (__malloc_initialize_hook): Remove.
12307         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
12308         #pragma GCC poison.
12309         * malloc/malloc-hooks.h: New file.
12310         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
12311         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
12312         (old__malloc_initialize_hook): Rename from
12313         __malloc_initialize_hook to evade poisoning.  Turn into compat
12314         symbol.
12315         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
12316         __malloc_initialize_hook.
12317         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
12318         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
12319         * manual/memory.texi (Hooks for Malloc): Remove
12320         __malloc_initialize_hook.  Adjust hook example.
12322 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
12324         [BZ #20235]
12325         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
12326         itself.
12327         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12328         * math/libm-test.inc (log2_test_data): Add sNaN tests.
12330         [BZ #20234]
12331         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
12332         infinity or NaN input to itself.
12334         [BZ #20233]
12335         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
12336         to itself.
12338         [BZ #20232]
12339         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
12340         itself.
12342 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12344         * sysdeps/x86_64/start.S (_start): Always indirect branch to
12345         __libc_start_main via GOT.
12347 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12349         * sysdeps/x86_64/memcopy.h: New file.
12350         * sysdeps/x86_64/wordcopy.c: Likewise.
12352 2016-06-09  Florian Weimer  <fweimer@redhat.com>
12354         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
12355         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
12356         <cstdlib>.
12357         (optimization_barrier): New.
12358         (do_test): Use it.  Call quick_exit in the global namespace.
12359         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
12360         instead of <cstdlib>, <thread>.
12361         (optimization_barrier): New.
12362         (non_main_thread): Adjust declaration.  Call optimization_barrier.
12363         Call quick_exit in the global namespace.
12364         (do_test): Call optimization_barrier.  Use pthread_create,
12365         pthread_join instead of std::thread.
12367 2016-06-09  Andreas Schwab  <schwab@suse.de>
12369         [BZ #19755]
12370         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
12371         new entries in auto-propagate mode.
12372         * nscd/grpcache.c (cache_addgr): Likewise.
12374 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12376         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
12377         New functions.
12378         (add_temp_file): Use them.
12380 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
12382         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
12384 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
12386         [BZ #20229]
12387         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
12388         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
12389         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
12391         [BZ #20228]
12392         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
12393         itself.
12394         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12395         * math/libm-test.inc (log10_test_data): Add sNaN tests.
12397         [BZ #20227]
12398         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
12399         itself.
12400         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12401         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12402         * math/libm-test.inc (log_test_data): Add sNaN tests.
12404         [BZ #20226]
12405         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
12406         itself.
12407         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12408         * math/libm-test.inc (exp_test_data): Add sNaN tests.
12409         (exp10_test_data): Likewise.
12410         (expm1_test_data): Likewise.
12412         [BZ #20225]
12413         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
12414         itself.
12415         * math/s_ldexpf.c (__ldexpf): Likewise.
12416         * math/s_ldexpl.c (__ldexpl): Likewise.
12417         * math/w_scalbln.c (__w_scalbln): Likewise.
12418         * math/w_scalblnf.c (__w_scalblnf): Likewise.
12419         * math/w_scalblnl.c (__w_scalblnl): Likewise.
12420         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
12421         (scalbln_test_data): Likewise.
12423         [BZ #20224]
12424         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
12425         argument to itself.
12426         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
12428 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
12430         [BZ #19776]
12431         * sysdeps/x86_64/memcpy.S: Make it dummy.
12432         * sysdeps/x86_64/mempcpy.S: Likewise.
12433         * sysdeps/x86_64/memmove.S: New file.
12434         * sysdeps/x86_64/memmove_chk.S: Likewise.
12435         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
12436         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
12437         * sysdeps/x86_64/memmove.c: Removed.
12438         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12439         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12440         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
12441         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12442         Likewise.
12443         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12444         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12445         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12446         memcpy-sse2-unaligned, memmove-avx-unaligned,
12447         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
12448         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12449         (__libc_ifunc_impl_list): Replace
12450         __memmove_chk_avx512_unaligned_2 with
12451         __memmove_chk_avx512_unaligned.  Remove
12452         __memmove_chk_avx_unaligned_2.  Replace
12453         __memmove_chk_sse2_unaligned_2 with
12454         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
12455         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
12456         with __memmove_avx512_unaligned.  Replace
12457         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
12458         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
12459         with __memcpy_chk_avx512_unaligned.  Remove
12460         __memcpy_chk_avx_unaligned_2.  Replace
12461         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
12462         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
12463         Replace __memcpy_avx512_unaligned_2 with
12464         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
12465         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
12466         with __mempcpy_chk_avx512_unaligned.  Remove
12467         __mempcpy_chk_avx_unaligned_2.  Replace
12468         __mempcpy_chk_sse2_unaligned_2 with
12469         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
12470         Replace __mempcpy_avx512_unaligned_2 with
12471         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
12472         Replace __mempcpy_sse2_unaligned_2 with
12473         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
12474         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
12475         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
12476         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
12477         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
12478         (ENTRY): Removed.
12479         (END): Likewise.
12480         (ENTRY_CHK): Likewise.
12481         (libc_hidden_builtin_def): Likewise.
12482         Don't include ../memcpy.S.
12483         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
12484         __memcpy_chk_avx512_unaligned_erms and
12485         __memcpy_chk_avx512_unaligned.  Use
12486         __memcpy_chk_avx_unaligned_erms and
12487         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
12488         Default to __memcpy_chk_sse2_unaligned.
12489         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12490         Change function suffix from unaligned_2 to unaligned.
12491         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
12492         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
12493         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
12494         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
12495         (ENTRY): Removed.
12496         (END): Likewise.
12497         (ENTRY_CHK): Likewise.
12498         (libc_hidden_builtin_def): Likewise.
12499         Don't include ../mempcpy.S.
12500         (mempcpy): New.  Add a weak alias.
12501         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
12502         __mempcpy_chk_avx512_unaligned_erms and
12503         __mempcpy_chk_avx512_unaligned.  Use
12504         __mempcpy_chk_avx_unaligned_erms and
12505         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
12506         Default to __mempcpy_chk_sse2_unaligned.
12508 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
12510         [BZ #19881]
12511         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
12512         into ...
12513         * sysdeps/x86_64/memset.S: This.
12514         (__bzero): Removed.
12515         (__memset_tail): Likewise.
12516         (__memset_chk): Likewise.
12517         (memset): Likewise.
12518         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
12519         defined.
12520         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
12521         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
12522         (__memset_zero_constant_len_parameter): Check SHARED instead of
12523         PIC.
12524         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12525         memset-avx2 and memset-sse2-unaligned-erms.
12526         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12527         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
12528         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
12529         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12530         (__bzero): Enabled.
12531         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
12532         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
12533         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
12534         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
12535         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
12536         (memset): Removed.
12537         (__memset_chk): Likewise.
12538         (MEMSET_SYMBOL): New.
12539         (libc_hidden_builtin_def): Replace __memset_sse2 with
12540         __memset_sse2_unaligned.
12541         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
12542         __memset_chk_sse2 and __memset_chk_avx2 with
12543         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
12544         Use __memset_chk_sse2_unaligned_erms or
12545         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
12546         __memset_chk_avx512_unaligned_erms and
12547         __memset_chk_avx512_unaligned.
12549 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12551         * math/gen-auto-libm-test.c (fp_format_desc): remove
12552         suffix member.
12553         (output_generic_value): Remove usage of suffix member,
12554         and the resulting unuse of the fp_format argument.
12555         (output_for_one_input_case): Remove unused fp_format
12556         parameter.
12558         * math/auto-libm-test-out: Regenerate.
12560         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
12561         usage with TEST_COND_ibm128.
12562         (TEST_COND_flt_32): Remove.
12563         (TEST_COND_dbl_64): Remove.
12564         (TEST_COND_ldbl_96_intel): Remove.
12565         (TEST_COND_ldbl_96_m68k): Remove.
12566         (TEST_COND_ldbl_128): Remove.
12568 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12570         * auto-libm-test-in:
12571         Replace flt-32 usage with binary32.
12572         Replace dbl-64 usage with binary64.
12573         Replace ldbl-intel-96 usage with intel96.
12574         Replace ldbl-m68k-96 usage with m68k96.
12575         Replace ldbl-128ibm usage with ibm128.
12576         Replace ldbl-128 usage with binary128.
12578         * auto-libm-test-out: Regenerate.
12580 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12582         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
12583         (parse_ulps): Dynamically generate type name matching
12584         string from all_floats.
12585         (get_ulps): Generate the ulps as an array instead.
12586         (output_ulps): Dynamically compose the type based
12587         on the number of supported formats, and print
12588         the indices as type specific helper macros.
12590         * math/libm-test.inc: Remove comment about CHOOSE.
12591         (ulp_data): Generate the type in libm-test-ulps.h.
12592         (ULP_IDX): New macro.
12593         (find_ulps): Update usage of max_ulp.
12595         * math/test-double-vlen2.h (CHOOSE): Remove.
12596         * math/test-double-vlen4.h (CHOOSE): Likewise.
12597         * math/test-double-vlen8.h (CHOOSE): Likewise.
12598         * math/test-float.c (CHOOSE): Likewise.
12599         * math/test-float-finite.c (CHOOSE): Likewise.
12600         * math/test-double.c (CHOOSE): Likewise.
12601         * math/test-double-finite.c (CHOOSE): Likewise.
12602         * math/test-idouble.c (CHOOSE): Likewise.
12603         * math/test-ifloat.c (CHOOSE): Likewise.
12604         * math/test-ildoubl.c (CHOOSE): Likewise.
12605         * math/test-ldouble-finite.c (CHOOSE): Likewise.
12606         * math/test-ldouble.c (CHOOSE): Likewise.
12608         * math/test-float.h (TEST_FLOAT): Remove.
12609         * math/test-double.h (TEST_DOUBLE): Likewise.
12610         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
12612 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12614         * math/gen-libm-test.pl: (apply_lit): New subroutine.
12615         (parse_args): Strip C suffix from floating point literals
12616         typed with 'f' and wrap them with LIT().
12618         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
12619         (test_ff_f_data_nexttoward): Rename to
12620         (test_fj_f_data): New struct.
12621         (nexttoward_test_data): Relabel tests as
12622         TEST_fj_f instead of TEST_ff_f.
12624 2016-06-08  Florian Weimer  <fweimer@redhat.com>
12626         Emacs bug 23726.
12627         * malloc/malloc.c (dumped_main_arena_start): Update comment.
12628         (__libc_realloc): Correct size computation for dumped fake mmapped
12629         chunks.
12631 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
12633         [BZ #20219]
12634         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
12635         to itself.
12636         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
12638         [BZ #20218]
12639         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
12640         to itself.
12641         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
12643 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
12645         [BZ #20195]
12646         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
12647         check to ...
12648         (init_cpu_features): Here.
12650 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
12652         [BZ #20214]
12653         * sysdeps/unix/sysv/linux/bits/in.h
12654         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
12655          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
12656         Define to 1.
12657         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
12658          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
12659         Define to 0.
12660         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
12661         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
12663 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
12665         [BZ #20198]
12666         * stdlib/Makefile (tests): Add tst-quick_exit, and
12667         tst-thread-quick_exit.
12668         [ifeq ($(have-cxx-thread_local),yes)]
12669         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
12670         (CFLAGS-tst-thread-quick_exit.o): Likewise.
12671         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
12672         (LDLIBS-tst-thread-quick_exit): Likewise.
12673         [ifneq ($(have-cxx-thread_local),yes)]
12674         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
12675         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
12676         If run_dtors is true call __call_tls_dtors.
12677         (exit): Call __run_exit_handlers with run_dtors set to true.
12678         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
12679         definition.
12680         * stdlib/quick_exit.c (quick_exit): Remove function.
12681         (__new_quick_exit): New function.
12682         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
12683         function.
12684         * stdlib/tst-quick_exit.cc: New file.
12685         * stdlib/tst-thread-quick_exit.cc: New file.
12686         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
12687         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
12688         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
12689         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
12690         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
12691         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
12692         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
12693         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
12694         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
12695         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
12696         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
12697         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
12698         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
12699         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
12700         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
12701         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
12702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
12703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
12704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
12705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
12706         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
12707         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
12708         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
12709         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
12710         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
12711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
12712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
12713         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
12714         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
12715         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
12717 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
12719         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
12720         a typo in comments.
12722 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
12724         [BZ #20213]
12725         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
12726         argument to itself.
12727         * math/libm-test.inc (asin_test_data): Add sNaN tests.
12729 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12731         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
12732         required flags.
12733         (CFLAGS-pwritev64.c): Likewise.
12734         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
12735         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12736         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
12737         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12738         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
12739         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
12740         syscall from auto-generation.
12741         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
12742         [WORDSIZE == 64] (pwritev64): Remove macro.
12743         [!PWRITEV] (PWRITEV): Likewise.
12744         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
12745         [!PWRITEV] (PWRITE): Likewise.
12746         [!PWRITEV] (OFF_T): Likewise.
12747         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
12748         (LO_HI_LONG): Remove macro.
12749         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
12750         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
12751         (PWRITEV): Remove macro.
12752         (PWRITEV_REPLACEMENTE): Likewise.
12753         (PWRITE): Likewise.
12754         (OFF_T): Likewise.
12755         (pwritev64): New function.
12756         * nptl/tst-cancel4.c (tf_writev): Add test.
12758         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
12759         required flags.
12760         (CFLAGS-preadv64.c): Likewise.
12761         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
12762         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12763         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
12764         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
12765         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
12766         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
12767         syscall from auto-generation.
12768         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
12769         [WORDSIZE == 64] (preadv64): Remove macro.
12770         [!PREADV] (PREADV): Likewise.
12771         [!PREADV] (PREADV_REPLACEMENT): Likewise.
12772         [!PREADV] (PREAD): Likewise.
12773         [!PREADV] (OFF_T): Likewise.
12774         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
12775         (LO_HI_LONG): Remove macro.
12776         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
12777         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
12778         (PREADV): Remove macro.
12779         (PREADV_REPLACEMENTE): Likewise.
12780         (PREAD): Likewise.
12781         (OFF_T): Likewise.
12782         (preadv64): New function.
12783         * nptl/tst-cancel4.c (tf_preadv): Add test.
12785 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
12787         [BZ #20212]
12788         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
12789         argument to itself.
12790         * math/libm-test.inc (acos_test_data): Add sNaN tests.
12792 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12794         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
12795         New symbol defined as libc_hidden_def.
12796         (strcasestr): Became a weak alias to __strcasestr.
12797         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
12798         according to multi-arch support.  Move __stpncpy hidden
12799         definition from here to...
12800         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
12801         symbol stpncpy.
12802         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
12803         libc_hidden_builtin_def.
12804         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
12805         memset symbol to use when multi-arch support is available.
12807 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12809         * dlfcn/tst-rec-dlopen.c: Include string.h.
12811 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12813         * manual/install.texi: Remove mention of --without-tls
12814         * INSTALL: Regenerate.
12816 2016-06-05  Florian Weimer  <fweimer@redhat.com>
12818         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
12819         Remove.
12820         (call_function, interposed_malloc_called): New variables.
12821         (malloc): New function.
12822         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
12823         and clear call_function as needed.
12825 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
12827         * include/wchar.h (__wmemset): Use __typeof.
12829 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
12831         * include/wchar.h (__wmemset): Declare function without typeof.
12833 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
12835         [BZ #20205]
12836         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
12837         exponent when incrementing negative subnormal with low mantissa
12838         word zero.
12839         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
12840         Add another test.
12842 2016-06-03  Florian Weimer  <fweimer@redhat.com>
12844         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
12845         __wmemset instead of wmemset.
12847 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
12849         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
12850         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
12851         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
12852         __USE_KERNEL_IPV6_DEFS to 0.
12853         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
12854         Update comment.
12856 2016-06-01  Florian Weimer  <fweimer@redhat.com>
12858         [BZ #19861]
12859         Do not use IFUNC resolver with potentially unrelocated symbol.
12860         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
12861         (DEFINE_FORK): Remove macro and inline definition.
12862         (fork_alias): Renamed from fork_ifunc.
12863         (__fork_alias): Renamed from __fork_ifunc.
12865 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
12867         [BZ 19653]
12868         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
12869         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
12871 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12873         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
12874         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
12875         i386-linux-gnu).
12876         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
12877         Set to no.
12878         * sysdeps/mach/hurd/configure: Refresh.
12880 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12882         [BZ #20178]
12883         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
12884         on failure instead of exit.
12886 2016-05-30  Roland McGrath  <roland@hack.frob.com>
12888         [BZ #3629]
12889         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
12890         of POSIX.1-2008.
12892 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12894         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
12895           Use PLT entry for calling _hurd_self_sigstate.
12897 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
12899         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
12900         available logical processors with SMT level type sharing L2
12901         cache for Intel processors.
12903 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12905         [BZ #20160]
12906         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
12907         argument to itself before returning the result.
12908         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
12909         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
12910         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
12911         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
12912         Likewise.
12913         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
12914         Likewise.
12915         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
12916         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
12917         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
12918         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
12919         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
12920         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
12922         [BZ #20160]
12923         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
12924         argument to itself before returning the result.
12925         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
12926         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
12927         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
12928         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
12929         Likewise.
12930         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12931         Likewise.
12932         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
12933         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
12934         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
12935         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
12936         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
12937         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
12939 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12941         * libm-test.inc: Replace usage of M_El with
12942         (lit_e): New macro.
12944 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12946         * libm-test.inc: Replace usage of M_PI_4l with
12947         (lit_pi_4_d): New macro.
12949 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12951         * libm-test.inc: Replace usage of M_PIl with
12952         (lit_pi): New macro.
12954 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12956         * libm-test.inc: Replace usage of M_PI2l with
12957         (lit_pi_2_d): New macro.
12959         * math/test-double.h (LITM): New macro.
12960         * math/test-float.h (LITM): Likewise.
12961         * math/test-ldouble.h (LITM): Likewise.
12963 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12965         * libm-test.inc (M_PI_34l): Rename to
12966         (lit_pi_3_m_4_d): New Macro.
12967         (M_PI_34_LOG10El): Rename to
12968         (lit_pi_3_m_4_ln10_m_d): New Macro.
12969         (M_PI2_LOG10El): Rename to
12970         (lit_pi_2_ln10_m_d):  New Macro.
12971         (M_PI4_LOG10El): Rename to
12972         (lit_pi_4_ln10_m_d):  New Macro.
12973         (M_PI_LOG10El): Rename to
12974         (lit_pi_ln10_d):  New Macro.
12976 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
12978         [BZ #20157]
12979         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
12980         determine whether to negate low half if [_ARCH_PPCGR], and integer
12981         comparison otherwise.
12982         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
12983         determine whether to negate low half.
12985         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
12986         (NO_TEST_INLINE_DOUBLE): Likewise.
12987         (TEST_COND_x86_64): Likewise.
12988         (TEST_COND_x86): Likewise.
12989         (M_PI_6l): Likewise.
12991 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12993         * math/libm-test.inc:
12994         (TEST_FLOAT): Change usage to TEST_COND_binary32.
12995         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
12996         (TEST_LDOUBLE): Update usage to evaluate as true if
12997         the guarded tests match the property being tested.
12998         (LDBL_MAX_EXP): Change to MAX_EXP.
12999         (LDBL_MIN_EXP): Change to MIN_EXP.
13000         (LDBL_MANT_DIG): Change to MANT_DIG, except for
13001         nexttoward tests.
13003 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13005         * math/libm-test.inc:
13006         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
13007         (TYPE_MIN): Likewise.
13008         (TYPE_TRUE_MIN): Likewise.
13009         (TYPE_MAX): Likewise.
13010         (MIN_EXP): Likewise.
13011         (MAX_EXP): Likewise.
13012         (MANT_DIG): Likewise.
13014         (FSTR_MAX): New macro.
13015         (__CONCATX): Likewise.
13016         (QTYPE_STR): Likewise.
13017         (TEST_COND_binary32): Likewise.
13018         (TEST_COND_binary64): Likewise.
13019         (TEST_COND_binary128): Likewise.
13020         (TEST_COND_ibm128): Likewise.
13021         (TEST_COND_intel96): Likewise.
13022         (TEST_COND_m68k96): Likewise.
13024         (TEST_COND_flt_32): Redefine as equivalent format test macro.
13025         (TEST_COND_dbl_64): Likewise.
13026         (TEST_COND_ldbl_96_intel): Likewise.
13027         (TEST_COND_ldbl_96_m68k): Likewise.
13028         (TEST_COND_ldbl_128): Likewise.
13029         (TEST_COND_ldbl_128ibm): Likewise.
13031         (plus_zero): Redefine using LIT macro.
13032         (minus_zero): Likewise.
13033         (plus_infty): Redefine as (INF).
13034         (minux_infty): Redefine as (-INF).
13035         (max_value): Redefine as TYPE_MAX.
13036         (min_value): Redefine as TYPE_MIN.
13037         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
13039         (print_float): Refactor to use snprintf to convert FLOAT values
13040         to string. This brings it closer to dropin replacement of strtof
13041         for the TS 18661 defined types.
13042         (update_stats): Likewise.
13043         (print_complex_function_ulps): Likewise.
13044         (print_max_error): Likewise.
13045         (print_complex_max_error): Likewise.
13046         (check_float_internal): Likewise.
13048         * math/test-float.h (PREFIX): New macro.
13049         (LIT): Likewise.
13050         (TYPE_STR): Likewise.
13051         (FTOSTR): Likewise.
13053         * math/test-double.h (PREFIX): New macro.
13054         (LIT): Likewise.
13055         (TYPE_STR): Likewise.
13056         (FTOSTR): Likewise.
13058         * math/test-ldouble.h (PREFIX): New macro.
13059         (LIT): Likewise.
13060         (TYPE_STR): Likewise.
13061         (FTOSTR): Likewise.
13063 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13065         [BZ #20156]
13066         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
13067         to itself when zero or not finite.
13068         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
13069         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13070         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
13071         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13073 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
13075         [BZ #20153]
13076         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
13077         x * x + x for infinities and NaNs.
13079         [BZ #20151]
13080         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
13081         argument to itself before returning result.
13082         (__ieee754_y0l): Likewise.
13083         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13084         (__ieee754_y1l).
13086         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
13087         (atan_test_data): Likewise.
13088         (ceil_test_data): Likewise.
13089         (cos_test_data): Likewise.
13090         (cosh_test_data): Likewise.
13091         (erf_test_data): Likewise.
13092         (exp2_test_data): Likewise.
13093         (fabs_test_data): Likewise.
13094         (floor_test_data): Likewise.
13095         (ilogb_test_data): Likewise.
13096         (j0_test_data): Likewise.
13097         (j1_test_data): Likewise.
13098         (jn_test_data): Likewise.
13099         (lgamma_test_data): Likewise.
13100         (lrint_test_data): Likewise.
13101         (llrint_test_data): Likewise.
13102         (logb_test_data): Likewise.
13103         (lround_test_data): Likewise.
13104         (llround_test_data): Likewise.
13105         (nearbyint_test_data): Likewise.
13106         (rint_test_data): Likewise.
13107         (round_test_data): Likewise.
13108         (sin_test_data): Likewise.
13109         (sincos_test_data): Likewise.
13110         (sinh_test_data): Likewise.
13111         (sqrt_test_data): Likewise.
13112         (tan_test_data): Likewise.
13113         (tanh_test_data): Likewise.
13114         (tgamma_test_data): Likewise.
13115         (trunc_test_data): Likewise.
13116         (y0_test_data): Likewise.
13117         (y1_test_data): Likewise.
13118         (yn_test_data): Likewise.
13120         * math/libm-test.inc: Update comment about NaN testing.
13121         (TEST_SNAN): New macro.
13122         (snan_value): Likewise.
13123         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
13124         (fpclassify_test_data): Add sNaN tests.
13125         (isfinite_test_data): Likewise.
13126         (isinf_test_data): Likewise.
13127         (isnan_test_data): Likewise.
13128         (isnormal_test_data): Likewise.
13129         (issignaling_test_data): Likewise.
13130         (signbit_test_data): Likewise.
13131         * math/gen-libm-test.pl (%beautify): Add snan_value.
13132         (show_exceptions): Add argument $test_snan.
13133         (parse_args): Handle snan_value as non-finite.  Update call to
13134         show_exceptions.
13135         * math/Makefile (libm-test-no-inline-cflags): Add
13136         -fsignaling-nans.
13138 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13140         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
13141         (CFLAGS-oldsendmsg.c): Add rule.
13142         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13143         Correct recvmsg symbol name.
13144         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
13145         Likewise.
13147 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13149         * sysdeps/unix/sysv/linux/Makefile
13150         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
13151         oldsendmmsg.
13152         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
13153         sendmmsg.
13154         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13155         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13156         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13157         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13159         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13160         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13162         Likewise.
13163         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13164         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
13165         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13166         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
13167         iovlen and controllen fields to adjust to POSIX specification.
13168         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13170         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
13171         and change to correct expected type.
13172         (msghdr.msg_controllen): Likewise.
13173         (cmsghdr.cmsg_len): Likewise.
13174         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
13175         expected POSIX assumption about the size.
13176         (msghdr.msg_controllen): Likewise.
13177         (msghdr.__glibc_reserved1): Likewise.
13178         (msghdr.__glibc_reserved2): Likewise.
13179         (cmsghdr.cmsg_len): Likewise.
13180         (cmsghdr.__glibc_reserved1): Likewise.
13181         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
13182         Add ptw-oldrecvmsg and ptw-oldsendmsg.
13183         (CFLAGS-sendmsg.c): Remove rule.
13184         (CFLAGS-recvmsg.c): Likewise.
13185         (CFLAGS-oldsendmsg.c): Add rule.
13186         (CFLAGS-oldrecvmsg.c): Likewise.
13187         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
13188         recvmsg and sendmsg.
13189         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
13190         Likewise.
13191         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
13192         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
13193         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13194         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
13195         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13196         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13197         Likewise.
13198         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13199         Likewise.
13200         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
13201         Likewise.
13202         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
13203         Likewise.
13204         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13205         Likewise.
13206         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13207         Likewise.
13208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
13209         (GLIBC_2.24): Likewise.
13210         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13211         Likewise.
13212         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13213         Likewise.
13214         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13215         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13216         Likewise.
13217         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13218         Likewise.
13219         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13220         Likewise.
13221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
13222         (GLIBC_2.24): Likewise.
13223         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
13224         Likewise.
13225         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
13226         Likewise.
13227         * sysdeps/unix/sysv/linux/Makefile
13228         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
13229         (CFLAGS-sendmsg.c): Add rule.
13230         (CFLAGS-recvmsg.c): Likewise.
13231         (CFLAGS-oldsendmsg.c): Likewise.
13232         (CFLAGS-oldrecvmsg.c): Likewise.
13233         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
13234         initialization.
13235         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13236         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13237         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
13238         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13239         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
13240         iovlen and controllen fields to adjust to POSIX specification.
13241         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
13242         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
13243         added recvmsg and sendmsg.
13244         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13245         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13246         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13247         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13248         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13249         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13250         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13251         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13252         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13253         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13254         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13255         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13257         Likewise.
13258         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13260         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13261         Likewise.
13262         Likewise.
13263         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13264         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13265         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13266         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13267         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13268         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13270         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13272         Likewise.
13273         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13274         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13276         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
13277         from auto-generation.
13278         (sendmsg): Likewise.
13279         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
13280         (sendmsg): Likewise.
13281         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
13282         (sendmsg): Likewise.
13283         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
13284         (sendmsg): Likewise.
13285         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
13286         (sendmsg): Likewise.
13287         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
13288         (sendmsg): Likewise.
13289         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
13290         Likewise.
13291         (sendmsg): Likewise.
13292         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
13293         (sendmsg): Likewise.
13294         * sysdeps/unix/sysv/linux/i386/kernel-features.h
13295         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13296         Remove.
13297         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13298         Likewise.
13299         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13300         Undefine.
13301         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13302         Likewise.
13303         * sysdeps/unix/sysv/linux/kernel-features.h
13304         (__ASSUME_SENDMSG_SYSCALL): Define.
13305         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13306         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13307         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13308         Remove.
13309         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13310         Likewise.
13311         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13312         Undefine.
13313         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13314         Likewise.
13315         * sysdeps/unix/sysv/linux/s390/kernel-features.h
13316         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13317         Remove.
13318         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13319         Likewise.
13320         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13321         Undefine.
13322         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13323         Likewise.
13324         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13325         (__ASSUME_SENDMSG_SYSCALL): Undefine.
13326         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13327         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13328         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13329         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13330         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13331         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13332         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13334 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13336         * stdlib/gen-tst-strtod-round.c: Add backslash to
13337         compile command in comment.
13338         (printfp): Remove the literal suffix, and define an infinite
13339         value as INF to avoid expansion clash with INFINITY.
13340         (round_str): Remove the literal suffix.
13341         (round_for_all): Likewise, remove the now duplicate ldbl-64
13342         entry, and remove some magic constants.
13344         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
13345         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
13346         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
13347         (_CONCAT): New macro.
13348         (CONCAT): Likewise.
13349         (CHOOSE_ld): Likewise.
13350         (CHOOSE_f): Likewise.
13351         (CHOOSE_d): Likewise.
13352         (FTYPE_MEMBER): Likewise.
13353         (BOOL_MEMBER): Likewise.
13354         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
13355         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
13356         (_XNTRY): Likewise.
13357         (XNTRY): Likewise.
13358         (_ENTRY): Likewise.
13359         (ENTRY): Likewise.
13360         (test_exactness): Generate members via macro.
13361         (test_results): Likewise.
13362         (test): Update members.
13363         (TEST): Redefine using new macros.
13364         (INF): New macro.
13365         (fetestmodes): New structure.
13366         (do_test): Refactor to be type generic.
13367         (test_in_one_mode): Refactor duplicate code into
13368         (GEN_ONE_TEST): New macro.
13370         * stdlib/tst-strtod-round-data.h: Regenerate.
13372         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
13373         Extend to pass additional arbitrary parameters to
13374         generators.
13376 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
13378         [BZ #15479]
13379         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
13380         floating-point state after first floating-point operation on
13381         input.  Restore full floating-point state instead of just rounding
13382         mode.
13383         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13384         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13385         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13386         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13387         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13389         [BZ #15479]
13390         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
13391         floating-point state after first floating-point operation on
13392         input.  Restore full floating-point state instead of just rounding
13393         mode.
13394         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13395         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13396         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13397         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13398         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13400 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13402         [BZ #19727]
13403         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
13404         valid high surrogate.
13405         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
13406         of an utf16 surrogate.
13407         * iconv/gconv_simple.c (BODY): Likewise.
13408         * iconvdata/bug-iconv12.c: New file.
13409         * iconvdata/Makefile (tests): Add bug-iconv12.
13411 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13413         [BZ #19726]
13414         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
13415         outptrp in case of an illegal input.
13416         * iconv/tst-iconv6.c: New file.
13417         * iconv/Makefile (tests): Add tst-iconv6.
13419 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13421         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
13422         an error in case of a value in range of an utf16 low surrogate.
13424 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13426         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
13427         an error in case of a value in range of an utf16 low surrogate.
13429 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13431         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
13432         Move to ...
13433         * sysdeps/s390/Makefile: ... here.
13434         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
13435         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
13436         (BRANCH_ON_COUNT): New define.
13437         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
13438         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
13439         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
13440         run on s390-32, too.
13441         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
13442         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
13443         run on s390-32, too.
13444         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
13445         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
13446         run on s390-32, too.
13448 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13450         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
13451         etf3eh or new vector loop-variant.
13453 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13455         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
13456         etf3eh or new vector loop-variant.
13458 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13460         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
13461         or new vector loop-variant.
13463 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13465         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
13466         Rename to TR_LOOP and usage of tr instead of troo instruction.
13468 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13470         * sysdeps/s390/multiarch/gconv_simple.c: New File.
13471         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
13473 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13475         * sysdeps/s390/multiarch/8bit-generic.c: New File.
13476         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
13477         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
13478         New override define.
13479         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
13481 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13483         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
13484         * sysdeps/s390/configure.ac: Add test for S390 vector register
13485         support in gcc.
13486         * sysdeps/s390/configure: Regenerated.
13488 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13490         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
13491         Install file from $(objpfx)gconv-modules.
13492         ($(objpfx)gconv-modules): Concatenate architecture specific file
13493         in variable sysdeps-gconv-modules and gconv-modules in src dir.
13494         * sysdeps/s390/gconv-modules: New file.
13495         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
13496         Deleted.
13497         ($(objpfx)gconv-modules-s390): Deleted.
13498         (sysdeps-gconv-modules): New variable.
13500 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
13502         [BZ #15479]
13503         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
13504         of immediate operand to rounding instruction.
13505         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
13506         Likewise.
13507         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
13508         Likewise.
13509         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
13510         Likewise.
13512 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13514         * math/libm-test.inc (MIN_EXP): Directly define as
13515         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
13517 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13519         * math/libm-test.inc (MANT_DIG): Directly define as
13520         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
13522 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13524         * stdlib/gen-tst-strtod-round.c (main):
13525           Change usage to more closely match the generated
13526           output.  Add usage and compilation instructions.
13527           (string_to_fp): Add and use FILE* parameter as
13528           output target.
13529           (print_fp): Likewise.
13530           (round_str): Likewise.
13531           (round_for_all): Likewise.
13532         * stdlib/tst-strtod-round.c (tests): Move into
13533         * stdlib/tst-strtod-round-data.h: New file.
13535 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
13537         [BZ #15479]
13538         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
13539         (__round): Do not force "inexact" exception.
13540         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
13541         variable.
13542         (__round): Do not force "inexact" exception.
13543         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
13544         (__roundf): Do not force "inexact" exception.
13545         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
13546         (__roundl): Do not force "inexact" exception.
13547         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
13548         (__roundl): Do not force "inexact" exception.
13549         * math/libm-test.inc (round_test_data): Do not allow spurious
13550         "inexact" exceptions.
13552         [BZ #15479]
13553         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
13554         exception in comment.
13555         (huge): Remove variable.
13556         (__floor): Do not force "inexact" exception.
13557         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
13558         "inexact" exception in comment.
13559         (huge): Remove variable.
13560         (__floor): Do not force "inexact" exception.
13561         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
13562         exception in comment.
13563         (huge): Remove variable.
13564         (__floorf): Do not force "inexact" exception.
13565         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
13566         exception in comment.
13567         (huge): Remove variable.
13568         (__floorl): Do not force "inexact" exception.
13570         [BZ #15479]
13571         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
13572         exception in comment.
13573         (huge): Remove variable.
13574         (__ceil): Do not force "inexact" exception.
13575         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
13576         "inexact" exception in comment.
13577         (huge): Remove variable.
13578         (__ceil): Do not force "inexact" exception.
13579         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
13580         (__ceilf): Do not force "inexact" exception.
13581         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
13582         exception in comment.
13583         (huge): Remove variable.
13584         (__ceill): Do not force "inexact" exception.
13586 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
13588         * config.h.in (BIND_NOW): New.
13589         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
13590         * configure: Regenerated.
13591         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
13592         indirect branch via the GOT slot.
13594 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13596         [BZ #19765]
13597         * sysdeps/s390/mempcpy.S: New File.
13598         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
13599         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
13600         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13601         Add mempcpy variants.
13602         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
13603         (memcpy): Adjust to be usable from mempcpy entry point.
13604         (__memcpy_mvcle): Likewise.
13605         * sysdeps/s390/s390-64/memcpy.S: Likewise.
13606         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
13607         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
13608         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
13609         (__memcpy_z10): Likewise.
13610         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
13612 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13614         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
13615         Remove __GI_ symbol.
13616         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
13617         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
13618         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
13619         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
13620         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
13621         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
13623 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13625         * sysdeps/s390/s390-64/memcpy.S (memcpy):
13626         Use cghi instead of chi to compare 64bit value.
13628 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13630         * sysdeps/s390/s390-32/memcpy.S (memcpy):
13631         Jump to 1MB check before executing mvc-loop.
13633 2016-05-24  Florian Weimer  <fweimer@redhat.com>
13635         [BZ #6527]
13636         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
13637         unconditionally.
13638         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
13640 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13642         * stdlib/tst-strtod6.c (do_test): Use new type generic
13643         invocation of the test function.
13644         (test): Refactor into ...
13645         (TEST_STRTOD): New macro base function.
13647 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13649         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
13650         (TEST_STRTOD): New macro.
13651         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
13653 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13655         * stdlib/tst-strtod6.c (do_test): Use new type generic
13656         invocation of the test function.
13657         (test): Refactor into ...
13658         (TEST_STRTOD): New macro base function.
13660 2016-05-23  Florian Weimer  <fweimer@redhat.com>
13662         CVE-2016-4429
13663         [BZ #20112]
13664         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
13665         payload.
13667 2016-05-23  Florian Weimer  <fweimer@redhat.com>
13669         [BZ #20111]
13670         * bits/sockaddr.h (_SS_SIZE): Define.
13671         * bits/socket.h (_SS_SIZE): Remove.
13672         (_SS_PADSIZE): Adjust to account for all padding.
13673         (struct sockaddr_storage): Update comment.  Avoid implicit
13674         padding.
13675         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
13676         (_SS_PADSIZE): Adjust to account for all padding.
13677         (struct sockaddr_storage): Update comment.  Avoid implicit
13678         padding.
13679         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
13680         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
13681         (_SS_PADSIZE): Adjust to account for all padding.
13682         (struct sockaddr_storage): Update comment.  Avoid implicit
13683         padding.
13684         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
13685         __SS_SIZE is 126 in this version.
13686         * inet/tst-sockaddr.c: New file.
13687         * inet/Makefile (tests): Add tst-sockaddr.c
13688         (tst-sockaddr.c): Compile with non-strict aliasing.
13690 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
13692         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
13693         [XPG3 || XPG4].
13694         (NL_ARGMAX): Also expect for [XPG3].
13695         (NL_LANGMAX): Likewise.
13696         (NL_MSGMAX): Likewise.
13697         (NL_NMAX): Likewise.
13698         (NL_SETMAX): Likewise.
13699         (NL_TEXTMAX): Likewise.
13700         (NZERO): Likewise.
13701         (TMP_MAX): Likewise.
13702         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
13703         variable.
13705         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
13706         (PF_MAX): Update value.
13707         (AF_KCM): New macro.
13708         (SOL_NETBEUI): Likewise.
13709         (SOL_LLC): Likewise.
13710         (SOL_DCCP): Likewise.
13711         (SOL_NETLINK): Likewise.
13712         (SOL_TIPC): Likewise.
13713         (SOL_RXRPC): Likewise.
13714         (SOL_PPPOL2TP): Likewise.
13715         (SOL_BLUETOOTH): Likewise.
13716         (SOL_PNPIPE): Likewise.
13717         (SOL_RDS): Likewise.
13718         (SOL_IUCV): Likewise.
13719         (SOL_CAIF): Likewise.
13720         (SOL_ALG): Likewise.
13721         (SOL_NFC): Likewise.
13722         (SOL_KCM): Likewise.
13723         (MSG_BATCH): New enum value and macro.
13725 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
13727         [BZ #18185]
13728         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
13729         sharing L2 cache to 2 for Knights Landing.
13731 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
13733         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
13734         (FTW_DP): Do not expect for [XPG3 || XPG4].
13735         (FTW_SL): Do not expect for [XPG3].
13736         (FTW_SLN): Likewise.
13737         (FTW_PHYS): Likewise.
13738         (FTW_MOUNT): Likewise.
13739         (FTW_DEPTH): Likewise.
13740         (FTW_CHDIR): Likewise.
13741         (nftw): Likewise.
13742         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
13743         variable.
13745 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
13747         * manual/errno.texi: Fix various typos & grammar errors.
13749 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
13751         * manual/intro.texi: Fix duplicated typo.
13753 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
13755         [BZ #13304]
13756         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
13757         <float.h>, <math_private.h> and <stdlib.h>.
13758         (add_split): New function.
13759         (mul_split): Likewise.
13760         (ext_val): New typedef.
13761         (store_ext_val): New function.
13762         (mul_ext_val): New function.
13763         (compare): New function.
13764         (add_split_ext): New function.
13765         (__fmal): After checking for Inf, NaN and zero, compute result as
13766         an exact sum of scaled double values in round-to-nearest before
13767         adding those up and adjusting for other rounding modes.
13768         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
13769         tests of fma.
13770         * math/auto-libm-test-out: Regenerated.
13772 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13774         [BZ #20119]
13775         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
13776         processor level type mask for CPUID with EAX == 11.
13778 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13780         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
13781         logical threads if the HTT bit is 0.
13782         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
13783         (index_cpu_HTT): Likewise.
13784         (reg_HTT): Likewise.
13786 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13788         [BZ #20115]
13789         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
13790         Remove alignments on jump targets.
13792 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
13794         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
13795         (getpwent): Likewise.
13796         (setpwent): Likewise.
13797         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
13798         variable.
13800         * conform/data/search.h-data (insque): Do not expect for [XPG3].
13801         (remque): Likewise.
13802         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
13803         variable.
13805 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
13807         * math/libm-test.inc: Update comment not to refer to signs of NaNs
13808         not being tested.
13810 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13812         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13813         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
13814         call.
13815         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13816         (__condvar_cleanup1): Likewise.
13818 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13820         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
13821         New
13822         (__pthread_unwind): Renamed to ...
13823         (PTHREAD_UNWIND): This.
13824         (__pthread_enable_asynccancel): Replace
13825         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
13827 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
13829         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
13830         (CLONE_NEWCGROUP): New macro.
13832         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
13833         (Q_GETNEXTQUOTA): New macro.
13835 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13837         [BZ #19907]
13838         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
13839         buffer updated by the previous run.
13840         * string/test-memcpy.c (do_one_test): Likewise.
13841         * benchtests/bench-memmove.c (do_one_test): Add a comment.
13842         * string/test-memmove.c (do_one_test): Likewise.
13844 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
13846         [BZ #20094]
13847         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
13848         not [__USE_XOPEN].
13849         (unlockpt): Likewise.
13850         (ptsname): Likewise.
13851         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
13852         variable.
13854         [BZ #20076]
13855         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
13856         instead of [__USE_UNIX98].
13857         (S_ISSOCK): Likewise.
13858         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
13859         variable.
13861         [BZ #20074]
13862         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
13863         [__USE_POSIX].
13864         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
13865         variable.
13867         [BZ #20051]
13868         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
13869         (ttyslot): Do not declare.
13870         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
13871         (ttyslot): New prototype.
13872         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
13873         variable.
13874         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13876 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13878         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
13880 2016-05-13  Florian Weimer  <fweimer@redhat.com>
13882         Fix race condition in tst-mallocfork2, use fewer resources.
13883         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
13884         to current process group.
13885         (signal_sender): Yield in the non-sleeping case.
13887 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
13889         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
13890         (ecvt): Likewise.
13891         (fcvt): Likewise.
13892         (gcvt): Likewise.
13893         (getsubopt): Likewise.
13894         (grantpt): Likewise.
13895         (initstate): Likewise.
13896         (l64a): Likewise.
13897         (mktemp): Likewise.
13898         (mkstemp): Likewise.
13899         (ptsname): Likewise.
13900         (random): Likewise.
13901         (realpath): Likewise.
13902         (setstate): Likewise.
13903         (srandom): Likewise.
13904         (ttyslot): Likewise.
13905         (unlockpt): Likewise.
13906         (valloc): Likewise.
13908         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
13909         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
13910         variable.
13912 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13914         [BZ #20072]
13915         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
13916         init_cpu_features only if SHARED is defined.
13917         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
13919 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
13921         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
13922         non-inclusive caches on Intel processors.
13924 2016-05-13  Florian Weimer  <fweimer@redhat.com>
13926         * malloc/malloc.c (dumped_main_arena_start)
13927         (dumped_main_arena_end): New variables.
13928         (DUMPED_MAIN_ARENA_CHUNK): New macro.
13929         (do_check_chunk): Skip dumped fake mmapped chunks.
13930         (munmap_chunk): Likewise.
13931         (__libc_free): Do not adjust statistics for fake mmapped chunks.
13932         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
13933         mmapped chunks.
13934         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
13935         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
13936         and dumped_main_arena_end to cover the dumped heap.
13938 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
13940         * conform/data/time.h-data (getdate_err): Do not expect for
13941         [XPG3].
13942         (getdate): Likewise.
13943         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
13944         variable.
13946         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
13947         (F_ULOCK): Likewise.
13948         (F_TEST): Likewise.
13949         (F_TLOCK): Likewise.
13950         (useconds_t): Likewise.
13951         (intptr_t): Do not expect for [XPG3] or [XPG4].
13952         (brk): Do not expect for [XPG3]
13953         (fchown): Likewise.
13954         (fchdir): Likewise.
13955         (ftruncate): Likewise.
13956         (getdtablesize): Likewise.
13957         (gethostid): Likewise.
13958         (getpagesize): Likewise.
13959         (getpgid): Likewise.
13960         (getsid): Likewise.
13961         (getwd): Likewise.
13962         (lchown): Likewise.
13963         (lockf): Likewise.
13964         (readlink): Likewise.
13965         (sbrk): Likewise.
13966         (setpgrp): Likewise.
13967         (setregid): Likewise.
13968         (setreuid): Likewise.
13969         (symlink): Likewise.
13970         (sync): Likewise.
13971         (truncate): Likewise.
13972         (ualarm): Likewise.
13973         (usleep): Likewise.
13974         (vfork): Likewise.
13975         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
13976         variable.
13978         [BZ #20054]
13979         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
13980         not [__USE_UNIX98].
13981         * conform/data/unistd.h-data (gethostname): Do not expect for
13982         [XPG3].
13984         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
13985         [!POSIX] (S_IFBLK): Likewise.
13986         [!POSIX] (S_IFCHR): Likewise.
13987         [!POSIX] (S_IFIFO): Likewise.
13988         [!POSIX] (S_IFREG): Likewise.
13989         [!POSIX] (S_IFDIR): Likewise.
13990         [!POSIX] (S_IFLNK): Likewise.
13991         [!POSIX] (S_IFSOCK): Likewise.
13992         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
13993         variable.
13994         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13996 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
13998         * sysdeps/aarch64/memset.S (__memset):
13999         Rewrite of optimized memset.
14001 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14003         [BZ #19703]
14004         Partially async-signal-safe fork for single-threaded processes.
14005         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
14006         variable.  Do not acquire and reset/release malloc and libio locks
14007         in single-threaded processes.
14008         * malloc/tst-mallocfork2.c: New file.
14009         * malloc/Makefile (tests): Add it.
14011 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14013         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
14014         argument.  Use scratch buffer instead of extend_alloca.
14015         (gethosts): Use scratch buffer instead of extend_alloca.
14016         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
14017         extend_alloca.
14018         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
14020 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
14022         [BZ #20055]
14023         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
14024         instead of [__USE_UNIX98].
14025         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
14026         [__USE_UNIX98].
14027         * conform/data/termios.h-data (tcgetsid): Do not expect for
14028         [XPG3].
14029         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
14030         variable.
14031         (test-xfail-XPG4/termios.h/conform): Likewise.
14033 2016-05-11  Florian Weimer  <fweimer@redhat.com>
14035         Do not use mcheck in localedef.
14036         * locale/programs/localedef.c (turn_on_mcheck)
14037         (__malloc_initialize_hook): Remove.
14039 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14041         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
14042         * sysdeps/s390/s390-64/Makefile: Likewise.
14044 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14046         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
14047         Remove ifunc-defines.sym.
14048         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
14049         Likewise.
14050         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
14051         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14052         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
14053         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
14054         rtld-global-offsets.sym.
14055         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
14056         * sysdeps/x86/cpu-features-offsets.sym: This.
14057         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
14058         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
14060 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
14062         [BZ #20073]
14063         * io/sys/stat.h (fchmod): Declare for
14064         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
14065         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
14066         variable.
14068         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
14069         [XPG3] (S_IFSOCK): Likewise.
14070         [XPG3] (S_ISVTX): Likewise.
14071         [XPG3] (S_ISLNK): Likewise.
14072         [XPG3] (S_ISSOCK): Likewise.
14073         [XPG3] (fchmod): Likewise.
14074         [XPG3] (lstat): Likewise.
14075         [XPG3] (mknod): Likewise.
14077         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
14078         [XPG3].  Expect type long and XFAIL for [XPG4].
14079         (st_blocks): Likewise.
14081         [BZ #20044]
14082         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
14083         (pthread_atfork): New prototype.
14084         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
14085         variable.
14087         [BZ #20043]
14088         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
14089         prototype.
14091 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14093         [BZ #20017]
14094         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
14095         gmtime.
14097 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14099         [BZ #19994]
14100         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
14101         flag in _res.options.
14103 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
14105         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
14106         [XPG3 || XPG4].
14107         (blksize_t): Likewise.
14108         (clockid_t): Likewise.
14109         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
14110         variable.
14111         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14113 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
14115         * sysdeps/unix/sysv/linux/s390/init-first.c:
14116         Add VDSO_SYMBOL(getcpu).
14117         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
14118         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
14119         Add VDSO_SYMBOL(getcpu).
14120         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
14121         New define HAVE_GETCPU_VSYSCALL.
14122         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14124 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14126         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
14127         instead of <sysdeps/x86_64/cacheinfo.c>.
14128         * sysdeps/x86_64/cacheinfo.c: Moved to ...
14129         * sysdeps/x86/cacheinfo.c: Here.
14131 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14133         * malloc/malloc-internal.h: Adjust header file guard.
14135 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14137         [BZ #19787]
14138         * inet/getnameinfo.c (check_sprintf_result): New function.
14139         (CHECKED_SNPRINTF): New macro.
14140         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
14141         to the host buffer.
14142         (gni_host_local): Use checked_copy to copy the host name.
14143         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
14144         (gni_serv_local): Use checked_copy to copy the service name.
14145         (getnameinfo): Remove unnecessary truncation of result buffers.
14147 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14149         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
14150         in case of inet_ntop failure.
14152 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14154         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
14155         avoid long lines.
14156         (gni_host_inet_numeric): Likewise.  Reduce scope of local
14157         variables.
14158         (gni_host_inet, gni_host_local): Add comment.
14159         (gni_host): Add comment.  Use temporary to avoid long lines.
14161 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14163         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
14164         registers specifiers where general purpose registers specifiers should
14165         have been used.
14167 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14169         [BZ #19779]
14170         CVE-2016-1234
14171         Avoid copying names of directory entries.
14172         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
14173         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
14174         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
14175         (struct readdir_result): New type.
14176         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
14177         (GL_READDIR): New macros.
14178         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
14179         (convert_dirent, convert_dirent64): New functions.
14180         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
14181         convert_dirent64.  Adjust references to the readdir result.
14182         * sysdeps/unix/sysv/linux/i386/glob64.c:
14183         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
14184         * posix/bug-glob2.c (LONG_NAME): Define.
14185         (filesystem): Add LONG_NAME.
14186         (my_DIR): Increase the size of room_for_dirent.
14188 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
14190         [BZ #20041]
14191         * misc/sys/select.h (__need_timespec): Only define if
14192         [__USE_XOPEN2K].
14193         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
14194         variable.
14195         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14196         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14197         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14199 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14200             Segher Boessenkool  <segher@gcc.gnu.org>
14202         [BZ #20004]
14203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
14204         (__novec_swapcontext): Add missing load.
14206 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
14208         [BZ #20023]
14209         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
14210         <time.h>.
14211         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
14212         variable.
14213         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14215 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
14218         flags CLONE_VM compare.
14220 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14222         [BZ #20031]
14223         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
14224         completely empty.
14226 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14228         [BZ #19573]
14229         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
14230         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
14231         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
14232         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
14233         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
14234         (hesiod_free_list): Mark as hidden.
14235         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
14236         res_set, res_get.
14237         * hesiod/hesiod.c: Remove unnecessary forward declarations.
14238         (init, __hesiod_res_get, __hesiod_res_set): Remove.
14239         (hesiod_init): Remove obsolete res_ninit call.
14240         (hesiod_end): Do not free resolver state.  Do not invoke callback.
14241         (hesiod_bind): Do not call init.
14242         (get_txt_records): Use res_mkquery, res_send instead of
14243         res_nmkquery, res_nsend.
14244         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
14245         instead of _nss_hesiod_init.
14246         (_nss_hesiod_initgroups_dyn): Likewise.
14247         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
14248         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
14249         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
14251 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14253         * hesiod/hesiod_p.h (DEF_RHS): Remove.
14254         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
14256 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14258         * hesiod/hesiod.h: Remove RCS keyword.
14259         * hesiod/hesiod_p.h: Likewise.
14261         * hesiod/hesiod.c: Likewise.
14263 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
14265         [BZ #12450]
14266         * locale/iso-639.def: Add Samogitian/sgs.
14268 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
14270         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
14272         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
14274 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
14275             Carlos O'Donell  <carlos@redhat.com>
14277         [BZ #19072]
14278         * grp/Makefile (headers): Add grp-merge.h
14279         (routines): Add grp-merge.
14280         * grp/getgrgid_r.c: Include grp-merge.h.
14281         (DEEPCOPY_FN): Define.
14282         (MERGE_FN): Define.
14283         * grp/getgrname_r.c: Include grp-merge.h.
14284         (DEEPCOPY_FN): Define.
14285         (MERGE_FN): Define.
14286         * grp/grp-merge.c: New file.
14287         * grp/grp-merge.h: New file.
14288         * include/grp-merge.h: New file.
14289         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
14290         __copy_grp@GLIBC_PRIVATE.
14291         * manual/nss.texi (Actions in the NSS configuration): Describe
14292         return, continue, and merge.
14293         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
14294         (DEEPCOPY_FN): Define.
14295         (MERGE_FN): Define.
14296         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
14297         (DEEPCOPY_FN): Define.
14298         (MERGE_FN): Define.
14299         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
14300         [!MERGE_FN]: Define __merge_einval.
14301         (CHECK_MERGE): Define.
14302         (REENTRANT_NAME): Process merge if do_merge is true.
14303         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
14304         (__nss_getent_r): Likewise.
14305         * nss/nsswitch.c (nss_parse_service_list): Likewise.
14306         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
14308 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14310         [BZ #20012]
14311         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
14312         length to calculate the buffer to read.
14313         (fmemopen_write): Set the buffer position based on bytes written.
14314         (fmemopen_seek): Return EINVAL for invalid whence modes.
14316         [BZ #19957]
14317         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
14318         tst-getpid2.
14319         (test): Add tst-clone2.
14320         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
14321         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
14322         pid/tid fields for CLONE_VM.
14323         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
14324         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
14325         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
14326         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
14327         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
14328         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
14329         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
14330         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
14331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
14332         Likewise.
14333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14334         Likewise.
14335         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
14336         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
14337         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
14338         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
14339         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
14340         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
14341         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
14342         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
14344 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14346         [BZ #19642]
14347         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
14348         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
14349         (gni_serv_local, gni_serv): New functions extracted from
14350         getnameinfo.
14351         (getnameinfo): Call gni_host and gni_serv to perform the
14352         processing.  Always free scratch buffer.
14354 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14356         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
14357         remaining bytes in the dest string, with zeros.
14359 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14361         [BZ #20010]
14362         CVE-2016-3706
14363         * sysdeps/posix/getaddrinfo.c
14364         (convert_hostent_to_gaih_addrtuple): New function.
14365         (gethosts): Call convert_hostent_to_gaih_addrtuple.
14366         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
14367         AF_INET data.
14369 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14371         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
14372         callback function gl_readdir.
14373         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
14374         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
14375         (glob_in_dir): Remove len.  Use strdup instead of malloc and
14376         memcpy to copy the name.
14377         * manual/pattern.texi (Calling Glob): Document requirements for
14378         implementations of the gl_readdir callback function.
14379         * manual/examples/mkdirent.c: New example.
14380         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
14381         per the manual guidance.
14382         * posix/tst-gnuglob.c (my_readdir): Likewise.
14384 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
14386         [BZ #20014]
14387         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
14388         not [__USE_POSIX].
14389         (getchar_unlocked): Likewise.
14390         (putc_unlocked): Likewise.
14391         (putchar_unlocked): Likewise.
14392         (flockfile): Likewise.
14393         (ftrylockfile): Likewise.
14394         (funlockfile): Likewise.
14395         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
14396         variable.
14397         (test-xfail-XPG4/stdio.h/conform): Likewise.
14399         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
14400         Expect constant.
14401         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
14402         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
14403         variable.
14404         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14405         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14407         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
14408         [__USE_LARGEFILE64] (off64_t): Likewise.
14409         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
14410         variable.
14412 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14414         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
14416 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14418         * resolv/inet_addr.c: Reindent preprocessor conditionals.
14419         * resolv/res_init.c: Likewise.
14420         * resolv/res_mkquery.c: Likewise.
14422 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14424         * resolv/res_init.c (isascii): Do not define.  Use definition in
14425         <ctype.h>.
14426         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
14427         (LOG_AUTH): Remove.
14428         (SPRINTF): Remove, adjust caller.
14429         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
14431 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14433         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
14434         SUNSECURITY conditional.
14435         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
14437 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14439         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
14440         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
14441         Remove BSD-related preprocessor conditionals.
14442         * conf/portability.h: Remove.
14444 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14446         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
14447         * resolv/res_data.c: Likewise.
14449 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14451         * resolv/res_comp.c: Remove code conditional on __ultrix__.
14452         * resolv/res_data.c: Remove code conditional on ultrix.
14454 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14456         * resolv/res_init.c (RFC1535): Do not define.  Remove
14457         RFC1535 preprocessor conditionals.
14458         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
14459         because there configuration options which make the resolver
14460         behavior different.
14462 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14464         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
14465         RESOLVSORT preprocessor conditionals.
14466         * resolv/nss_dns/dns-host.c: Likewise.
14467         * resolv/res_init.c: Likewise.
14469 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14471         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
14472         is never defined.
14474 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14476         * inet/inet_lnaof.c: Remove SCSS keyword.
14477         * inet/inet_mkadr.c: Likewise.
14478         * inet/inet_net.c: Likewise.
14479         * inet/inet_netof.c: Likewise.
14480         * inet/rcmd.c: Likewise.
14481         * inet/rexec.c: Likewise.
14482         * inet/ruserpass.c: Likewise.
14484 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14486         * resolv/inet_addr.c: Remove _LIBC conditionals.
14487         * resolv/res_data.c: Likewise.
14488         * resolv/res_init.c: Likewise.
14489         * resolv/res_mkquery.c: Likewise.
14490         * resolv/res_libc.c: Update comment.
14491         * resolv/README: Update.
14493 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14495         * resolv/gethnamaddr.c: Remove SCSS keyword.
14496         * resolv/herror.c: Likewise.
14497         * resolv/inet_addr.c: Likewise.
14498         * resolv/inet_net_ntop.c: Likewise.
14499         * resolv/inet_net_pton.c: Likewise.
14500         * resolv/inet_neta.c: Likewise.
14501         * resolv/inet_ntop.c: Likewise.
14502         * resolv/inet_pton.c: Likewise.
14503         * resolv/ns_date.c: Remove RCS keyword.
14504         * resolv/ns_name.c: Likewise.
14505         * resolv/ns_netint.c: Likewise.
14506         * resolv/ns_parse.c: Likewise.
14507         * resolv/ns_print.c: Likewise.
14508         * resolv/ns_samedomain.c: Likewise.
14509         * resolv/ns_ttl.c: Likewise.
14510         * resolv/nsap_addr.c: Likewise.
14511         * resolv/res_comp.c: Remove SCSS and RCS keyword.
14512         * resolv/res_data.c: Remove RCS keyword.
14513         * resolv/res_debug.c: Remove SCSS and RCS keyword.
14514         * resolv/res_init.c: Likewise.
14515         * resolv/res_mkquery.c: Likewise.
14516         * resolv/res_query.c: Likewise.
14517         * resolv/res_send.c: Likewise.
14519 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
14521         * conform/data/stdio.h-data (fdopen): Expect also for
14522         [XPG3 || XPG4].
14524         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
14525         (fseeko): Likewise.
14526         (ftello): Likewise.
14527         (ftrylockfile): Likewise.
14528         (funlockfile): Likewise.
14529         (getc_unlocked): Likewise.
14530         (getchar_unlocked): Likewise.
14531         (putc_unlocked): Likewise.
14532         (putchar_unlocked): Likewise.
14534 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14536         [BZ #19868]
14537         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
14538         DNS packet syntax checks (which were not needed before).  Skip
14539         over non-PTR records.
14541 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14543         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
14544         definition.  Include <stddef.h> instead.
14546 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14548         [BZ #19831]
14549         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
14550         function.
14551         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
14552         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
14554 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14556         [BZ #19862]
14557         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
14558         (getanswer_r): Do not call syslog.
14559         (gaih_getanswer_slice): Likewise.
14560         * resolv/gethnamaddr.c (AskedForGot): Remove.
14561         (getanswer): Do not call syslog.
14562         (gethostbyaddr): Likewise.
14564 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
14566         * conform/data/signal.h-data (union sigval): Expect also if
14567         [XOPEN2K].
14568         (struct sigevent): Likewise.
14569         (SIGEV_NONE): Likewise.
14570         (SIGEV_SIGNAL): Likewise.
14571         (SIGEV_THREAD): Likewise.
14572         (SIGRTMIN): Likewise.
14573         (SIGRTMAX): Likewise.
14574         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
14575         variable.
14576         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14578 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14580         [BZ #19830]
14581         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
14582         (gaih_getanswer_slice): Likewise.
14583         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
14584         Also check for availability of RR metadata.
14586 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14588         [BZ #19825]
14589         * resolv/res_send.c (send_vc): Remove early *resplen2
14590         initialization.  Set *resplen2 on socket error.  Call
14591         close_and_return_error for other errors.
14593 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
14595         * sysdeps/unix/sysv/linux/netiucv/iucv.h
14596         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
14597         (SCM_IUCV_TRGCLS): New define.
14599 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14601         [BZ #20005]
14602         * libio/fmemopen.c (fmemopen_write): Update internal position after
14603         write.
14604         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
14605         * stdio-common/tst-fmemopen4.c: New file..
14607 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
14609         [BZ #19996]
14610         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
14611         not [__USE_XOPEN2K].
14612         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
14613         variable.
14615         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
14616         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
14617         variable.
14619         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
14620         [__USE_XOPEN2K8].
14621         [__USE_LARGEFILE64] (off64_t): Likewise.
14622         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
14623         variable.
14625 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
14627         [BZ #19989]
14628         * libio/stdio.h (cuserid): Do not declare if
14629         [__USE_XOPEN2K && !__USE_GNU].
14630         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
14631         variable.
14633 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14635         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14636         (sysdep_routines): Add P8 and PPC64 strcspn targets.
14637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14638         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
14639         ifunc'ed strcspn.
14640         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
14641         [EALIGN]: Removed.
14642         [END]: Likewise
14643         [STRSPN]: Define instead of the above to control symbol name.
14644         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
14645         New file.
14646         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
14647         Likewise.
14648         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
14649         Likewise.
14650         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
14651         Likewise.
14652         * sysdeps/powerpc/powerpc64/power8/strspn.S:
14653         [INITIAL_MASK]: New macro.
14654         [STRCSPN]: Likewise.
14655         [UPDATE_MASK]: Likewise.
14656         [USE_AS_STRCSPN]: Likewise.
14658 2016-04-25  Florian Weimer  <fweimer@redhat.com>
14660         [BZ #19931]
14661         * stdio-common/tst-vfprintf-width-prec.c: New file.
14662         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
14663         (tests-special): Add tst-vfprintf-width-prec-mem.out.
14664         (generated): Add mtrace-related files.
14665         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
14666         (tst-%-mem.out): New pattern rule, replaces
14667         tst-printf-bz18872-mem.out.
14668         * stdio-common/vfprintf.c (vfprintf): When handling a precision
14669         specifier, deallocate any previously allocated work buffer.
14671 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
14673         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
14674         Add nop before __startcontext, add explaining comments.
14676 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
14678         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
14679         any more. Notably since IPV6_PKTINFO has been reintroduced with a
14680         completely different API.
14682         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
14683         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
14684         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
14685         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
14686         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
14687         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
14688         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
14689         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
14690         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
14691         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
14693 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
14695         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
14697 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
14699         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
14700         when it is the default of 0.
14702 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14704         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
14705         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14706         (sysdep_routines): Add new strcasestr targets.
14707         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14708         (__libc_ifunc_impl_list): Likewise.
14709         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
14710         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
14711         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
14712         * sysdeps/powerpc/powerpc64/power8/Makefile:
14713         New file to add strcasestr-ppc64 to sysdep_routines.
14714         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
14715         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
14717 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
14719         * benchtests/Makefile (wcsmbs-benchset): Include only for
14720         native builds and runs.
14721         (LOCALES): Likewise.
14722         (bench-build): Build timing-type here instead of the bench
14723         target.  Generate locale only for native builds.
14724         * benchtests/README: Add note for cross-building.
14726         * benchtests/Makefile (bench-clean): Clean up extra-objs.
14728         * benchtests/README: Update README to include instructions on
14729         using bench-build.
14731         * Makefile.in (bench-build): New target.
14732         * Rules (PHONY): Add bench-build target.
14733         * benchtests/Makefile (bench): Depend on bench-build.
14734         (bench-build): New target.
14736 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14738         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
14739         profil_reply_port.
14740         (profile_waiter): Do not initialize profil_reply_port.
14741         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
14742         frequency instead of tick length in us.
14744 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
14746         [BZ #18712]
14747         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
14748         (__old_mempcpy_small): Likewise.
14749         (__old_strcpy_small): Likewise.
14750         (__old_stpcpy_small): Likewise.
14751         (__old_strpbrk_c2): Fix compat symbol name.
14752         (__old_strpbrk_c3): Likewise.
14753         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
14754         (__mempcpy_small): Remove.
14755         (__strcpy_small): Remove.
14756         (__stpcpy_small): Remove.
14758 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
14760         [BZ #19400]
14761         * locale/iso-639.def: Add the Talossan/tzl language.
14763 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14765         [BZ #16983]
14766         * locale/programs/ld-address.c (address_finish): Update postal_fmt
14767         comment.  Add "ln" to strchr check on postal_fmt.
14769 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14771         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
14772         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
14773         tel_dom_fmt.
14775 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14777         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14778         (sysdep_routines): Added __strlen_power8.
14779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
14780         __strlen_power8 entry.
14781         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
14782         Implementation for POWER8.
14783         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
14784         for __strlen_power8.
14785         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
14786         Implementation for POWER8.
14788 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
14790         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
14792 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
14794         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
14795         Goldmont and Airmont processors.
14797 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
14799         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
14800         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
14801         (__STRING2_SMALL_GET32): Remove.
14802         (memset): Remove.
14803         (__memset_1): Remove.
14804         (__memset_gc): Remove.
14805         (__mempcpy): Remove.
14806         (mempcpy): Remove.
14807         (__mempcpy_args): Remove.
14808         (strchr): Remove.
14809         (strcpy): Remove.
14810         (strcpy_args): Remove.
14811         (__stpcpy_args): Remove.
14812         (__strcmp_cc): Remove.
14813         (__strcmp_gc): Remove.
14814         (strstr): Remove.
14816 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
14818         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
14819         * nis/nis_call.c (nis_server_cache_add): Likewise.
14821 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14823         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
14825 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14827         * malloc/arena.c (__malloc_fork_lock_parent)
14828         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
14829         internal_function attribute.
14831 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
14833         * stdio-common/printf_fp.c (__printf_fp_l):
14834         Rename ___printf_fp_l to __printf_fp_l and
14835         remove strong alias. Use libc_hidden_def instead
14836         of ldbl_hidden_def macro.
14838 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14840         Remove malloc hooks from fork handler.  They are no longer needed
14841         because malloc runs right before fork, and no malloc calls from
14842         other fork handlers are not possible anymore.
14843         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
14844         declarations.
14845         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
14846         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
14847         (atfork_recursive_cntr): Remove.
14848         (__malloc_fork_lock_parent): Do not override malloc hooks and
14849         thread_arena.
14850         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
14851         thread_arena.
14852         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
14853         thread_arena instead of save_arena.
14855 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14857         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
14858         (thread_atfork, thread_atfork_static): Remove.
14859         * sysdeps/mach/hurd/malloc-machine.h:
14860         (thread_atfork, thread_atfork_static): Remove.
14862 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14864         [BZ #19431]
14865         Run the malloc fork handler as late as possible to avoid deadlocks.
14866         * malloc/malloc-internal.h: New file.
14867         * malloc/malloc.c: Include it.
14868         * malloc/arena.c (ATFORK_MEM): Remove.
14869         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
14870         Update comment.
14871         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
14872         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
14873         Remove outdated comment.
14874         (ptmalloc_init): Do not call thread_atfork.  Remove
14875         thread_atfork_static.
14876         * malloc/tst-malloc-fork-deadlock.c: New file.
14877         * Makefile (tests): Add tst-malloc-fork-deadlock.
14878         (tst-malloc-fork-deadlock): Link against libpthread.
14879         * manual/memory.texi (Aligned Memory Blocks): Update safety
14880         annotation comments.
14881         * sysdeps/nptl/fork.c (__libc_fork): Call
14882         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14883         __malloc_fork_unlock_child.
14884         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
14886 2016-04-14  Florian Weimer  <fweimer@redhat.com>
14888         [BZ #19613]
14889         Remove union wait.
14890         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
14891         (w_stopsig, w_stopval): Remove.
14892         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
14893         stat_loc argument.
14894         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
14895         (__WAIT_STATUS_DEFN): Remove.
14896         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
14897         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
14898         (wait, wait3, wait4): Use int * for the stat_loc argument.
14899         * posix/wait.c (__wait): Likewise.
14900         * posix/wait3.c (__wait3): Likewise.
14901         * posix/wait4.c (__wait4): Likewise.
14902         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
14903         (__WAIT_STATUS_DEFN): Remove.
14904         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
14905         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
14906         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
14907         argument.
14908         * sysdeps/posix/wait.c (__libc_wait): Likewise.
14909         * sysdeps/posix/wait3.c (__wait3): Likewise.
14910         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
14911         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
14912         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
14913         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
14914         stat_loc argument.
14915         * manual/process.texi (BSD Wait Functions): Remove union wait.
14917 2016-04-13  Andreas Schwab  <schwab@suse.de>
14919         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
14920         (test-extras): Add tst-tlsalign-vars.
14921         * math/Makefile: Wrap long lines.
14922         (libm-vec-test-wrappers): Define.
14923         (test-extras): Add $(libm-vec-test-wrappers).
14924         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
14925         * nss/Makefile (extra-test-objs): Add nss_test1.os.
14926         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
14927         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
14928         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
14929         (extra-test-objs): Add corresponding objects.
14931 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
14933         [BZ #19928]
14934         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
14935         New.
14936         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
14937         times of shared cache size.
14938         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
14939         (VMOVNT): New.
14940         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
14941         (VMOVNT): Likewise.
14942         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
14943         (VMOVNT): Likewise.
14944         (VMOVU): Changed to movups for smaller code sizes.
14945         (VMOVA): Changed to movaps for smaller code sizes.
14946         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
14947         comments.
14948         (PREFETCH): New.
14949         (PREFETCH_SIZE): Likewise.
14950         (PREFETCHED_LOAD_SIZE): Likewise.
14951         (PREFETCH_ONE_SET): Likewise.
14952         Rewrite to use forward and backward loops, which move 4 vector
14953         registers at a time, to support overlapping addresses and use
14954         non temporal store if size is above the threshold and there is
14955         no overlap between destination and source.
14957 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
14959         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
14960         Include dl-vdso.
14961         * sysdeps/unix/sysv/linux/mips/Versions: Add
14962         __vdso_clock_gettime.
14963         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
14964         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
14965         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
14966         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
14967         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
14968         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
14969         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
14970         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14971         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14973 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14975         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
14976         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
14977         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14978         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14979         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14980         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14983         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
14984         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
14985         syscalls generation.
14986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14987         [__NR_pwrite64] (__NR_write): Remove define.
14988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14989         [__NR_pwrite64] (__NR_write): Remove define.
14990         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
14991         Remove define.
14992         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
14993         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
14994         Remove define.
14995         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
14996         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
14997         Linux implementation as base.
14998         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15000         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
15001         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
15002         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15003         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
15005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15006         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
15007         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
15008         syscall generation.
15009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15010         [__NR_pread64] (__NR_pread): Remove define.
15011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15012         [__NR_pread64] (__NR_pread): Likewise.
15013         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
15014         define.
15015         (__libc_pread): Use SYSCALL_LL macro on offset argument.
15016         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
15017         Remove define.
15018         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
15019         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
15020         Linux implementation as base.
15021         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15022         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15023         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15025         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
15026         definition.
15027         (__ALIGNMENT_COUNT): Likewise.
15028         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
15029         (__ALIGNMENT_COUNT): Likewise.
15030         (SYSCALL_LL): New define.
15031         (SYSCALL_LL64): Likewise.
15032         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
15033         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
15034         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
15035         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
15037         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15038         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
15039         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15040         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15041         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15042         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15044 2016-04-11  Florian Weimer  <fweimer@redhat.com>
15046         [BZ #19865]
15047         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
15048         original buffer before retry.
15050 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15052         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
15053         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
15054         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
15055         GLRO(dl_auxv) list.
15056         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
15057         including <ldsodefs.h>.
15058         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
15060 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
15062         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
15063         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
15064         $(CPPFLAGS).
15066 2016-04-09  Khem Raj  <raj.khem@gmail.com>
15068         [BZ #17950]
15069         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
15070         Add -mfpmath=387.
15072 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
15074         * sysdeps/i386/configure.ac: Change == to = when calling test.
15075         * sysdeps/x86_64/configure.ac: Likewise.
15076         * sysdeps/i386/configure: Regenerated.
15077         * sysdeps/x86_64/configure: Likewise.
15079 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
15081         [BZ #16137]
15082         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
15083         * benchtests/bench-strcoll.c (input_files): Likewise.
15084         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
15085         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
15086         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
15088 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
15090         [BZ #19929]
15091         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
15092         [__USE_XOPEN2K8 && !__USE_GNU].
15093         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
15094         variable.
15096         [BZ #19925]
15097         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
15098         define if [!__USE_MISC && __USE_XOPEN2K].
15099         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
15100         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
15101         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
15102         Likewise.
15103         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
15104         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
15105         variable.
15106         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15108 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15110         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15111         (sysdep_routines): Add new strspn targets.
15112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15113         (__libc_ifunc_impl_list): Add strspn.
15114         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15115         New file.
15116         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
15117         Likewise.
15118         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
15119         Likewise.
15120         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15121         Likewise.
15123 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15125         * misc/hsearch_r.c: Include <limits.h>.
15127 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15129         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
15131 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15133         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15134         (MEMCPY_SYMBOL): New.
15135         (MEMPCPY_SYMBOL): Likewise.
15136         (MEMMOVE_CHK_SYMBOL): Likewise.
15137         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
15138         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
15139         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
15140         Provide alias for memcpy in libc.a and ld.so.
15142 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15144         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15145         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
15146         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
15147         Disabled fro now.
15148         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
15149         symbols.  Properly check USE_MULTIARCH on __memset symbols.
15151 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15153         * benchtests/Makefile (string-benchset): Add memcpy-large,
15154         memmove-large and memset-large.
15155         * benchtests/bench-memcpy-large.c: New file.
15156         * benchtests/bench-memmove-large.c: Likewise.
15157         * benchtests/bench-memmove-large.c: Likewise.
15158         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
15160 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15162         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
15163         32-bit displacement to avoid long nop between instructions.
15165 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15167         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
15168         a comment on VMOVU and VMOVA.
15170 2016-04-04  Florian Weimer  <fweimer@redhat.com>
15172         [BZ #19633]
15173         Use specified locale for number formatting in strfmon_l.
15174         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
15175         (__nl_lookup_word): New inline functions.
15176         * include/printf.h (__print_fp_l): Declare.
15177         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
15178         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
15179         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
15180         (___printf_fp): New function.
15181         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
15182         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
15183         * stdlib/tst-strfmon_l.c (do_test): New test.
15184         * stdlib/Makefile (tests): Add kt.
15185         (LOCALES): Build additional locales.
15186         (tst-strfmon_l.out): Require locales.
15188 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15190         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
15191         if not in libc.
15192         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15193         Likewise.
15194         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
15195         Likewise.
15196         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15197         Likewise.
15199 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15201         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15202         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
15203         with unaligned_erms.
15204         (__memmove_erms): Skip if source == destination.
15205         (__memmove_unaligned_erms): Don't check source == destination
15206         first.
15208 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15210         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
15211         bit_arch_Fast_Copy_Backward for Intel Core proessors.
15213 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15215         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
15216         * string/strspn.c (strspn): Likewise.
15218 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15220         * benchtests/bench-memset.c (do_test): Support 64-byte
15221         alignment.
15222         (test_main): Test 64-byte alignment.
15224 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15226         * benchtests/bench-memmove.c (test_main): Test 64-byte
15227         alignment.
15229 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15231         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
15233 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15235         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
15236         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
15237         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
15239         * string/strpbrk.c (strpbrk): Rewrite function.
15240         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
15241         (__strpbrk_c2): Likewise.
15242         (__strpbrk_c3): Likewise.
15243         * string/string-inlines.c
15244         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
15245         Likewise.
15246         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
15247         Likewise.
15249         * string/strspn.c (strcspn): Rewrite function.
15250         * string/bits/string2.h (strspn): Use __builtin_strcspn.
15251         (__strspn_c1): Remove inline function.
15252         (__strspn_c2): Likewise.
15253         (__strspn_c3): Likewise.
15254         * string/string-inlines.c
15255         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
15256         compatibility symbol.
15257         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
15258         Likewise.
15259         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
15260         Likewise.
15261         * string/string-inlines.c: Include generic version.
15263 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
15264             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15266         * string/Version (libc): Add GLIBC_2.24.
15267         * string/strcspn.c (strcspn): Rewrite function.
15268         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
15269         (__strcspn_c1): Remove inline function.
15270         (__strcspn_c2): Likewise.
15271         (__strcspn_c3): Likewise.
15272         * string/string-inline.c
15273         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
15274         compatibility symbol.
15275         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
15276         Likewise.
15277         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
15278         Likewise.
15279         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
15281 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15283         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
15284         Use ahi instead of aghi to adjust stack pointer.
15286 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15288         [BZ #19853]
15289         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
15290         TEST to take significant digits as second parameter.
15291         [TEST]: Redefine in terms of TEST_N taking 30
15292         significant digits.
15293         (do_test): Add test case to demonstrate precision
15294         failure in the ldbl-128ibm printf.
15295         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
15296         (__mpn_extract_long_double): Carry 7 extra intermediate
15297         bits of precision to aide computing difference when
15298         signs differ.
15300 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15302         [BZ #19881]
15303         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15304         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
15305         memset-avx512-unaligned-erms.
15306         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15307         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
15308         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
15309         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
15310         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
15311         __memset_sse2_unaligned_erms, __memset_erms,
15312         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
15313         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
15314         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
15315         file.
15316         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15317         Likewise.
15318         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
15319         Likewise.
15320         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
15321         Likewise.
15323 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15325         [BZ #19776]
15326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15327         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
15328         memmove-avx512-unaligned-erms.
15329         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15330         (__libc_ifunc_impl_list): Test
15331         __memmove_chk_avx512_unaligned_2,
15332         __memmove_chk_avx512_unaligned_erms,
15333         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
15334         __memmove_chk_sse2_unaligned_2,
15335         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
15336         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
15337         __memmove_avx512_unaligned_erms, __memmove_erms,
15338         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
15339         __memcpy_chk_avx512_unaligned_2,
15340         __memcpy_chk_avx512_unaligned_erms,
15341         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
15342         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
15343         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
15344         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
15345         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
15346         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
15347         __mempcpy_chk_avx512_unaligned_erms,
15348         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
15349         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
15350         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
15351         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
15352         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
15353         __mempcpy_erms.
15354         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
15355         file.
15356         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15357         Likewise.
15358         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
15359         Likewise.
15360         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15361         Likewise.
15363 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15365         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
15366         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
15367         (La_s390_64_regs): Likewise.
15368         (La_s390_32_retval): Append vector register lrv_v24.
15369         (La_s390_64_retval): Likeweise.
15370         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
15371         Handle extended structs La_s390_32_regs and La_s390_32_retval.
15372         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
15373         Handle extended structs La_s390_64_regs and La_s390_64_retval.
15375 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15377         [BZ #19916]
15378         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
15379         to create a non-vector/vector version for _dl_runtime_resolve and
15380         _dl_runtime_profile. Move implementation to ...
15381         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
15382         (_dl_runtime_resolve) Save and restore fpr/vrs.
15383         (_dl_runtime_profile) Save and restore vrs and fix some issues
15384         if _dl_call_pltexit is called.
15385         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
15386         Choose the correct resolver function if running on a machine with vx.
15387         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
15388         to create a non-vector/vector version for _dl_runtime_resolve and
15389         _dl_runtime_profile. Move implementation to ...
15390         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
15391         (_dl_runtime_resolve) Save and restore fpr/vrs.
15392         (_dl_runtime_profile) Save and restore vrs and fix some issues
15393         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
15394         Choose the correct resolver function if running on a machine with vx.
15396 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15398         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
15400 2016-03-31  Florian Weimer  <fweimer@redhat.com>
15402         [BZ #19509]
15403         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
15404         skip_map != NULL.
15405         * elf/tst-dlsym-error.c: New file.
15406         * elf/Makefile (tests): Add tst-dlsym-error.
15407         (tst-dlsym-error): Link against libdl.
15409 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
15411         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15412         (__ASSUME_FUTIMESAT): Remove macro.
15413         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
15415 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15417         [BZ #19879]
15418         CVE-2016-3075
15419         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
15420         copy name.
15422 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15424         [BZ #19837]
15425         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
15426         error if parse_line fails.
15428 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15430         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
15431         (index_cpu_ERMS): Likewise.
15432         (reg_ERMS): Likewise.
15434 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
15436         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
15437         PER_LINUX_FDPIC): Add.
15439 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15441         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15442         memcpy-avx512-no-vzeroupper.
15443         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
15444         to ...
15445         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
15446         (MEMCPY): Don't define.
15447         (MEMCPY_CHK): Likewise.
15448         (MEMPCPY): Likewise.
15449         (MEMPCPY_CHK): Likewise.
15450         (MEMPCPY_CHK): Renamed to ...
15451         (__mempcpy_chk_avx512_no_vzeroupper): This.
15452         (MEMPCPY_CHK): Renamed to ...
15453         (__mempcpy_chk_avx512_no_vzeroupper): This.
15454         (MEMCPY_CHK): Renamed to ...
15455         (__memmove_chk_avx512_no_vzeroupper): This.
15456         (MEMCPY): Renamed to ...
15457         (__memmove_avx512_no_vzeroupper): This.
15458         (__memcpy_avx512_no_vzeroupper): New alias.
15459         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
15461 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15463         [BZ #18858]
15464         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15465         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
15466         and mempcpy-avx512-no-vzeroupper.
15467         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
15468         New.
15469         (MEMPCPY): Likewise.
15470         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
15471         (MEMPCPY_CHK): New.
15472         (MEMPCPY): Likewise.
15473         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
15474         (MEMPCPY): Likewise.
15475         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
15476         (MEMPCPY): Likewise.
15477         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
15478         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
15479         Likewise.
15480         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
15481         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
15483 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15484              Amit Pawar  <Amit.Pawar@amd.com>
15486         [BZ #19583]
15487         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
15488         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
15489         processors.  Set Fast_Copy_Backward for AMD Excavator
15490         processors.
15491         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
15492         New.
15493         (index_arch_Fast_Unaligned_Copy): Likewise.
15494         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
15495         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
15497 2016-03-25  Florian Weimer  <fweimer@redhat.com>
15499         [BZ #19791]
15500         * resolv/res_send.c (close_and_return_error): New function.
15501         (send_dg): Initialize *resplen2 after reopen failure.  Call
15502         close_and_return_error for error returns.  On error paths without
15503         __res_iclose, initialze *resplen2 explicitly.  Update comment for
15504         successful return.
15506 2016-03-25  Florian Weimer  <fweimer@redhat.com>
15508         [BZ# 19860]
15509         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
15510         zero if the compiler does not provide the AVX512F bit.
15512 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
15514         [BZ #19848]
15515         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
15516         from 8 to 4.
15517         (__ieee754_powl): Compare integer exponent against 4 not 8.
15518         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
15519         from 8 to 4.
15520         (__ieee754_powl): Compare integer exponent against 4 not 8.
15521         * math/auto-libm-test-in: Add more tests of pow.
15522         * math/auto-libm-test-out: Regenerated.
15523         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15526 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
15528         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
15529         Make code unconditional.
15530         [!__NR_utimensat]: Remove conditional code.
15531         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
15532         Make code unconditional.
15533         [!__NR_utimensat]: Remove conditional code.
15534         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
15535         Make code unconditional.
15536         [!__NR_utimensat]: Remove conditional code.
15538 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
15540         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
15541         Make code unconditional.
15543 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
15545         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
15546         call-clobbered %eax on retry path.
15547         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
15549 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15551         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
15552         Don't set %rcx twice before "rep movsb".
15554 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15556         [BZ #19583]
15557         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
15558         inline.  Check family before setting family, model and
15559         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
15560         bits here.
15561         (init_cpu_features): Replace HAS_CPU_FEATURE and
15562         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
15563         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
15564         for Intel processors with usable AVX2.  Call get_common_indeces
15565         for other processors with family == NULL.
15566         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
15567         (CPU_FEATURES_ARCH_P): Likewise.
15568         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
15569         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
15571 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15573         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
15574         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
15575         $(shared-thread-library) instead of hardcoding the path to libpthread.
15577 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
15579         * sysdeps/unix/sysv/linux/kernel-features.h
15580         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
15581         * sysdeps/unix/sysv/linux/getdents.c
15582         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
15583         [!have_no_getdents64_defined]: Likewise.
15584         (__GETDENTS): Remove __have_no_getdents64 conditional.
15586 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
15588         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
15589         Remove macro.
15590         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
15591         <kernel-features.h>.
15592         (signalfd) [__NR_signalfd4]: Make code unconditional.
15593         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
15595 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15597         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
15598         style.
15600 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
15602         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
15603         (__pthread_enable_asynccancel): Use JUMPTARGET to call
15604         __pthread_unwind.
15605         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15606         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
15607         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15608         (__condvar_cleanup1): Likewise.
15610 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
15612         [BZ #19822]
15613         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
15614         move it to the final $@ location.
15616 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15618         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
15619         access where posix_spawn success and pid argument is null.
15620         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
15621         success case.
15623 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
15625         * sysdeps/mach/hurd/i386/c++-types.data: New file.
15627         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
15629         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
15630         and __fcntl.
15631         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
15632         __fcntl only.
15633         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
15634         adding attribute_hidden to __open and __fcntl.
15636         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
15637         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
15638         depend on libc-modules.h,
15639         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
15641 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
15643         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
15644         Remove macro.
15645         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
15646         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
15647         entry.
15649         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
15650         Remove macro.
15651         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
15652         include <kernel-features.h>.
15653         [!__ASSUME_FALLOCATE]: Remove conditional code.
15654         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
15656 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15658         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
15659         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
15660         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
15661         (_ZGVdN4v_cos_avx2): Likewise.
15662         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
15663         (_ZGVdN4v_cos): Likewise.
15664         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
15665         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
15666         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
15667         (_ZGVdN4v_exp_avx2): Likewise.
15668         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
15669         (_ZGVdN4v_exp): Likewise.
15670         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
15671         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
15672         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
15673         (_ZGVdN4v_log_avx2): Likewise.
15674         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
15675         (_ZGVdN4v_log): Likewise.
15676         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
15677         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
15678         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
15679         (_ZGVdN4vv_pow_avx2): Likewise.
15680         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
15681         (_ZGVdN4vv_pow): Likewise.
15682         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
15683         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
15684         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
15685         (_ZGVdN4v_sin_avx2): Likewise.
15686         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
15687         (_ZGVdN4v_sin): Likewise.
15688         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
15689         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
15690         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
15691         (_ZGVdN4vvv_sincos_avx2): Likewise.
15692         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
15693         (_ZGVdN4vvv_sincos): Likewise.
15694         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
15695         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
15696         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
15697         (_ZGVbN4v_cosf_sse4): Likewise.
15698         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
15699         (_ZGVdN8v_cosf_avx2): Likewise.
15700         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
15701         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
15702         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
15703         (_ZGVbN4v_expf_sse4): Likewise.
15704         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
15705         (_ZGVdN8v_expf_avx2): Likewise.
15706         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
15707         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
15708         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
15709         (_ZGVbN4v_logf_sse4): Likewise.
15710         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
15711         (_ZGVdN8v_logf_avx2): Likewise.
15712         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
15713         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
15714         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
15715         (_ZGVbN4vv_powf_sse4): Likewise.
15716         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
15717         (_ZGVdN8vv_powf_avx2): Likewise.
15718         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
15719         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
15720         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
15721         (_ZGVbN4vvv_sincosf_sse4): Likewise.
15722         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
15723         (_ZGVdN8vvv_sincosf_avx2): Likewise.
15724         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
15725         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
15726         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
15727         (_ZGVbN4v_sinf_sse4): Likewise.
15728         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
15729         (_ZGVdN8v_sinf_avx2): Likewise.
15730         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
15731         Use JUMPTARGET to call callee.
15732         (WRAPPER_IMPL_SSE2_ff): Likewise.
15733         (WRAPPER_IMPL_SSE2_fFF): Likewise.
15734         (WRAPPER_IMPL_AVX): Likewise.
15735         (WRAPPER_IMPL_AVX_ff): Likewise.
15736         (WRAPPER_IMPL_AVX_fFF): Likewise.
15737         (WRAPPER_IMPL_AVX512): Likewise.
15738         (WRAPPER_IMPL_AVX512_ff): Likewise.
15739         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
15740         Likewise.
15741         (WRAPPER_IMPL_SSE2_ff): Likewise.
15742         (WRAPPER_IMPL_SSE2_fFF): Likewise.
15743         (WRAPPER_IMPL_AVX): Likewise.
15744         (WRAPPER_IMPL_AVX_ff): Likewise.
15745         (WRAPPER_IMPL_AVX_fFF): Likewise.
15746         (WRAPPER_IMPL_AVX512): Likewise.
15747         (WRAPPER_IMPL_AVX512_ff): Likewise.
15748         (WRAPPER_IMPL_AVX512_fFF): Likewise.
15750 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15752         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
15753         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
15754         qualifier.
15755         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
15756         internal_function qualifiers.
15758 2016-03-15  Carlos O'Donell <carlos@redhat.com>
15760         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
15761         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
15762         * math/atest-exp.c (exp_mpn): Mark chk unused.
15763         * math/atest-exp2.c (exp_mpn): Likewise.
15764         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
15765         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
15767 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
15769         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
15770         Remove macro.
15771         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
15772         <kernel-features.h>.
15773         [__NR_ppoll]: Make code unconditional.
15774         [!__ASSUME_PPOLL]: Remove conditional code.
15776         * sysdeps/unix/sysv/linux/kernel-features.h
15777         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
15778         (__ASSUME_ACCEPT4): Likewise.
15779         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15780         Define.
15781         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
15782         Likewise.
15783         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15784         Likewise.
15785         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
15786         Likewise.
15787         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
15788         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
15789         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15790         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15791         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15792         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15793         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15794         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15795         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15796         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15797         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15798         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15799         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15800         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15801         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15802         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15803         Likewise.
15804         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15805         Likewise.
15806         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15807         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15808         0x040300].
15809         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15810         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15811         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15812         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15813         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
15814         0x030300].
15815         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
15816         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15817         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15818         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15819         0x040300].
15820         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15821         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15822         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15823         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15824         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15825         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15826         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
15827         0x030300].
15828         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15829         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15830         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15831         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15832         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15833         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15834         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15835         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15836         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15837         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15838         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15839         0x040300].
15840         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15841         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15842         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15843         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15844         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15845         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15846         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
15847         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15848         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15849         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15850         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15851         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15852         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15853         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15854         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
15855         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15856         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15857         Likewise.
15858         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15859         Likewise.
15861 2016-03-15  Andreas Schwab  <schwab@suse.de>
15863         [BZ #19257]
15864         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
15865         statp->_u._ext.nscount as loop count.
15867 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15869         * math/test-signgam-finite-c99.c: Also #undef
15870         __LIBC_INTERNAL_MATH_INLINES.
15871         * math/test-signgam-main.c: Likewise.
15873 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
15875         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
15876         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
15877         (MADV_FREE): Likewise.
15878         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
15879         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
15880         EPOLLEXCLUSIVE.
15882 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
15884         * timezone/README: Remove mention of checktab.awk. Mention wiki
15885         SharedSourceFiles.
15887 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
15889         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
15890         WUNTRACED.
15892 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15894         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
15895         order to match the type of p when calling atomic_exchange_acq().
15897 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15899         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
15900         cfi_offset calls.
15901         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
15902         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
15903         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
15904         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
15905         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
15907 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
15909         * timezone/checktab.awk: Removed.
15911 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
15913         * manual/math.texi (Errors in Math Functions): Document relaxed
15914         accuracy goals for IBM long double.
15915         * math/libm-test.inc (test_exceptions): Always allow spurious
15916         "underflow" and "inexact" exceptions for IBM long double.
15918 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
15920         [BZ #19762]
15921         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
15922         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
15923         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
15924         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
15925         (bit_arch_*): This for feature array.
15926         (bit_*): Renamed to ...
15927         (bit_cpu_*): This for cpu array.
15928         (index_*): Renamed to ...
15929         (index_arch_*): This for feature array.
15930         (index_*): Renamed to ...
15931         (index_cpu_*): This for cpu array.
15932         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
15933         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
15934         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
15935         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
15936         bit_##name with index_cpu_##name and bit_cpu_##name.
15937         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
15938         bit_##name with index_arch_##name and bit_arch_##name.
15940 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
15942         [BZ #19792]
15943         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
15944         Terminate FDE before return label.
15946 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
15948         [BZ #19790]
15949         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
15950         (rintl): Define as macro.
15951         [USE_AS_NEARBYINTL] (__rintl): Likewise.
15952         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
15953         of fesetround.  Ensure results are evaluated before end of scope.
15954         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
15955         USE_AS_NEARBYINTL and include s_rintl.c.
15956         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
15957         Disable exception traps in new environment.
15958         (libc_feholdsetround_ppc_ctx): Likewise.
15960 2016-03-08  Roland McGrath  <roland@hack.frob.com>
15962         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
15963         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
15964         (tst_audit10_aux) [__AVX512F__]: ... here.
15966 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
15968         * include/sys/auxv.h: New file.
15970 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
15972         [BZ #19759]
15973         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
15975 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15977         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
15978         operand modifier.
15979         (feclearexcept): Likewise.
15981 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15983         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
15984         to reflect the entire 32-bit HWCAP.
15985         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
15986         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
15988 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
15990         [BZ #19783]
15991         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
15992         $(test-via-rtld-prefix).
15993         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
15995 2016-03-08  Florian Weimer  <fweimer@redhat.com>
15997         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
15998         union wait.  Report any non-zero exit status as error.
16000 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16002         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
16003         configured with --enable-hardcoded-path-in-tests.
16005 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
16007         [BZ #19677]
16008         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16009         (__ieee754_remainderl): Put zero low parts in canonical form.
16010         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
16011         file.  Based on
16012         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
16013         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
16014         with wrapper round test-fmodrem-ldbl-128ibm.c.
16015         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
16016         file.
16017         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
16018         Likewise.
16019         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16020         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
16022 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16024         [BZ #19610]
16025         * elf/ldconfig.c (opt_link): Update comment.
16026         (options): Update help string for option -X.
16027         (search_dir): Unlink stale symbolic link only if updating symbolic
16028         links.
16029         * elf/tst-ldconfig-X.sh: New file.
16030         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
16031         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
16033 2016-03-07  Andreas Schwab  <schwab@suse.de>
16035         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
16036         needed arguments.
16038 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
16040         [BZ #15333]
16041         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
16042         to lstat64.
16044 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16046         * libio/filedoalloc.c (isatty): Remove.
16047         (local_isatty): Add comment.  Call __isatty directly.
16048         (_IO_file_doallocate): Update comment.  Assume _LIBC.
16049         * libio/wfiledoalloc.c (isatty): Remove.
16050         (_IO_wfile_doallocate): Update comment.
16052 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16054         [BZ #19269]
16055         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
16056         tst-audit4-aux.o.
16057         (tst-audit10): Depend on tst-audit10-aux.o.
16058         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
16059         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
16060         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
16061         instead of inline AVX code.
16062         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
16063         instead of inline AVX512 code.
16064         * sysdeps/x86_64/tst-audit4-aux.c: New file
16065         * sysdeps/x86_64/tst-audit10-aux.c: New file
16067         [BZ #19648]
16068         * test-skeleton.c (main): Do not set RLIMIT_DATA.
16070 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16072         [BZ #14750]
16073         [BZ #10354]
16074         [BZ #18433]
16075         * include/sched.h (__clone): Add hidden prototype.
16076         (__clone2): Likewise.
16077         * include/unistd.h (__dup): Likewise.
16078         * posix/Makefile (tests): Add tst-spawn2.
16079         * posix/tst-spawn2.c: New file.
16080         * sysdeps/posix/dup.c (__dup): Add hidden definition.
16081         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
16082         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16083         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16084         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16085         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16086         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
16087         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16088         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
16089         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16090         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16092         Likewise.
16093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16094         Likewise.
16095         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16096         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16097         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16098         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16099         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16100         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16101         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16102         * sysdeps/unix/sysv/linux/nptl-signals.h
16103         (____nptl_is_internal_signal): New function.
16104         * sysdeps/unix/sysv/linux/spawni.c: New file.
16106         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
16107         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
16108         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
16109         * posix/tst-execvp2.c (do_test): Likewise.
16110         * posix/tst-execvp3.c (do_test): Likewise.
16111         * posix/tst-execvp4.c (do_test): Likewise.
16112         * posix/tst-execvpe1.c: New file.
16113         * posix/tst-execvpe2.c: Likewise.
16114         * posix/tst-execvpe3.c: Likewise.
16115         * posix/tst-execvpe4.c: Likewise.
16116         * posix/tst-execvpe5.c: Likewise.
16117         * posix/tst-execvpe6.c: Likewise.
16119         [BZ #19534]
16120         * posix/execl.c (execl): Remove dynamic memory allocation.
16121         * posix/execle.c (execle): Likewise.
16122         * posix/execlp.c (execlp): Likewise.
16124 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16126         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
16127         Replace .text with .text.avx512.
16128         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
16129         Likewise.
16131 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
16133         * sysdeps/generic/libnsl.abilist: New file.
16134         * sysdeps/generic/libutil.abilist: New file.
16136 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16138         [BZ #19762]
16139         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
16140         HAS_ARCH_FEATURE with Fast_Rep_String.
16141         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
16142         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
16143         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
16144         Likewise.
16145         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
16146         Likewise.
16147         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
16148         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
16149         Likewise.
16150         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
16151         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
16152         Likewise.
16154 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16156         [BZ #19745]
16157         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16158         with *%rax in call.
16160 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16162         [BZ #19745]
16163         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
16164         with *__libc_start_main@GOTPCREL(%rip) in call.
16166 2016-03-04  Roland McGrath  <roland@hack.frob.com>
16168         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
16169         inside conditional for nonempty $(CXX).
16171         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
16172         nonempty.
16174         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
16175         to test for empty $(CXX) rather than $(CXX) of "no".
16177 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16179         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
16181 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
16182             H.J. Lu  <hongjiu.lu@intel.com>
16184         [BZ #18880]
16185         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
16186         instead of Slow_BSF, and also check for Fast_Copy_Backward to
16187         enable __memcpy_ssse3_back.
16189 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16191         [BZ #19758]
16192         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16193         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
16195 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
16197         [BZ #19490]
16198         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
16199         (__fentry__): Likewise.
16201 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16203         * gmon/Makefile (noprof): Add $(sysdep_noprof).
16204         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
16206 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16208         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
16209         __mcount_internal directly.
16210         (C_LABEL(__fentry__)): Likewise.
16211         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
16212         directly.
16214 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16216         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16217         (__start_context): Call __setcontext directly.
16219 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
16221         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16222         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16223         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
16224         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16225         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16226         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16227         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
16228         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16229         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16230         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
16231         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16232         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16233         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16234         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16235         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16236         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16237         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
16238         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16239         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16240         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16241         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
16242         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16243         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16244         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16245         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
16246         Remove conditional code.
16247         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16248         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
16249         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16250         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16251         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
16252         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16253         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16254         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16255         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16256         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16257         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16258         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16260 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
16262         * NEWS (2.23): Fix typo in bug 19048 text.
16264 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
16266         [BZ #14259]
16267         * Makeconfig: Rename msgcatdir to localedir.
16268         Rename inst_msgcatdir to inst_localedir.
16269         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
16270         * config.make.in: Add localedir.
16271         * elf/Makefile ($(objpfx)sotruss): Use localedir.
16272         (ldd-rewrite): Likewise.
16273         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
16274         (install-others): Use inst_localedir.
16275         (CPPFLAGS): Use localedir.
16276         * locale/Makefile (locale-CPPFLAGS): Likewise.
16277         * po/Makefile (mo-installed): Use inst_localedir.
16279         [BZ #19575]
16280         * localedata/charmaps/GB18030: Update comments regarding PAU to
16281         non-PUA mappings.
16283 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
16285         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
16286         test for header.
16287         * sysdeps/unix/sysv/linux/configure: Regenerated.
16288         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
16289         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
16290         Remove conditional code.
16291         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
16293         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16294         Define to 3.2.0.
16295         (arch_minimum_kernel): Likewise.
16296         * sysdeps/unix/sysv/linux/configure: Regenerated.
16297         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
16298         Define to 2.6.32.
16299         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
16300         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
16301         (arch_minimum_kernel): Define to 2.6.32.
16302         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
16303         * README: Document Linux 3.2 requirement.
16304         * manual/install.texi (Linux): Document Linux 3.2 headers
16305         requirement.
16306         * INSTALL: Regenerated.
16308 2016-02-24  Andreas Schwab  <schwab@suse.de>
16310         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
16311         if !NO_LONG_DOUBLE.
16313 2016-02-22  Roland McGrath  <roland@hack.frob.com>
16315         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
16316         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
16318 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
16320         [BZ #19512]
16321         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
16323 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
16325         * posix/tst-dir.c: Include libc-internal.h.
16327 2016-02-20  Florian Weimer  <fweimer@redhat.com>
16329         [BZ #19056]
16330         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
16331         * manual/filesys.texi (Reading/Closing Directory): Mention
16332         deprecaion.
16333         * posix/tst-dir.c (main): Disable deprecation warning in test.
16335 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
16337         [BZ #19679]
16338         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
16339         Renamed to ...
16340         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
16341         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16342         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
16343         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16344         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16345         * sysdeps/x86_64/dl-trampoline.h
16346         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16347         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16349 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16351         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
16353 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16355         * elf/elf.h (R_386_GOT32X): New.
16356         (R_386_NUM): Update.
16357         (R_X86_64_GOTPCRELX: New.
16358         (R_X86_64_REX_GOTPCRELX): New.
16359         (R_X86_64_NUM): Update.
16361 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
16363         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
16365 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
16367         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
16368         assign attr->stackaddr to it, and adjust it down when
16369         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
16370         [_STACK_GROWS_UP]: Delete assert.
16371         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
16372         Implement stack grows up logic.
16373         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
16374         stack grows up logic.
16376 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16378         * NEWS: Update with 2.24 template.
16380 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16382         [BZ #19678]
16383         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16384         Ensure +0.0 is returned when taking the next value below the least
16385         positive value.
16387 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16389         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
16390         available.  Do not define NO_THREADS.
16391         * malloc/malloc.c: Do not check NO_THREADS.
16392         * malloc/arena.c: Likewise.
16394 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16396         * malloc/malloc.c (__libc_mallinfo): Update comment.
16397         (struct malloc_par): Remove max_total_mem member, it was always 0.
16398         (int_mallinfo): Store 0 into usmblks (no functional change).
16399         * malloc/hooks.c (struct malloc_state): Document that
16400         max_total_mem is always 0.
16401         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
16402         always 0.
16403         * manual/memory.texi (Statistics of Malloc): Likewise.
16405 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16407         * malloc/malloc.c (sysmalloc): Do not update arena_max.
16408         * malloc/arena.c (arena_max): Remove.
16409         (heap_trim, _int_new_arena): Do not update arena_max.
16411 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16413         * resolv/res_init.c (res_ninit): Update comment.
16415 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16417         [BZ #19505]
16418         * posix/spawn_int.h: Add headers and include guard.
16419         (__spawn_valid_fd): New function.
16420         * posix/spawn_faction_addopen.c
16421         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
16422         * posix/spawn_faction_addclose.c
16423         (posix_spawn_file_actions_addclose): Likewise.
16424         * posix/spawn_faction_adddup2.c
16425         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
16426         second file descriptor.
16427         * posix/spawn_valid_fd.c: New file.
16428         * posix/tst-posix_spawn-fd.c: New file.
16429         * posix/Makefile (routines): Add spawn_valid_fd.
16430         (tests): Add tst-posix_spawn-fd.
16432 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16434         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
16435         (do_test): Limit the number of arenas, so that we can use fewer
16436         outer threads.  Limit timeout to 3 seconds, in preparation for a
16437         larger TIMEOUT value.
16439 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16441         [BZ #19674]
16442         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
16443         sign in overflowing and underflowing results when overflow or
16444         underflow is detected early.  Include sign in result before rather
16445         than after scaling.
16447         [BZ #19603]
16448         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16449         (__ieee754_remainderl): Adjust sign of integer version of low part
16450         when taking absolute value of high part.
16451         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16452         * math/libm-test.inc (remainder_test_data): Add another test.
16453         (remquo_test_data): Likewise.
16455 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
16457         [BZ #19602]
16458         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
16459         equal high parts and both low parts zero specially.
16460         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
16461         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
16462         Add test-fmodl-ldbl-128ibm.
16464         [BZ #19595]
16465         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
16466         common logic for all cases of shifting subnormal results.  Do not
16467         insert sign bit in shifted mantissa.  Always pass -1023 as biased
16468         exponent to ldbl_insert_mantissa in subnormal case.
16470         [BZ #19594]
16471         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
16472         on high and low parts then adjust result and use
16473         ldbl_canonicalize_int if needed.
16475         [BZ #19593]
16476         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
16477         on high part and __floor or __ceil on low part then use
16478         ldbl_canonicalize_int if needed.
16480         [BZ #19592]
16481         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
16482         high and low parts then use ldbl_canonicalize_int if needed.
16484         [BZ #17899]
16485         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
16486         New function.
16487         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
16488         on high and low parts then use ldbl_canonicalize_int if needed.
16490 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16492         * configure: Regenerated.
16494         * po/libc.pot: Regenerated.
16496         * po/be.po: Updated translation.
16497         * po/bg.po: Likewise.
16498         * po/ca.po: Likewise.
16499         * po/cs.po: Likewise.
16500         * po/da.po: Likewise.
16501         * po/el.po: Likewise.
16502         * po/eo.po: Likewise.
16503         * po/es.po: Likewise.
16504         * po/fi.po: Likewise.
16505         * po/fr.po: Likewise.
16506         * po/gl.po: Likewise.
16507         * po/hr.po: Likewise.
16508         * po/hu.po: Likewise.
16509         * po/ia.po: Likewise.
16510         * po/id.po: Likewise.
16511         * po/it.po: Likewise.
16512         * po/ja.po: Likewise.
16513         * po/lt.po: Likewise.
16514         * po/nb.po: Likewise.
16515         * po/nl.po: Likewise.
16516         * po/pt_BR.po: Likewise.
16517         * po/rw.po: Likewise.
16518         * po/sk.po: Likewise.
16519         * po/sl.po: Likewise.
16520         * po/sv.po: Likewise.
16521         * po/tr.po: Likewise.
16522         * po/zh_CN.po: Likewise.
16523         * po/zh_TW.po: Likewise.
16525         * version.h (RELEAES): Set to "development".
16526         (VERSION): Set to 2.23.90.
16528         * version.h (RELEASE): Set to "stable".
16529         (VERSION): Set to 2.23.
16530         * include/feature.h (__GLIBC_MINOR__): Set to 23.
16532         * NEWS: Updated fixed bugs.
16534 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
16535             Wilco Dijkstra  <wdijkstr@arm.com>
16537         [BZ #19462]
16538         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
16539         (_STRING_INLINE_unaligned): This.
16540         * include/string.h: Include <string_private.h>.
16541         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
16542         _STRING_INLINE_unaligned.
16543         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
16544         (_STRING_INLINE_unaligned): New.
16545         * sysdeps/aarch64/string_private.h: New file.
16546         * sysdeps/generic/string_private.h: Likewise.
16547         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
16548         * sysdeps/s390/string_private.h: Likewise.
16549         * sysdeps/x86/string_private.h: Likewise.
16550         * sysdeps/m68k/m680x0/m68020/bits/string.h
16551         (_STRING_ARCH_unaligned): Renamed to ...
16552         (_STRING_INLINE_unaligned): This.
16553         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
16554         to ...
16555         (_STRING_INLINE_unaligned): This.
16556         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
16557         to ...
16558         (_STRING_INLINE_unaligned): This.
16559         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
16560         to ...
16561         (_STRING_INLINE_unaligned): This.
16563 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16564             H.J. Lu  <hongjiu.lu@intel.com>
16566         [BZ #19590]
16567         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
16568         relocation.
16570 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
16572         [BZ #18665]
16573         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
16574         *herrno_p.
16575         (gaih_getanswer): Document functional behviour. Return tryagain
16576         if any result is tryagain.
16577         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
16578         when freed.
16579         * resolv/res_send.c: Add copyright text.
16580         (__libc_res_nsend): Document that MAXPACKET is expected.
16581         (send_vc): Document. Remove buffer reuse.
16582         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
16583         size of the buffer. Add Dprint for truncated UDP buffer.
16585 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
16587         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
16588         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
16589         * INSTALL: Regenerate.
16591 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
16592             Jonathan Wakely  <jwakely@redhat.com>
16593             Carlos O'Donell  <carlos@redhat.com>
16595         [BZ 19439]
16596         * math/Makefile (tests): Add test-math-isinff.
16597         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
16598         * math/bits/mathcalls.h [__USE_MISC]: Use
16599         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
16600         functions not in C++11 and which don't conflict e.g. isinff,
16601         isinfl etc.
16602         * math/test-math-isinff.cc: New file.
16604 2016-02-12  Florian Weimer  <fweimer@redhat.com>
16606         * misc/bug18240.c (do_test): Set RLIMIT_AS.
16608 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16610         [BZ #19529]
16611         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
16613 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16615         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16617 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
16619         [BZ #19550]
16620         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
16621         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
16622         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
16623         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
16624         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
16625         New syscall entry.
16626         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
16627         New syscall entry.
16628         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
16629         syscall entry.
16631 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
16633         [BZ #18240]
16634         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
16635         unsigned int wraparound.
16637 2016-01-27  Florian Weimer  <fweimer@redhat.com>
16639         [BZ #18240]
16640         * misc/bug18240.c: New test.
16641         * misc/Makefile (tests): Add it.
16643 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
16644             Joseph Myers  <joseph@codesourcery.com>
16646         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
16647         load in branch delay slot when less than a word of input left.
16649 2016-01-27  Andreas Schwab  <schwab@suse.de>
16651         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
16652         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
16653         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
16654         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
16656 2016-01-26  David S. Miller  <davem@davemloft.net>
16658         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
16660 2016-01-25  David S. Miller  <davem@davemloft.net>
16662         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
16663         __sqrtl_finite.
16664         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
16665         instead using versioned_symbol.
16666         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
16667         of entries.
16669         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
16670         __sqrtl_finite to GLIBC_2.23
16672 2016-01-25  Ricchard Henderson  <rth@redhat.com>
16674         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16676 2016-01-25  Andreas Schwab  <schwab@suse.de>
16678         [BZ #17514]
16679         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
16680         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
16681         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
16682         * nptl/tst-mutex-errorcheck.c: New file.
16684 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16686         [BZ #18560]
16687         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
16688         (IPCOP_semop): Likewise.
16689         (IPCOP_semget): Likewise.
16690         (IPCOP_semctl): Likewise.
16691         (IPCOP_msgsnd): Likewise.
16692         (IPCOP_msgrcv): Likewise.
16693         (IPCOP_msgget): Likewise.
16694         (IPCOP_msgctl): Likewise.
16695         (IPCOP_shmat): Likewise.
16696         (IPCOP_shmdt): Likewise.
16697         (IPCOP_shmget): Likewise.
16698         (IPCOP_shmctl): Likewise.
16700 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
16702         * string/tst-endian.c: Include <libc-internal.h>.
16703         (do_test): Ignore tautological-compare warnings around
16704         "htobeXX (beXXtoh (i)) != i" and
16705         "htoleXX (leXXtoh (i)) != i" if-statements.
16707 2016-01-24  David S. Miller  <davem@davemloft.net>
16709         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
16710         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
16711         alias.
16712         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
16713         __sqrtl_finite.
16715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16717 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
16719         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
16720         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
16721         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16723 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16725         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
16726         (thread_func): Use new function to simplify barrier check.
16727         (do_test): Use new function to simplify checking barrier exit
16728         code, and actually join the child thread.
16730 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16732         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
16733         semicolon.
16734         (__libc_tend): Likewise.
16735         (__libc_tabort): Likewise.
16737 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
16739         * sysdeps/nios2/libm-test-ulps: Update.
16740         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
16741         (__gtsf2): Likewise.
16742         (__unorddf2): Likewise.
16743         (__unordsf2): Likewise.
16744         (__ledf2): Likewise.
16746 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
16748         * nis/nis_table.c (__follow_path): Disable diagnostic for
16749         uninitialized variable that is a false positive for gcc 4.7.
16750         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
16752 2016-01-20  Roland McGrath  <roland@hack.frob.com>
16754         * sysdeps/nacl/lowlevellock-futex.h
16755         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
16756         Always evaluate PRIVATE argument.
16758 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
16760         [BZ #19490]
16761         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
16762         (pthread_cond_broadcast): Use ENTRY/END
16763         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
16764         (pthread_cond_signal): Likewise.
16765         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
16766         Likewise.
16767         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
16768         Likewise.
16769         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
16770         Likewise.
16772 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
16774         * sysdeps/ieee754/dbl-64/s_finite.c
16775         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
16776         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
16777         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
16778         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
16779         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
16781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
16782         (__gtsf2): Add as optional for libc.so.
16783         (__unordsf2): Likewise.
16784         (__signbit): Remove for libc.so.
16785         (__signbitl): Likewise.
16787 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16789         * iconvdata/bug-iconv11.c (test_ibm93x):
16790         Use %zu printf format specifier for size_t argument.
16792 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
16794         * math/gen-libm-test.pl (parse_ulps): Do not reduce
16795         already-recorded ulps.
16796         * sysdeps/arm/libm-test-ulps: Regenerated.
16797         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16798         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16799         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16801 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16802             Paul Pluzhnikov  <ppluzhnikov@google.com>
16804         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
16805         assembler not supporting AVX-512.
16807 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
16809         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16811 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
16813         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16814         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16816         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16818         * sysdeps/arm/libm-test-ulps: Regenerated.
16820 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16822         [BZ #19451]
16823         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
16825 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16827         [BZ #19486]
16828         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
16829         * sysdeps/generic/fix-fp-int-convert-overflow.h
16830         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
16831         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
16832         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
16833         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
16834         Likewise.
16835         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
16836         Avoid conversions to long int where inexact exceptions
16837         could be raised.
16838         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
16839         Likewise.
16840         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
16841         Avoid conversions to long long int where inexact exceptions
16842         could be raised.
16843         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
16844         Likewise.
16846 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
16848         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
16849         * configure: Regenerated.
16851 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
16853         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
16855 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
16857         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
16858         outside of comment.
16860 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16862         * nptl/tst-barrier1.c: Add description on first line.
16863         * nptl/tst-barrier2.c: Likewise.
16864         * nptl/tst-barrier3.c: Likewise.
16865         * nptl/tst-barrier4.c: Likewise.
16866         * nptl/tst-barrier5.c: Likewise.
16868 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16870         [BZ #18868]
16871         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
16873 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
16875         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
16876         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
16877         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
16878         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
16879         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
16880         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
16881         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16882         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16883         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16884         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16885         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16887 2016-01-15  Torvald Riegel  <triegel@redhat.com>
16889         [BZ #13065]
16890         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
16891         new implementation.
16892         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
16893         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
16894         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
16895         (BARRIER_IN_THRESHOLD): New macro.
16896         * nptl/pthread_barrierattr_setpshared.c
16897         (pthread_barrierattr_setpshared): Clean up.
16898         * nptl/tst-barrier4.c: Correct comment.
16899         * nptl/tst-barrier5.c: New file.
16900         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
16901         (gen-as-const-headers): Remove lowlevelbarrier.sym.
16902         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
16903         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
16904         * nptl/lowlevelbarrier.sym: Remove.
16905         * nptl/DESIGN-barrier.txt: Remove.
16906         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
16907         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
16908         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
16909         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
16910         error.
16911         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
16912         implementation.
16914 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16916         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
16917         (do_child): Mask SIGRTMIN while thr is running.
16919 2016-01-15  Martin Sebor  <msebor@redhat.com>
16921         [BZ #19432]
16922         * iconvdata/Makefile: Add bug-iconv11.
16923         * iconvdata/bug-iconv11.c: New test.
16924         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
16925         * iconvdata/ibm933.c: Same.
16926         * iconvdata/ibm935.c: Same.
16927         * iconvdata/ibm937.c: Same.
16928         * iconvdata/ibm939.c: Same.
16930 2016-01-15  Martin Sebor  <msebor@redhat.com>
16932         [BZ #19443]
16933         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
16934         [DEBUG] (_ufc_set_bits): Declare used.
16935         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
16936         [DEBUG] (print_all): Declare used.
16937         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
16938         operands of the ternary ?: expression to target type.
16939         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
16940         calling the undeclared abort.
16941         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
16943 2016-01-15  Martin Sebor  <msebor@redhat.com>
16945         [BZ #18755]
16946         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
16947         warnings.
16948         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
16949         (__gai_create_helper_thread): Same.
16950         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
16951         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
16952         to suppress -Wmaybe-uninitialized warnings.
16954 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
16956         [BZ #19465]
16957         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
16958         inside if.
16959         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16960         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16961         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16963 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
16965         [BZ #19466]
16966         * time/tst-mktime2.c (time_t_max): Removed.
16967         (time_t_min): Likewise.
16968         (TYPE_SIGNED): New.
16969         (TYPE_MINIMUM): Likewise.
16970         (TYPE_MAXIMUM): Likewise.
16971         (TIME_T_MIN): Likewise.
16972         (TIME_T_MAX): Likewise.
16973         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
16974         and TIME_T_MIN.
16975         (do_test): Likewise.
16977 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
16979         [BZ #19467]
16980         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16981         index_Fast_Unaligned_Load flag for Excavator family CPUs.
16983 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
16985         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
16987 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
16989         * benchtests/Makefile (PYTHON): Define.
16990         (bench-func): Use $(PYTHON) to run python scripts.
16991         ($(objpfx)bench-%.c): Likewise.
16993 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
16995         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
16996         leading slash when `file_name' is "/".
16998 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
17000         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
17001         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
17002         Likewise.
17003         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
17004         Likewise.
17005         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
17006         Likewise.
17007         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
17008         enum constant and macro.
17009         (PTRACE_SETSIGMASK): Likewise.
17010         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17011         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17012         (PTRACE_GETSIGMASK): Likewise.
17013         (PTRACE_SETSIGMASK): Likewise.
17014         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17015         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
17016         Likewise.
17017         (PTRACE_SETSIGMASK): Likewise.
17018         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17019         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17020         (PTRACE_GETSIGMASK): Likewise.
17021         (PTRACE_SETSIGMASK): Likewise.
17022         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17023         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
17024         Likewise.
17025         (PTRACE_SETSIGMASK): Likewise.
17026         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17027         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
17028         Likewise.
17029         (PTRACE_SETSIGMASK): Likewise.
17030         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17031         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
17032         Likewise.
17033         (PTRACE_SETSIGMASK): Likewise.
17034         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17036 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
17037             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17039         [BZ #19439]
17040         * math/bits/mathcalls.h
17041         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
17042         prototype.
17043         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
17045 2016-01-11  Andreas Schwab  <schwab@suse.de>
17047         [BZ #19253]
17048         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
17049         cache when TZDEFRULES was used.
17050         * time/tst-tzname.c: New file.
17051         * time/Makefile (test): Add tst-tzname.
17052         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
17053         * timezone/Makefile (test-zones): Add $(posixrules-file).
17054         ($(testdata)/$(posixrules-file)): New rule.
17056 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
17058         Fix doc quoting problems with Texinfo 5
17059         Without this change, in the info file output, Texinfo 5 quotes code
17060         in text with undirected single quotes 'like this' and generates
17061         code examples that with many PDF readers cannot be cut out of PDFs
17062         and pasted into code.
17063         * manual/libc.texinfo: Configure the libc manual like the GNU
17064         Emacs manual, by using @documentencoding and setting
17065         txicodequoteundirected and txicodequotebacktick.  This way,
17066         Texinfo 5 quotes code in text with directed single quotes ‘like
17067         this’ and produces examples that can be cut out of PDFs.  This
17068         change causes Texinfo 5 to generate info files that contain UTF-8
17069         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
17070         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
17072 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17074         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
17075         __libc_tabort, __libc_tend): New wrappers that enforce compiler
17076         barriers to their respective compiler built-ins.
17077         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
17078         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
17079         * sysdeps/powerpc/sysdep.h: Likewise.
17080         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
17081         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
17082         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
17084 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
17086         * scripts/config.guess: Revert previous shebang change.
17087         * scripts/config.sub: Likewise.
17088         * scripts/mkinstalldirs: Likewise.
17090 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17092         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
17093         PPC_FEATURE2_HAS_IEEE128.
17094         * sysdeps/powerpc/dl-procinfo.c:
17095         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
17097 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
17099         [BZ #19415]
17100         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
17101         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
17102         (_dl_lookup_address): Rewrite using function resolver trampoline.
17103         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
17104         two bits in address.
17106 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17108         * longlong.h: Change !__SHMEDIA__ to
17109         (!defined (__SHMEDIA__) || !__SHMEDIA__).
17110         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
17112 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
17113             Joseph Myers  <joseph@codesourcery.com>
17114             Mark Shinwell  <shinwell@codesourcery.com>
17115             Andrew Stubbs  <ams@codesourcery.com>
17116             Rich Felker <dalias@libc.org>
17118         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
17120 2016-01-07  Richard Henderson  <rth@redhat.com>
17122         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
17124 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17126         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
17127         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
17128         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17129         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17130         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
17132 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
17133             Joseph Myers  <joseph@codesourcery.com>
17135         * timezone/private.h: Update from tzcode 2015g.
17136         * timezone/tzfile.h: Likewise.
17137         * timezone/tzselect.ksh: Likewise.
17138         * timezone/zdump.c: Likewise.
17139         * timezone/zic.c: Likewise.
17140         * timezone/ialloc.c: Remove file.
17141         * timezone/scheck.c: Likewise.
17142         * timezone/Makefile (extra-objs): Remove variable.
17143         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
17144         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
17145         -Wno-maybe-uninitialized.
17146         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
17147         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
17148         (CFLAGS-ialloc.c): Remove variable.
17149         (CFLAGS-scheck.c): Likewise.
17150         * timezone/README: Update list of files from tzcode.
17152 2016-01-07  Khem Raj  <raj.khem@gmail.com>
17154         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
17155         instead of __fxprintf when _LIBC is undefined.
17157 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
17159         * catgets/test-gencat.sh: Remove space after shebang.
17160         * conform/GlibcConform.pm: Likewise.
17161         * conform/check-header-lists.sh: Likewise.
17162         * conform/conformtest.pl: Likewise.
17163         * conform/linknamespace.pl: Likewise.
17164         * conform/list-header-symbols.pl: Likewise.
17165         * debug/catchsegv.sh: Likewise.
17166         * elf/genrtldtbl.awk: Likewise.
17167         * elf/tst-pathopt.sh: Likewise.
17168         * elf/tst-rtld-load-self.sh: Likewise.
17169         * grp/tst_fgetgrent.sh: Likewise.
17170         * iconvdata/gen-8bit-gap-1.sh: Likewise.
17171         * iconvdata/gen-8bit-gap.sh: Likewise.
17172         * iconvdata/gen-8bit.sh: Likewise.
17173         * iconvdata/run-iconv-test.sh: Likewise.
17174         * intl/tst-gettext.sh: Likewise.
17175         * intl/tst-gettext2.sh: Likewise.
17176         * intl/tst-gettext4.sh: Likewise.
17177         * intl/tst-gettext6.sh: Likewise.
17178         * intl/tst-translit.sh: Likewise.
17179         * io/ftwtest-sh: Likewise.
17180         * libio/test-freopen.sh: Likewise.
17181         * locale/gen-translit.pl: Likewise.
17182         * malloc/tst-mtrace.sh: Likewise.
17183         * manual/check-safety.sh: Likewise.
17184         * manual/libc-texinfo.sh: Likewise.
17185         * manual/tsort.awk: Likewise.
17186         * manual/xtract-typefun.awk: Likewise.
17187         * nptl/tst-cancel-wrappers.sh: Likewise.
17188         * nptl/tst-tls6.sh: Likewise.
17189         * posix/globtest.sh: Likewise.
17190         * posix/tst-getconf.sh: Likewise.
17191         * posix/wordexp-tst.sh: Likewise.
17192         * scripts/check-c++-types.sh: Likewise.
17193         * scripts/check-local-headers.sh: Likewise.
17194         * scripts/config.guess: Likewise.
17195         * scripts/config.sub: Likewise.
17196         * scripts/cpp: Likewise.
17197         * scripts/cross-test-ssh.sh: Likewise.
17198         * scripts/documented.sh: Likewise.
17199         * scripts/evaluate-test.sh: Likewise.
17200         * scripts/gen-libc-abis: Likewise.
17201         * scripts/gen-sorted.awk: Likewise.
17202         * scripts/list-fixed-bugs.py: Likewise.
17203         * scripts/merge-test-results.sh: Likewise.
17204         * scripts/mkinstalldirs: Likewise.
17205         * scripts/rellns-sh: Likewise.
17206         * scripts/test-installation.pl: Likewise.
17207         * scripts/update-copyrights: Likewise.
17208         * stdio-common/tst-printf.sh: Likewise.
17209         * stdio-common/tst-unbputc.sh: Likewise.
17210         * stdlib/tst-fmtmsg.sh: Likewise.
17211         * stdlib/tst-setcontext3.sh: Likewise.
17212         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
17213         * sysdeps/unix/make-syscalls.sh: Likewise.
17215 2016-01-06  John David Anglin  <dave.anglin@bell.net>
17217         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
17218         asm stw with atomic_exchange_rel.  Add explanatory comment.
17219         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17220         Likewise.
17222 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17224         [BZ #19122]
17225         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
17226         * sysdeps/generic/dl-unistd.h: New file.
17227         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
17229 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17231          [BZ #19122]
17232          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
17233          * sysdeps/generic/dl-mman.h: New file.
17234          * sysdeps/mach/hurd/dl-mman.h: Likewise.
17236 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
17238         * manual/texinfo.tex: Update to version 2016-01-04.21 with
17239         trailing whitespace removed.
17240         * scripts/config.guess: Update to version 2016-01-01.
17241         * scripts/config.sub: Update to version 2016-01-01.
17242         * scripts/move-if-change: Update from gnulib.
17244 2016-01-04  Anton Blanchard  <anton@samba.org>
17246         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
17247         for array indices.
17248         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
17250 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
17252         * NEWS: Update copyright dates.
17253         * catgets/gencat.c (print_version): Likewise.
17254         * csu/version.c (banner): Likewise.
17255         * debug/catchsegv.sh: Likewise.
17256         * debug/pcprofiledump.c (print_version): Likewise.
17257         * debug/xtrace.sh (do_version): Likewise.
17258         * elf/ldconfig.c (print_version): Likewise.
17259         * elf/ldd.bash.in: Likewise.
17260         * elf/pldd.c (print_version): Likewise.
17261         * elf/sotruss.sh: Likewise.
17262         * elf/sprof.c (print_version): Likewise.
17263         * iconv/iconv_prog.c (print_version): Likewise.
17264         * iconv/iconvconfig.c (print_version): Likewise.
17265         * locale/programs/locale.c (print_version): Likewise.
17266         * locale/programs/localedef.c (print_version): Likewise.
17267         * login/programs/pt_chown.c (print_version): Likewise.
17268         * malloc/memusage.sh (do_version): Likewise.
17269         * malloc/memusagestat.c (print_version): Likewise.
17270         * malloc/mtrace.pl: Likewise.
17271         * manual/libc.texinfo: Likewise.
17272         * nptl/version.c (banner): Likewise.
17273         * nscd/nscd.c (print_version): Likewise.
17274         * nss/getent.c (print_version): Likewise.
17275         * nss/makedb.c (print_version): Likewise.
17276         * posix/getconf.c (main): Likewise.
17277         * scripts/test-installation.pl: Likewise.
17278         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17280         * All files with FSF copyright notices: Update copyright dates
17281         using scripts/update-copyrights.
17282         * intl/plural.c: Regenerated.
17283         * locale/programs/charmap-kw.h: Likewise.
17284         * locale/programs/locfile-kw.h: Likewise.
17286 2016-01-02  Helge Deller  <deller@gmx.de>
17288         [BZ #19285]
17289         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
17290         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
17291         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
17292         (MADV_xxK_PAGES): Remove.
17294 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
17296         [BZ #15421]
17297         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
17298         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
17299         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
17300         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
17302 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
17304         [BZ #19408]
17305         * sysdeps/unix/sysv/linux/personality.c: New file.
17306         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
17307         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
17308         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
17309         (sysdep_routines): Add personality.
17310         (tests): Add tst-personality.
17311         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
17312         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
17313         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
17314         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
17315         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
17316         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
17317         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
17318         Likewise.
17319         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
17320         Likewise.
17321         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
17322         Likewise.
17323         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
17324         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
17325         Likewise.
17327 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
17329         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
17330         (PATH_ARM_SYSTYPE): Remove.
17331         (PATH_CPUINFO): Likewise.
17332         (IO_BASE_FOOTBRIDGE): Likewise.
17333         (IO_SHIFT_FOOTBRIDGE): Likewise.
17334         (struct platform): Likewise.
17335         (init_iosys): Remove compatibility code for 2.4 kernels.
17336         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
17338 2015-12-29  Florian Weimer  <fweimer@redhat.com>
17340         * malloc/tst-malloc-thread-fail.c: New file.
17341         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
17342         (tst-malloc-thread-fail): Link against libpthread.
17344 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
17346         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
17347         (get_parser): New function.
17348         (main): New function.
17350 2015-12-29  Rob Wu  <rob@robwu.nl>
17352         [BZ #19369]
17353         * resolv/res_init.c (__res_vinit): Reset defdname before use.
17355 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
17357         [BZ #19270]
17358         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17360 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
17362         [BZ #15421]
17363         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
17365 2015-12-23  Torvald Riegel  <triegel@redhat.com>
17367         [BZ #13690]
17368         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
17369         after releasing it.
17370         (__lll_robust_unlock): Likewise.
17371         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17372         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
17373         (lll_robust_unlock): Likewise.
17374         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
17375         Prevent warnings in callers.
17377 2015-12-23  Florian Weimer  <fweimer@redhat.com>
17379         * malloc/arena.c (list_lock): Update comment.
17381 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17383         * sysdeps/powerpc/hwcapinfo.c: Export symbol
17384         __parse_hwcap_and_convert_at_platform to libc.a.
17386 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17388         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
17389         platform and feature support for POWER9.
17390         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17391         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
17392         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
17393         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
17394         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
17395         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17396         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17397         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17399 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17401         Harmonize generic stdio-lock support with nptl
17403         This fixes build when _IO_funlockfile is a macro, fixes build where
17404         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
17405         stack unwind.
17407         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
17408         _IO_release_lock ): Use cleanup attribute on new
17409         _IO_acquire_lock_file variable instead of assuming that
17410         _IO_release_lock will be called.
17411         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
17412         _IO_acquire_lock_needs_exceptions_enabled.
17413         (_IO_acquire_lock_clear_flags2): New macro.
17415 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17417         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17419 2015-12-21  Florian Weimer  <fweimer@redhat.com>
17421         [BZ #19182]
17422         * malloc/arena.c (list_lock): Document lock ordering requirements.
17423         (free_list_lock): New lock.
17424         (ptmalloc_lock_all): Comment on free_list_lock.
17425         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
17426         (detach_arena): Update comment.  free_list_lock is now needed.
17427         (_int_new_arena): Use free_list_lock around detach_arena call.
17428         Acquire arena lock after list_lock.  Add comment, including FIXME
17429         about incorrect synchronization.
17430         (get_free_list): Switch to free_list_lock.
17431         (reused_arena): Acquire free_list_lock around detach_arena call
17432         and attached threads counter update.  Add two FIXMEs about
17433         incorrect synchronization.
17434         (arena_thread_freeres): Switch to free_list_lock.
17435         * malloc/malloc.c (struct malloc_state): Update comments to
17436         mention free_list_lock.
17438 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17440         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
17441         Remove functions.
17442         (sloww, sloww1): Accept argument to offset quadrant.
17443         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
17444         quadrant.
17445         (__sin, __cos): Consolidate common code into new functions.
17446         (reduce_sincos_1, do_sincos_1): New functions.
17447         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17449         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
17450         code to new functions.
17451         (reduce_sincos_2, do_sincos_2): New functions.
17452         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17454         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
17455         common code for sincos.
17456         (__cos) [!IN_SINCOS]: Likewise.
17457         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
17458         New function.
17459         (__sincos): Use it.
17461 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
17463         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
17464         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
17465         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17467 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17469         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
17470         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
17471         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17472         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
17473         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17474         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
17475         index_Prefer_No_VZEROUPPER): New feature.
17476         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
17477         Prefer_No_VZEROUPPER for Knights Landing.
17479 015-12-18  Torvald Riegel  <triegel@redhat.com>
17481         * math/atest-exp2.c (mp_exp_m1): Remove.
17483 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17485         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
17486         syscalls.
17487         (__SYSCALL0): New macro.
17488         (__SYSCALL1): Likewise.
17489         (__SYSCALL2): Likewise.
17490         (__SYSCALL3): Likewise.
17491         (__SYSCALL4): Likewise.
17492         (__SYSCALL5): Likewise.
17493         (__SYSCALL6): Likewise.
17494         (__SYSCALL_CONCAT_X): Likewise.
17495         (__SYSCALL_CONCAT): Likewise.
17496         (__SYSCALL_DIST): Likewise.
17497         (__SYSCALL_CALL): Likewise.
17499 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
17501         [BZ #19363]
17502         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
17504 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17506         [BZ #19375]
17507         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
17508         negative subnormals.
17510 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
17512         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17513         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
17514         (INTERNAL_SYSCALL_NCS): Use it.
17515         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17517 2015-12-16  Florian Weimer  <fweimer@redhat.com>
17519         [BZ #19243]
17520         * malloc/arena.c (get_free_list): Remove assert and adjust
17521         reference count handling.  Add comment about reused_arena
17522         interaction.
17523         (reused_arena): Add comments abount get_free_list interaction.
17524         * malloc/tst-malloc-thread-exit.c: New file.
17525         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
17526         (tst-malloc-thread-exit): Link against libpthread.
17528 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
17530         [BZ #19367]
17531         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
17532         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
17533         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
17534         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
17535         (index_Prefer_MAP_32BIT_EXEC): Likewise.
17537 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
17539         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
17540         Silvermont optimizations for Knights Landing.
17542 2015-12-15  Andreas Schwab  <schwab@suse.de>
17544         [BZ #17197]
17545         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
17546         immediately after emitting SI.
17547         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
17548         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
17549         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
17550         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
17551         * iconvdata/bug-iconv10.c: New file.
17552         * iconvdata/Makefile (tests): Add bug-iconv10.
17553         ($(objpfx)bug-iconv10.out): New rule.
17555 2015-12-15  Florian Weimer  <fweimer@redhat.com>
17557         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
17558         aliasing violation.
17560 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
17562         [BZ #18472]
17563         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
17564         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
17565         conditionals for them.
17566         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
17567         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
17568         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
17569         sys/kdaemon.h.
17570         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
17571         compat-only syscall, obsoleted in glibc 2.23.
17572         (create_module): Likewise.
17573         (get_kernel_syms): Likewise.
17574         (query_module): Likewise.
17575         (uselib): Likewise.
17576         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
17578 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
17580         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
17581         <linux/version.h>.
17582         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
17583         conditional code.
17584         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
17585         and ioshift_name initialization.
17587 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
17589         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17590         Fix indentation.
17592 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
17594         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
17596 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
17598         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
17600 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
17601             Jakub Wilk  <jwilk@debian.org>
17603         [BZ #19347]
17604         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
17605         to change the group of the device to the tty group.
17607 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
17609         Split large string section; add truncation advice
17610         * manual/examples/strncat.c: Remove.
17611         This example was misleading, as the code would have undefined
17612         behavior if "hello" was longer than SIZE.  Anyway, the manual
17613         shouldn't encourage strncpy+strncat for this sort of thing.
17614         * manual/string.texi (Copying Strings and Arrays): Split into
17615         three sections Copying Strings and Arrays, Concatenating Strings,
17616         and Truncating Strings, as this section was way too long.  All
17617         cross-referenced changed.  Add advice about string-truncation
17618         functions.  Remove misleading strncat example.
17620 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
17622         * manual/nss.texi (NSS Modules Interface): Document
17623         NSS_STATUS_NOTFOUND and SUCCESS.
17625 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
17627         [BZ 18568]
17628         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
17629         201505L, for Unicode 8.
17631 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
17633         * locale/C-translit.h: Regenerate.
17635 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
17637         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
17638         and U+0153.
17640 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
17642         [BZ #19351]
17643         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
17644         expanding log(1+z), compare z rather than its square with epsilon
17645         to determine when to avoid evaluating the expansion.
17647         [BZ #19350]
17648         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
17649         Increase overflow threshold.
17651         [BZ #19349]
17652         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
17653         when small.
17655         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17656         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
17657         New macro.
17658         [__LINUX_KERNEL_VERSION >= 0x040300]
17659         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17660         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
17661         Likewise.
17662         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
17663         Likewise.
17664         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
17665         Likewise.
17666         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
17667         Likewise.
17668         [__LINUX_KERNEL_VERSION >= 0x040300]
17669         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
17670         [__LINUX_KERNEL_VERSION >= 0x040300]
17671         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17672         [__LINUX_KERNEL_VERSION >= 0x040300]
17673         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17674         [__LINUX_KERNEL_VERSION >= 0x040300]
17675         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17676         [__LINUX_KERNEL_VERSION >= 0x040300]
17677         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17678         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
17679         Likewise.
17680         [__LINUX_KERNEL_VERSION >= 0x040300]
17681         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
17682         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17683         Likewise.
17684         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
17685         Likewise.
17686         [__LINUX_KERNEL_VERSION >= 0x040300]
17687         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
17688         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17689         Likewise.
17690         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
17691         Likewise.
17692         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17693         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
17694         Likewise.
17695         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
17696         Likewise.
17697         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
17698         Likewise.
17699         [__LINUX_KERNEL_VERSION >= 0x040300]
17700         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17701         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
17702         Likewise.
17703         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
17704         Likewise.
17705         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
17706         Likewise.
17707         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
17708         Likewise.
17709         [__LINUX_KERNEL_VERSION >= 0x040300]
17710         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
17711         [__LINUX_KERNEL_VERSION >= 0x040300]
17712         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17713         [__LINUX_KERNEL_VERSION >= 0x040300]
17714         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17715         [__LINUX_KERNEL_VERSION >= 0x040300]
17716         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17717         [__LINUX_KERNEL_VERSION >= 0x040300]
17718         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17719         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
17720         Likewise.
17721         [__LINUX_KERNEL_VERSION >= 0x040300]
17722         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
17723         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17724         Likewise.
17725         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
17726         Likewise.
17727         [__LINUX_KERNEL_VERSION >= 0x040300]
17728         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
17729         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17730         Likewise.
17731         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
17732         Likewise.
17733         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17734         (__ASSUME_SOCKET_SYSCALL): Likewise.
17735         (__ASSUME_BIND_SYSCALL): Likewise.
17736         (__ASSUME_CONNECT_SYSCALL): Likewise.
17737         (__ASSUME_LISTEN_SYSCALL): Likewise.
17738         (__ASSUME_ACCEPT_SYSCALL): Likewise.
17739         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17740         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17741         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17742         (__ASSUME_SEND_SYSCALL): Likewise.
17743         (__ASSUME_SENDTO_SYSCALL): Likewise.
17744         (__ASSUME_RECV_SYSCALL): Likewise.
17745         (__ASSUME_RECVFROM_SYSCALL): Likewise.
17746         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
17747         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17748         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17749         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17750         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17751         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17752         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
17753         Likewise.
17754         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
17755         Likewise.
17756         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
17757         Likewise.
17758         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
17759         Likewise.
17760         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
17761         Likewise.
17762         [__LINUX_KERNEL_VERSION >= 0x020625]
17763         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17764         [__LINUX_KERNEL_VERSION >= 0x020625]
17765         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17766         [__LINUX_KERNEL_VERSION >= 0x020625]
17767         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17768         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
17769         Likewise.
17770         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
17771         Likewise.
17772         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
17773         Likewise.
17774         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
17775         Likewise.
17776         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
17777         Likewise.
17778         [__LINUX_KERNEL_VERSION >= 0x020625]
17779         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17780         [__LINUX_KERNEL_VERSION >= 0x020625]
17781         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17782         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
17783         Likewise.
17784         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
17785         Likewise.
17787 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
17789         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
17790         record the current if the current ABI and CPU support the FP64
17791         extension.
17792         (has-modd-spreg): Define to record the current if the current ABI and
17793         CPU support 32-bit floating point values in odd FPU registers.
17794         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17795         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
17796         $(has-modd-spreg) equals yes.
17797         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
17798         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
17799         $(has-modd-spreg) equal yes.
17801 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
17803         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
17804         basename.
17806 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
17808         * benchtests/Makefile (bench-math): Move ffs and ffsll...
17809         (bench-string): ... here.
17810         (bench): Add bench-string.
17811         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
17812         to *-benchset to reflect what they are.
17813         (benchset): Adjust.
17815         * benchtests/sincos-inputs: Add inputs from sin-inputs and
17816         cos-inputs.
17818 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
17820         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
17821         __attribute__ ((__simd__)) for vector math function declarations.
17823 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17825         Fix typo in strncat, wcsncat manual entries
17826         * manual/string.texi (Copying and Concatenation): Fix typos in
17827         sample implementations of strncat and wcsncat, by having them use
17828         the old value of the destination length, not the new one.
17830 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
17832         [BZ #16961]
17833         [BZ #16962]
17834         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
17835         string on the stack for strtod.
17836         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
17837         a string on the stack for strtof.
17838         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
17839         constructing a string on the stack for strtold.
17840         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
17841         __strtold_nan to GLIBC_PRIVATE.
17842         * math/test-nan-overflow.c: New file.
17843         * math/test-nan-payload.c: Likewise.
17844         * math/Makefile (tests): Add test-nan-overflow and
17845         test-nan-payload.
17847 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17849         Consistency about byte vs character in string.texi
17850         * manual/string.texi (String and Array Utilities):
17851         Distinguish more carefully among bytes, multibyte characters,
17852         and wide characters.  Use "byte" when talking about C 'char',
17853         to distinguish it more clearly from multibyte characters.
17854         Say "wide character" or "multibyte character" instead of
17855         "character", when a wide or multibyte character is intended.
17856         Similarly for "multibyte string" versus "string".
17857         Define these terms more carefully.
17859 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
17861         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
17862         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
17863         Likewise.
17864         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17865         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
17866         * sysdeps/sh/math_private.h: New file.
17867         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
17868         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
17869         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
17870         long double function name.
17871         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17872         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17873         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17874         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17875         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
17877         Remove __finitel, __isinfl, and __isnanl.
17878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17879         Likewise.
17880         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17882         Remove __finitel.
17883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17884         Likewise.
17885         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17887 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
17889         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
17890         installed libmvec_nonshared.a.
17892 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17894         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
17895         (sysdep_routines): Likewise.
17896         (sysdep-rtld-routines): Likewise.
17897         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
17898         [$(subdir) = nptl](tests-static): test-get_hwcap-static
17899         * sysdeps/powerpc/Versions: Added new
17900         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
17901         * sysdeps/powerpc/hwcapinfo.c: New file.
17902         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
17903         and parse hwcap, hwcap2 and platform number information.
17904         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
17905         to store HWCAP+HWCAP2 and platform number.
17906         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
17907         for HWCAP+HWCAP2 and platform number in the TCB.
17908         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
17909         the HWCAP, HWCAP2 and platform number in the TCB.
17910         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
17911         (TLS_INIT_TP): Included calls to add the hwcap and
17912         at_platform values in the TCB in TP initialization.
17913         (TLS_DEFINE_INIT_TP): Likewise.
17914         (THREAD_GET_HWCAP): New macro.
17915         (THREAD_SET_HWCAP): Likewise.
17916         (THREAD_GET_AT_PLATFORM): Likewise.
17917         (THREAD_SET_AT_PLATFORM): Likewise.
17918         * sysdeps/powerpc/powerpc32/dl-machine.h:
17919         (dl_platform_init): New function that calls
17920         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
17921         powerpc32.
17922         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
17923         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
17924         this functionality, static linking case.
17925         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
17926         linking case.
17927         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
17928         __parse_hwcap_and_convert_at_platform for the static linking case.
17929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
17930         Included the new __parse_hwcap_and_convert_at_platform symbol in the
17931         ABI list for GLIBC 2.23.
17932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
17933         Likewise.
17934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
17935         Likewise.
17937 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
17939         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
17940         * configure: Regenerate.
17941         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
17942         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
17944 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
17946         * iconvdata/ibm930.c: Add comment explaining encoding uses.
17947         * iconvdata/ibm933.c: Likewise.
17948         * iconvdata/ibm935.c: Likewise.
17949         * iconvdata/ibm937.c: Likewise.
17950         * iconvdata/ibm939.c: Likewise.
17952 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17954         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
17955         pthread_join.
17956         * nptl/tst-cancel21.c (tf): Likewise.
17958 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
17960         [BZ #19313]
17961         * bits/typesizes.h (__CPU_MASK_TYPE): New.
17962         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
17963         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
17964         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
17965         Likewise.
17966         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
17967         Likewise.
17968         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
17969         Likewise.
17970         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
17971         Likewise.
17972         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
17973         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
17974         unsigned long int with __CPU_MASK_TYPE.
17976 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17978         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17980 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
17982         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
17983         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
17984         t512.x.
17985         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
17987 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
17989         [BZ #19214]
17990         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
17991         argument to return extended model.  Update family and model
17992         with extended family and model when family == 0x0f.
17993         (init_cpu_features): Updated.
17995 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17997         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
17998         signed off_t, so 32bit bigger than 2GiB values are fine actually.
18000         * sysdeps/mach/hurd/mmap64.c: New file.
18002 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
18004         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
18005         rights for its main user thread in NEWTASK.
18007 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
18009         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
18010         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
18012 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
18014         [BZ #14259]
18015         * Makeconfig: Rename localedir to complocaledir.
18016         Rename inst_localedir to inst_complocaledir.
18017         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
18018         * config.make.in: Use complocaledir and libc_cv_complocaledir.
18019         * configure.ac: Use libc_cv_complocaledir.
18020         * configure: Regenerate.
18021         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
18022         -DCOMPLOCALEDIR.
18023         * locale/findlocale.c: Use COMPLOCALEDIR.
18024         * locale/loadarchive.c: Likewise.
18025         * locale/programs/locale.c: Likewise.
18026         * locale/programs/localedef.c: Likewise.
18027         * locale/programs/locarchive.c: Likewise.
18028         * localedata/Makefile: Use inst_complocaledir.
18029         * sysdeps/gnu/configure: Regenerate.
18030         * sysdeps/hppa/configure: Regenerate.
18031         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18032         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18034         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18035         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18036         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18037         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18039 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
18041         [BZ #19058]
18042         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
18043         AS_NEEDED.
18044         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
18045         workaround.
18046         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
18047         libmvec-static-only-routines): Added new file.
18048         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
18050 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18052         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
18053         of interrupted RPC instead of restoring it.
18055         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
18056         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
18057         libc_hidden_def.
18058         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
18059         into initialized data instead of common. Define rtld_hidden_data_def.
18060         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
18061         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
18062         libc_hidden_def.
18063         (if_freenameindex): Add libc_hidden_weak.
18064         (if_nameindex): Add libc_hidden_weak.
18065         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
18066         __open64.
18067         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
18068         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
18069         * sysdeps/mach/nanosleep.c: Include <time.h>
18070         (__nanosleep): Rename to __libc_nanosleep.
18071         (__nanosleep): Add weak_alias.
18072         (nanosleep): Update alias.
18074 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
18076         * stdlib/strtod_nan.c: New file.
18077         * stdlib/strtod_nan_double.h: Likewise.
18078         * stdlib/strtod_nan_float.h: Likewise.
18079         * stdlib/strtod_nan_main.c: Likewise.
18080         * stdlib/strtod_nan_narrow.h: Likewise.
18081         * stdlib/strtod_nan_wide.h: Likewise.
18082         * stdlib/strtof_nan.c: Likewise.
18083         * stdlib/strtold_nan.c: Likewise.
18084         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
18085         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
18086         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
18087         * wcsmbs/wcstod_nan.c: Likewise.
18088         * wcsmbs/wcstof_nan.c: Likewise.
18089         * wcsmbs/wcstold_nan.c: Likewise.
18090         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
18091         strtold_nan.
18092         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
18093         wcstof_nan.
18094         * include/stdlib.h (__strtof_nan): Declare and use
18095         libc_hidden_proto.
18096         (__strtod_nan): Likewise.
18097         (__strtold_nan): Likewise.
18098         (__wcstof_nan): Likewise.
18099         (__wcstod_nan): Likewise.
18100         (__wcstold_nan): Likewise.
18101         * include/wchar.h (____wcstoull_l_internal): Declare.
18102         * stdlib/strtod_l.c: Do not include <ieee754.h>.
18103         (____strtoull_l_internal): Remove declaration.
18104         (STRTOF_NAN): Define macro.
18105         (SET_MANTISSA): Remove macro.
18106         (STRTOULL): Likewise.
18107         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
18108         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
18109         (STRTOF_NAN): Define macro.
18110         (SET_MANTISSA): Remove macro.
18111         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
18112         (SET_MANTISSA): Remove macro.
18113         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
18114         macro.
18115         (SET_MANTISSA): Remove macro.
18116         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
18117         macro.
18118         (SET_MANTISSA): Remove macro.
18119         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
18120         (SET_MANTISSA): Remove macro.
18121         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
18122         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
18123         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
18125         [BZ #19266]
18126         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
18127         upper case and lower case letters inside NAN(), not using TOLOWER.
18128         * stdlib/tst-strtod-nan-locale-main.c: New file.
18129         * stdlib/tst-strtod-nan-locale.c: Likewise.
18130         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
18131         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
18132         Depend on $(gen-locales).
18133         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
18134         * wcsmbs/tst-wcstod-nan-locale.c: New file.
18135         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
18136         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
18137         Depend on $(gen-locales).
18138         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
18140 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
18142         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
18144         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
18146         __finitel, __isinfl, and __isnanl.
18147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18148         Likewise.
18149         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
18151         __finitel.
18152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18153         Likewise.
18154         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18156 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18158         * malloc/memusage.c (me): Remove redundant getenv call.
18160 2015-10-24  Florian Weimer  <fweimer@redhat.com>
18162         [BZ #19143]
18163         [BZ #19164]
18164         * nptl/check-cpuset.h: Remove.
18165         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
18166         Remove CPU set size check.
18167         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
18168         Likewise.
18169         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
18170         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18171         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
18172         (__pthread_setaffinity_new): Remove CPU set size check.
18173         * sysdeps/unix/sysv/linux/sched_setaffinity.c
18174         (__kernel_cpumask_size): Remove.
18175         (__sched_setaffinity_new): Remove CPU set size check.
18176         * manual/threads.texi (Default Thread Attributes): Remove stale
18177         reference to check_cpuset_attr, determine_cpumask_size in comment.
18178         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
18179         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
18180         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
18181         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
18182         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
18183         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
18184         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
18185         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
18186         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
18187         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
18188         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
18189         skeleton test file.
18190         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
18191         tst-affinity-pid.
18193 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18195         * scripts/update-abilist.sh: New file.
18196         * Makefile (+subdir_targets): Add subdir_update-all-abi.
18197         * Makerules (update-all-abi-%, update-all-abi)
18198         (subdir_update-all-abi): New targets.
18199         * elf/Makefile (update-all-abi): New target.
18201 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18203         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
18204         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
18205         (__libc_lock_define_initialized): Use it.
18206         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
18207         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
18208         * malloc/malloc.c (main_arena): Likewise.
18209         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18210         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18212 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
18214         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18215         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
18216         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18217         (PTRACE_O_MASK): Update value.
18218         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
18219         New value in enum __ptrace_setoptions.
18220         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18221         (PTRACE_O_MASK): Update value.
18222         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18223         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18224         (PTRACE_O_MASK): Update value.
18225         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18226         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18227         (PTRACE_O_MASK): Update value.
18228         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18229         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18230         (PTRACE_O_MASK): Update value.
18231         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
18232         New value in enum __ptrace_setoptions.
18233         (PTRACE_O_MASK): Update value.
18234         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
18235         New value in enum __ptrace_setoptions.
18236         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18237         (PTRACE_O_MASK): Update value.
18239         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
18240         New macro.
18241         (PACKET_AUXDATA): Likewise.
18242         (PACKET_ORIGDEV): Likewise.
18243         (PACKET_VERSION): Likewise.
18244         (PACKET_HDRLEN): Likewise.
18245         (PACKET_RESERVE): Likewise.
18246         (PACKET_TX_RING): Likewise.
18247         (PACKET_LOSS): Likewise.
18248         (PACKET_VNET_HDR): Likewise.
18249         (PACKET_TX_TIMESTAMP): Likewise.
18250         (PACKET_TIMESTAMP): Likewise.
18251         (PACKET_FANOUT): Likewise.
18252         (PACKET_TX_HAS_OFF): Likewise.
18253         (PACKET_QDISC_BYPASS): Likewise.
18254         (PACKET_ROLLOVER_STATS): Likewise.
18255         (PACKET_FANOUT_DATA): Likewise.
18256         (PACKET_MR_UNICAST): Likewise.
18258         [BZ #19242]
18259         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
18260         (TOUPPER): Likewise.
18261         * stdlib/tst-strtol-locale-main.c: New file.
18262         * stdlib/tst-strtol-locale.c: Likewise.
18263         * stdlib/Makefile (tests): Add tst-strtol-locale.
18264         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
18265         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
18266         Depend on $(gen-locales).
18267         * wcsmbs/tst-wcstol-locale.c: New file.
18268         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
18269         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
18270         tr_TR.ISO-8859-9.
18271         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
18272         Depend on $(gen-locales).
18274 2015-11-20  Roland McGrath  <roland@hack.frob.com>
18276         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
18277         __glibc_likely instead of __builtin_expect.  After falling back to
18278         dyncode_create in a non-ET_DYN case, use the allocate_code_data
18279         system interface to register the code pages as occupied.
18281 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
18283         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18284         [!ARM_MATH_PRIVATE_H].
18285         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
18286         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18287         [!HPPA_MATH_PRIVATE_H].
18288         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
18289         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
18290         to [!I386_MATH_PRIVATE_H].
18291         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
18292         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
18293         Change guard to [!M68K_MATH_PRIVATE_H].
18294         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
18295         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
18296         guard to [!MICROBLAZE_MATH_PRIVATE_H].
18297         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
18298         macro.
18299         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18300         [!MIPS_MATH_PRIVATE_H].
18301         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
18302         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18303         [!NIO2_MATH_PRIVATE_H].
18304         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
18305         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18306         [!TILE_MATH_PRIVATE_H].
18307         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
18309         [BZ #15421]
18310         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
18311         initialize with 0 and define as weak alias of __signgam.
18312         * include/math.h [!_ISOMAC] (__signgam): Declare.
18313         * math/Makefile (libm-calls): Add w_lgamma_compat.
18314         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
18315         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
18316         test-signgam-ullong-init.
18317         (tests-static): Add test-signgam-uchar-static,
18318         test-signgam-uchar-init-static, test-signgam-uint-static,
18319         test-signgam-uint-init-static, test-signgam-ullong-static and
18320         test-signgam-ullong-init-static.
18321         (CFLAGS-test-signgam-uchar.c): New variable.
18322         (CFLAGS-test-signgam-uchar-init.c): Likewise.
18323         (CFLAGS-test-signgam-uchar-static.c): Likewise.
18324         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18325         (CFLAGS-test-signgam-uint.c): Likewise.
18326         (CFLAGS-test-signgam-uint-init.c): Likewise.
18327         (CFLAGS-test-signgam-uint-static.c): Likewise.
18328         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18329         (CFLAGS-test-signgam-ullong.c): Likewise.
18330         (CFLAGS-test-signgam-ullong-init.c): Likewise.
18331         (CFLAGS-test-signgam-ullong-static.c): Likewise.
18332         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18333         * math/Versions (libm): Add GLIBC_2.23.
18334         * math/lgamma-compat.h: New file.
18335         * math/test-signgam-main.c: Likewise.
18336         * math/test-signgam-uchar-init-static.c: Likewise.
18337         * math/test-signgam-uchar-init.c: Likewise.
18338         * math/test-signgam-uchar-static.c: Likewise.
18339         * math/test-signgam-uchar.c: Likewise.
18340         * math/test-signgam-uint-init-static.c: Likewise.
18341         * math/test-signgam-uint-init.c: Likewise.
18342         * math/test-signgam-uint-static.c: Likewise.
18343         * math/test-signgam-uint.c: Likewise.
18344         * math/test-signgam-ullong-init-static.c: Likewise.
18345         * math/test-signgam-ullong-init.c: Likewise.
18346         * math/test-signgam-ullong-static.c: Likewise.
18347         * math/test-signgam-ullong.c: Likewise.
18348         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
18349         wrapper of w_lgamma_main.c.
18350         * math/w_lgamma_compat.c: New file.
18351         * math/w_lgamma_compatf.c: Likewise.
18352         * math/w_lgamma_compatl.c: Likewise.
18353         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
18354         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18355         defining compatibility symbols.
18356         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
18357         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
18358         wrapper of w_lgammaf_main.c.
18359         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
18360         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18361         defining compatibility symbols.
18362         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
18363         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
18364         wrapper of w_lgammal_main.c.
18365         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
18366         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18367         defining compatibility symbols.
18368         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
18369         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
18370         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
18371         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
18372         <lgamma-compat.h>.
18373         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
18374         (__ieee754_gamma): Define as alias.
18375         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
18376         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
18377         <lgamma-compat.h>.
18378         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
18379         (__ieee754_gammaf): Define as alias.
18380         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
18381         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
18382         <lgamma-compat.h>.
18383         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
18384         (__ieee754_gammal): Define as alias.
18385         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
18386         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
18387         <math/w_lgamma_compat.c>.
18388         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
18389         Define as alias of __lgamma_compat and use in defining lgammal.
18390         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
18391         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
18392         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
18393         (USE_AS_COMPAT): New macro.
18394         (LGAMMA_OLD_VER): Undefine and redefine.
18395         (lgammal): Do not define here.
18396         (gammal): Only define here if [GAMMA_ALIAS].
18397         * conform/linknamespace.pl (@whitelist): Remove signgam.
18398         * sysdeps/nacl/libm.abilist: Update.
18399         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18400         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18401         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18402         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18403         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18404         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18405         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18406         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18407         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18408         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18409         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18410         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18412         Likewise.
18413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18414         Likewise.
18415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18416         Likewise.
18417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18418         Likewise.
18419         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18420         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18421         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18422         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18423         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18425         Likewise.
18426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18427         Likewise.
18428         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18429         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18430         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18432 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18434         [BZ #16364]
18435         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
18436         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
18438 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18440         * sysdeps/s390/fpu/bits/mathinline.h:
18441         Use __asm__ [__volatile__] instead of asm [volatile].
18442         * sysdeps/s390/abort-instr.h: Likewise.
18443         * sysdeps/s390/atomic-machine.h: Likewise.
18444         * sysdeps/s390/bits/string.h: Likewise.
18445         * sysdeps/s390/dl-tls.h: Likewise.
18446         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18447         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18448         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18449         * sysdeps/s390/fpu/fesetround.c: Likewise.
18450         * sysdeps/s390/fpu/fpu_control.h: Likewise.
18451         * sysdeps/s390/fpu/s_fma.c: Likewise.
18452         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
18453         * sysdeps/s390/memusage.h: Likewise.
18454         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
18455         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
18456         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
18457         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
18458         * sysdeps/s390/nptl/tls.h: Likewise.
18459         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
18460         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18461         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18462         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
18463         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18464         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18465         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
18466         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18467         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18468         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
18469         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
18470         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18471         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18472         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
18473         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18474         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18475         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
18476         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18477         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
18478         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18479         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
18480         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18481         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
18483 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18484             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18486         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
18487         Add lwarx hint, and use macro for acquire instruction.
18488         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
18489         Likewise.
18490         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
18491         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
18492         update to use new atomic macros.
18494 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18496         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18497         (__lll_trylock_elision): Fix setting of adapt_count.
18498         * sysdeps/unix/sysv/linux/powerpc/htm.h
18499         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
18500         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
18501         (_ABORT_SYSCALL): Renumber, and clarify definition.
18502         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
18504 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18506         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
18507         after system headers to prevent MIN/MAX redefinition.  Define
18508         HAVE_ALLOCA to preserve builtin alloca usage.
18510 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
18512         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
18513         static and don't set or restore rounding.
18514         (__cos)[IN_SINCOS]: Likewise.
18515         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
18516         (__sincos): Set and restore rounding mode.  Remove check for infinite
18517         or NaN input.
18519         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
18521         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
18522         as used.
18524 2015-11-16  Florian Weimer  <fweimer@redhat.com>
18526         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
18528 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
18530         * config.make.in (have-glob-dat-reloc): New.
18531         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
18532         target supports GLOB_DAT relocaton. AC_SUBST.
18533         * configure: Regenerated.
18534         * elf/Makefile (tests): Add tst-prelink.
18535         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
18536         (tst-prelink-ENV): New.
18537         ($(objpfx)tst-prelink-conflict.out): Likewise.
18538         ($(objpfx)tst-prelink-cmp.out): Likewise.
18539         * sysdeps/x86/tst-prelink.c: Moved to ...
18540         * elf/tst-prelink.c: Here.
18541         * sysdeps/x86/tst-prelink.exp: Moved to ...
18542         * elf/tst-prelink.exp: Here.
18543         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
18544         (tst-prelink-ENV): Removed.
18545         ($(objpfx)tst-prelink-conflict.out): Likewise.
18546         ($(objpfx)tst-prelink-cmp.out): Likewise.
18547         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
18549 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
18551         [BZ #14551]
18552         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
18553         (__mpn_construct_long_double): If high part overflows to infinity,
18554         set errno and recompute overflowed result of the correct sign.
18555         * sysdeps/ieee754/ldbl-128ibm/Makefile
18556         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
18557         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
18558         $(libm).
18559         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
18561 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
18563         [BZ #15479]
18564         [BZ #19238]
18565         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
18566         floating-point state after first operation on input.  Restore full
18567         state rather than just rounding mode.
18568         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
18569         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
18570         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
18572         [BZ #19235]
18573         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
18574         add 0.5 to integer arguments.
18575         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
18576         Likewise.
18577         (.LC2): New object.
18579 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
18581         * scripts/pylintrc (reports): Set to no.
18583 2015-11-10  Roland McGrath  <roland@hack.frob.com>
18585         * elf/dl-load.c (open_verify): Take new argument FD.
18586         Skip __open call if passed FD is not -1.
18587         (_dl_map_object, open_path): Update callers.
18588         * elf/dl-sysdep-open.h: New file.
18589         * elf/dl-load.c: Include it.
18590         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
18591         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
18592         * sysdeps/nacl/dl-sysdep-open.h: New file.
18593         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
18594         from libc to rtld.
18596 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
18598         [BZ #19228]
18599         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
18600         and restore full floating-point state.
18601         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18602         Likewise.
18603         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
18604         Likewise.
18605         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
18606         Likewise.
18607         * math/test-nearbyint-except-2.c: New file.
18608         * math/Makefile (tests): Add test-nearbyint-except-2.
18610 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
18612         [BZ #19178]
18613         * sysdeps/x86/Makefile (tests): Add tst-prelink.
18614         (tst-prelink-ENV): New.
18615         ($(objpfx)tst-prelink-conflict.out): Likewise.
18616         ($(objpfx)tst-prelink-cmp.out): Likewise.
18617         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
18618         * sysdeps/x86/tst-prelink.c: New file.
18619         * sysdeps/x86/tst-prelink.exp: Likewise.
18621 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
18623         * math/auto-libm-test-in: Add another test of pow.
18624         * math/auto-libm-test-out: Regenerated.
18625         * math/libm-test.inc (pow_test_data): Add another test.
18627 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18629         [BZ #19219]
18630         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
18631         weak_alias to nearbyintl.
18633 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
18635         * sysdeps/aarch64/bits/string.h: New file.
18636         (_STRING_ARCH_unaligned): Define.
18638 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
18640         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
18641         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
18642         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
18643         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
18644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
18646 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
18648         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
18649         for original name of the DSO.  Add it to the name list of the DSO
18650         if it is actually given.
18651         (_dl_map_object): Keep track of whether an audit module rewrote
18652         the file name.  If yes, pass the original name to
18653         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
18654         debugging is enabled, log the change of the file name.
18655         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
18656         _dl_map_object_from_fd.
18657         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
18658         * elf/tst-audit11.c: New file
18659         * elf/tst-auditmod11.c: New file.
18660         * elf/tst-audit11mod1.c: New file.
18661         * elf/tst-audit11mod2.c: New file.
18662         * elf/tst-audit11mod2.map: New file.
18663         * elf/tst-audit12.c: New file
18664         * elf/tst-auditmod12.c: New file.
18665         * elf/tst-audit12mod1.c: New file.
18666         * elf/tst-audit12mod2.c: New file.
18667         * elf/tst-audit12mod2.map: New file.
18668         * elf/tst-audit12mod3.c: New file.
18670 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
18672         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
18673         Don't create weak aliases,
18674         because versioned symbols are created later.
18675         * sysdeps/s390/s390-32/setjmp.S
18676         (setjmp, _setjmp): Remove weak and rename to an unique name
18677         in SHARED case due to existing versioned symbols.
18678         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18679         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
18680         (getcontext): Create weak alias only in non SHARED case.
18681         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18683 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
18685         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
18686         (__ASSUME_*_SYSCALL) Define new macros.
18687         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
18688         Remove socketcall syscalls.
18689         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
18690         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
18691         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
18692         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
18693         * sysdeps/unix/sysv/linux/send.c (__libc_send):
18694         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
18696 2015-11-09  Florian Weimer  <fweimer@redhat.com>
18698         [BZ #12926]
18699         Terminate process on invalid netlink response.
18700         * sysdeps/unix/sysv/linux/netlinkaccess.h
18701         (__netlink_assert_response): Declare.
18702         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
18703         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
18704         (sysdep_routines): Add netlink_assert_response.
18705         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
18706         __netlink_assert_response.
18707         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
18708         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
18709         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
18710         __netlink_assert_response.
18712 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
18714         [BZ #19178]
18715         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
18716         (RTYPE_CLASS_PLT): Likewise.
18717         (RTYPE_CLASS_COPY): Likewise.
18718         (RTYPE_CLASS_TLS): Likewise.
18719         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
18720         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
18721         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
18722         DL_DEBUG_PRELINK.
18724 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
18726         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
18727         calls with argument -0.5.
18728         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
18730         * configure.ac (libc_cv_z_nodelete): Remove configure test.
18731         (libc_cv_z_nodlopen): Likewise.
18732         (libc_cv_z_initfirst): Likewise.
18733         * configure: Regenerated.
18735 2015-11-06  Florian Weimer  <fweimer@redhat.com>
18737         Simplify abilist format to be line-based.
18738         * scripts/abilist.awk: Collect descriptors in the descs variable.
18739         (emit): Write descs variable and sort it
18740         externally, with sort.
18741         * sysdeps/**/*.abilist: Convert to new format.
18743 2015-11-06  Mark Wielaard  <mjw@redhat.com>
18745         [BZ #11460]
18746         * io/Makefile (routines): Add fts64.
18747         (tests): Add tst-fts and tst-fts-lfs.
18748         (CFLAGS-fts64.c): New.
18749         * io/Versions (GLIBC_2.23): New.
18750         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
18751         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
18752         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
18753         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
18754         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
18755         (FTSENT64): Likewise.
18756         (fts64_children): Likewise.
18757         (fts64_close): Likewise.
18758         (fts64_open): Likewise.
18759         (fts64_read): Likewise.
18760         (fts64_set): Likewise.
18761         * io/fts64.c: New file.
18762         * io/tst-fts.c: New test.
18763         * io/tst-fts-lfs.c: Likewise.
18764         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
18765         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
18766         fts64_set.
18767         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18768         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18769         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18770         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18771         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18772         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18773         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18774         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18775         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18776         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18777         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18778         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18779         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18781         Likewise.
18782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18783         Likewise.
18784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18786         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18787         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18788         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18789         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18790         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18793         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18794         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18795         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18796         * sysdeps/wordsize-64/fts.c: New file.
18797         * sysdeps/wordsize-64/fts64.c: Likewise.
18798         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
18799         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
18800         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
18801         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
18803 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
18805         * math/libm-test.inc (NON_FINITE): New macro.
18806         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
18807         * math/gen-libm-test.pl (show_exceptions): Add argument
18808         $non_finite.
18809         (parse_args): Update call to show_exceptions.
18810         * math/test-math-finite.h: New file.
18811         * math/test-math-no-finite.h: Likewise.
18812         * math/test-double-finite.c: Likewise.
18813         * math/test-float-finite.c: Likewise.
18814         * math/test-ldouble-finite.c: Likewise.
18815         * math/test-double.c: Include "test-math-no-finite.h".
18816         * math/test-float.c: Include "test-math-no-finite.h".
18817         * math/test-ldouble.c: Include "test-math-no-finite.h".
18818         * math/test-math-inline.h (TEST_FINITE): New macro.
18819         * math/test-math-vector.h (TEST_FINITE): Likewise.
18820         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
18821         (libm-tests): Add test-float-finite and test-double-finite.
18822         ($(objpfx)test-float-finite.o): New dependency on
18823         $(objpfx)libm-test.stmp.
18824         ($(objpfx)test-double-finite.o): Likewise.
18825         ($(objpfx)test-ldouble-finite.o): Likewise.
18826         (libm-test-no-inline-cflags): New variable.
18827         (libm-test-finite-cflags): Likewise.
18828         (CFLAGS-test-float-finite.c): Likewise.
18829         (CFLAGS-test-double-finite.c): Likewise.
18830         (CFLAGS-test-ldouble-finite.c): Likewise.
18831         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
18832         (CFLAGS-test-double.c): Likewise.
18833         (CFLAGS-test-ldouble.c): Likewise.
18835 2015-11-05  Roland McGrath  <roland@hack.frob.com>
18837         * io/fcntl.c (__fcntl): Add ... to prototype.
18838         * misc/ioctl.c (__ioctl): Likewise.
18839         * misc/syscall.c (syscall): Likewise.
18841 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
18843         * scripts/list-fixed-bugs.py: New file.
18845         [BZ #19213]
18846         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
18847         returned for argument 1.
18848         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
18849         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
18850         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
18851         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
18852         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
18853         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
18855         [BZ #19211]
18856         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
18857         __USE_XOPEN], not if [!__USE_ISOC99].
18858         (lgammaf): Likewise.
18859         (lgammal): Likewise.
18860         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
18861         (gammaf): Likewise.
18862         (gammal): Likewise.
18863         * math/test-signgam-finite-c11.c: New file.
18864         * math/test-signgam-finite-c99.c: Likewise.
18865         * math/test-signgam-finite.c: Likewise.
18866         * math/Makefile (tests): Add test-signgam-finite,
18867         test-signgam-finite-c99 and test-signgam-finite-c11.
18868         (CFLAGS-test-signgam-finite.c): New variable.
18869         (CFLAGS-test-signgam-finite-c99.c): Likewise.
18870         (CFLAGS-test-signgam-finite-c11.c): Likewise.
18872         [BZ #19212]
18873         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
18874         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
18875         500].
18876         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
18877         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
18878         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
18879         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
18880         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
18881         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
18882         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
18883         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
18884         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
18885         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
18887         [BZ #19209]
18888         * math/bits/math-finite.h (ldexp): Remove declaration.
18889         (ldexpf): Likewise.
18890         (ldexpl): Likewise.
18892         [BZ #19205]
18893         * math/bits/math-finite.h (acosf): Condition declaration on
18894         [__USE_ISOC99].
18895         (acosl): Likewise.
18896         (acoshf): Likewise.
18897         (acoshl): Likewise.
18898         (asinf): Likewise.
18899         (asinl): Likewise.
18900         (atan2f): Likewise.
18901         (atan2l): Likewise.
18902         (atanhf): Likewise.
18903         (atanhl): Likewise.
18904         (coshf): Likewise.
18905         (coshl): Likewise.
18906         (expf): Likewise.
18907         (expl): Likewise.
18908         (fmodf): Likewise.
18909         (fmodl): Likewise.
18910         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
18911         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
18912         (j0l): Likewise.
18913         (y0f): Likewise.
18914         (y0l): Likewise.
18915         (j1f): Likewise.
18916         (j1l): Likewise.
18917         (y1f): Likewise.
18918         (y1l): Likewise.
18919         (jnf): Likewise.
18920         (jnl): Likewise.
18921         (ynf): Likewise.
18922         (ynl): Likewise.
18923         (lgammaf_r): Condition declaration on [__USE_ISOC99].
18924         (lgammal_r): Likewise.
18925         (__lgamma_r_finite): New declaration.
18926         (__lgammaf_r_finite): Likewise.
18927         (__lgammal_r_finite): Likewise.
18928         (lgamma): Use __lgamma_r_finite.
18929         (lgammaf): Condition definition on [__USE_ISOC99].  Use
18930         __lgammaf_r_finite.
18931         (lgammal): Condition definition on [__USE_ISOC99].  Use
18932         __lgammal_r_finite.
18933         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
18934         __lgamma_r_finite.
18935         (gammaf): Condition definition on [__USE_ISOC99].  Use
18936         __lgammaf_r_finite.
18937         (gammal): Condition definition on [__USE_ISOC99].  Use
18938         __lgammal_r_finite.
18939         (logf): Condition declaration on [__USE_ISOC99].
18940         (logl): Likewise.
18941         (log10f): Likewise.
18942         (log10l): Likewise.
18943         (ldexpf): Likewise.
18944         (ldexpl): Likewise.
18945         (powf): Likewise.
18946         (powl): Likewise.
18947         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
18948         __USE_ISOC99].
18949         (remainderf): Condition declaration on [__USE_ISOC99].
18950         (remainderl): Likewise.
18951         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
18952         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
18953         (scalbl): Likewise.
18954         (sinhf): Condition declaration on [__USE_ISOC99].
18955         (sinhl): Likewise.
18956         (sqrtf): Likewise.
18957         (sqrtl): Likewise.
18959 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
18961         * sysdeps/arm/atomic-machine.h
18962         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
18963         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
18964         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
18965         Remove conditional code.
18966         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
18967         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
18968         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
18969         Change conditional to [__ASSEMBLER__].
18970         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
18971         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
18972         [!__ASSEMBLER__].
18973         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
18974         code.
18975         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
18976         conditional macro definitions.
18977         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
18978         (__arch_compare_and_exchange_val_16_acq): Likewise.
18979         (__arch_compare_and_exchange_val_32_acq): Likewise.
18980         (atomic_exchange_and_add): Likewise.
18981         (atomic_add): Likewise.
18982         (atomic_add_negative): Likewise.
18983         (atomic_add_zero): Likewise.
18984         (atomic_bit_set): Likewise.
18985         (atomic_bit_test_set): Likewise.
18986         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
18987         code unconditional.
18988         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
18990         * math/test-math-errno.h: New file.
18991         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
18992         empty.
18993         (TEST_ERRNO): New macro.
18994         (TEST_EXCEPTIONS): Likewise.
18995         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
18996         (TEST_EXCEPTIONS): Likewise.
18997         * math/test-math-vector.h (TEST_ERRNO): Likewise.
18998         * math/test-double.c: Include "test-math-errno.h".
18999         * math/test-float.c: Likewise.
19000         * math/test-ldouble.c: Likewise.
19001         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
19002         code unconditional.
19003         (test_exceptions): Only run code if TEST_EXCEPTIONS.
19004         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
19005         unconditional.
19006         (test_errno): Only run code if TEST_ERRNO.
19007         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
19009 2015-11-04  Florian Weimer  <fweimer@redhat.com>
19011         * nptl/tst-once5.cc: Remove attribution.
19013 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19015         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
19016         sqrt, tan, tanh, y0, y1 and yn.
19017         * math/auto-libm-test-out: Regenerated.
19018         * math/libm-test.inc (scalb_test_data): Add more tests.
19019         (scalbn_test_data): Likewise.
19020         (scalbln_test_data): Likewise.
19021         (signbit_test_data): Likewise.
19022         (sin_test_data): Likewise.
19023         (sincos_test_data): Likewise.
19024         (sinh_test_data): Likewise.
19025         (sqrt_test_data): Likewise.
19026         (tan_test_data): Likewise.
19027         (tanh_test_data): Likewise.
19028         (tgamma_test_data): Likewise.
19029         (y0_test_data): Likewise.
19030         (y1_test_data): Likewise.
19031         (yn_test_data): Likewise.
19032         (significand_test_data): Likewise.
19033         * sysdeps/i386/fpu/libm-test-ulps: Update.
19035 2015-11-03  David Kastrup  <dak@gnu.org>
19037         [BZ #18604]
19038         * assert/assert.h (assert): Don't macro-expand failed assertion
19039         expression in error message.
19040         * malloc/malloc.c (assert): Likewise.
19042 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
19044         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
19045         test.
19046         * configure: Regenerated.
19048 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
19050         * math/libm-test.inc (modf_test_data): Add more tests.
19051         (nearbyint_test_data): Likewise.
19052         (nextafter_test_data): Likewise.
19053         (nexttoward_test_data): Likewise.
19054         (pow_test_data): Likewise.
19055         (remainder_test_data): Likewise.
19056         (remquo_test_data): Likewise.
19057         (rint_test_data): Likewise.
19059         [BZ #19201]
19060         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19061         Check for zero remainder in case of large exponents and ensure
19062         correct sign of result in that case.
19063         * math/libm-test.inc (remainder_test_data): Add more tests.
19065         [BZ #6799]
19066         * math/s_nextafter.c: Include <errno.h>.
19067         (__nextafter): Set errno on overflow and underflow.
19068         * math/s_nexttowardf.c: Include <errno.h>.
19069         (__nexttowardf): Set errno on overflow and underflow.
19070         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
19071         (__nextafterl): Set errno on overflow and underflow.
19072         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
19073         (__nexttoward): Set errno on overflow and underflow.
19074         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
19075         (__nexttowardf): Set errno on overflow and underflow.
19076         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
19077         (__nextafterf): Set errno on overflow and underflow.
19078         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
19079         (__nextafterl): Set errno on overflow and underflow.
19080         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
19081         (__nexttoward): Set errno on overflow and underflow.
19082         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
19083         (__nexttowardf): Set errno on overflow and underflow.
19084         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
19085         (__nextafterl): Set errno on overflow and underflow.
19086         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
19087         (__nexttoward): Set errno on overflow and underflow.
19088         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
19089         (__nexttowardf): Set errno on overflow and underflow.
19090         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
19091         (__nexttoward): Set errno on overflow and underflow.
19092         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
19093         (__nexttowardf): Set errno on overflow and underflow.
19094         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
19095         (__nldbl_nexttowardf): Set errno on overflow and underflow.
19096         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
19097         (__nextafterl): Set errno on overflow and underflow.
19098         * math/libm-test.inc (nextafter_test_data): Do not allow errno
19099         setting to be missing on overflow.  Add more tests.
19100         (nexttoward_test_data): Likewise.
19102         * configure.ac (libc_cv_initfini_array): Remove configure test.
19103         * configure: Regenerated.
19105 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
19107         [BZ #19189]
19108         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
19109         non-finite argument handle arguments with negative sign.
19111         * math/libm-test.inc (j0_test_data): Do not test sign of zero
19112         result from infinite argument.
19113         (j1_test_data): Likewise.
19114         (jn_test_data): Likewise.
19115         (y0_test_data): Likewise.
19116         (y1_test_data): Likewise.
19117         (yn_test_data): Likewise.
19119         [BZ #16171]
19120         * math/w_remainder.c (drem): Define as weak alias of __remainder.
19121         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
19122         * math/w_remainderf.c (dremf): Define as weak alias of
19123         __remainderf.
19124         * math/w_remainderl.c (dreml): Define as weak alias of
19125         __remainderl.
19126         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
19127         __remainder.
19128         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
19129         __remainderf.
19130         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
19131         __remainderl.
19132         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
19133         weak alias of remainderl.
19134         * sysdeps/ieee754/ldbl-opt/w_remainder.c
19135         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
19136         alias of __remainder.
19137         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
19138         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
19139         strong alias of __remainderl.
19140         (dreml): Use long_double_symbol.
19141         * math/Makefile (libm-calls): Remove w_drem.
19142         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
19143         (CFLAGS-nldbl-drem.c): Remove variable.
19144         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
19145         * math/w_drem.c: Remove file.
19146         * math/w_dremf.c: Likewise.
19147         * math/w_dreml.c: Likewise.
19148         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
19149         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
19150         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
19152         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
19153         * sysdeps/i386/configure: Regenerated.
19154         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
19155         * sysdeps/x86_64/configure: Regenerated.
19157         * configure.ac (libc_cv_asm_protected_directive): Remove configure
19158         test.
19159         (libc_cv_visibility_attribute): Likewise.
19160         (libc_cv_protected_data): Test unconditionally.
19161         (libc_cv_broken_visibility_attribute): Remove configure test.
19162         (libc_cv_have_sdata_section): Test unconditionally.
19163         * configure: Regenerated.
19165         * include/libc-internal.h (libc_max_align_t): Remove typedef.
19166         * include/scratch_buffer.h: Include <stddef.h> instead of
19167         <libc-internal.h>.
19168         (struct scratch_buffer): Use max_align_t instead of
19169         libc_max_align_t.
19171 2015-10-29  Florian Weimer  <fweimer@redhat.com>
19173         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
19174         instead of extend_alloca.  Change control flow to avoid a goto.
19175         Remove assert which is trivially always true.
19177 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19179         [BZ #16068]
19180         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
19181         (FE_ALL_EXCEPT_X86): New macro.
19182         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19183         FE_ALL_EXCEPT.  Ensure precision control is included in
19184         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19185         handle "denormal operand exception" and clear FZ and DAZ bits.
19186         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
19187         (FE_ALL_EXCEPT_X86): New macro.
19188         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19189         FE_ALL_EXCEPT.  Ensure precision control is included in
19190         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19191         handle "denormal operand exception" and clear FZ and DAZ bits.
19192         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
19193         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
19194         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19195         test-fenv-x87 and test-fenv-sse-2.
19196         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
19198         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
19199         * math/test-double.h (BUILD_COMPLEX): New macro.
19200         * math/test-float.h (BUILD_COMPLEX): Likewise.
19201         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
19203         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
19204         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
19205         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
19206         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
19207         instead of DBL_DENORM_MIN in comment.
19208         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
19209         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19210         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
19211         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
19212         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
19213         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19215 2015-10-28  Florian Weimer  <fweimer@redhat.com>
19217         [BZ# 19048]
19218         * malloc/malloc.c (struct malloc_state): Update comment.  Add
19219         attached_threads member.
19220         (main_arena): Initialize attached_threads.
19221         * malloc/arena.c (list_lock): Update comment.
19222         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
19223         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
19224         (deattach_arena): New function.
19225         (_int_new_arena): Initialize arena reference count and deattach
19226         replaced arena.
19227         (get_free_list, reused_arena): Update reference count and deattach
19228         replaced arena.
19229         (arena_thread_freeres): Update arena reference count and only put
19230         unreferenced arenas on the free list.
19232 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19234         [BZ #19181]
19235         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
19236         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
19237         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
19238         * math/test-fenv-clear-main.c: New file.
19239         * math/test-fenv-clear.c: Likewise.
19240         * math/Makefile (tests): Add test-fenv-clear.
19241         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
19242         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19243         test-fenv-clear-sse.
19244         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
19246         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
19247         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
19248         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
19250 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19252         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
19253         static libc.
19255 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19257         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
19258         test.
19259         * sysdeps/i386/configure: Regenerated.
19260         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
19261         test.
19262         * sysdeps/x86_64/configure: Regenerated.
19263         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
19264         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19265         memset-avx2 unconditionally instead of conditionally on
19266         [$(config-cflags-avx2) = yes].
19267         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19268         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
19269         unconditional.
19270         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
19271         * sysdeps/x86_64/multiarch/memset_chk.S
19272         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
19273         to [IS_IN (libc) && SHARED].
19275 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19277         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
19278         configure test.
19279         * sysdeps/arm/configure: Regenerated.
19280         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
19281         Define variable if not already defined.
19283         [BZ #17404]
19284         * sysdeps/mips/atomic-machine.h
19285         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
19286         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
19287         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19289         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
19290         unconditional.
19291         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
19292         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19293         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
19294         unconditional.
19295         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19296         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
19297         unconditional.
19298         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19299         * stdlib/setenv.c
19300         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
19301         code unconditional.
19302         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
19303         Remove conditional code.
19304         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
19305         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
19306         unconditional.
19307         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19308         code.
19309         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
19310         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
19311         unconditional.
19312         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19313         code.
19314         * sysdeps/ieee754/ldbl-128/k_tanl.c
19315         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19316         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19317         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
19318         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19319         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19320         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
19321         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
19322         unconditional.
19323         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19324         code.
19325         * sysdeps/ieee754/ldbl-96/k_tanl.c
19326         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19327         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19329         * nptl/tst-initializers1-c11.c: New file.
19330         * nptl/tst-initializers1-gnu11.c: Likewise.
19331         * nptl/Makefile (tests): Add these new tests.
19332         (CFLAGS-tst-initializers1-c11.c): New variable.
19333         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19335         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
19336         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
19337         instead of -std=gnu99.
19338         * configure.ac (systemtap): Test with -std=gnu11 instead of
19339         -std=gnu99.
19340         * configure: Regenerated.
19341         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
19342         in compilation command in comment.
19344         * sysdeps/nptl/configure.ac: Remove file.
19345         * sysdeps/nptl/configure: Remove generated file.
19346         * configure.ac (libc_cv_forced_unwind): Do not substitute.
19347         * configure: Regenerated.
19348         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
19349         * config.make.in (have-forced-unwind): Remove variable.
19350         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19351         unconditional.
19352         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
19353         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
19354         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
19355         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
19356         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19357         unconditional.
19359 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19361         [BZ #19174]
19362         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
19363         .skip_lock_out_of_tbegin_retries.
19364         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19365         (__lll_lock_elision): Likewise, and respect a value of
19366         try_tbegin <= 0.
19368 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19370         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
19371         statement.
19373 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19375         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
19376         variable.
19377         (test-xfail-ISO11/stdalign.h/conform): Likewise.
19378         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19380         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
19381         of -std=c1x -D_ISOC11_SOURCE.
19383         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
19384         * configure: Regenerated.
19385         * manual/install.texi (Tools for Compilation): Document
19386         requirement for GCC 4.7 or later.
19387         * INSTALL: Regenerated.
19389 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
19391         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
19392         on CNT to a conditional jump to 'puntdata'.
19394 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19396         * configure.ac (libc_cv_gcc___thread): Remove configure test.
19397         (libc_cv_gcc_tls_model_attr): Likewise.
19398         * configure: Regenerated.
19400         * configure.ac (libc_cv_need_minus_P): Remove configure test.
19401         * configure: Regenerated.
19402         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
19404 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
19406         * configure.ac (old_glibc_headers): Remove configure test.
19407         * configure: Regenerated.
19408         * config.make.in (old-glibc-headers): Remove variable.
19409         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
19410         (install): Remove dependency on remove-old-headers.
19411         (headers2_0): Remove variable.
19412         (remove-old-headers): Remove rule.
19414         * configure.ac (libc_cv_dot_text): Remove configure test.
19415         (libc_cv_asm_set_directive): Use .text instead of
19416         ${libc_cv_dot_text} in configure test.
19417         * configure: Regenerated.
19419 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19421         [BZ #19168]
19422         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19424 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19426         * configure.ac (CXX): Clear the variable if the C++ toolchain does
19427         not support static linking.
19428         * configure: Regenerate.
19430 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
19432         * math/libm-test.inc (check_float_internal): Do not special-case
19433         errors up to 0.5 ulp.
19435         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19436         log2.
19437         * math/auto-libm-test-out: Regenerated.
19438         * math/libm-test.inc (MAX_EXP): New macro.
19439         (ilogb_test_data): Add more tests.
19440         (isfinite_test_data): Likewise.
19441         (isgreater_test_data): Likewise.
19442         (isgreaterequal_test_data): Likewise.
19443         (isinf_test_data): Likewise.
19444         (isless_test_data): Likewise.
19445         (islessequal_test_data): Likewise.
19446         (islessgreater_test_data): Likewise.
19447         (isnan_test_data): Likewise.
19448         (isnormal_test_data): Likewise.
19449         (issignaling_test_data): Likewise.
19450         (isunordered_test_data): Likewise.
19451         (j0_test_data): Likewise.
19452         (j1_test_data): Likewise.
19453         (jn_test_data): Likewise.
19454         (lgamma_test_data): Likewise.
19455         (log_test_data): Likewise.
19456         (log10_test_data): Likewise.
19457         (log1p_test_data): Likewise.
19458         (log2_test_data): Likewise.
19459         (logb_test_data): Likewise.
19460         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19462         [BZ #18611]
19463         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
19464         avoid excess range and precision on underflow.
19465         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19466         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19467         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19468         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
19469         underflow.
19470         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19471         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19472         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19473         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19474         * math/auto-libm-test-in: Do not allow missing errno setting for
19475         tests of j1 and jn.
19476         * math/auto-libm-test-out: Regenerated.
19478 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
19480         [BZ #15491]
19481         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
19482         floating-point environment instead of clearing all exceptions.
19483         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19484         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
19485         merging in "invalid" exceptions from frndint.
19486         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19487         * math/test-nearbyint-except.c: New file.
19488         * math/Makefile (tests): Add test-nearbyint-except.
19490 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
19492         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
19494         * sysdeps/tile/libm-test-ulps: Regenerated.
19496 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
19499         (__NR_sync_file_range2): Assume it is always defined.
19500         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19501         (__NR_sync_file_range): Assume it is always defined.
19503 2015-10-22  Andreas Schwab  <schwab@suse.de>
19505         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
19506         INTERNAL_SYSCALL_ERRNO.
19507         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19508         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
19509         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19510         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
19511         Likewise.
19512         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19514 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
19516         * io/tst-fcntl.c (fd): New static variable.
19517         (do_prepare): Open temporary file here....
19518         (do_test): ...not here.
19520         * io/ftwtest-sh: Also trap on exit to remove temporary files.
19522 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
19524         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
19525         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
19526         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
19527         Moved before "#ifdef __ASSEMBLER__".
19529 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
19531         [BZ #19156]
19532         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
19533         arguments very close to 0.
19535 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
19537         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
19538         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
19540 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
19542         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
19543         New.  Defined for GCC 5 and above when not compiling for
19544         profiling.
19545         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
19547         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
19548         Renamed to ...
19549         (CFLAGS-epoll_pwait.o): This.
19550         (CFLAGS-mmap.c): Renamed to ...
19551         (CFLAGS-mmap.o): This.
19552         (CFLAGS-mmap64.c): Renamed to ...
19553         (CFLAGS-mmap64.o): This.
19554         (CFLAGS-epoll_pwait.os): New.
19555         (CFLAGS-mmap.os): Likewise.
19556         (CFLAGS-mmap64.os): Likewise.
19557         (CFLAGS-semtimedop.os): Likewise.
19558         (CFLAGS-semtimedop.c): Renamed to ...
19559         (CFLAGS-semtimedop.o): This.
19561 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19563         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
19564         warning message.
19566 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
19568         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
19569         * Makefile ($(objpfx)c++-types-check.out): Filter out
19570         $(+gccwarn-c) instead of -Wstrict-prototypes.
19572         * io/fts.c (fts_open): Convert to prototype-style function
19573         definition.
19574         * malloc/mcheck.c (mcheck): Likewise.
19575         (mcheck_pedantic): Likewise.
19576         * posix/regexec.c (re_search_2_stub): Likewise.  Use
19577         internal_function.
19578         (re_search_internal): Likewise.
19579         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
19580         prototype-style function definition.
19581         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19582         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
19583         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
19584         (xdr_utmpptr): Likewise.
19585         (xdr_utmparr): Likewise.
19586         (xdr_utmpidle): Likewise.
19587         (xdr_utmpidleptr): Likewise.
19588         (xdr_utmpidlearr): Likewise.
19590         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
19591         log, log10 and log2.
19592         * math/auto-libm-test-out: Regenerated.
19593         * math/libm-test.inc (fmod_test_data): Add more tests.
19594         (fpclassify_test_data): Likewise.
19595         (frexp_test_data): Likewise.
19596         (hypot_test_data): Likewise.
19597         (ilogb_test_data): Likewise.
19599 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
19601         * debug/fortify_fail.c (__fortify_fail): Convert to
19602         prototype-style function definition.  Use internal_function.
19603         * libio/genops.c (save_for_backup): Convert to prototype-style
19604         function definition.
19605         * libio/wgenops.c (save_for_wbackup): Likewise.
19606         * login/grantpt.c (grantpt): Likewise.
19607         * login/ptsname.c (ptsname): Likewise.
19608         (__ptsname_r): Likewise.
19609         * login/unlockpt.c (unlockpt): Likewise.
19610         * mach/msgserver.c (__mach_msg_server): Likewise.
19611         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
19612         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
19613         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
19614         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
19615         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
19616         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
19617         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
19618         Likewise.
19619         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
19620         internal_function.
19621         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
19622         prototype-style function definition.
19623         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
19624         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
19625         (__pthread_create_2_0): Likewise.
19626         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
19627         * nptl/register-atfork.c (__register_atfork): Likewise.
19628         * posix/glob.c (glob): Likewise.
19629         * posix/regcomp.c (re_comp): Likewise.
19630         * posix/regexec.c (re_exec): Likewise.
19631         * stdlib/add_n.c [__STDC__]: Make code unconditional.
19632         [!__STDC__]: Remove conditional code.
19633         * stdlib/cmp.c [__STDC__]: Make code unconditional.
19634         [!__STDC__]: Remove conditional code.
19635         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
19636         [!__STDC__]: Remove conditional code.
19637         * stdlib/divrem.c [__STDC__]: Make code unconditional.
19638         [!__STDC__]: Remove conditional code.
19639         * stdlib/lshift.c [__STDC__]: Make code unconditional.
19640         [!__STDC__]: Remove conditional code.
19641         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
19642         [!__STDC__]: Remove conditional code.
19643         * stdlib/mul.c [__STDC__]: Make code unconditional.
19644         [!__STDC__]: Remove conditional code.
19645         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
19646         [!__STDC__]: Remove conditional code.
19647         * stdlib/rshift.c [__STDC__]: Make code unconditional.
19648         [!__STDC__]: Remove conditional code.
19649         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
19650         function definition.
19651         (STRTOF): Likewise.
19652         * stdlib/strtod_l.c (__STRTOF): Likewise.
19653         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
19654         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
19655         (__strtol_l): Likewise.
19656         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
19657         [!__STDC__]: Remove conditional code.
19658         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
19659         definition.
19660         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
19661         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19662         type.
19663         (__strcasecmp): Convert to prototype-style function definition.
19664         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
19665         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19666         type.
19667         (__strncasecmp): Convert to prototype-style function definition.
19668         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
19669         * sunrpc/xdr.c (xdr_union): Likewise.
19670         * sunrpc/xdr_array.c (xdr_array): Likewise.
19671         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
19672         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
19673         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
19674         Likewise.
19675         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
19676         Likewise.
19677         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
19678         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19679         Likewise.
19680         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
19681         (LOCALE_PARAM_PROTO): Likewise.
19682         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
19683         argument type.
19684         (ut_argument_spec): Remove macro.
19685         (ut_argument_spec_iso): Rename to ut_argument_spec.
19686         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
19687         prototype-style function definition.
19688         (memcpy_uppcase): Likewise.
19689         (__strftime_internal): Likewise.
19690         (my_strftime): Likewise.
19691         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
19692         (LOCALE_PARAM_DECL): Likewise.
19693         [_LIBC] (LOCALE_PARAM): Include argument type.
19694         (__strptime_internal): Convert to prototype-style function
19695         definition.
19696         (strptime): Likewise.
19697         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
19698         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19699         type.
19700         (__wcscasecmp): Convert to prototype-style function definition.
19701         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
19702         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19703         type.
19704         (__wcsncasecmp): Convert to prototype-style function definition.
19706         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
19707         function definition.
19708         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19709         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19710         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
19711         * elf/dl-minimal.c (_itoa): Likewise.
19712         * hurd/hurdmalloc.c (malloc): Likewise.
19713         (free): Likewise.
19714         (realloc): Likewise.
19715         * inet/inet6_option.c (inet6_option_space): Likewise.
19716         (inet6_option_init): Likewise.
19717         (inet6_option_append): Likewise.
19718         (inet6_option_alloc): Likewise.
19719         (inet6_option_next): Likewise.
19720         (inet6_option_find): Likewise.
19721         * io/ftw.c (FTW_NAME): Likewise.
19722         (NFTW_NAME): Likewise.
19723         (NFTW_NEW_NAME): Likewise.
19724         (NFTW_OLD_NAME): Likewise.
19725         * libio/iofwide.c (_IO_fwide): Likewise.
19726         * libio/strops.c (_IO_str_init_static_internal): Likewise.
19727         (_IO_str_init_static): Likewise.
19728         (_IO_str_init_readonly): Likewise.
19729         (_IO_str_overflow): Likewise.
19730         (_IO_str_underflow): Likewise.
19731         (_IO_str_count): Likewise.
19732         (_IO_str_seekoff): Likewise.
19733         (_IO_str_pbackfail): Likewise.
19734         (_IO_str_finish): Likewise.
19735         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
19736         (_IO_wstr_overflow): Likewise.
19737         (_IO_wstr_underflow): Likewise.
19738         (_IO_wstr_count): Likewise.
19739         (_IO_wstr_seekoff): Likewise.
19740         (_IO_wstr_pbackfail): Likewise.
19741         (_IO_wstr_finish): Likewise.
19742         * locale/programs/localedef.c (normalize_codeset): Likewise.
19743         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19744         (add_locales_to_archive): Likewise.
19745         (delete_locales_from_archive): Likewise.
19746         * malloc/malloc.c (__libc_mallinfo): Likewise.
19747         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
19748         * misc/tsearch.c (__tfind): Likewise.
19749         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
19750         * nptl/pthread_attr_getdetachstate.c
19751         (__pthread_attr_getdetachstate): Likewise.
19752         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
19753         Likewise.
19754         * nptl/pthread_attr_getinheritsched.c
19755         (__pthread_attr_getinheritsched): Likewise.
19756         * nptl/pthread_attr_getschedparam.c
19757         (__pthread_attr_getschedparam): Likewise.
19758         * nptl/pthread_attr_getschedpolicy.c
19759         (__pthread_attr_getschedpolicy): Likewise.
19760         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
19761         Likewise.
19762         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
19763         Likewise.
19764         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
19765         Likewise.
19766         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
19767         Likewise.
19768         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
19769         (__pthread_attr_init_2_0): Likewise.
19770         * nptl/pthread_attr_setdetachstate.c
19771         (__pthread_attr_setdetachstate): Likewise.
19772         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
19773         Likewise.
19774         * nptl/pthread_attr_setinheritsched.c
19775         (__pthread_attr_setinheritsched): Likewise.
19776         * nptl/pthread_attr_setschedparam.c
19777         (__pthread_attr_setschedparam): Likewise.
19778         * nptl/pthread_attr_setschedpolicy.c
19779         (__pthread_attr_setschedpolicy): Likewise.
19780         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
19781         Likewise.
19782         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
19783         Likewise.
19784         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
19785         Likewise.
19786         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
19787         Likewise.
19788         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
19789         Likewise.
19790         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
19791         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19792         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
19793         use internal_function.
19794         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
19795         prototype-style function definition.
19796         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
19797         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
19798         internal_function.
19799         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
19800         Convert to prototype-style function definition.
19801         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
19802         Likewise.
19803         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
19804         Likewise.
19805         (__pthread_mutex_unlock): Likewise.
19806         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
19807         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
19808         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
19809         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
19810         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
19811         * nss/makedb.c (process_input): Likewise.
19812         * posix/fnmatch.c (__strchrnul): Likewise.
19813         (__wcschrnul): Likewise.
19814         (fnmatch): Likewise.
19815         * posix/fnmatch_loop.c (FCT): Likewise.
19816         * posix/glob.c (globfree): Likewise.
19817         (__glob_pattern_type): Likewise.
19818         (__glob_pattern_p): Likewise.
19819         * posix/regcomp.c (re_compile_pattern): Likewise.
19820         (re_set_syntax): Likewise.
19821         (re_compile_fastmap): Likewise.
19822         (regcomp): Likewise.
19823         (regerror): Likewise.
19824         (regfree): Likewise.
19825         * posix/regexec.c (regexec): Likewise.
19826         (re_match): Likewise.
19827         (re_search): Likewise.
19828         (re_match_2): Likewise.
19829         (re_search_2): Likewise.
19830         (re_search_stub): Likewise.  Use internal_function
19831         (re_copy_regs): Likewise.
19832         (re_set_registers): Convert to prototype-style function
19833         definition.
19834         (prune_impossible_nodes): Likewise.  Use internal_function.
19835         * resolv/inet_net_pton.c (inet_net_pton): Convert to
19836         prototype-style function definition.
19837         (inet_net_pton_ipv4): Likewise.
19838         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19839         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
19840         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
19841         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
19842         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19843         Make variadic.
19844         * time/strptime_l.c (localtime_r): Convert to prototype-style
19845         function definition.
19846         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
19847         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
19848         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
19849         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
19851         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
19852         definition.
19853         (_ufc_doit_r): Likewise.
19854         * crypt/crypt_util.c (_ufc_copymem): Likewise.
19855         (_ufc_output_conversion_r): Likewise.
19856         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
19857         * inet/rcmd.c (rcmd_af): Likewise.
19858         (rcmd): Likewise.
19859         (ruserok_af): Likewise.
19860         (ruserok): Likewise.
19861         (ruserok2_sa): Likewise.
19862         (ruserok_sa): Likewise.
19863         (iruserok_af): Likewise.
19864         (iruserok): Likewise.
19865         (__ivaliduser): Likewise.
19866         (__validuser2_sa): Likewise.
19867         * inet/rexec.c (rexec_af): Likewise.
19868         (rexec): Likewise.
19869         * inet/ruserpass.c (ruserpass): Likewise.
19870         * locale/programs/xmalloc.c (xcalloc): Likewise.
19871         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
19872         * math/w_drem.c (__drem): Likewise.
19873         * math/w_dremf.c (__dremf): Likewise.
19874         * math/w_dreml.c (__dreml): Likewise.
19875         * misc/daemon.c (daemon): Likewise.
19876         * resolv/res_debug.c (p_fqnname): Likewise.
19877         * stdlib/div.c (div): Likewise.
19878         * string/memcmp.c (memcmp_bytes): Likewise.
19879         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
19880         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
19882         * crypt/cert.c (main): Convert to prototype-style function
19883         definition.
19884         * io/pipe.c (__pipe): Likewise.
19885         * io/pipe2.c (__pipe2): Likewise.
19886         * misc/futimesat.c (futimesat): Likewise.
19887         * misc/utimes.c (__utimes): Likewise.
19888         * posix/execve.c (__execve): Likewise.
19889         * posix/execvp.c (execvp): Likewise.
19890         * posix/execvpe.c (__execvpe): Likewise.
19891         * posix/fexecve.c (fexecve): Likewise.
19892         * socket/socketpair.c (socketpair): Likewise.
19893         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19894         * stdlib/erand48.c (erand48): Likewise.
19895         * stdlib/erand48_r.c (__erand48_r): Likewise.
19896         * stdlib/jrand48.c (jrand48): Likewise.
19897         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
19898         * stdlib/lcong48.c (lcong48): Likewise.
19899         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
19900         * stdlib/nrand48.c (nrand48): Likewise.
19901         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
19902         * stdlib/seed48.c (seed48): Likewise.
19903         * stdlib/seed48_r.c (__seed48_r): Likewise.
19904         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
19905         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
19906         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
19908 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
19910         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
19911         * configure: Regenerated.
19912         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
19913         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
19914         unconditional.
19915         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19916         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19917         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19918         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
19919         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
19920         unconditional.
19921         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
19923         * posix/Makefile (CFLAGS-regex.c): Remove variable.
19924         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
19926         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
19927         function definition.
19928         * crypt/crypt_util.c (__encrypt_r): Likewise.
19929         * libio/genops.c (_IO_no_init): Likewise.
19930         * libio/iofopncook.c (_IO_fopencookie): Likewise.
19931         (_IO_old_fopencookie): Likewise.
19932         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19933         * libio/iogetline.c (_IO_getline): Likewise.
19934         (_IO_getline_info): Likewise.
19935         * libio/iogetwline.c (_IO_getwline): Likewise.
19936         (_IO_getwline_info): Likewise.
19937         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
19938         * libio/vswprintf.c (_IO_vswprintf): Likewise.
19939         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
19940         (find_entry): Likewise.
19941         (iterate_table): Likewise.
19942         (lookup): Likewise.
19943         * login/forkpty.c (forkpty): Likewise.
19944         * misc/hsearch_r.c (__hsearch_r): Likewise.
19945         * misc/select.c (__select): Likewise.
19946         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
19947         Likewise.
19948         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
19949         Likewise.
19950         * nptl/old_pthread_cond_timedwait.c
19951         (__pthread_cond_timedwait_2_0): Likewise.
19952         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
19953         * nptl/pthread_barrierattr_getpshared.c
19954         (pthread_barrierattr_getpshared): Likewise.
19955         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
19956         Likewise.
19957         * nptl/pthread_mutex_setprioceiling.c
19958         (pthread_mutex_setprioceiling): Likewise.
19959         * nptl/pthread_mutexattr_getprioceiling.c
19960         (pthread_mutexattr_getprioceiling): Likewise.
19961         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
19962         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19963         Likewise.
19964         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19965         Likewise.
19966         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
19967         Likewise.
19968         * socket/recvfrom.c (__recvfrom): Likewise.
19969         * socket/sendto.c (__sendto): Likewise.
19970         * socket/setsockopt.c (__setsockopt): Likewise.
19971         * stdio-common/_itoa.c (_itoa): Likewise.
19972         * stdio-common/_itowa.c (_itowa): Likewise.
19973         * stdio-common/reg-printf.c (__register_printf_specifier):
19974         Likewise.
19975         (__register_printf_function): Likewise.
19976         * stdio-common/tempname.c (__path_search): Likewise.
19977         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
19978         * stdlib/mul_1.c (mpn_mul_1): Likewise.
19979         * stdlib/random_r.c (__initstate_r): Likewise.
19980         * stdlib/setenv.c (__add_to_environ): Likewise.
19981         * stdlib/submul_1.c (mpn_submul_1): Likewise.
19982         * streams/getpmsg.c (getpmsg): Likewise.
19983         * streams/putmsg.c (putmsg): Likewise.
19984         * streams/putpmsg.c (putpmsg): Likewise.
19985         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
19986         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
19987         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
19988         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
19989         * sunrpc/pm_getport.c (pmap_getport): Likewise.
19990         * sunrpc/svc_udp.c (cache_get): Likewise.
19991         * sunrpc/xdr_array.c (xdr_vector): Likewise.
19992         * sysdeps/mach/hurd/getcwd.c
19993         (__canonicalize_directory_name_internal): Likewise.
19994         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
19995         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
19996         * sysdeps/mach/hurd/select.c (__select): Likewise.
19997         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
19998         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
19999         * sysdeps/sparc/nptl/pthread_barrier_init.c
20000         (__pthread_barrier_init): Likewise.
20001         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
20002         (__pthread_cond_timedwait): Likewise.
20003         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
20004         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
20005         Likewise.
20006         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
20007         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
20008         Likewise.
20009         * sysvipc/semtimedop.c (semtimedop): Likewise.
20010         * time/setitimer.c (__setitimer): Likewise.
20011         * time/strftime_l.c (emacs_strftime): Likewise.
20013 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20015         * config.make.in (have-ssp): Delete.
20016         (stack-protector): New variable.
20017         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
20018         cache test for -fstack-protector-strong.  Export stack_protector to
20019         the best ssp flag.
20020         * configure: Regenerated.
20021         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
20022         * nscd/Makefile (CFLAGS-nscd): Likewise.
20023         * resolv/Makefile (CFLAGS-libresolv): Likewise.
20025 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
20027         [BZ #19122]
20028         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
20029         attribute_hidden.
20031 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20033         [BZ #18743]
20034         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
20035         code to...
20036         (ELIDE_LOCK): ...here.
20037         (__get_new_count): New function with part of the code from
20038         __elide_lock that updates the value of adapt_count after a
20039         transaction abort.
20040         (__elided_trylock): Moved this code to...
20041         (ELIDE_TRYLOCK): ...here.
20043 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20045         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
20046         * configure: Regenerate.
20047         * INSTALL: Regenerate.
20048         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
20049         and tweak grammar.
20051 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
20053         * login/programs/pt_chown.c: Include signal.h
20054         (main): Clear any signal mask from the parent process.
20056 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20058         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
20059         * configure: Regenerated.
20060         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
20061         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
20062         $(gnu89-inline-CFLAGS).
20064         * configure.ac (libc_cv_asm_weak_directive): Remove configure
20065         test.
20066         (libc_cv_asm_weakext_directive): Likewise.
20067         * configure: Regenerated.
20068         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
20069         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
20070         * include/libc-symbols.h
20071         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
20072         #error.
20073         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
20074         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
20076         * sysdeps/arm/backtrace.c (__backtrace): Convert to
20077         prototype-style function definition.
20078         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20079         * sysdeps/i386/ffs.c (__ffs): Likewise.
20080         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20081         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
20082         Likewise.
20083         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20084         Likewise.
20085         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
20086         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20087         Likewise.
20088         * sysdeps/m68k/ffs.c (__ffs): Likewise.
20089         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
20090         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
20091         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
20092         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
20093         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
20094         * sysdeps/mach/hurd/access.c (__access): Likewise.
20095         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
20096         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
20097         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
20098         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
20099         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
20100         (cthread_getspecific): Likewise.
20101         (cthread_setspecific): Likewise.
20102         (__libc_getspecific): Likewise.
20103         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
20104         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
20105         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
20106         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
20107         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
20108         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
20109         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
20110         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
20111         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
20112         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
20113         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
20114         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
20115         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
20116         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
20117         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
20118         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
20119         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
20120         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
20121         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
20122         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
20123         * sysdeps/mach/hurd/link.c (__link): Likewise.
20124         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
20125         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
20126         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
20127         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
20128         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20129         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
20130         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
20131         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
20132         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20133         * sysdeps/mach/hurd/rename.c (rename): Likewise.
20134         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
20135         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
20136         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
20137         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
20138         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
20139         * sysdeps/mach/hurd/send.c (__send): Likewise.
20140         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
20141         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
20142         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
20143         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
20144         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
20145         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
20146         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
20147         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
20148         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
20149         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
20150         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
20151         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
20152         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
20153         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
20154         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
20155         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
20156         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
20157         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
20158         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
20159         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20160         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
20161         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
20162         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
20163         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
20164         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
20165         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
20166         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
20167         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
20168         * sysdeps/posix/alarm.c (alarm): Likewise.
20169         * sysdeps/posix/cuserid.c (cuserid): Likewise.
20170         * sysdeps/posix/dirfd.c (dirfd): Likewise.
20171         * sysdeps/posix/dup.c (__dup): Likewise.
20172         * sysdeps/posix/dup2.c (__dup2): Likewise.
20173         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
20174         (main): Likewise.
20175         * sysdeps/posix/flock.c (__flock): Likewise.
20176         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
20177         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
20178         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
20179         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
20180         * sysdeps/posix/isatty.c (__isatty): Likewise.
20181         * sysdeps/posix/killpg.c (killpg): Likewise.
20182         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20183         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
20184         * sysdeps/posix/raise.c (raise): Likewise.
20185         * sysdeps/posix/remove.c (remove): Likewise.
20186         * sysdeps/posix/rename.c (rename): Likewise.
20187         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
20188         * sysdeps/posix/seekdir.c (seekdir): Likewise.
20189         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
20190         * sysdeps/posix/sigignore.c (sigignore): Likewise.
20191         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
20192         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
20193         * sysdeps/posix/sigset.c (sigset): Likewise.
20194         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
20195         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
20196         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
20197         * sysdeps/posix/time.c (time): Likewise.
20198         * sysdeps/posix/ttyname.c (getttyname): Likewise.
20199         (ttyname): Likewise.
20200         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
20201         * sysdeps/posix/utime.c (utime): Likewise.
20202         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
20203         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20204         Likewise.
20205         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
20206         (pthread_spin_trylock): Likewise.
20207         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
20208         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
20209         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
20210         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
20211         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
20212         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
20213         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
20214         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
20215         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
20216         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
20217         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
20218         * sysdeps/s390/ffs.c (__ffs): Likewise.
20219         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
20220         Likewise.
20221         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20222         Likewise.
20223         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
20224         Likewise.
20225         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
20226         (pthread_barrier_destroy): Likewise.
20227         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20228         (__pthread_barrier_wait): Likewise.
20229         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
20230         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20231         (__pthread_barrier_wait): Likewise.
20232         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
20233         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
20234         (memcmp_not_common_alignment): Likewise.
20235         (MEMCMP): Likewise.
20236         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
20237         (_wordcopy_fwd_dest_aligned): Likewise.
20238         (_wordcopy_bwd_aligned): Likewise.
20239         (_wordcopy_bwd_dest_aligned): Likewise.
20240         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
20241         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
20242         * sysdeps/unix/bsd/stty.c (stty): Likewise.
20243         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
20244         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
20245         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
20246         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
20247         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
20248         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
20249         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
20250         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
20251         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
20252         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
20253         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
20254         * sysdeps/unix/stime.c (stime): Likewise.
20255         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
20256         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
20257         Likewise.  Use internal_function.
20258         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
20259         Convert to prototype-style function definition.
20260         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20261         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20262         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
20263         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20264         Likewise.  Use internal_function.
20265         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
20266         prototype-style function definition
20267         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20268         Likewise.
20269         (__getlogin_r): Likewise.
20270         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
20271         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
20272         (__pthread_cond_broadcast): Likewise.
20273         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
20274         (__pthread_cond_destroy): Likewise.
20275         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
20276         (__pthread_cond_init): Likewise.
20277         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
20278         (__pthread_cond_signal): Likewise.
20279         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
20280         (__pthread_cond_wait): Likewise.
20281         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
20282         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20283         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
20284         Likewise.
20285         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
20286         Likewise.
20287         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
20288         Likewise.
20289         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
20290         Likewise.
20291         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
20292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
20293         (__ftruncate64): Likewise.
20294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
20295         (truncate64): Likewise.
20296         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
20297         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
20298         (pthread_getcpuclockid): Likewise.
20299         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
20300         Likewise.
20301         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
20302         Likewise.
20303         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
20304         Likewise.
20305         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
20306         Likewise.
20307         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
20308         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
20309         (__libc_sigaction): Likewise.
20310         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
20311         Likewise.
20312         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
20313         (__sigprocmask): Likewise.
20314         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
20315         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
20316         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
20317         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20318         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20319         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
20320         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20321         Likewise.
20322         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
20323         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
20324         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20325         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
20326         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
20327         Likewise.
20328         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
20329         (__sigprocmask): Likewise.
20330         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
20331         (cfgetispeed): Likewise.
20332         (cfsetospeed): Likewise.
20333         (cfsetispeed): Likewise.
20334         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
20335         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
20336         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20337         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20338         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
20339         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
20340         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
20341         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
20342         Likewise.
20343         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
20344         Likewise.
20345         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
20346         Likewise.
20347         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
20348         Likewise.
20349         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20351 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20353         sunrpc: Rewrite with explicit TLS access using __thread.
20354         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
20355         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
20356         directly.
20357         (__rpc_thread_variables): Access thread_rpc_vars directly.
20358         Eliminate redundant assignment of the tvp variable.
20360 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20362         malloc: Rewrite with explicit TLS access using __thread.
20363         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
20364         (tsd_setspecific, tsd_getspecific): Remove.
20365         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
20366         (tsd_setspecific, tsd_getspecific): Likewise.
20367         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
20368         (tsd_setspecific, tsd_getspecific): Likewise.
20369         * malloc/arena.c (thread_arena): New TLS variable.
20370         (arena_key): Remove variable.
20371         (arena_get): Use thread_arena.
20372         (arena_lookup): Remove macro.
20373         (malloc_atfork, free_atfork, ptmalloc_lock_all)
20374         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
20375         (_int_new_arena, get_free_list, reused_arena)
20376         (arena_thread_freeres): Use thread_arena.
20377         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
20378         tsd_getspecific, tsd_setspecific from safety annotations.
20379         (Allocating Cleared Space): Remove arena_lookup from safety
20380         annotations.
20382 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20384         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
20385         struct scratch_buffer instead of extend_alloca.
20387 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20389         * sysdeps/unix/sysv/linux/kernel-features.h
20390         (__ASSUME_SOCK_CLOEXEC): Remove.
20391         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
20392         (__have_paccept): Remove unused macro.
20393         * include/unistd.h (__have_sock_cloexec): Remove declaration.
20394         * misc/syslog.c (openlog_internal): Remove fallback code for
20395         !__ASSUME_SOCK_CLOEXEC.
20396         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
20397         missing SOCK_CLOEXEC.
20398         * nscd/connections.c (have_sock_cloexec): Remove definition.
20399         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20400         * nscd/nscd_helper.c (open_socket): Remove fallback code for
20401         !__ASSUME_SOCK_CLOEXEC.
20402         * resolv/res_send.c (__have_o_nonblock): Remove definition.
20403         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20404         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
20405         definition.
20406         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
20407         code for !__ASSUME_SOCK_CLOEXEC.
20409 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20411         [BZ #18982]
20412         * manual/stdio.texi (Variable Arguments Output): Add portability
20413         note, explaining that vfprintf clobbers the va_list pointer.
20415 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20417         * math/libm-test.inc (fabs_test_data): Add more tests.
20418         (fdim_test_data): Likewise.
20419         (fma_test_data): Likewise.
20420         (fmax_test_data): Likewise.
20421         (fmin_test_data): Likewise.
20422         (fmod_test_data): Likewise.
20424 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
20426         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
20427         data.
20429 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20431         * math/libm-test.inc (ceil_test_data): Add more tests and more
20432         expectations for "inexact".
20433         (floor_test_data): Add more tests.
20434         (round_test_data): Likewise.
20435         (trunc_test_data): Likewise.
20437         * crypt/cert.c (good_bye): Convert to prototype-style function
20438         definition.
20439         (get8): Likewise.
20440         (put8): Likewise.
20441         * crypt/crypt-entry.c (crypt): Likewise.
20442         (__fcrypt): Likewise.
20443         * crypt/crypt_util.c (_ufc_prbits): Likewise.
20444         (_ufc_set_bits): Likewise.
20445         (_ufc_clearmem): Likewise.
20446         (__init_des_r): Likewise.
20447         (shuffle_sb): Likewise.
20448         (shuffle_sb): Likewise.
20449         (_ufc_setup_salt_r): Likewise.
20450         (_ufc_mk_keytab_r): Likewise.
20451         (_ufc_dofinalperm_r): Likewise.
20452         (encrypt): Likewise.
20453         (__setkey_r): Likewise.
20454         (setkey): Likewise.
20455         * crypt/md5.c (md5_init_ctx): Likewise.
20456         (md5_read_ctx): Likewise.
20457         (md5_finish_ctx): Likewise.
20458         (md5_stream): Likewise.
20459         (md5_buffer): Likewise.
20460         (md5_process_bytes): Likewise.
20461         * crypt/sha256.c (__sha256_init_ctx): Likewise.
20462         (__sha256_finish_ctx): Likewise.
20463         (__sha256_process_bytes): Likewise.
20464         * crypt/sha512.c (__sha512_init_ctx): Likewise.
20465         (__sha512_finish_ctx): Likewise.
20466         (__sha512_process_bytes): Likewise.
20467         * ctype/isctype.c (__isctype): Likewise.
20468         * debug/backtrace.c (__backtrace): Likewise.
20469         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
20470         * debug/fgets_chk.c (__fgets_chk): Likewise.
20471         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
20472         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
20473         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20474         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20475         * debug/memset_chk.c (__memset_chk): Likewise.
20476         * debug/strcat_chk.c (__strcat_chk): Likewise.
20477         * debug/strncat_chk.c (__strncat_chk): Likewise.
20478         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
20479         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
20480         * dirent/dirfd.c (dirfd): Likewise.
20481         * dirent/getdents.c (__getdirentries): Likewise.
20482         * dirent/getdents64.c (getdirentries64): Likewise.
20483         * dirent/rewinddir.c (__rewinddir): Likewise.
20484         * dirent/seekdir.c (seekdir): Likewise.
20485         * dirent/telldir.c (telldir): Likewise.
20486         * elf/sln.c (makesymlinks): Likewise.
20487         (makesymlink): Likewise.
20488         * gmon/gmon.c (__moncontrol): Likewise.
20489         (__monstartup): Likewise.
20490         (write_hist): Likewise.
20491         (write_call_graph): Likewise.
20492         (write_bb_counts): Likewise.
20493         * grp/setgroups.c (setgroups): Likewise.
20494         * inet/inet_lnaof.c (inet_lnaof): Likewise.
20495         * inet/inet_net.c (inet_network): Likewise.
20496         * inet/inet_netof.c (inet_netof): Likewise.
20497         * inet/rcmd.c (rresvport_af): Likewise.
20498         (rresvport): Likewise.
20499         * io/access.c (__access): Likewise.
20500         * io/chdir.c (__chdir): Likewise.
20501         * io/chmod.c (__chmod): Likewise.
20502         * io/chown.c (__chown): Likewise.
20503         * io/close.c (__close): Likewise.
20504         * io/creat.c (creat): Likewise.
20505         * io/creat64.c (creat64): Likewise.
20506         * io/dup.c (__dup): Likewise.
20507         * io/dup2.c (__dup2): Likewise.
20508         * io/dup3.c (__dup3): Likewise.
20509         * io/euidaccess.c (__euidaccess): Likewise.
20510         * io/faccessat.c (faccessat): Likewise.
20511         * io/fchmod.c (__fchmod): Likewise.
20512         * io/fchmodat.c (fchmodat): Likewise.
20513         * io/fchown.c (__fchown): Likewise.
20514         * io/fchownat.c (fchownat): Likewise.
20515         * io/fcntl.c (__fcntl): Likewise.
20516         * io/flock.c (__flock): Likewise.
20517         * io/fts.c (fts_load): Likewise.
20518         (fts_close): Likewise.
20519         (fts_read): Likewise.
20520         (fts_set): Likewise.
20521         (fts_children): Likewise.
20522         (fts_build): Likewise.
20523         (fts_stat): Likewise.
20524         (fts_sort): Likewise.
20525         (fts_alloc): Likewise.
20526         (fts_lfree): Likewise.
20527         (fts_palloc): Likewise.
20528         (fts_padjust): Likewise.
20529         (fts_maxarglen): Likewise.
20530         (fts_safe_changedir): Likewise.
20531         * io/getwd.c (getwd): Likewise.
20532         * io/isatty.c (__isatty): Likewise.
20533         * io/lchown.c (__lchown): Likewise.
20534         * io/link.c (__link): Likewise.
20535         * io/linkat.c (linkat): Likewise.
20536         * io/lseek.c (__libc_lseek): Likewise.
20537         * io/mkdir.c (__mkdir): Likewise.
20538         * io/mkdirat.c (mkdirat): Likewise.
20539         * io/mkfifo.c (mkfifo): Likewise.
20540         * io/mkfifoat.c (mkfifoat): Likewise.
20541         * io/open.c (__libc_open): Likewise.
20542         * io/open64.c (__libc_open64): Likewise.
20543         * io/readlink.c (__readlink): Likewise.
20544         * io/readlinkat.c (readlinkat): Likewise.
20545         * io/rmdir.c (__rmdir): Likewise.
20546         * io/symlink.c (__symlink): Likewise.
20547         * io/symlinkat.c (symlinkat): Likewise.
20548         * io/ttyname.c (ttyname): Likewise.
20549         * io/ttyname_r.c (__ttyname_r): Likewise.
20550         * io/umask.c (__umask): Likewise.
20551         * io/unlink.c (__unlink): Likewise.
20552         * io/unlinkat.c (unlinkat): Likewise.
20553         * io/utime.c (utime): Likewise.
20554         * libio/clearerr.c (clearerr): Likewise.
20555         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
20556         * libio/feof.c (_IO_feof): Likewise.
20557         * libio/feof_u.c (feof_unlocked): Likewise.
20558         * libio/ferror.c (_IO_ferror): Likewise.
20559         * libio/ferror_u.c (ferror_unlocked): Likewise.
20560         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20561         * libio/fileno.c (__fileno): Likewise.
20562         * libio/fputc.c (fputc): Likewise.
20563         * libio/fputc_u.c (fputc_unlocked): Likewise.
20564         * libio/fputwc.c (fputwc): Likewise.
20565         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
20566         * libio/freopen.c (freopen): Likewise.
20567         * libio/freopen64.c (freopen64): Likewise.
20568         * libio/fseek.c (fseek): Likewise.
20569         * libio/fseeko.c (fseeko): Likewise.
20570         * libio/fseeko64.c (fseeko64): Likewise.
20571         * libio/ftello.c (__ftello): Likewise.
20572         * libio/ftello64.c (ftello64): Likewise.
20573         * libio/fwide.c (fwide): Likewise.
20574         * libio/genops.c (_IO_un_link): Likewise.
20575         (_IO_link_in): Likewise.
20576         (_IO_least_marker): Likewise.
20577         (_IO_switch_to_main_get_area): Likewise.
20578         (_IO_switch_to_backup_area): Likewise.
20579         (_IO_switch_to_get_mode): Likewise.
20580         (_IO_free_backup_area): Likewise.
20581         (_IO_switch_to_put_mode): Likewise.
20582         (__overflow): Likewise.
20583         (__underflow): Likewise.
20584         (__uflow): Likewise.
20585         (_IO_setb): Likewise.
20586         (_IO_doallocbuf): Likewise.
20587         (_IO_default_underflow): Likewise.
20588         (_IO_default_uflow): Likewise.
20589         (_IO_default_xsputn): Likewise.
20590         (_IO_sgetn): Likewise.
20591         (_IO_default_xsgetn): Likewise.
20592         (_IO_sync): Likewise.
20593         (_IO_default_setbuf): Likewise.
20594         (_IO_default_seekpos): Likewise.
20595         (_IO_default_doallocate): Likewise.
20596         (_IO_init): Likewise.
20597         (_IO_old_init): Likewise.
20598         (_IO_default_sync): Likewise.
20599         (_IO_default_finish): Likewise.
20600         (_IO_default_seekoff): Likewise.
20601         (_IO_sputbackc): Likewise.
20602         (_IO_sungetc): Likewise.
20603         (_IO_set_column): Likewise.
20604         (_IO_set_column): Likewise.
20605         (_IO_adjust_column): Likewise.
20606         (_IO_get_column): Likewise.
20607         (_IO_init_marker): Likewise.
20608         (_IO_remove_marker): Likewise.
20609         (_IO_marker_difference): Likewise.
20610         (_IO_marker_delta): Likewise.
20611         (_IO_seekmark): Likewise.
20612         (_IO_unsave_markers): Likewise.
20613         (_IO_nobackup_pbackfail): Likewise.
20614         (_IO_default_pbackfail): Likewise.
20615         (_IO_default_seek): Likewise.
20616         (_IO_default_stat): Likewise.
20617         (_IO_default_read): Likewise.
20618         (_IO_default_write): Likewise.
20619         (_IO_default_showmanyc): Likewise.
20620         (_IO_default_imbue): Likewise.
20621         (_IO_iter_next): Likewise.
20622         (_IO_iter_file): Likewise.
20623         * libio/getc.c (_IO_getc): Likewise.
20624         * libio/getwc.c (_IO_getwc): Likewise.
20625         * libio/iofclose.c (_IO_new_fclose): Likewise.
20626         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20627         * libio/iofflush.c (_IO_fflush): Likewise.
20628         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
20629         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
20630         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
20631         * libio/iofgets.c (_IO_fgets): Likewise.
20632         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
20633         * libio/iofgetws.c (fgetws): Likewise.
20634         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
20635         * libio/iofopen64.c (_IO_fopen64): Likewise.
20636         * libio/iofopncook.c (_IO_cookie_read): Likewise.
20637         (_IO_cookie_write): Likewise.
20638         (_IO_cookie_seek): Likewise.
20639         (_IO_cookie_close): Likewise.
20640         (_IO_cookie_seekoff): Likewise.
20641         (_IO_old_cookie_seek): Likewise.
20642         * libio/iofputs.c (_IO_fputs): Likewise.
20643         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
20644         * libio/iofputws.c (fputws): Likewise.
20645         * libio/iofputws_u.c (fputws_unlocked): Likewise.
20646         * libio/iofread.c (_IO_fread): Likewise.
20647         * libio/iofread_u.c (__fread_unlocked): Likewise.
20648         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
20649         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
20650         * libio/ioftell.c (_IO_ftell): Likewise.
20651         * libio/iofwrite.c (_IO_fwrite): Likewise.
20652         * libio/iogetdelim.c (_IO_getdelim): Likewise.
20653         * libio/iogets.c (_IO_gets): Likewise.
20654         * libio/iopadn.c (_IO_padn): Likewise.
20655         * libio/iopopen.c (_IO_new_proc_open): Likewise.
20656         (_IO_new_popen): Likewise.
20657         (_IO_new_proc_close): Likewise.
20658         * libio/ioputs.c (_IO_puts): Likewise.
20659         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
20660         (_IO_seekoff): Likewise.
20661         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
20662         (_IO_seekpos): Likewise.
20663         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
20664         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
20665         * libio/ioungetc.c (_IO_ungetc): Likewise.
20666         * libio/ioungetwc.c (ungetwc): Likewise.
20667         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20668         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
20669         * libio/iowpadn.c (_IO_wpadn): Likewise.
20670         * libio/libc_fatal.c (__libc_fatal): Likewise.
20671         * libio/memstream.c (__open_memstream): Likewise.
20672         (_IO_mem_sync): Likewise.
20673         (_IO_mem_finish): Likewise.
20674         * libio/oldfileops.c (_IO_old_file_init): Likewise.
20675         (_IO_old_file_close_it): Likewise.
20676         (_IO_old_file_finish): Likewise.
20677         (_IO_old_file_fopen): Likewise.
20678         (_IO_old_file_attach): Likewise.
20679         (_IO_old_file_setbuf): Likewise.
20680         (_IO_old_do_write): Likewise.
20681         (old_do_write): Likewise.
20682         (_IO_old_file_underflow): Likewise.
20683         (_IO_old_file_overflow): Likewise.
20684         (_IO_old_file_sync): Likewise.
20685         (_IO_old_file_seekoff): Likewise.
20686         (_IO_old_file_write): Likewise.
20687         (_IO_old_file_xsputn): Likewise.
20688         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
20689         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20690         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
20691         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
20692         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20693         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
20694         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
20695         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
20696         (_IO_old_popen): Likewise.
20697         (_IO_old_proc_close): Likewise.
20698         * libio/oldpclose.c (__old_pclose): Likewise.
20699         * libio/pclose.c (__new_pclose): Likewise.
20700         * libio/peekc.c (_IO_peekc_locked): Likewise.
20701         * libio/putc.c (_IO_putc): Likewise.
20702         * libio/putc_u.c (putc_unlocked): Likewise.
20703         * libio/putchar.c (putchar): Likewise.
20704         * libio/putchar_u.c (putchar_unlocked): Likewise.
20705         * libio/putwc.c (putwc): Likewise.
20706         * libio/putwc_u.c (putwc_unlocked): Likewise.
20707         * libio/putwchar.c (putwchar): Likewise.
20708         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
20709         * libio/rewind.c (rewind): Likewise.
20710         * libio/setbuf.c (setbuf): Likewise.
20711         * libio/setlinebuf.c (setlinebuf): Likewise.
20712         * libio/vasprintf.c (_IO_vasprintf): Likewise.
20713         * libio/vscanf.c (_IO_vscanf): Likewise.
20714         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
20715         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
20716         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20717         * libio/wgenops.c (_IO_least_wmarker): Likewise.
20718         (_IO_switch_to_main_wget_area): Likewise.
20719         (_IO_switch_to_wbackup_area): Likewise.
20720         (_IO_wsetb): Likewise.
20721         (_IO_wdefault_pbackfail): Likewise.
20722         (_IO_wdefault_finish): Likewise.
20723         (_IO_wdefault_uflow): Likewise.
20724         (__woverflow): Likewise.
20725         (__wuflow): Likewise.
20726         (__wunderflow): Likewise.
20727         (_IO_wdefault_xsputn): Likewise.
20728         (_IO_wdefault_xsgetn): Likewise.
20729         (_IO_wdoallocbuf): Likewise.
20730         (_IO_wdefault_doallocate): Likewise.
20731         (_IO_switch_to_wget_mode): Likewise.
20732         (_IO_free_wbackup_area): Likewise.
20733         (_IO_switch_to_wput_mode): Likewise.
20734         (_IO_sputbackwc): Likewise.
20735         (_IO_sungetwc): Likewise.
20736         (_IO_adjust_wcolumn): Likewise.
20737         (_IO_init_wmarker): Likewise.
20738         (_IO_wmarker_delta): Likewise.
20739         (_IO_seekwmark): Likewise.
20740         (_IO_unsave_wmarkers): Likewise.
20741         * libio/wmemstream.c (open_wmemstream): Likewise.
20742         (_IO_wmem_sync): Likewise.
20743         (_IO_wmem_finish): Likewise.
20744         * locale/nl_langinfo.c (nl_langinfo): Likewise.
20745         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
20746         * locale/programs/simple-hash.c (init_hash): Likewise.
20747         (delete_hash): Likewise.
20748         (insert_entry): Likewise.
20749         (set_entry): Likewise.
20750         (next_prime): Likewise.
20751         (is_prime): Likewise.
20752         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
20753         (xmalloc): Likewise.
20754         (xrealloc): Likewise.
20755         * locale/programs/xstrdup.c (xstrdup): Likewise.
20756         * localedata/collate-test.c (xstrcoll): Likewise.
20757         * localedata/xfrm-test.c (xstrcmp): Likewise.
20758         * login/getlogin_r.c (__getlogin_r): Likewise.
20759         * login/getpt.c (__posix_openpt): Likewise.
20760         * login/login_tty.c (login_tty): Likewise.
20761         * login/setlogin.c (setlogin): Likewise.
20762         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
20763         (mach_msg_destroy_port): Likewise.
20764         (mach_msg_destroy_memory): Likewise.
20765         * malloc/mcheck.c (flood): Likewise.
20766         * misc/acct.c (acct): Likewise.
20767         * misc/brk.c (__brk): Likewise.
20768         * misc/chflags.c (chflags): Likewise.
20769         * misc/chroot.c (chroot): Likewise.
20770         * misc/fchflags.c (fchflags): Likewise.
20771         * misc/fstab.c (getfsspec): Likewise.
20772         (getfsfile): Likewise.
20773         * misc/fsync.c (fsync): Likewise.
20774         * misc/ftruncate.c (__ftruncate): Likewise.
20775         * misc/ftruncate64.c (__ftruncate64): Likewise.
20776         * misc/getdomain.c (getdomainname): Likewise.
20777         (getdomainname): Likewise.
20778         * misc/gethostname.c (__gethostname): Likewise.
20779         * misc/getpass.c (getpass): Likewise.
20780         * misc/getttyent.c (skip): Likewise.
20781         (value): Likewise.
20782         * misc/gtty.c (gtty): Likewise.
20783         * misc/hsearch.c (hsearch): Likewise.
20784         (hcreate): Likewise.
20785         * misc/hsearch_r.c (__hcreate_r): Likewise.
20786         (__hdestroy_r): Likewise.
20787         * misc/ioctl.c (__ioctl): Likewise.
20788         * misc/mkdtemp.c (mkdtemp): Likewise.
20789         * misc/mkostemp.c (mkostemp): Likewise.
20790         * misc/mkostemp64.c (mkostemp64): Likewise.
20791         * misc/mkostemps.c (mkostemps): Likewise.
20792         * misc/mkostemps64.c (mkostemps64): Likewise.
20793         * misc/mkstemp.c (mkstemp): Likewise.
20794         * misc/mkstemp64.c (mkstemp64): Likewise.
20795         * misc/mkstemps.c (mkstemps): Likewise.
20796         * misc/mkstemps64.c (mkstemps64): Likewise.
20797         * misc/mktemp.c (__mktemp): Likewise.
20798         * misc/preadv.c (preadv): Likewise.
20799         * misc/preadv64.c (preadv64): Likewise.
20800         * misc/pwritev.c (pwritev): Likewise.
20801         * misc/pwritev64.c (pwritev64): Likewise.
20802         * misc/readv.c (__readv): Likewise.
20803         * misc/revoke.c (revoke): Likewise.
20804         * misc/setdomain.c (setdomainname): Likewise.
20805         * misc/setegid.c (setegid): Likewise.
20806         * misc/seteuid.c (seteuid): Likewise.
20807         * misc/sethostid.c (sethostid): Likewise.
20808         * misc/sethostname.c (sethostname): Likewise.
20809         * misc/setregid.c (__setregid): Likewise.
20810         * misc/setreuid.c (__setreuid): Likewise.
20811         * misc/sstk.c (sstk): Likewise.
20812         * misc/stty.c (stty): Likewise.
20813         * misc/syscall.c (syscall): Likewise.
20814         * misc/syslog.c (setlogmask): Likewise.
20815         * misc/truncate.c (__truncate): Likewise.
20816         * misc/truncate64.c (truncate64): Likewise.
20817         * misc/ualarm.c (ualarm): Likewise.
20818         * misc/usleep.c (usleep): Likewise.
20819         * misc/ustat.c (ustat): Likewise.
20820         * misc/writev.c (__writev): Likewise.
20821         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
20822         * nptl/old_pthread_cond_broadcast.c
20823         (__pthread_cond_broadcast_2_0): Likewise.
20824         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
20825         Likewise.
20826         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
20827         Likewise.
20828         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
20829         Likewise.
20830         * nptl/pt-raise.c (raise): Likewise.
20831         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
20832         Likewise.
20833         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
20834         * nptl/pthread_barrierattr_destroy.c
20835         (pthread_barrierattr_destroy): Likewise.
20836         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
20837         Likewise.
20838         * nptl/pthread_barrierattr_setpshared.c
20839         (pthread_barrierattr_setpshared): Likewise.
20840         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20841         Likewise.
20842         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
20843         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
20844         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
20845         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
20846         Likewise.
20847         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
20848         Likewise.
20849         * nptl/pthread_condattr_getpshared.c
20850         (pthread_condattr_getpshared): Likewise.
20851         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
20852         Likewise.
20853         * nptl/pthread_condattr_setpshared.c
20854         (pthread_condattr_setpshared): Likewise.
20855         * nptl/pthread_detach.c (pthread_detach): Likewise.
20856         * nptl/pthread_equal.c (__pthread_equal): Likewise.
20857         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
20858         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
20859         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
20860         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
20861         Likewise.
20862         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
20863         Likewise.
20864         * nptl/pthread_mutex_getprioceiling.c
20865         (pthread_mutex_getprioceiling): Likewise.
20866         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
20867         Likewise.
20868         * nptl/pthread_mutexattr_getprotocol.c
20869         (pthread_mutexattr_getprotocol): Likewise.
20870         * nptl/pthread_mutexattr_getpshared.c
20871         (pthread_mutexattr_getpshared): Likewise.
20872         * nptl/pthread_mutexattr_getrobust.c
20873         (pthread_mutexattr_getrobust): Likewise.
20874         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
20875         Likewise.
20876         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
20877         Likewise.
20878         * nptl/pthread_mutexattr_setprioceiling.c
20879         (pthread_mutexattr_setprioceiling): Likewise.
20880         * nptl/pthread_mutexattr_setprotocol.c
20881         (pthread_mutexattr_setprotocol): Likewise.
20882         * nptl/pthread_mutexattr_setpshared.c
20883         (pthread_mutexattr_setpshared): Likewise.
20884         * nptl/pthread_mutexattr_setrobust.c
20885         (pthread_mutexattr_setrobust): Likewise.
20886         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
20887         Likewise.
20888         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
20889         Likewise.
20890         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
20891         Likewise.
20892         * nptl/pthread_rwlockattr_getkind_np.c
20893         (pthread_rwlockattr_getkind_np): Likewise.
20894         * nptl/pthread_rwlockattr_getpshared.c
20895         (pthread_rwlockattr_getpshared): Likewise.
20896         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
20897         Likewise.
20898         * nptl/pthread_rwlockattr_setkind_np.c
20899         (pthread_rwlockattr_setkind_np): Likewise.
20900         * nptl/pthread_rwlockattr_setpshared.c
20901         (pthread_rwlockattr_setpshared): Likewise.
20902         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
20903         Likewise.
20904         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
20905         Likewise.
20906         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
20907         Likewise.
20908         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
20909         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
20910         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
20911         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
20912         * nptl/sem_close.c (sem_close): Likewise.
20913         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
20914         * nptl/sem_init.c (__old_sem_init): Likewise.
20915         * nptl/sigaction.c (__sigaction): Likewise.
20916         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
20917         * posix/_exit.c (_exit): Likewise.
20918         * posix/alarm.c (alarm): Likewise.
20919         * posix/confstr.c (confstr): Likewise.
20920         * posix/fpathconf.c (__fpathconf): Likewise.
20921         * posix/getgroups.c (__getgroups): Likewise.
20922         * posix/getpgid.c (__getpgid): Likewise.
20923         * posix/group_member.c (__group_member): Likewise.
20924         * posix/pathconf.c (__pathconf): Likewise.
20925         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
20926         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
20927         * posix/setgid.c (__setgid): Likewise.
20928         * posix/setpgid.c (__setpgid): Likewise.
20929         * posix/setuid.c (__setuid): Likewise.
20930         * posix/sleep.c (__sleep): Likewise.
20931         * posix/sysconf.c (__sysconf): Likewise.
20932         * posix/times.c (__times): Likewise.
20933         * posix/uname.c (__uname): Likewise.
20934         * posix/waitid.c (__waitid): Likewise.
20935         * pwd/getpw.c (__getpw): Likewise.
20936         * resolv/base64.c (b64_pton): Likewise.
20937         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
20938         * resolv/gethnamaddr.c (Dprintf): Likewise.
20939         (gethostbyname): Likewise.
20940         (gethostbyname2): Likewise.
20941         (gethostbyaddr): Likewise.
20942         (_sethtent): Likewise.
20943         (_gethtbyname): Likewise.
20944         (_gethtbyname2): Likewise.
20945         (_gethtbyaddr): Likewise.
20946         (map_v4v6_address): Likewise.
20947         (map_v4v6_hostent): Likewise.
20948         (addrsort): Likewise.
20949         (ht_sethostent): Likewise.
20950         (ht_gethostbyname): Likewise.
20951         (ht_gethostbyaddr): Likewise.
20952         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
20953         (inet_net_ntop_ipv4): Likewise.
20954         * resolv/inet_neta.c (inet_neta): Likewise.
20955         * resolv/inet_ntop.c (inet_ntop): Likewise.
20956         (inet_ntop4): Likewise.
20957         (inet_ntop6): Likewise.
20958         * resolv/inet_pton.c (__inet_pton): Likewise.
20959         (inet_pton4): Likewise.
20960         (inet_pton6): Likewise.
20961         * resolv/res_debug.c (loc_aton): Likewise.
20962         (loc_ntoa): Likewise.
20963         * resource/getpriority.c (__getpriority): Likewise.
20964         * resource/getrusage.c (__getrusage): Likewise.
20965         * resource/nice.c (nice): Likewise.
20966         * resource/setpriority.c (__setpriority): Likewise.
20967         * resource/setrlimit64.c (setrlimit64): Likewise.
20968         * resource/vlimit.c (vlimit): Likewise.
20969         * resource/vtimes.c (vtimes): Likewise.
20970         * rt/aio_error.c (aio_error): Likewise.
20971         * rt/aio_return.c (aio_return): Likewise.
20972         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
20973         * signal/kill.c (__kill): Likewise.
20974         * signal/killpg.c (killpg): Likewise.
20975         * signal/raise.c (raise): Likewise.
20976         * signal/sigaction.c (__sigaction): Likewise.
20977         * signal/sigaddset.c (sigaddset): Likewise.
20978         * signal/sigaltstack.c (sigaltstack): Likewise.
20979         * signal/sigandset.c (sigandset): Likewise.
20980         * signal/sigblock.c (__sigblock): Likewise.
20981         * signal/sigdelset.c (sigdelset): Likewise.
20982         * signal/sigempty.c (sigemptyset): Likewise.
20983         * signal/sigfillset.c (sigfillset): Likewise.
20984         * signal/sighold.c (sighold): Likewise.
20985         * signal/sigignore.c (sigignore): Likewise.
20986         * signal/sigintr.c (siginterrupt): Likewise.
20987         * signal/sigisempty.c (sigisemptyset): Likewise.
20988         * signal/sigismem.c (sigismember): Likewise.
20989         * signal/signal.c (signal): Likewise.
20990         * signal/sigorset.c (sigorset): Likewise.
20991         * signal/sigpause.c (__sigpause): Likewise.
20992         * signal/sigpending.c (sigpending): Likewise.
20993         * signal/sigprocmask.c (__sigprocmask): Likewise.
20994         * signal/sigrelse.c (sigrelse): Likewise.
20995         * signal/sigreturn.c (__sigreturn): Likewise.
20996         * signal/sigset.c (sigset): Likewise.
20997         * signal/sigsetmask.c (__sigsetmask): Likewise.
20998         * signal/sigstack.c (sigstack): Likewise.
20999         * signal/sigsuspend.c (__sigsuspend): Likewise.
21000         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
21001         * signal/sysv_signal.c (__sysv_signal): Likewise.
21002         * socket/accept.c (accept): Likewise.
21003         * socket/accept4.c (__libc_accept4): Likewise.
21004         * socket/bind.c (__bind): Likewise.
21005         * socket/connect.c (__connect): Likewise.
21006         * socket/getpeername.c (getpeername): Likewise.
21007         * socket/getsockname.c (__getsockname): Likewise.
21008         * socket/getsockopt.c (getsockopt): Likewise.
21009         * socket/listen.c (__listen): Likewise.
21010         * socket/recv.c (__recv): Likewise.
21011         * socket/recvmsg.c (__recvmsg): Likewise.
21012         * socket/send.c (__send): Likewise.
21013         * socket/sendmsg.c (__sendmsg): Likewise.
21014         * socket/shutdown.c (shutdown): Likewise.
21015         * socket/sockatmark.c (sockatmark): Likewise.
21016         * socket/socket.c (__socket): Likewise.
21017         * stdio-common/ctermid.c (ctermid): Likewise.
21018         * stdio-common/cuserid.c (cuserid): Likewise.
21019         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
21020         * stdio-common/remove.c (remove): Likewise.
21021         * stdio-common/rename.c (rename): Likewise.
21022         * stdio-common/renameat.c (renameat): Likewise.
21023         * stdio-common/tempname.c (__gen_tempname): Likewise.
21024         * stdio-common/xbug.c (InitBuffer): Likewise.
21025         (AppendToBuffer): Likewise.
21026         (ReadFile): Likewise.
21027         * stdlib/a64l.c (a64l): Likewise.
21028         * stdlib/drand48_r.c (drand48_r): Likewise.
21029         * stdlib/getcontext.c (getcontext): Likewise.
21030         * stdlib/getenv.c (getenv): Likewise.
21031         * stdlib/l64a.c (l64a): Likewise.
21032         * stdlib/llabs.c (llabs): Likewise.
21033         * stdlib/lldiv.c (lldiv): Likewise.
21034         * stdlib/lrand48_r.c (lrand48_r): Likewise.
21035         * stdlib/mrand48_r.c (mrand48_r): Likewise.
21036         * stdlib/putenv.c (putenv): Likewise.
21037         * stdlib/random.c (__srandom): Likewise.
21038         (__initstate): Likewise.
21039         (__setstate): Likewise.
21040         * stdlib/random_r.c (__srandom_r): Likewise.
21041         (__setstate_r): Likewise.
21042         (__random_r): Likewise.
21043         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
21044         * stdlib/setcontext.c (setcontext): Likewise.
21045         * stdlib/setenv.c (setenv): Likewise.
21046         (unsetenv): Likewise.
21047         * stdlib/srand48.c (srand48): Likewise.
21048         * stdlib/srand48_r.c (__srand48_r): Likewise.
21049         * stdlib/swapcontext.c (swapcontext): Likewise.
21050         * stdlib/system.c (__libc_system): Likewise.
21051         * stdlib/tst-strtod.c (expand): Likewise.
21052         * stdlib/tst-strtol.c (expand): Likewise.
21053         * stdlib/tst-strtoll.c (expand): Likewise.
21054         * streams/fattach.c (fattach): Likewise.
21055         * streams/fdetach.c (fdetach): Likewise.
21056         * streams/getmsg.c (getmsg): Likewise.
21057         * streams/isastream.c (isastream): Likewise.
21058         * string/ffs.c (__ffs): Likewise.
21059         * string/ffsll.c (ffsll): Likewise.
21060         * string/memcmp.c (memcmp_common_alignment): Likewise.
21061         (memcmp_not_common_alignment): Likewise.
21062         (MEMCMP): Likewise.
21063         * string/memcpy.c (memcpy): Likewise.
21064         * string/memmove.c (MEMMOVE): Likewise.
21065         * string/memset.c (memset): Likewise.
21066         * string/rawmemchr.c (RAWMEMCHR): Likewise.
21067         * string/strchrnul.c (STRCHRNUL): Likewise.
21068         * string/strerror.c (strerror): Likewise.
21069         * string/strndup.c (__strndup): Likewise.
21070         * string/strverscmp.c (__strverscmp): Likewise.
21071         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
21072         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
21073         (clnttcp_freeres): Likewise.
21074         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
21075         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
21076         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
21077         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
21078         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
21079         (xdr_callhdr): Likewise.
21080         * sunrpc/rpcinfo.c (udpping): Likewise.
21081         (tcpping): Likewise.
21082         (pstatus): Likewise.
21083         (pmapdump): Likewise.
21084         (brdcst): Likewise.
21085         (deletereg): Likewise.
21086         (getprognum): Likewise.
21087         (getvers): Likewise.
21088         (get_inet_address): Likewise.
21089         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
21090         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21091         (svcudp_stat): Likewise.
21092         (svcudp_recv): Likewise.
21093         (svcudp_reply): Likewise.
21094         (svcudp_getargs): Likewise.
21095         (svcudp_freeargs): Likewise.
21096         (svcudp_destroy): Likewise.
21097         * sunrpc/xdr.c (xdr_bytes): Likewise.
21098         (xdr_netobj): Likewise.
21099         (xdr_string): Likewise.
21100         (xdr_wrapstring): Likewise.
21101         * sunrpc/xdr_float.c (xdr_float): Likewise.
21102         (xdr_double): Likewise.
21103         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
21104         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
21105         * sysvipc/ftok.c (ftok): Likewise.
21106         * sysvipc/msgctl.c (msgctl): Likewise.
21107         * sysvipc/msgget.c (msgget): Likewise.
21108         * sysvipc/msgrcv.c (msgrcv): Likewise.
21109         * sysvipc/msgsnd.c (msgsnd): Likewise.
21110         * sysvipc/semget.c (semget): Likewise.
21111         * sysvipc/semop.c (semop): Likewise.
21112         * sysvipc/shmat.c (shmat): Likewise.
21113         * sysvipc/shmctl.c (shmctl): Likewise.
21114         * sysvipc/shmdt.c (shmdt): Likewise.
21115         * sysvipc/shmget.c (shmget): Likewise.
21116         * termios/cfmakeraw.c (cfmakeraw): Likewise.
21117         * termios/speed.c (cfgetospeed): Likewise.
21118         (cfgetispeed): Likewise.
21119         (cfsetospeed): Likewise.
21120         (cfsetispeed): Likewise.
21121         * termios/tcflow.c (tcflow): Likewise.
21122         * termios/tcflush.c (tcflush): Likewise.
21123         * termios/tcgetattr.c (__tcgetattr): Likewise.
21124         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
21125         * termios/tcgetsid.c (tcgetsid): Likewise.
21126         * termios/tcsendbrk.c (tcsendbreak): Likewise.
21127         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
21128         * time/adjtime.c (__adjtime): Likewise.
21129         * time/dysize.c (dysize): Likewise.
21130         * time/ftime.c (ftime): Likewise.
21131         * time/getitimer.c (__getitimer): Likewise.
21132         * time/gettimeofday.c (__gettimeofday): Likewise.
21133         * time/gmtime.c (__gmtime_r): Likewise.
21134         (gmtime): Likewise.
21135         * time/localtime.c (__localtime_r): Likewise.
21136         (localtime): Likewise.
21137         * time/offtime.c (__offtime): Likewise.
21138         * time/settimeofday.c (__settimeofday): Likewise.
21139         * time/stime.c (stime): Likewise.
21140         * time/strftime_l.c (tm_diff): Likewise.
21141         (iso_week_days): Likewise.
21142         * time/strptime.c (strptime): Likewise.
21143         * time/time.c (time): Likewise.
21144         * time/timespec_get.c (timespec_get): Likewise.
21145         * time/tzset.c (tzset_internal): Likewise.
21146         (compute_change): Likewise.
21147         (__tz_compute): Likewise.
21148         * wcsmbs/btowc.c (__btowc): Likewise.
21149         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
21150         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
21151         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
21152         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
21153         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
21154         * wcsmbs/wcscat.c (__wcscat): Likewise.
21155         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21156         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
21157         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
21158         * wcsmbs/wcscspn.c (wcscspn): Likewise.
21159         * wcsmbs/wcsdup.c (wcsdup): Likewise.
21160         * wcsmbs/wcslen.c (__wcslen): Likewise.
21161         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
21162         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
21163         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
21164         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
21165         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21166         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
21167         * wcsmbs/wcsspn.c (wcsspn): Likewise.
21168         * wcsmbs/wcsstr.c (wcsstr): Likewise.
21169         * wcsmbs/wcstok.c (wcstok): Likewise.
21170         * wcsmbs/wctob.c (wctob): Likewise.
21171         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
21172         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21173         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
21174         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
21175         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
21176         * wcsmbs/wmemset.c (__wmemset): Likewise.
21177         * wctype/wcfuncs.c (__towlower): Likewise.
21178         (__towupper): Likewise.
21180         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
21181         (lll_unlock_elision): Add adapt_count parameter.
21183 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21185         * sysdeps/nptl/configure.ac: Do not give errors based on the
21186         results of top-level configure tests.
21187         * sysdeps/nptl/configure: Regenerated.
21189         * configure.ac (libc_cv_Bgroup): Remove configure test.
21190         * configure: Regenerated.
21191         * config.make.in (have-Bgroup): Remove variable.
21193         * configure.ac (sizeof_long_double): Remove configure test.
21194         * configure: Regenerated.
21195         * config.make.in (sizeof-long-double): Remove variable.
21197         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
21198         * configure: Regenerated.
21199         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
21200         variable.
21201         (exceptions): Likewise.
21202         * sysdeps/arm/configure: Regenerated.
21203         * config.make.in (exceptions): Remove variable.
21204         * Makeconfig (uses-callbacks): Use -fexceptions instead of
21205         $(exceptions).
21206         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
21207         (CFLAGS-vdprintf_chk.c): Likewise.
21208         (CFLAGS-printf_chk.c): Likewise.
21209         (CFLAGS-fprintf_chk.c): Likewise.
21210         (CFLAGS-vprintf_chk.c): Likewise.
21211         (CFLAGS-vfprintf_chk.c): Likewise.
21212         (CFLAGS-gets_chk.c): Likewise.
21213         (CFLAGS-fgets_chk.c): Likewise.
21214         (CFLAGS-fgets_u_chk.c): Likewise.
21215         (CFLAGS-fread_chk.c): Likewise.
21216         (CFLAGS-fread_u_chk.c): Likewise.
21217         (CFLAGS-wprintf_chk.c): Likewise.
21218         (CFLAGS-fwprintf_chk.c): Likewise.
21219         (CFLAGS-vwprintf_chk.c): Likewise.
21220         (CFLAGS-vfwprintf_chk.c): Likewise.
21221         (CFLAGS-fgetws_chk.c): Likewise.
21222         (CFLAGS-fgetws_u_chk.c): Likewise.
21223         * libio/Makefile (CFLAGS-fileops.c): Likewise.
21224         (CFLAGS-fputc.c): Likewise.
21225         (CFLAGS-fputwc.c): Likewise.
21226         (CFLAGS-freopen64.c): Likewise.
21227         (CFLAGS-freopen.c): Likewise.
21228         (CFLAGS-fseek.c): Likewise.
21229         (CFLAGS-fseeko64.c): Likewise.
21230         (CFLAGS-fseeko.c): Likewise.
21231         (CFLAGS-ftello64.c): Likewise.
21232         (CFLAGS-ftello.c): Likewise.
21233         (CFLAGS-fwide.c): Likewise.
21234         (CFLAGS-genops.c): Likewise.
21235         (CFLAGS-getc.c): Likewise.
21236         (CFLAGS-getchar.c): Likewise.
21237         (CFLAGS-getwc.c): Likewise.
21238         (CFLAGS-getwchar.c): Likewise.
21239         (CFLAGS-iofclose.c): Likewise.
21240         (CFLAGS-iofflush.c): Likewise.
21241         (CFLAGS-iofgetpos64.c): Likewise.
21242         (CFLAGS-iofgetpos.c): Likewise.
21243         (CFLAGS-iofgets.c): Likewise.
21244         (CFLAGS-iofgetws.c): Likewise.
21245         (CFLAGS-iofputs.c): Likewise.
21246         (CFLAGS-iofputws.c): Likewise.
21247         (CFLAGS-iofread.c): Likewise.
21248         (CFLAGS-iofsetpos64.c): Likewise.
21249         (CFLAGS-iofsetpos.c): Likewise.
21250         (CFLAGS-ioftell.c): Likewise.
21251         (CFLAGS-iofwrite.c): Likewise.
21252         (CFLAGS-iogetdelim.c): Likewise.
21253         (CFLAGS-iogetline.c): Likewise.
21254         (CFLAGS-iogets.c): Likewise.
21255         (CFLAGS-iogetwline.c): Likewise.
21256         (CFLAGS-ioputs.c): Likewise.
21257         (CFLAGS-ioseekoff.c): Likewise.
21258         (CFLAGS-ioseekpos.c): Likewise.
21259         (CFLAGS-iosetbuffer.c): Likewise.
21260         (CFLAGS-iosetvbuf.c): Likewise.
21261         (CFLAGS-ioungetc.c): Likewise.
21262         (CFLAGS-ioungetwc.c): Likewise.
21263         (CFLAGS-oldfileops.c): Likewise.
21264         (CFLAGS-oldiofclose.c): Likewise.
21265         (CFLAGS-oldiofgetpos64.c): Likewise.
21266         (CFLAGS-oldiofgetpos.c): Likewise.
21267         (CFLAGS-oldiofsetpos64.c): Likewise.
21268         (CFLAGS-oldiofsetpos.c): Likewise.
21269         (CFLAGS-peekc.c): Likewise.
21270         (CFLAGS-putc.c): Likewise.
21271         (CFLAGS-putchar.c): Likewise.
21272         (CFLAGS-putwc.c): Likewise.
21273         (CFLAGS-putwchar.c): Likewise.
21274         (CFLAGS-rewind.c): Likewise.
21275         (CFLAGS-wfileops.c): Likewise.
21276         (CFLAGS-wgenops.c): Likewise.
21277         (CFLAGS-oldiofopen.c): Likewise.
21278         (CFLAGS-iofopen.c): Likewise.
21279         (CFLAGS-iofopen64.c): Likewise.
21280         (CFLAGS-oldtmpfile.c): Likewise.
21281         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21282         (CFLAGS-fprintf.c): Likewise.
21283         (CFLAGS-printf.c): Likewise.
21284         (CFLAGS-vfwprintf.c): Likewise.
21285         (CFLAGS-vfscanf.c): Likewise.
21286         (CFLAGS-vfwscanf.c): Likewise.
21287         (CFLAGS-fscanf.c): Likewise.
21288         (CFLAGS-scanf.c): Likewise.
21289         (CFLAGS-isoc99_vfscanf.c): Likewise.
21290         (CFLAGS-isoc99_vscanf.c): Likewise.
21291         (CFLAGS-isoc99_fscanf.c): Likewise.
21292         (CFLAGS-isoc99_scanf.c): Likewise.
21293         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
21294         (CFLAGS-isoc99_fwscanf.c): Likewise.
21295         (CFLAGS-isoc99_vwscanf.c): Likewise.
21296         (CFLAGS-isoc99_vfwscanf.c): Likewise.
21298         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
21299         after mkstemp64.
21300         * login/tst-utmp.c (do_prepare): Likewise.
21301         * rt/tst-aio.c (do_prepare): Likewise.
21302         * rt/tst-aio64.c (do_prepare): Likewise.
21304 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21306         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21307         (__lll_lock_elision): Remove adapt_count decrement...
21308         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
21309         (__lll_trylock_elision): Likewise.
21310         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
21311         (__lll_unlock_elision): ... to here. And utilize
21312         new adapt_count parameter.
21313         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21314         (__lll_unlock_elision): Update to include adapt_count
21315         parameter.
21316         (lll_unlock_elision): Pass pointer to adapt_count
21317         variable.
21319 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21321         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
21322         Add elision adapt_count parameter to list of arguments.
21323         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21324         (lll_unlock_elision): Update with new parameter list
21325         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
21326         (lll_unlock_elision): Likewise.
21327         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
21328         (lll_unlock_elision): Likewise.
21330 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21332         [BZ #19122]
21333         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
21334         attribute_hidden.
21336         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
21337         attribute_hidden.
21338         [IS_IN (rtld)] (__strdup): Likewise.
21339         [IS_IN (rtld)] (__strerror_r): Likewise.
21340         [IS_IN (rtld)] (__strsep_g): Likewise.
21341         [IS_IN (rtld)] (memchr): Likewise.
21342         [IS_IN (rtld)] (memcmp): Likewise.
21343         [IS_IN (rtld)] (memcpy): Likewise.
21344         [IS_IN (rtld)] (memmove): Likewise.
21345         [IS_IN (rtld)] (memset): Likewise.
21346         [IS_IN (rtld)] (rawmemchr): Likewise.
21347         [IS_IN (rtld)] (stpcpy): Likewise.
21348         [IS_IN (rtld)] (strchr): Likewise.
21349         [IS_IN (rtld)] (strcmp): Likewise.
21350         [IS_IN (rtld)] (strlen): Likewise.
21351         [IS_IN (rtld)] (strnlen): Likewise.
21352         [IS_IN (rtld)] (strsep): Likewise.
21354         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
21355         attribute_hidden.
21356         [IS_IN (rtld)] (__strtoul_internal): Likewise.
21358         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
21359         attribute_hidden.
21360         [IS_IN (rtld)] (__libc_sigaction): Likewise.
21362         * include/setjmp.h (__longjmp): Add attribute_hidden.
21363         [IS_IN (rtld)] (__sigsetjmp): Likewise.
21365         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
21366         Add attribute_hidden.
21368         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
21369         [IS_IN (rtld)] (__open): Likewise.
21370         [IS_IN (rtld)] (__fcntl): Likewise.
21372         * include/dirent.h (__opendirat): Add attribute_hidden.
21373         (__getdents): Likewise.
21374         (__getdents64): Likewise.
21375         (__alloc_dir): Likewise.
21376         [IS_IN (rtld)] (__closedir): Likewise.
21377         [IS_IN (rtld)] (__fdopendir): Likewise.
21378         [IS_IN (rtld)] (__readdir): Likewise.
21379         [IS_IN (rtld)] (__readdir64): Likewise.
21380         [IS_IN (rtld)] (__rewinddir): Likewise.
21382         * include/dlfcn.h (_dl_catch_error): Moved to ...
21383         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
21384         attribute_hidden.
21386         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
21387         (_itoa_word): Likewise.
21389         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
21390         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
21391         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
21392         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
21393         (_dl_higher_prime_number): Likewise.
21394         (_dl_debug_printf_c): Likewise.
21395         (_dl_signal_cerror): Likewise.
21396         (_dl_receive_error): Likewise.
21397         (_dl_reloc_bad_type): Likewise.
21398         (_dl_resolve_conflicts): Likewise.
21399         (_dl_check_all_versions): Likewise.
21400         (_dl_check_map_versions): Likewise.
21401         (_dl_sort_fini): Likewise.
21402         (_dl_debug_initialize): Likewise.
21403         (_dl_init_paths): Likewise.
21404         (_dl_show_auxv): Likewise.
21405         (_dl_next_ld_env_entry): Likewise.
21406         (_dl_important_hwcaps): Likewise.
21407         (_dl_load_cache_lookup): Likewise.
21408         (_dl_update_slotinfo): Likewise.
21409         (_dl_show_scope): Likewise.
21411         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
21412         attribute_hidden.
21413         (_wordcopy_fwd_dest_aligned): Likewise.
21414         (_wordcopy_bwd_aligned): Likewise.
21415         (_wordcopy_bwd_dest_aligned): Likewise.
21417         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21418         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21419         Likewise.
21420         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21421         Likewise.
21422         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
21424 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21426         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
21427         GCC 5 requirement.
21429 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21431         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
21432         test.
21433         * sysdeps/i386/configure: Regenerated.
21434         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
21435         code unconditional.
21437         * configure.ac (libc_cv_asm_previous_directive): Remove configure
21438         test.
21439         (libc_cv_asm_popsection_directive): Likewise.
21440         * configure: Regenerated.
21441         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
21442         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
21443         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
21444         (__make_section_unallocated): Make definition unconditional.
21445         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
21446         Remove conditional definition.
21447         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
21448         (__make_section_unallocated): Likewise.
21450         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
21451         * configure: Regenerated.
21452         * config.make.in (static-libgcc): Remove variable.
21453         * Makerules (build-shlib-helper): Use -static-libgcc instead of
21454         $(static-libgcc).
21455         (build-module-helper): Likewise.
21457         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
21458         * configure: Regenerated.
21460 2015-10-15  Florian Weimer  <fweimer@redhat.com>
21462         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
21463         (struct char_buffer): New type.
21464         (char_buffer_start, char_buffer_size, char_buffer_error)
21465         (char_buffer_rewind, char_buffer_add): New functions.
21466         (ADDW): Remove macro, replaced by the char_buffer_add function.
21467         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
21468         of extend_alloca.  Make control flow more explicit.
21470 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21472         [BZ #19137]
21473         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21474         Add -fomit-frame-pointer.
21475         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
21477 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21479         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
21480         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
21481         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
21482         only if !__GNUC_PREREQ (5,0).
21483         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
21484         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
21485         (INTERNAL_SYSCALL_NCS): Likewise.
21486         (LOADREGS_0): New macro for GCC 5.
21487         (ASMARGS_0): Likewise.
21488         (LOADREGS_1): Likewise.
21489         (ASMARGS_1): Likewise.
21490         (LOADREGS_2): Likewise.
21491         (ASMARGS_2): Likewise.
21492         (LOADREGS_3): Likewise.
21493         (ASMARGS_3): Likewise.
21494         (LOADREGS_4): Likewise.
21495         (ASMARGS_4): Likewise.
21496         (LOADREGS_5): Likewise.
21497         (ASMARGS_5): Likewise.
21498         (LOADREGS_6): Likewise.
21499         (ASMARGS_6): Likewise.
21501 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21503         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
21504         -fomit-frame-pointer.
21505         (CFLAGS-mmap64.c): Likewise.
21506         (CFLAGS-semtimedop.c): Likewise.
21507         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
21508         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
21509         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21510         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21512 2015-10-15  Florian Weimer  <fweimer@redhat.com>
21514         [BZ #18928]
21515         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
21516         _dl_pointer_guard member.
21517         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
21518         initializer.
21519         (security_init): Always set up pointer guard.
21520         (process_envvars): Do not process LD_POINTER_GUARD.
21522 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
21524         [BZ #19134]
21525         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
21526         (.LC2): Likewise.
21527         (.LC3): Likewise.
21528         (__lround): Do not add 0.5 to integer or out-of-range arguments.
21530 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21532         [BZ #19129]
21533         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
21534         r0 and r1.
21536 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
21538         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
21540 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
21542         * include/stap-probe.h: Fix macro definition formatting.
21544 2015-10-14  Florian Weimer  <fweimer@redhat.com>
21546         [BZ #19074]
21547         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
21548         load and store num_ifs.
21550 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
21552         [BZ #18822]
21553         * sysdeps/unix/sysv/linux/sched_getaffinity.c
21554         (__sched_getaffinity_new): Add libc_hidden_proto and
21555         libc_hidden_def.
21557 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
21559         [BZ #19007]
21560         * scripts/localplt.awk: Also allow GOT references.
21561         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
21562         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
21563         with "+ REL R_386_GLOB_DAT".
21564         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
21565         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
21567 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
21569         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
21570         INLINE_SYSCALL_ERROR_RETURN_VALUE.
21571         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
21572         Likewise.
21573         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
21574         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
21575         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
21576         INTERNAL_SYSCALLINTERNAL_SYSCALL and
21577         INLINE_SYSCALL_ERROR_RETURN_VALUE.
21578         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
21579         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21580         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
21581         Likewise.
21582         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21584 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
21586         [BZ #19125]
21587         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
21588         <math_private.h> and <stdint.h>.
21589         (__llround): Avoid conversions to and from long long int, and
21590         subtractions, where those might raise spurious exceptions.
21591         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21592         <math_private.h> and <stdint.h>.
21593         (__llroundf): Avoid conversions to and from long long int, and
21594         subtractions, where those might raise spurious exceptions.
21596 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
21598         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
21599         INLINE_SYSCALL_ERROR_RETURN_VALUE.
21600         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21601         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
21602         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21603         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21604         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
21605         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
21606         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
21607         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21608         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21609         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21610         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
21611         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21612         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21613         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
21614         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
21615         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21616         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
21617         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
21618         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
21619         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
21620         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
21621         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
21622         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
21623         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21624         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
21625         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21626         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21627         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
21628         (__xstat64_conv): Likewise.
21629         (__xstat32_conv): Likewise.
21631 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
21633         * sysdeps/unix/sysv/linux/sysdep.h: New file.
21634         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
21635         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
21636         <sysdeps/unix/sysv/linux/sysdep.h>.
21637         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
21638         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
21639         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
21640         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21641         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
21642         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
21643         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
21644         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
21645         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
21646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21648         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21649         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21650         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21651         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21652         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21653         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
21654         (sysdep-dl-routines): Add sysdep.
21655         [$(subdir) == nptl] (libpthread-routines): Likewise.
21656         [$(subdir) == rt] (librt-routines): Likewise.
21657         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
21658         PIC when branching to SYSCALL_ERROR_LABEL.
21659         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
21660         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
21661         <sysdeps/unix/sysv/linux/sysdep.h>.
21662         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
21663         (SYSCALL_ERROR_ERRNO): Removed.
21664         (SYSCALL_ERROR_HANDLER): Changed to empty.
21665         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
21666         (__syscall_error): New prototype.
21667         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
21668         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
21670 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
21672         [BZ #19124]
21673         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
21674         (_dl_runtime_resolve_avx512): Make it a hidden alias of
21675         _dl_runtime_resolve_avx.
21676         (_dl_runtime_profile_avx512): Make it a hidden alias of
21677         _dl_runtime_profile_avx.
21679 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
21681         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
21682         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
21683         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
21684         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
21686         [BZ #16422]
21687         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
21688         New configure test.
21689         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
21690         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
21691         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
21692         <math_private.h> and <stdint.h>.
21693         (__llrint): Avoid conversions to long long int where those might
21694         raise spurious exceptions.
21695         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21696         <math_private.h> and <stdint.h>.
21697         (__llrintf): Avoid conversions to long long int where those might
21698         raise spurious exceptions.
21700 2015-10-12  Andreas Schwab  <schwab@suse.de>
21702         [BZ #18969]
21703         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
21704         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
21705         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
21706         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
21707         $(gen-locales).
21708         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
21709         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
21710         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
21711         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
21712         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
21713         $(gen-locales).
21714         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
21715         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
21716         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
21717         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
21718         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
21719         ($(objpfx)tst-ftell-active-handler.out)
21720         ($(objpfx)tst-ftell-append.out)
21721         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
21722         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
21723         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
21724         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
21725         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
21726         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
21727         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
21728         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
21729         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
21730         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
21731         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
21732         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
21733         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
21734         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
21735         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
21736         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
21737         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
21738         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
21739         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
21740         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
21741         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
21742         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
21743         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
21744         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
21745         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
21746         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
21747         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
21748         $(gen-locales).
21749         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
21750         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
21751         $(gen-locales).
21752         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
21753         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
21754         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
21755         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
21756         $(gen-locales).
21757         * libio/tst_wprintf2.c (main): Use explicit locale.
21758         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
21760 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21762         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
21763         __msg_sig_post.
21764         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
21766 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
21768         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21769         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21771         * sysdeps/arm/libm-test-ulps: Regenerated.
21773         [BZ #15470]
21774         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
21776         [BZ #16399]
21777         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
21778         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
21779         and <fix-fp-int-convert-overflow.h>.
21780         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21781         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21782         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
21783         and <fix-fp-int-convert-overflow.h>.
21784         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
21785         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21786         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
21787         <fix-fp-int-convert-overflow.h>.
21788         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21789         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21790         * sysdeps/ieee754/dbl-64/s_lround.c: Include
21791         <fix-fp-int-convert-overflow.h>.
21792         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
21793         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21794         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
21795         and <fix-fp-int-convert-overflow.h>.
21796         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
21797         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21798         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
21799         <limits.h> and <fix-fp-int-convert-overflow.h>.
21800         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
21801         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21802         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
21803         and <fix-fp-int-convert-overflow.h>.
21804         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
21805         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21806         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
21807         and <fix-fp-int-convert-overflow.h>.
21808         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
21809         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21810         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
21812 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
21814         [BZ #18589]
21815         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
21816         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
21817         $(gen-locales).
21819 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21820             Phil Blundell <pb@pbcl.net>
21822         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
21823         * nptl/tst-cancel26.c: New file.
21824         * nptl/tst-cancel27.c: Likewise.
21826 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
21828         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
21829         __ILP32__ isn't defined.
21830         (lrint): Likewise.
21831         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
21832         (lrintf): Likewise.
21833         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
21834         (lrintl): Likewise.
21835         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
21836         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
21837         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
21839 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21841         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21842         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21844         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
21845         file.
21846         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
21847         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
21849 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
21851         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
21852         configure test.
21853         * sysdeps/i386/configure: Regenerated.
21854         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
21855         configure test.
21856         * sysdeps/x86_64/configure: Regenerated.
21857         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
21858         Make code unconditional.
21860         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
21861         test.
21862         * sysdeps/i386/configure: Regenerated.
21863         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
21864         test.
21865         * sysdeps/x86_64/configure: Regenerated.
21866         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
21867         Make code unconditional.
21868         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21869         Likewise.
21870         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
21871         Likewise.
21872         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21873         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
21874         code unconditional.
21875         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21876         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
21877         code unconditional.
21878         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21879         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
21880         code unconditional.
21881         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
21882         code unconditional.
21883         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21884         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
21885         code unconditional.
21886         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21887         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
21888         code unconditional.
21889         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21890         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
21891         code unconditional.
21892         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21893         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
21894         code unconditional.
21895         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
21896         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
21898         [BZ #19095]
21899         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
21900         mantissa to long int before shifting left.
21902 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
21904         [BZ #19094]
21905         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
21906         <limits.h>.
21907         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21908         when result overflows but exception would not result from cast.
21909         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
21910         <limits.h>.
21911         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21912         when result overflows but exception would not result from cast.
21913         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
21914         <limits.h>.
21915         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21916         when result overflows but exception would not result from cast.
21917         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
21918         <limits.h>.
21919         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21920         when result overflows but exception would not result from cast.
21921         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
21922         <limits.h>.
21923         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
21924         when result overflows but exception would not result from cast.
21925         * math/libm-test.inc (lrint_test_data): Add more tests.
21926         (llrint_test_data): Likewise.
21928 2015-10-08  Roland McGrath  <roland@hack.frob.com>
21930         [BZ #18872]
21931         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
21932         Move out from under [$(run-built-tests) = yes] conditional.
21933         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
21934         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
21936 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
21938         [BZ #18589]
21939         * string/Makefile (tests): Add bug-strcoll2.
21940         (LOCALES): Add cs_CZ.UTF-8.
21941         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
21943         [BZ #18589]
21944         * string/bug-strcoll2.c: New file.
21945         * locale/categories.def: Revert commit
21946         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
21947         * locale/langinfo.h: Likewise.
21948         * locale/localeinfo.h: Likewise.
21949         * locale/C-collate.c: Likewise.
21950         * locale/programs/ld-collate.c (collate_output): Likewise.
21951         * string/strcoll_l.c (STRDIFF): Likewise.
21952         (STRCOLL): Likewise.
21953         * wcsmbs/wcscoll_l.c: Likewise.
21955 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
21957         * math/libm-test.inc (lround_test_data): Do not expect the absence
21958         of "inexact" for some tests with non-integer arguments.
21959         (llround_test_data): Likewise.
21961         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
21962         test.
21963         (libc_cv_cc_sse2avx): Likewise.
21964         * sysdeps/i386/configure: Regenerated.
21965         * sysdeps/i386/i686/multiarch/Makefile
21966         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
21967         [$(subdir) = math].
21968         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
21969         code unconditional.
21970         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
21971         Likewise.
21972         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
21973         Likewise.
21974         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
21975         Likewise.
21976         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
21977         test.
21978         (libc_cv_cc_sse2avx): Likewise.
21979         * sysdeps/x86_64/configure: Regenerated.
21980         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
21981         unconditional.
21982         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
21983         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
21984         unconditional.
21985         (_dl_runtime_profile)
21986         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
21987         conditional code.
21988         * sysdeps/x86_64/fpu/multiarch/Makefile
21989         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
21990         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21991         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21992         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21993         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21994         * sysdeps/x86_64/fpu/multiarch/e_log.c
21995         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21996         * sysdeps/x86_64/fpu/multiarch/s_atan.c
21997         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21998         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
21999         Likewise.
22000         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22001         Likewise.
22002         * sysdeps/x86_64/fpu/multiarch/s_sin.c
22003         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22004         * sysdeps/x86_64/fpu/multiarch/s_tan.c
22005         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22006         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
22007         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
22008         (HAVE_SSE2AVX_SUPPORT): Likewise.
22010 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
22012         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
22013         instead of #pragma optimize.
22015 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22017         [BZ #17195]
22018         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
22019         as is similarly done in systrim and _int_free already.
22021 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22023         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
22025 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22027         [BZ #19088]
22028         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
22029         <limits.h>.
22030         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22031         overflows but exception would not result from cast.
22032         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
22033         and <limits.h>.
22034         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22035         overflows but exception would not result from cast.
22036         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
22037         <limits.h>.
22038         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22039         overflows but exception would not result from cast.
22040         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
22041         <limits.h>.
22042         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22043         overflows but exception would not result from cast.
22044         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
22045         <limits.h>.
22046         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22047         overflows but exception would not result from cast.
22048         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
22049         <limits.h>.
22050         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22051         overflows but exception would not result from cast.
22052         * math/libm-test.inc (lround_test_data): Add more tests.
22053         (llround_test_data): Likewise.
22055 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
22057         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
22058         (CFLAGS-ialloc.c): Ditto.
22059         (CFLAGS-scheck.c): Ditto.
22061 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22063         [BZ #19086]
22064         * manual/filesys.texi (Storage Allocation): Fix argument order for
22065         posix_fallocate64.
22067 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22069         [BZ #19085]
22070         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
22071         exponent below 48 inside case for non-overflowing exponent.
22072         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
22074 2015-10-07  Florian Weimer  <fweimer@redhat.com>
22076         * iconvdata/cp737.h (from_idx): Add const.
22077         * iconvdata/cp775.h (from_idx): Likewise.
22079 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22081         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
22082         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
22083         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
22085         [BZ #19079]
22086         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
22087         file, conditioned on [!_LP64].
22088         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
22089         [!_LP64] (__lround): Do not define as function or alias.
22090         [!_LP64] (lround): Likewise.
22091         [!_LP64] (__lroundl): Likewise.
22092         [!_LP64] (lroundl): Likewise.
22093         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
22094         macro.
22095         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22096         Likewise.
22098 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22100         * math/libm-test.inc (lrint_test_data): Add more tests.
22101         (llrint_test_data): Likewise.
22102         (lround_test_data): Likewise.
22103         (llround_test_data): Likewise.
22105         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
22106         (llrint_test_data): Add tests used for lrint.
22108         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
22109         test.
22110         * sysdeps/i386/configure: Regenerated.
22111         * sysdeps/i386/i686/multiarch/Makefile
22112         [$(config-cflags-sse4) = yes]: Make code unconditional.
22113         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22114         Likewise.
22115         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
22116         Likewise.
22117         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
22118         test.
22119         * sysdeps/x86_64/configure: Regenerated.
22120         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
22121         Make code unconditional.
22122         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22123         Likewise.
22124         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
22125         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
22127         * scripts/rpm2dynsym.sh: Remove file.
22129 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22131         * configure.ac (libc_cv_cxx_thread_local): Define.
22132         * configure: Regenerate.
22133         * config.make.in (have-cxx-thread_local): Define.
22134         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
22135         (LDLIBS-tst-thread_local1): Define.
22136         (tests): Add tst-thread_local1.
22137         [have-cxx-thread_local != yes] (tests-unsupported): Add
22138         tst-thread_local1.
22139         * nptl/tst-thread_local1.cc: New file.
22141 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22143         [BZ #19078]
22144         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
22145         (u_thres): Likewise.
22146         (__expl): Determine whether to call __kernel_standard_l based on
22147         value of result, not argument.
22149         * math/libm-test.inc (scalb_test_data): Add more expectations for
22150         the "inexact" exception.
22152         [BZ #19077]
22153         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
22154         0.0L for argument 1.0L.
22156         [BZ #19076]
22157         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
22158         constant 0.0L when computing infinite result.
22160 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22162         [BZ #10432]
22163         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
22164         malloc_usable_size.
22166 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22168         [BZ #19018]
22169         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22170         Mangle function pointer before storing it.
22171         (__call_tls_dtors): Demangle function pointer before calling it.
22173 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22175         [BZ #19012]
22176         * iconv/gconv_db.c (gen_steps): Check for additional errors.
22177         Clean up on failure.
22179 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
22181         [BZ #19071]
22182         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
22183         long int variable to store possibly incremented high part of
22184         mantissa.
22185         * math/libm-test.inc (lround_test_data): Add tests used for
22186         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
22187         for tests requiring 64-bit long.  Do not condition tests on
22188         [TEST_FLOAT] unnecessarily.
22189         (llround_test_data): Add tests used for lround.  Add another
22190         expectation for the "inexact" exception.  Do not condition tests
22191         on [TEST_FLOAT] unnecessarily.
22193         [BZ #887]
22194         [BZ #19049]
22195         [BZ #19050]
22196         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
22197         * sysdeps/ieee754/dbl-64/e_log10.c: Include
22198         <fix-int-fp-convert-zero.h>.
22199         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22200         * sysdeps/ieee754/dbl-64/e_log2.c: Include
22201         <fix-int-fp-convert-zero.h>.
22202         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22203         * sysdeps/ieee754/dbl-64/s_erf.c: Include
22204         <fix-int-fp-convert-zero.h>.
22205         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22206         * sysdeps/ieee754/dbl-64/s_logb.c: Include
22207         <fix-int-fp-convert-zero.h>.
22208         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22209         * sysdeps/ieee754/flt-32/e_log10f.c: Include
22210         <fix-int-fp-convert-zero.h>.
22211         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22212         * sysdeps/ieee754/flt-32/e_log2f.c: Include
22213         <fix-int-fp-convert-zero.h>.
22214         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22215         * sysdeps/ieee754/flt-32/s_erff.c: Include
22216         <fix-int-fp-convert-zero.h>.
22217         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22218         * sysdeps/ieee754/flt-32/s_logbf.c: Include
22219         <fix-int-fp-convert-zero.h>.
22220         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22221         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
22222         <fix-int-fp-convert-zero.h>.
22223         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22224         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
22225         <fix-int-fp-convert-zero.h>.
22226         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22227         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
22228         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
22229         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
22230         file.
22231         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
22233 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
22235         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22237 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
22239         [BZ #19059]
22240         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
22241         overflowing computation.
22242         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22243         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22244         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22245         Likewise.
22246         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22247         Likewise.
22248         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22249         Likewise.
22250         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22251         Likewise.
22252         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22253         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22254         Likewise.
22255         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22256         Likewise.
22257         * math/libm-test.inc (nexttoward_test_data): Add more tests.
22259         * nss/rewrite_field.c (__nss_rewrite_field): Use
22260         internal_function.
22261         * nss/valid_field.c (__nss_valid_field): Likewise.
22262         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
22264 2015-10-02  Florian Weimer  <fweimer@redhat.com>
22266         [BZ #18724]
22267         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
22268         (__nss_invalid_field_characters, __nss_valid_field)
22269         (__nss_valid_list_field, __nss_rewrite_field): Declare.
22270         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
22271         tst-field.c: New file.
22272         * nss/Makefile (routines): Add valid_field, rewrite_field.
22273         (tests-static): Define unconditionally.
22274         (tests): Include tests-static.
22275         [build-static-nss] (tests-static): Use append.
22276         [build-static-nss] (tests): Remove modification.
22277         * nss/getent.c (print_group): Call putgrent.  Report error.
22278         (print_gshadow): Call putsgent.  Report error.
22279         (print_passwd): Call putpwent.  Report error.
22280         (print_shadow): Call putspent.  Report error.
22281         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
22282         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
22283         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
22284         name, password, directory, shell fields for valid syntax.  Rewrite
22285         GECOS field to match syntax.
22286         * pwd/Makefile (tests): Add tst-putpwent.
22287         * pwd/tst-putpwent.c: New file.
22288         * grp/putgrent.c (putgrent): Convert to ISO function definition.
22289         Check grName, grpasswd, gr_mem fields for valid syntax.
22290         Change loop variable i to size_t.
22291         * grp/Makefile (tests): Add tst-putgrent.
22292         * grp/tst-putgrent.c: New file.
22293         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
22294         valid syntax.
22295         * shadow/Makefile (tests): Add tst-putspent.
22296         * shadow/tst-putspent.c: New file.
22297         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
22298         sg_mem fields for valid syntax.
22299         * gshadow/Makefile (tests): Add tst-putsgent.
22300         * gshadow/tst-putsgent.c: New file.
22302 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22304         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
22305         assembly instructions.
22307 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22309         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
22310         prefix from operands.
22312 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
22314         [BZ #16347]
22315         [BZ #19046]
22316         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
22317         <libc-internal.h>.
22318         (MAXLGM): Do not use diagnostic control macros.
22319         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
22320         threshold for ldbl-128ibm.
22321         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
22322         instead of multiplying by log then subtracting.
22323         * math/auto-libm-test-in: Add more tests of lgamma.
22324         * math/auto-libm-test-out: Regenerated.
22326         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
22327         (TYPE_HEX_DIG): Likewise.
22328         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
22329         precisions when printing floating-point numbers.
22330         (check_float_internal): Likewise.
22332 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22334         [BZ #16620]
22335         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
22336         of log (10) rounded downward to 48 bits.
22337         (log10_low): Use corresponding low part of log (10).
22339         [BZ #19032]
22340         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
22341         compute result as (x - x) / (x - x) not as 0 / 0.
22342         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22343         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
22345         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22346         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
22347         and expm1.
22348         * math/auto-libm-test-out: Regenerated.
22349         * math/libm-test.inc (acos_test_data): Add more tests.
22350         (asin_test_data): Likewise.
22351         (asinh_test_data): Likewise.
22352         (atan_test_data): Likewise.
22353         (atanh_test_data): Likewise.
22354         (atan2_test_data): Likewise.
22355         (cbrt_test_data): Likewise.
22356         (ceil_test_data): Likewise.
22357         (copysign_test_data): Likewise.
22358         (cos_test_data): Likewise.
22359         (cosh_test_data): Likewise.
22360         (erf_test_data): Likewise.
22361         (erfc_test_data): Likewise.
22362         (exp_test_data): Likewise.
22363         (exp10_test_data): Likewise.
22364         (exp2_test_data): Likewise.
22365         (expm1_test_data): Likewise.
22366         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22368 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
22370         [BZ #19006]
22371         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
22372         to ...
22373         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
22374         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
22375         to ...
22376         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
22377         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
22378         to ...
22379         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
22380         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
22381         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
22382         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
22383         to ...
22384         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
22385         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22386         Moved to ...
22387         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
22388         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22389         Moved to ...
22390         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
22391         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
22392         to ...
22393         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
22394         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22395         Moved to ...
22396         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
22397         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
22398         to ...
22399         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
22400         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
22401         Removed.
22402         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
22403         Likewise.
22404         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
22405         Likewise.
22406         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
22407         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
22408         Likewise.
22409         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22410         Likewise.
22411         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22412         Likewise.
22413         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22414         Likewise.
22415         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22416         Likewise.
22417         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
22418         Likewise.
22419         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
22420         Likewise.
22421         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
22422         Likewise.
22423         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
22424         Likewise.
22425         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
22426         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
22427         Likewise.
22428         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22429         Likewise.
22430         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22431         Likewise.
22432         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22433         Likewise.
22434         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
22435         Likewise.
22436         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22437         Replace ../i486/pthread_cond_timedwait.S with
22438         ../pthread_cond_timedwait.S.
22440 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22442         * math/libm-test.inc (acos_test_data): Refine expectations for
22443         errno and "inexact" exceptions.
22444         (acosh_test_data): Likewise.
22445         (asin_test_data): Likewise.
22446         (asinh_test_data): Likewise.
22447         (atan_test_data): Likewise.
22448         (atanh_test_data): Likewise.
22449         (atan2_test_data): Likewise.
22450         (cbrt_test_data): Likewise.
22451         (ceil_test_data): Likewise.
22452         (copysign_test_data): Likewise.
22453         (cosh_test_data): Likewise.
22454         (erf_test_data): Likewise.
22455         (erfc_test_data): Likewise.
22456         (exp_test_data): Likewise.
22457         (exp10_test_data): Likewise.
22458         (exp2_test_data): Likewise.
22459         (expm1_test_data): Likewise.
22460         (fabs_test_data): Likewise.
22461         (floor_test_data): Likewise.
22462         (fma_test_data): Likewise.
22463         (fmax_test_data): Likewise.
22464         (fmin_test_data): Likewise.
22465         (fmod_test_data): Likewise.
22466         (fpclassify_test_data): Likewise.
22467         (frexp_test_data): Likewise.
22468         (hypot_test_data): Likewise.
22469         (ilogb_test_data): Likewise.
22470         (isgreater_test_data): Likewise.
22471         (isgreaterequal_test_data): Likewise.
22472         (isinf_test_data): Likewise.
22473         (isless_test_data): Likewise.
22474         (islessequal_test_data): Likewise.
22475         (islessgreater_test_data): Likewise.
22476         (isnan_test_data): Likewise.
22477         (isnormal_test_data): Likewise.
22478         (issignaling_test_data): Likewise.
22479         (isunordered_test_data): Likewise.
22480         (j0_test_data): Likewise.
22481         (j1_test_data): Likewise.
22482         (jn_test_data): Likewise.
22483         (lgamma_test_data): Likewise.
22484         (lrint_test_data): Likewise.
22485         (llrint_test_data): Likewise.
22486         (log_test_data): Likewise.
22487         (log10_test_data): Likewise.
22488         (log1p_test_data): Likewise.
22489         (log2_test_data): Likewise.
22490         (logb_test_data): Likewise.
22491         (lround_test_data): Likewise.
22492         (llround_test_data): Likewise.
22493         (modf_test_data): Likewise.
22494         (nearbyint_test_data): Likewise.
22495         (nextafter_test_data): Likewise.
22496         (nexttoward_test_data): Likewise.
22497         (pow_test_data): Likewise.
22498         (remainder_test_data): Likewise.
22499         (remquo_test_data): Likewise.
22500         (rint_test_data): Likewise.
22501         (round_test_data): Likewise.
22502         (signbit_test_data): Likewise.
22503         (sinh_test_data): Likewise.
22504         (sqrt_test_data): Likewise.
22505         (tanh_test_data): Likewise.
22506         (tgamma_test_data): Likewise.
22507         (trunc_test_data): Likewise.
22508         (y0_test_data): Likewise.
22509         (y1_test_data): Likewise.
22510         (yn_test_data): Likewise.
22511         (significand_test_data): Likewise.
22513 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
22515         * manual/filesys.texi (Storage Allocation): Document that
22516         posix_fallocate emulation fails when fd is open with O_WRONLY.
22518 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
22520         [BZ #19016]
22521         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
22522         allow more cases with X^2 + Y^2 >= 0.5.
22523         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
22524         normal element in sum instead of special-casing based on values of
22525         arguments.
22526         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
22527         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
22528         -1 as normal element in sum instead of special-casing based on
22529         values of arguments.
22530         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
22531         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
22532         (__x2y2m1): Update comment.
22533         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
22534         as normal element in sum instead of special-casing based on values
22535         of arguments.
22536         * math/s_clog.c (__clog): Handle more cases using log1p without
22537         hypot.
22538         * math/s_clog10.c (__clog10): Likewise.
22539         * math/s_clog10f.c (__clog10f): Likewise.
22540         * math/s_clog10l.c (__clog10l): Likewise.
22541         * math/s_clogf.c (__clogf): Likewise.
22542         * math/s_clogl.c (__clogl): Likewise.
22543         * math/auto-libm-test-in: Add more tests of clog and clog10.
22544         * math/auto-libm-test-out: Regenerated.
22545         * sysdeps/i386/fpu/libm-test-ulps: Update.
22546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22548 2015-09-28  Martin Sebor  <msebor@redhat.com>
22550         [BZ #18969]
22551         * string/Makefile (LOCALES): Define.
22552         (gen-locales.mk): Include.
22553         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
22554         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
22555         * string/tst-strxfrm2.c (do_test): Print the name of the locale
22556         on setlocale failure.
22558 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
22560         [BZ #18985]
22561         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
22562         (__strftime_internal): Likewise.
22563         * time/tst-strftime.c (do_bz18985): New test.
22564         (do_test): Call it.
22566 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
22568         [BZ #18956]
22569         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
22570         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
22571         extracting high part.
22572         * math/auto-libm-test-in: Add another test of pow.
22573         * math/auto-libm-test-out: Regenerated.
22574         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22576 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
22578         [BZ #18825]
22579         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
22580         New macro.
22581         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
22582         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
22583         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
22584         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
22585         DBL_NARROW_EVAL, reloading the PIC register as needed.
22586         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
22587         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
22588         FLT_NARROW_EVAL.  Use separate return path for case when first
22589         argument is NaN.
22590         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
22591         DEFINE_LDBL_MIN.
22592         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
22593         PIC register.
22594         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
22595         math_check_force_underflow_nonneg.
22596         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
22597         underflow for subnormal result.
22598         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
22599         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
22600         math_check_force_underflow_nonneg.
22601         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
22602         math_check_force_underflow.
22603         * sysdeps/x86_64/fpu/x86_64-math-asm.h
22604         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
22605         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
22606         DEFINE_LDBL_MIN.
22607         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
22608         * math/auto-libm-test-in: Add more tests of pow.
22609         * math/auto-libm-test-out: Regenerated.
22611 2015-09-25  Florian Weimer  <fweimer@redhat.com>
22613         * nss/bug17079.c (init_test_items): Add diagnostic for
22614         inconsistent entries.
22615         (test_buffer_size): Skip inconsistent entries.
22617 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
22619         [BZ #13304]
22620         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
22621         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
22622         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
22624         [BZ #13304]
22625         * sysdeps/microblaze/s_fma.c: New file.
22626         * sysdeps/microblaze/s_fmaf.c: Likewise.
22627         * sysdeps/microblaze/sfp-machine.h: Likewise.
22629 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
22631         [BZ #17250]
22632         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
22633         member.
22635 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
22637         [BZ #18803]
22638         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
22639         (MO): New macro.
22640         (__ieee754_hypot) [PIC]: Load PIC register.
22641         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
22642         DBL_NARROW_EVAL.
22643         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
22644         math_check_force_underflow_nonneg in case where result might be
22645         tiny.
22646         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22647         Likewise.
22648         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22649         Likewise.
22650         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
22651         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
22652         * math/auto-libm-test-in: Add more tests of hypot.
22653         * math/auto-libm-test-out: Regenerated.
22655 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
22657         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
22659 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
22661         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
22662         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
22663         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
22664         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
22665         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
22666         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
22667         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
22669         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
22670         LOAD_PIC_REG.
22672         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
22673         (FLT_CHECK_FORCE_UFLOW): Likewise.
22674         (DBL_CHECK_FORCE_UFLOW): Likewise.
22675         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
22676         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
22677         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
22678         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
22679         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
22680         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
22681         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
22682         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
22683         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
22684         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22685         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
22686         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
22687         (flt_min): Replace with use of DEFINE_FLT_MIN.
22688         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
22689         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
22690         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22691         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
22692         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
22693         (flt_min): Replace with use of DEFINE_FLT_MIN.
22694         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
22695         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
22696         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22697         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
22698         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
22699         (flt_min): Replace with use of DEFINE_FLT_MIN.
22700         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
22701         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
22702         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
22703         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
22704         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
22705         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
22706         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
22707         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
22708         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22709         (__atan): Use DBL_CHECK_FORCE_UFLOW.
22710         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
22711         (flt_min): Replace with use of DEFINE_FLT_MIN.
22712         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
22713         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
22714         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22715         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
22716         main computation.
22717         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
22718         (flt_min): Replace with use of DEFINE_FLT_MIN.
22719         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
22720         main computation.
22721         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
22722         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22723         (MO): New macro.
22724         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
22725         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
22726         (flt_min): Replace with use of DEFINE_FLT_MIN.
22727         (MO): New macro.
22728         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
22729         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
22730         (__log1pl): Use MO.
22732         [BZ #19003]
22733         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
22734         $(config-cflags-nofma).
22736 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22738         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22740 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
22742         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
22743         (TWO127): Likewise.
22745         * sysdeps/generic/math_private.h (fabs_tg): New macro.
22746         (min_of_type): Likewise.
22747         (math_check_force_underflow): Likewise.
22748         (math_check_force_underflow_nonneg): Likewise.
22749         (math_check_force_underflow_complex): Likewise.
22750         * math/e_exp2l.c (__ieee754_exp2l): Use
22751         math_check_force_underflow_nonneg.
22752         * math/k_casinh.c (__kernel_casinh): Likewise.
22753         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22754         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22755         * math/s_catan.c (__catan): Use
22756         math_check_force_underflow_complex.
22757         * math/s_catanf.c (__catanf): Likewise.
22758         * math/s_catanh.c (__catanh): Likewise.
22759         * math/s_catanhf.c (__catanhf): Likewise.
22760         * math/s_catanhl.c (__catanhl): Likewise.
22761         * math/s_catanl.c (__catanl): Likewise.
22762         * math/s_ccosh.c (__ccosh): Likewise.
22763         * math/s_ccoshf.c (__ccoshf): Likewise.
22764         * math/s_ccoshl.c (__ccoshl): Likewise.
22765         * math/s_cexp.c (__cexp): Likewise.
22766         * math/s_cexpf.c (__cexpf): Likewise.
22767         * math/s_cexpl.c (__cexpl): Likewise.
22768         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
22769         * math/s_clog10.c (__clog10): Likewise.
22770         * math/s_clog10f.c (__clog10f): Likewise.
22771         * math/s_clog10l.c (__clog10l): Likewise.
22772         * math/s_clogf.c (__clogf): Likewise.
22773         * math/s_clogl.c (__clogl): Likewise.
22774         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
22775         * math/s_csinf.c (__csinf): Likewise.
22776         * math/s_csinh.c (__csinh): Likewise.
22777         * math/s_csinhf.c (__csinhf): Likewise.
22778         * math/s_csinhl.c (__csinhl): Likewise.
22779         * math/s_csinl.c (__csinl): Likewise.
22780         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
22781         * math/s_csqrtf.c (__csqrtf): Likewise.
22782         * math/s_csqrtl.c (__csqrtl): Likewise.
22783         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
22784         * math/s_ctanf.c (__ctanf): Likewise.
22785         * math/s_ctanh.c (__ctanh): Likewise.
22786         * math/s_ctanhf.c (__ctanhf): Likewise.
22787         * math/s_ctanhl.c (__ctanhl): Likewise.
22788         * math/s_ctanl.c (__ctanl): Likewise.
22789         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
22790         instead of volatile.
22791         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
22792         math_check_force_underflow.
22793         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22794         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
22795         volatile when forcing underflow.
22796         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22797         math_check_force_underflow_nonneg.
22798         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
22799         Likewise.
22800         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
22801         math_check_force_underflow.
22802         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
22803         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22804         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22805         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
22806         math_check_force_underflow_nonneg.
22807         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
22808         math_check_force_underflow.
22809         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
22810         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
22811         instead of volatile.
22812         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
22813         math_check_force_underflow.
22814         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22815         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22816         math_check_force_underflow_nonneg.
22817         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
22818         math_check_force_underflow.
22819         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
22820         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22821         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
22822         math_check_force_underflow_nonneg.
22823         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
22824         Likewise.
22825         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
22826         math_check_force_underflow.
22827         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
22828         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
22829         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
22830         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
22831         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
22832         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
22833         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
22834         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
22835         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22836         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
22837         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
22838         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
22839         Likewise.
22840         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
22841         math_check_force_underflow_nonneg.
22842         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
22843         Likewise.
22844         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
22845         math_check_force_underflow.
22846         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
22847         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
22848         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22849         Likewise.
22850         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
22851         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
22852         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
22853         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
22854         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
22855         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
22856         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
22857         instead of volatile.
22858         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
22859         math_check_force_underflow.
22860         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
22861         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
22862         math_check_force_underflow.
22863         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
22864         Likewise.
22865         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22866         Use math_check_force_underflow_nonneg.
22867         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
22868         math_check_force_underflow.
22869         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
22870         Likewise.
22871         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22872         Likewise.
22873         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22874         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22875         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22876         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22877         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
22878         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22879         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
22880         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
22881         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
22882         math_check_force_underflow_nonneg.
22883         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
22884         math_check_force_underflow.
22885         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
22886         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
22887         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
22888         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
22889         math_check_force_underflow_nonneg.
22890         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
22891         math_check_force_underflow.
22892         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
22893         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
22894         instead of volatile.
22895         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
22896         math_check_force_underflow.
22898         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
22899         * stdlib/strtod_l.c: Include <math_private.h>.
22900         (overflow_value): Use math_narrow_eval.
22901         (underflow_value): Likewise.
22902         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22903         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22904         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
22905         (__ieee754_gamma_r): Likewise.
22906         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
22907         Likewise.
22908         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
22909         Likewise.
22910         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
22911         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
22912         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
22913         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
22914         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
22915         (__ieee754_gammaf_r): Likewise.
22916         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
22917         Likewise.
22918         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
22919         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
22920         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
22921         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
22922         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
22923         volatile.
22924         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
22925         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
22926         math_narrow_eval.
22927         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22928         Likewise.
22929         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22930         Likewise.
22931         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
22932         Likewise.
22933         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
22934         volatile.
22935         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
22936         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
22937         math_narrow_eval.
22938         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22939         Likewise.
22940         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22941         Likewise.
22943 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
22945         * nptl/Versions: Remove ignored symbols.
22947 2015-09-22  Florian Weimer  <fweimer@redhat.com>
22949         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
22950         * nss/Makefile (tests): Update.
22952 2015-09-22  Florian Weimer  <fweimer@redhat.com>
22954         * nss/bug18287.c: New file.
22955         * nss/Makefile (tests): Add bug18287.
22957 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22959         * mach/Versions (__mach_host_self_): Add symbol.
22961 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22963         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
22964         vm_page_size.
22966 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22968         Really fix sysdeps/i386/fpu/s_scalbn.S build
22970         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
22971         (libc: GLIBC_2_22): Remove unused version set.
22973 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
22975         * config.make.in (enable-timezone-tools): New variable.
22976         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
22977         (enable_timezone_tools): Export to generated files.
22978         * configure: Regenerate.
22979         * INSTALL: Regenerate.
22980         * manual/install.texi (--disable-timezone-tools): Document new flag.
22981         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
22982         ifeq ($(enable-timezone-tools),yes) check.
22984 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
22986         * timezone/Makefile: Revert previous change.
22988         [BZ #18980]
22989         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
22990         (DEFINE_DBL_MIN): Likewise.
22991         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
22992         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
22993         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
22994         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
22995         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
22996         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22997         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
22998         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
22999         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
23000         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23001         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23002         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
23003         (flt_min): Replace with use of DEFINE_FLT_MIN.
23004         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23005         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
23006         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23007         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23008         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
23009         (flt_min): Replace with use of DEFINE_FLT_MIN.
23010         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23011         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
23012         (flt_min): Replace with use of DEFINE_FLT_MIN.
23013         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23014         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
23015         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
23016         (__ieee754_hypot): Use DBL_NARROW_EVAL.
23017         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
23018         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
23019         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
23020         (__ieee754_pow): Use DBL_NARROW_EVAL.
23021         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
23022         (__ieee754_powf): Use FLT_NARROW_EVAL.
23023         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
23024         (__ieee754_expf_sse2): Convert double-precision result to single
23025         precision.
23026         * sysdeps/i386/fpu/libm-test-ulps: Update.
23028 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23030         * timezone/Makefile: Ignore unused variable errors due to private.h
23031         (time_t_min) and (time_t_max).
23032         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
23033         Likewise.
23035 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23037         [BZ #18981]
23038         * sysdeps/i386/fpu/i386-math-asm.h: New file.
23039         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
23040         (__ieee754_scalb): Use DBL_NARROW_EVAL.
23041         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
23042         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
23043         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
23044         (__scalbn): Use DBL_NARROW_EVAL.
23045         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
23046         (__scalbnf): Use FLT_NARROW_EVAL.
23048 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23050         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
23051         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
23052         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
23053         * stdio-common/printf_fp.c (___printf_fp):
23054         Use signbit to get the sign. Use isinf macro to allow inlining.
23055         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
23056         * stdio-common/printf_size.c (__printf_size): Likewise.
23058 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23060         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
23062 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23064         [BZ #18980]
23065         * sysdeps/generic/math_private.h: Include <float.h>.
23066         (math_narrow_eval): New macro.
23067         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
23068         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
23069         math_narrow_eval on overflowing return value.
23070         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
23071         Likewise.
23072         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23073         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
23074         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
23075         Likewise.
23076         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23078 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23080         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
23081         * math/Makefile: Remove isinf_ns.c.
23082         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
23083         * math/multc3.c (__multc3): Likewise.
23084         * math/s_casin.c (__casin): Likewise.
23085         * math/s_casinf.c (__casinf): Likewise.
23086         * math/s_casinl.c (__casinl): Likewise.
23087         * math/s_cproj.c (__cproj): Likewise.
23088         * math/s_cprojf.c (__cprojf): Likewise.
23089         * math/s_cprojl.c (__cprofl): Likewise.
23090         * math/s_ctan.c (__ctan): Likewise.
23091         * math/s_ctanf.c (__ctanf): Likewise.
23092         * math/s_ctanh.c (__ctanh): Likewise.
23093         * math/s_ctanhf.c (__ctanhf): Likewise.
23094         * math/s_ctanhl.c (__ctanhl): Likewise.
23095         * math/s_ctanl.c (__ctanl): Likewise.
23096         * math/w_fmod.c (__fmod): Likewise.
23097         * math/w_fmodf.c (__fmodf): Likewise.
23098         * math/w_fmodl.c (_fmodl): Likewise.
23099         * math/w_remainder.c (__remainder): Likewise.
23100         * math/w_remainderf.c (__remainderf): Likewise.
23101         * math/w_remainderl.c (__remainderl): Likewise.
23102         * math/w_scalb.c (__scalb): Likewise.
23103         * math/w_scalbf.c (__scalbf): Likewise.
23104         * math/w_scalbl.c (__scalbl): Likewise.
23105         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
23106         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
23107         with isinf.
23108         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
23109         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
23110         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
23111         __isinf_nsf with isinf.
23112         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
23113         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
23114         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
23115         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
23116         with isinf.
23117         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
23118         __isinf_nsl with isinf.
23119         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
23120         with isinf.
23121         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
23122         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
23123         __isinf_nsl with isinf.
23124         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
23125         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
23126         with isinf.
23128 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23130         * resolv/base64.c (rcsid): Remove unused static.
23131         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
23132         static.  (tqpi1): Likewise.
23133         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
23134         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
23135         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
23136         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
23137         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
23138         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
23139         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
23140         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
23141         Likewise.
23143 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
23145         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
23146         <nptl/pthreadP.h>.
23147         (_longjmp_unwind): Use __libc_ptf_call.
23148         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
23150 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
23152         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
23153         * sysdeps/arm/__longjmp.S: Likewise.
23155 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23157         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
23158         Use __builtin_signbit.
23159         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
23160         Use __builtin_signbitf.
23161         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
23162         Use __builtin_signbitl.
23163         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23164         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
23166 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23168         [BZ #15367]
23169         [BZ #17441]
23171         * math/Makefile: Build test-snan.c with -fsignaling-nans.
23172         * math/math.h (fpclassify): Use __builtin_fpclassify when
23173         available.  (signbit): Use __builtin_signbit(f/l).
23174         (isfinite): Use__builtin_isfinite.  (isnormal): Use
23175         __builtin_isnormal.  (isnan): Use __builtin_isnan.
23176         (isinf): Use __builtin_isinf_sign.
23178 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23180         * benchtests/Makefile: Add bench-math-inlines, link with libm.
23181         * benchtests/bench-math-inlines.c: New benchmark.
23182         * benchtests/bench-util.h: New file.
23183         * benchtests/bench-util.c: New file.
23184         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
23186 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
23188         * elf/tst-dlmopen1.c: Define TEST_SO.
23189         (do_test): Use TEST_SO.
23191         * elf/dl-load.c: Include libc-internal.h.
23192         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
23194 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23196         [BZ #17887]
23197         * time/strptime_l.c (__strptime_internal): Make %z accept
23198         [+-]HH:MM time zones.
23200 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23202         [BZ #17886]
23203         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
23204         valid time zone.
23206 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
23208         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
23209         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
23210         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23211         (__ASSUME_FDATASYNC): Delete.
23213 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23215         * conform/linknamespace.pl: Require weak undefined symbols to be
23216         in the standard namespace.
23217         (%strong_syms): Rename to %seen_syms.
23218         (%strong_seen): Rename to %seen_where.
23220 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
23222         [BZ #18970]
23223         * misc/error.c (error): Replace pthread_setcancelstate with
23224         __pthread_setcancelstate.
23225         (error_at_line): Likewise.
23226         * posix/wordexp.c (parse_comm): Likewise.
23227         * stdlib/fmtmsg.c (fmtmsg): Likewise.
23228         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
23229         (__pthread_setcancelstate): This.
23230         (pthread_setcancelstate): Add an alias.
23231         * nptl/nptl-init.c (pthread_functions): Replace
23232         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
23233         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
23234         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
23235         hidden_proto.
23236         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
23237         it with hidden_def.
23238         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
23239         (pthread_setcancelstate): Renamed to ...
23240         (__pthread_setcancelstate): This.
23241         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
23242         __libc_ptf_call with __pthread_setcancelstate.
23244 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23245             Andreas Schwab  <schwab@suse.de>
23247         [BZ #17118]
23248         * math/s_ctan.c (__ctan): Determine sign of zero real part of
23249         result when imaginary part of argument is infinite using sine and
23250         cosine.
23251         * math/s_ctanf.c (__ctanf): Likewise.
23252         * math/s_ctanl.c (__ctanl): Likewise.
23253         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
23254         of result when real part of argument is infinite using sine and
23255         cosine.
23256         * math/s_ctanhf.c (__ctanhf): Likewise.
23257         * math/s_ctanhl.c (__ctanhl): Likewise.
23258         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
23259         (ctanh_test_data): Add more tests of ctanh.
23261 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23263         [BZ #15384]
23264         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
23265         bit-mask as in subtraction.
23266         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
23267         Likewise.
23268         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
23269         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
23270         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
23272         [BZ #18951]
23273         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
23274         underflow exception for small results.
23275         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23276         Likewise.
23277         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23278         Likewise.
23279         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23280         Likewise.
23281         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23282         Likewise.
23283         * math/auto-libm-test-in: Add more tests of tgamma.
23284         * math/auto-libm-test-out: Regenerated.
23286 2015-09-17  Andreas Schwab  <schwab@suse.de>
23288         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
23290 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23292         [BZ #18977]
23293         * math/bits/mathcalls.h
23294         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
23295         not declare.
23296         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
23297         Likewise.
23298         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
23299         Likewise.
23300         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
23301         Likewise.
23302         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
23303         Likewise.
23304         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
23305         Likewise.
23306         * conform/data/math.h-data
23307         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
23308         function.
23309         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
23310         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
23311         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
23312         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
23313         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
23314         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
23315         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
23316         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
23317         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
23318         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
23319         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
23321         [BZ #6803]
23322         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
23323         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
23324         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
23325         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
23326         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
23327         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
23328         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
23329         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
23330         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23331         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
23332         Likewise.
23333         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23334         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
23335         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
23336         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
23337         long_double_symbol calls.
23338         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
23339         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
23340         strong alias of __ldexpl.
23341         (scalbnl): Define using long_double_symbol.
23342         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
23343         Remove alias.
23344         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
23345         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
23346         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
23347         (scalbln_test_data): Add more errno expectations.
23349 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
23351         Cache the host port like we cache the task port.  This way we do not
23352         need to call the kernel just to get the port.  Furthermore, we no
23353         longer increase the reference count on every invocation of
23354         `mach_host_self'.
23356         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
23357         Protect declarations against the macro expansion.
23358         * mach/mach_init.c (__mach_host_self_): New variable.
23359         (mach_init): Initialize `__mach_host_self_'.
23360         * mach/mach_init.h (__mach_host_self_): New declaration.
23361         (__mach_host_self, mach_host_self): New macros.
23362         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
23363         Release reference.
23365 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23367         [BZ #4404]
23368         * po/de.po: Update from Translation Project.
23370         [BZ #16415]
23371         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
23372         (__expm1l): Remove code to handle positive infinity and overflow.
23373         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
23374         variable.
23375         (__expm1l): Remove code to handle positive infinity and overflow.
23377 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
23378             Paul Pluzhnikov  <ppluzhnikov@google.com>
23380         [BZ #18872]
23381         * stdio-common/Makefile (tst-printf-bz18872): New test.
23382         (tst-printf-bz18872-mem.out): Likewise.
23383         * stdio-common/tst-printf-bz18872.sh: Generate new test.
23384         * stdio-common/vfprintf.c: Fix memory leaks.
23386 2015-09-16  Andreas Schwab  <schwab@suse.de>
23388         [BZ #17244]
23389         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
23390         Remove extra va_start/va_end calls.
23392         [BZ #17243]
23393         * posix/execl.c (execl): Add missing va_end.
23394         * posix/execle.c (execle): Likewise.
23395         * posix/execlp.c (execlp): Likewise.
23397 2015-09-15  Roland McGrath  <roland@hack.frob.com>
23399         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
23400         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
23402 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
23404         [BZ #18967]
23405         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
23406         undefine around includes of <bits/mathcalls.h>.
23407         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
23408         not declare function.
23409         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
23410         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
23411         (scalb): Likewise.
23412         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
23413         not define macro.
23414         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
23415         variable.
23416         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23417         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23418         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23420         [BZ #18857]
23421         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
23422         return non-finite argument without doing ordered comparisons on
23423         it.
23425         [BZ #16296]
23426         * math/fenv.h (fegetround): Use __attribute_pure__.
23427         * include/fenv.h (__fegetround): Likewise.
23429         [BZ #18595]
23430         * math/s_ctan.c (__ctan): Force underflow exception for results
23431         whose real or imaginary part has small absolute value.
23432         * math/s_ctanf.c (__ctanf): Likewise.
23433         * math/s_ctanh.c (__ctanh): Likewise.
23434         * math/s_ctanhf.c (__ctanhf): Likewise.
23435         * math/s_ctanhl.c (__ctanhl): Likewise.
23436         * math/s_ctanl.c (__ctanl): Likewise.
23437         * math/auto-libm-test-in: Do not allow missing underflow for ctan
23438         and ctanh.  Add more tests of ctan and ctanh.
23440         [BZ #15918]
23441         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
23442         handling of cases where one argument is an infinity.
23444         [BZ #18875]
23445         [BZ #18966]
23446         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
23447         (MO): New macro.
23448         (__ieee754_exp10): For small results, force underflow exception
23449         and remove excess range and precision from return value.
23450         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
23451         (MO): New macro.
23452         (__ieee754_exp10f): For small results, force underflow exception
23453         and remove excess range and precision from return value.
23454         * math/auto-libm-test-in: Add more tests of exp10.
23455         * math/auto-libm-test-out: Regenerated.
23457 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
23459         [BZ #18875]
23460         [BZ #18961]
23461         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
23462         (MO): New macro.
23463         (__ieee754_exp): For small results, force underflow exception and
23464         remove excess range and precision from return value.
23465         (__exp_finite): Likewise.
23466         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
23467         (MO): New macro.
23468         (__ieee754_expf): For small results, force underflow exception and
23469         remove excess range and precision from return value.
23470         (__expf_finite): Likewise.
23471         * math/auto-libm-test-in: Add more tests of exp.
23472         * math/auto-libm-test-out: Regenerated.
23474         [BZ #16521]
23475         [BZ #18875]
23476         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
23477         small results.
23478         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
23479         (MO): New macro.
23480         (__ieee754_exp2): For small results, force underflow exception and
23481         remove excess range and precision from return value.
23482         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
23483         (MO): New macro.
23484         (__ieee754_exp2f): For small results, force underflow exception
23485         and remove excess range and precision from return value.
23486         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
23487         (MO): New macro.
23488         (__ieee754_exp2l): Force underflow exception for small results.
23489         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23490         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23491         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
23492         (MO): New macro.
23493         (__ieee754_exp2l): Force underflow exception for small results.
23494         * math/auto-libm-test-in: Add more tests or exp2.
23495         * math/auto-libm-test-out: Regenerated.
23497 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
23499         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
23501         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
23502         /dev/null.
23504 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23506         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23507         io fs process)): Drop spurious backslash.
23509 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23511         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
23512         Use sysinfo system call instead of parsing /proc/meminfo.
23513         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
23514         Likewise.
23516 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
23518         [BZ #16985]
23519         * programs/localedef.c (main): Display argv[remaining] when
23520         output_path is NULL.
23522 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
23524         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23525         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
23526         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
23527         tanh.
23528         * math/auto-libm-test-out: Regenerated.
23529         * sysdeps/i386/fpu/libm-test-ulps: Update.
23530         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23531         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23534 2015-09-11  Roland McGrath  <roland@hack.frob.com>
23536         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
23537         Use 'override' keyword to freeze the value here, preventing
23538         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
23540 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
23542         [BZ #14912]
23543         * sysdeps/aarch64/bits/atomic.h: Move to ...
23544         * sysdeps/aarch64/atomic-machine.h: ...here.
23545         (_AARCH64_BITS_ATOMIC_H): Rename macro to
23546         _AARCH64_ATOMIC_MACHINE_H.
23547         * sysdeps/alpha/bits/atomic.h: Move to ...
23548         * sysdeps/alpha/atomic-machine.h: ...here.
23549         * sysdeps/arm/bits/atomic.h: Move to ...
23550         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
23551         * bits/atomic.h: Move to ...
23552         * sysdeps/generic/atomic-machine.h: ...here.
23553         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23554         * sysdeps/i386/bits/atomic.h: Move to ...
23555         * sysdeps/i386/atomic-machine.h: ...here.
23556         * sysdeps/ia64/bits/atomic.h: Move to ...
23557         * sysdeps/ia64/atomic-machine.h: ...here.
23558         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
23559         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
23560         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23561         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
23562         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
23563         * sysdeps/microblaze/bits/atomic.h: Move to ...
23564         * sysdeps/microblaze/atomic-machine.h: ...here.
23565         * sysdeps/mips/bits/atomic.h: Move to ...
23566         * sysdeps/mips/atomic-machine.h: ...here.
23567         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
23568         * sysdeps/powerpc/bits/atomic.h: Move to ...
23569         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
23570         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
23571         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
23572         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
23573         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
23574         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
23575         <atomic-machine.h> instead of <bits/atomic.h>.
23576         * sysdeps/s390/bits/atomic.h: Move to ...
23577         * sysdeps/s390/atomic-machine.h: ...here.
23578         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
23579         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
23580         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23581         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
23582         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
23583         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
23584         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
23585         * sysdeps/tile/bits/atomic.h: Move to ...
23586         * sysdeps/tile/atomic-machine.h: ...here.
23587         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
23588         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
23589         <sysdeps/tile/atomic-machine.h> instead of
23590         <sysdeps/tile/bits/atomic.h>.
23591         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23592         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
23593         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
23594         <sysdeps/tile/atomic-machine.h> instead of
23595         <sysdeps/tile/bits/atomic.h>.
23596         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23597         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
23598         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
23599         <sysdeps/arm/atomic-machine.h> instead of
23600         <sysdeps/arm/bits/atomic.h>.
23601         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
23602         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
23603         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23604         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
23605         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
23606         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23607         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
23608         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
23609         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
23610         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
23611         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
23612         * sysdeps/x86_64/bits/atomic.h: Move to ...
23613         * sysdeps/x86_64/atomic-machine.h: ...here.
23614         * include/atomic.h: Include <atomic-machine.h> instead of
23615         <bits/atomic.h>.
23617         * sysdeps/mips/mips32/libm-test-ulps: Update.
23618         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23620         [BZ #18952]
23621         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
23622         not convert non-integer negative arguments to int to determine the
23623         value of signgam.
23624         * math/auto-libm-test-in: Add more tests of lgamma.
23625         * math/auto-libm-test-out: Regenerated.
23627         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
23628         cosh, csqrt, erfc, expm1 and lgamma.
23629         * math/auto-libm-test-out: Regenerated.
23630         * sysdeps/i386/fpu/libm-test-ulps: Update.
23631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23633 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
23635         [BZ #2542]
23636         [BZ #2543]
23637         [BZ #2558]
23638         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
23639         __lgamma_neg for arguments from -28.0 to -2.0.
23640         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
23641         __lgamma_negf for arguments from -15.0 to -2.0.
23642         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23643         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
23644         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
23645         Call __lgamma_negl for arguments from -33.0 to -2.0.
23646         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
23647         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
23648         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
23649         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
23650         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
23651         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
23652         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
23653         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
23654         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
23655         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
23656         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
23657         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
23658         (__lgamma_neg): Likewise.
23659         (__lgamma_negl): Likewise.
23660         (__lgamma_product): Likewise.
23661         (__lgamma_productl): Likewise.
23662         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
23663         * math/auto-libm-test-in: Add more tests of lgamma.
23664         * math/auto-libm-test-out: Regenerated.
23665         * sysdeps/i386/fpu/libm-test-ulps: Update.
23666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23668 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
23670         [BZ #18675]
23671         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
23673 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
23675         [BZ #14912]
23676         * bits/libc-lock.h: Move to ...
23677         * sysdeps/generic/libc-lock.h: ...here.
23678         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23679         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
23680         * sysdeps/mach/hurd/libc-lock.h: ...here.
23681         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23682         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
23683         * sysdeps/mach/bits/libc-lock.h: Move to ...
23684         * sysdeps/mach/libc-lock.h: ...here.
23685         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23686         * sysdeps/nptl/bits/libc-lock.h: Move to ...
23687         * sysdeps/nptl/libc-lock.h: ...here.
23688         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23689         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
23690         * sysdeps/nptl/libc-lockP.h: ...here.
23691         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
23692         * crypt/crypt_util.c: Include <libc-lock.h> instead of
23693         <bits/libc-lock.h>.
23694         * dirent/scandir-tail.c: Likewise.
23695         * dlfcn/dlerror.c: Likewise.
23696         * elf/dl-close.c: Likewise.
23697         * elf/dl-iteratephdr.c: Likewise.
23698         * elf/dl-lookup.c: Likewise.
23699         * elf/dl-open.c: Likewise.
23700         * elf/dl-support.c: Likewise.
23701         * elf/dl-writev.h: Likewise.
23702         * elf/rtld.c: Likewise.
23703         * grp/fgetgrent.c: Likewise.
23704         * gshadow/fgetsgent.c: Likewise.
23705         * gshadow/sgetsgent.c: Likewise.
23706         * iconv/gconv_conf.c: Likewise.
23707         * iconv/gconv_db.c: Likewise.
23708         * iconv/gconv_dl.c: Likewise.
23709         * iconv/gconv_int.h: Likewise.
23710         * iconv/gconv_trans.c: Likewise.
23711         * include/link.h: Likewise.
23712         * inet/getnameinfo.c: Likewise.
23713         * inet/getnetgrent.c: Likewise.
23714         * inet/getnetgrent_r.c: Likewise.
23715         * intl/bindtextdom.c: Likewise.
23716         * intl/dcigettext.c: Likewise.
23717         * intl/finddomain.c: Likewise.
23718         * intl/gettextP.h: Likewise.
23719         * intl/loadmsgcat.c: Likewise.
23720         * intl/localealias.c: Likewise.
23721         * intl/textdomain.c: Likewise.
23722         * libidn/idn-stub.c: Likewise.
23723         * libio/libioP.h: Likewise.
23724         * locale/duplocale.c: Likewise.
23725         * locale/freelocale.c: Likewise.
23726         * locale/newlocale.c: Likewise.
23727         * locale/setlocale.c: Likewise.
23728         * login/getutent_r.c: Likewise.
23729         * login/getutid_r.c: Likewise.
23730         * login/getutline_r.c: Likewise.
23731         * login/utmp-private.h: Likewise.
23732         * login/utmpname.c: Likewise.
23733         * malloc/mtrace.c: Likewise.
23734         * misc/efgcvt.c: Likewise.
23735         * misc/error.c: Likewise.
23736         * misc/fstab.c: Likewise.
23737         * misc/getpass.c: Likewise.
23738         * misc/mntent.c: Likewise.
23739         * misc/syslog.c: Likewise.
23740         * nis/nis_call.c: Likewise.
23741         * nis/nis_callback.c: Likewise.
23742         * nis/nss-default.c: Likewise.
23743         * nis/nss_compat/compat-grp.c: Likewise.
23744         * nis/nss_compat/compat-initgroups.c: Likewise.
23745         * nis/nss_compat/compat-pwd.c: Likewise.
23746         * nis/nss_compat/compat-spwd.c: Likewise.
23747         * nis/nss_nis/nis-alias.c: Likewise.
23748         * nis/nss_nis/nis-ethers.c: Likewise.
23749         * nis/nss_nis/nis-grp.c: Likewise.
23750         * nis/nss_nis/nis-hosts.c: Likewise.
23751         * nis/nss_nis/nis-network.c: Likewise.
23752         * nis/nss_nis/nis-proto.c: Likewise.
23753         * nis/nss_nis/nis-pwd.c: Likewise.
23754         * nis/nss_nis/nis-rpc.c: Likewise.
23755         * nis/nss_nis/nis-service.c: Likewise.
23756         * nis/nss_nis/nis-spwd.c: Likewise.
23757         * nis/nss_nisplus/nisplus-alias.c: Likewise.
23758         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
23759         * nis/nss_nisplus/nisplus-grp.c: Likewise.
23760         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
23761         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
23762         * nis/nss_nisplus/nisplus-network.c: Likewise.
23763         * nis/nss_nisplus/nisplus-proto.c: Likewise.
23764         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
23765         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
23766         * nis/nss_nisplus/nisplus-service.c: Likewise.
23767         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
23768         * nis/ypclnt.c: Likewise.
23769         * nptl/libc_pthread_init.c: Likewise.
23770         * nss/getXXbyYY.c: Likewise.
23771         * nss/getXXent.c: Likewise.
23772         * nss/getXXent_r.c: Likewise.
23773         * nss/nss_db/db-XXX.c: Likewise.
23774         * nss/nss_db/db-netgrp.c: Likewise.
23775         * nss/nss_db/nss_db.h: Likewise.
23776         * nss/nss_files/files-XXX.c: Likewise.
23777         * nss/nss_files/files-alias.c: Likewise.
23778         * nss/nsswitch.c: Likewise.
23779         * posix/regex_internal.h: Likewise.
23780         * posix/wordexp.c: Likewise.
23781         * pwd/fgetpwent.c: Likewise.
23782         * resolv/res_hconf.c: Likewise.
23783         * resolv/res_libc.c: Likewise.
23784         * shadow/fgetspent.c: Likewise.
23785         * shadow/lckpwdf.c: Likewise.
23786         * shadow/sgetspent.c: Likewise.
23787         * socket/opensock.c: Likewise.
23788         * stdio-common/reg-modifier.c: Likewise.
23789         * stdio-common/reg-printf.c: Likewise.
23790         * stdio-common/reg-type.c: Likewise.
23791         * stdio-common/vfprintf.c: Likewise.
23792         * stdio-common/vfscanf.c: Likewise.
23793         * stdlib/abort.c: Likewise.
23794         * stdlib/cxa_atexit.c: Likewise.
23795         * stdlib/fmtmsg.c: Likewise.
23796         * stdlib/random.c: Likewise.
23797         * stdlib/setenv.c: Likewise.
23798         * string/strsignal.c: Likewise.
23799         * sunrpc/auth_none.c: Likewise.
23800         * sunrpc/bindrsvprt.c: Likewise.
23801         * sunrpc/create_xid.c: Likewise.
23802         * sunrpc/key_call.c: Likewise.
23803         * sunrpc/rpc_thread.c: Likewise.
23804         * sysdeps/arm/backtrace.c: Likewise.
23805         * sysdeps/generic/ldsodefs.h: Likewise.
23806         * sysdeps/generic/stdio-lock.h: Likewise.
23807         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
23808         * sysdeps/i386/backtrace.c: Likewise.
23809         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23810         * sysdeps/m68k/backtrace.c: Likewise.
23811         * sysdeps/mach/hurd/cthreads.c: Likewise.
23812         * sysdeps/mach/hurd/dirstream.h: Likewise.
23813         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
23814         * sysdeps/nptl/malloc-machine.h: Likewise.
23815         * sysdeps/nptl/stdio-lock.h: Likewise.
23816         * sysdeps/posix/dirstream.h: Likewise.
23817         * sysdeps/posix/getaddrinfo.c: Likewise.
23818         * sysdeps/posix/system.c: Likewise.
23819         * sysdeps/pthread/aio_suspend.c: Likewise.
23820         * sysdeps/s390/s390-32/backtrace.c: Likewise.
23821         * sysdeps/s390/s390-64/backtrace.c: Likewise.
23822         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23823         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
23824         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
23825         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
23826         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
23827         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23828         * sysdeps/unix/sysv/linux/system.c: Likewise.
23829         * sysdeps/x86_64/backtrace.c: Likewise.
23830         * time/alt_digit.c: Likewise.
23831         * time/era.c: Likewise.
23832         * time/tzset.c: Likewise.
23833         * wcsmbs/wcsmbsload.c: Likewise.
23834         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
23835         instead of <bits/libc-lock.h> in comment.
23837 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
23839         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
23840         Only use .set mips2 if the current ISA is below mips2.
23841         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
23842         Likewise.
23843         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
23844         mips32r2 if the current ISA is below mips32r2.
23845         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
23846         (TLS_IE): Updated to use the TLD_RDHWR macro.
23847         (TLS_LE): Likewise.
23848         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
23849         __ASSEMBLER__ condition.
23851 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23853         Fix parallel build of before-compile targets.
23855         * sysdeps/mach/Makefile ($(patsubst
23856         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
23857         mach-before-compile target.
23858         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23859         io fs process)): Move rule to dedicated hurd-before-compile target.
23861 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23863         Fix rules generating headers in hurd/ and mach/ when initial make call
23864         has subdir= explicitly set.
23866         * sysdeps/mach/Makefile ($(patsubst
23867         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
23868         calling $(MAKE).
23869         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23870         io fs process)): Force subdir to hurd when calling $(MAKE).
23871         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
23872         subdir to mach when calling $(MAKE).
23874 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
23876         Check sysheaders when looking for Mach and Hurd headers
23878         * sysdeps/mach/configure.ac: Add sysheaders check.
23879         * sysdeps/mach/configure: Regenerate.
23880         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
23881         * sysdeps/mach/hurd/configure: Regenerate.
23883 2015-09-04  Roland McGrath  <roland@hack.frob.com>
23885         [BZ #18921]
23886         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
23887         Fix inverted sense of test of 'o_directory_works' value.
23888         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
23889         Bernhard Voelker <mail@bernhard-voelker.de>.
23891 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
23893         [BZ #14912]
23894         * bits/linkmap.h: Move to ...
23895         * sysdeps/generic/linkmap.h: ...here.
23896         * sysdeps/aarch64/bits/linkmap.h: Move to ...
23897         * sysdeps/aarch64/linkmap.h: ...here.
23898         * sysdeps/arm/bits/linkmap.h: Move to ...
23899         * sysdeps/arm/linkmap.h: ...here.
23900         * sysdeps/hppa/bits/linkmap.h: Move to ...
23901         * sysdeps/hppa/linkmap.h: ...here.
23902         * sysdeps/ia64/bits/linkmap.h: Move to ...
23903         * sysdeps/ia64/linkmap.h: ...here.
23904         * sysdeps/mips/bits/linkmap.h: Move to ...
23905         * sysdeps/mips/linkmap.h: ...here.
23906         * sysdeps/s390/bits/linkmap.h: Move to ...
23907         * sysdeps/s390/linkmap.h: ...here.
23908         * sysdeps/sh/bits/linkmap.h: Move to ...
23909         * sysdeps/sh/linkmap.h: ...here.
23910         * sysdeps/x86/bits/linkmap.h: Move to ...
23911         * sysdeps/x86/linkmap.h: ...here.
23912         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
23914 2015-09-04  Andreas Schwab  <schwab@suse.de>
23916         [BZ #18635]
23917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
23918         (__makecontext): Terminate FDE before return label.
23919         (__novec_makecontext): Likewise.
23921 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23923         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
23924         first member of struct sv in syscall macro.
23926 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
23928         [BZ #14912]
23929         * bits/stdio-lock.h: Move to ...
23930         * sysdeps/generic/stdio-lock.h: ...here.
23931         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
23932         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
23933         * sysdeps/nptl/stdio-lock.h: ...here.
23934         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
23935         * include/libio.h: Include <stdio-lock.h> instead of
23936         <bits/stdio-lock.h>.
23937         * sysdeps/nptl/fork.c: Likewise.
23938         * sysdeps/pthread/flockfile.c: Likewise.
23939         * sysdeps/pthread/ftrylockfile.c: Likewise.
23940         * sysdeps/pthread/funlockfile.c: Likewise.
23942         [BZ #14912]
23943         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
23944         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
23945         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
23946         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
23947         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
23948         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
23949         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
23951 2015-09-03  Roland McGrath  <roland@hack.frob.com>
23953         * elf/Makefile (test-xfail-tst-protected1a): New variable.
23954         (test-xfail-tst-protected1b): New variable.
23956 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
23958         [BZ #14912]
23959         * bits/libc-tsd.h: Move to ...
23960         * sysdeps/generic/libc-tsd.h: ...here.
23961         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
23962         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
23963         * sysdeps/mach/hurd/libc-tsd.h: ...here.
23964         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
23965         * include/ctype.h: Include <libc-tsd.h> instead of
23966         <bits/libc-tsd.h>.
23967         * include/rpc/rpc.h: Likewise.
23968         * locale/localeinfo.h: Likewise.
23969         * sunrpc/rpc_thread.c: Likewise.
23970         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
23971         * sysdeps/nptl/malloc-machine.h: Likewise.
23973         * Makefile (headers): Remove bits/libc-lock.h.
23974         * libio/Makefile (headers): Remove bits/stdio-lock.h.
23976         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
23977         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
23978         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
23979         <bits/stdio-lock.h>.
23980         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
23981         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
23983 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
23985         [BZ #18757]
23986         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
23987         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
23988         BZ #18757.
23990 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
23992         * malloc/mtrace.pl: Filter out NULL entries.
23994 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
23996         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
23997         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
23998         macro.
24000         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
24001         (TCP_CC_INFO): Likewise.
24002         (TCP_SAVE_SYN): Likewise.
24003         (TCP_SAVED_SYN): Likewise.
24005 2015-08-31  Brett Neumeier <brett@neumeier.us>
24007         [BZ #18870]
24008         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
24010 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
24012         [BZ #18873]
24013         Fix broken overflow check in posix_fallocate
24014         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
24015         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
24016         Fix parenthesization typo.
24018 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
24020         [BZ #18887]
24021         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
24022         tst-mntent-blank-passno.
24023         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
24024         * misc/tst-mntent-blank-corrupt.c: New test.
24025         * misc/tst-mntent-blank-passno.c: New test ripped from ...
24026         * misc/tst-mntent.c (do_test): ... here.
24028 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
24030         [BZ #4404]
24031         * po/de.po: Fix SIGALRM typo.
24033 2015-08-28  James Perkins  <james@loowit.net>
24035         * time/tst-strptime2.c (tests): Replace short list of test
24036         strings for strptime %z specifier with code which exhaustively
24037         tests every combination of sign and 0 to 5 digits. Tests for
24038         rejection of invalid strings.
24040 2015-08-28  James Perkins  <james@loowit.net>
24042         [BZ #16141]
24043         * time/strptime_l.c (__strptime_internal): Fix %z minutes
24044         calculation, removing incorrect decimal time rounding, so that
24045         all minute values result in a valid seconds value.
24046         * time/strptime_l.c (__strptime_internal): Extend %z time zone
24047         offset range limits to UTC-99:59 through UTC+99:59 to parse
24048         current and historical use cases.
24049         * time/tst-strptime2.c (tests): Modify and add tests for the
24050         strptime %z input field descriptor, specifically conversion of
24051         minutes to seconds and validating an offset range of -9959 to
24052         +9959.
24054 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24055             Dmitry V. Levin  <ldv@altlinux.org>
24057         [BZ #18877]
24058         * posix/Makefile (tests): Add tst-mmap-offset.
24059         * posix/tst-mmap.c: New file.
24060         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
24061         offset calculation for negative values.
24063 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24065         * sysdeps/i386/init-arch.h: New file.
24066         * sysdeps/i386/i586/init-arch.h: Likewise.
24067         * sysdeps/i386/i686/init-arch.h: Likewise.
24068         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
24069         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
24070         * sysdeps/x86/cpu-features.h (bit_I586): New.
24071         (bit_I686): Likewise.
24072         (bit_CX8): Likewise.
24073         (bit_CMOV): Likewise.
24074         (index_CX8): Likewise.
24075         (index_CMOV): Likewise.
24076         (index_I586): Likewise.
24077         (index_I686): Likewise.
24078         (reg_CX8): Likewise.
24079         (reg_CMOV): Likewise.
24080         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
24081         available at compile-time.
24082         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
24083         available at compile-time.
24084         * sysdeps/x86/init-arch.h (USE_I586): New macro.
24085         (USE_I686): Likewise.
24087 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24089         * sysdeps/i386/bcopy.S: New file.
24090         * sysdeps/i386/bzero.S: Likewise.
24091         * sysdeps/i386/memcpy.S: Likewise.
24092         * sysdeps/i386/memmove.S: Likewise.
24093         * sysdeps/i386/mempcpy.S: Likewise.
24094         * sysdeps/i386/memset.S: Likewise.
24095         * sysdeps/i386/bzero.c: Removed.
24096         * sysdeps/i386/memset.c: Likewise.
24097         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
24098         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
24099         * sysdeps/i386/i586/memset_chk.S: Likewise.
24100         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
24101         * sysdeps/i386/memcpy_chk.S: Here.
24102         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
24103         * sysdeps/i386/memmove_chk.S: Here.
24104         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
24105         * sysdeps/i386/mempcpy_chk.S: Likewise.
24106         * sysdeps/i386/i686/memset_chk.S: Moved to ...
24107         * sysdeps/i386/memset_chk.S: Likewise.
24109 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
24111         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
24112         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
24113         file, move DIAG_POP_NEEDS_COMMENT to end of file.
24114         * soft-fp/fmadf4.c: Ditto.
24115         * soft-fp/fmatf4.c: Ditto.
24117 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24119         * sysdeps/i386/i586/Implies: Removed.
24120         * sysdeps/i386/i686/Implies: Likewise.
24122 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24124         * sysdeps/i386/i486/strlen.S: Moved to ...
24125         * sysdeps/i386/strlen.S: Here.
24127 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24129         * sysdeps/i386/i486/strcat.S: Moved to ...
24130         * sysdeps/i386/strcat.S: Here.
24132 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24134         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
24135         * sysdeps/i386/pthread_spin_trylock.S: Here.
24136         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
24137         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
24139 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24141         * sysdeps/i386/i486/string-inlines.c: Moved to ...
24142         * sysdeps/i386/string-inlines.c: Here.
24144 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24146         * sysdeps/i386/i486/htonl.S: Moved ...
24147         * sysdeps/i386/htonl.S: here.
24149 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24151         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
24152         * sysdeps/i386/bits/atomic.h: Here.
24154 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24156         * sysdeps/i386/i486/Versions: Removed.
24158 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24160         [BZ #2898]
24161         * misc/mktemp.c: Add mkdtemp to the link_warning message.
24162         Based on patch by Aurelien Jarno.
24164 2015-08-26  Stan Shebs  <stanshebs@google.com>
24166         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
24167         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24169 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24171         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
24172         * sysdeps/powerpc/dl-procinfo.c:
24173         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
24174         feature so it shows when LD_SHOW_AUXV=1.
24176 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24178         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24179         (__arch_compare_and_exchange_val_32_acq): Remove and use common
24180         definition.  ISA 2.07B no longer requires full sync.
24182 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
24184         [BZ #18863]
24185         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
24186         (si_call_addr): Define.
24187         (si_syscall): Define.
24188         (si_arch): Define.
24190 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
24192         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
24193         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
24194         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
24195         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24196         (__memset_zero_constant_len_parameter): New.
24197         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
24198         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24199         (__memset_zero_constant_len_parameter): Don't define if
24200         __memset_chk or USE_AS_BZERO are defined.
24202         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
24203         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
24204         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
24206         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
24207         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
24208         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
24209         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
24210         comments.
24211         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
24212         -mno-mmx for $(all-rtld-routines).
24213         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
24214         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
24215         i386.
24217 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24219         * sysdeps/generic/unwind.h
24220         (_Unwind_Word): Use __mode__(__unwind_word__)
24221         instead of __mode__(__word__).
24222         (_Unwind_Sword): Likewise.
24224         * sysdeps/s390/s390-64/utf8-utf16-z9.c
24225         (MAX_NEEDED_INPUT): New define.
24226         (MAX_NEEDED_OUTPUT): New define.
24228         * NEWS: New item for IBM z13 string optimizations.
24230         * sysdeps/s390/multiarch/memrchr-c.c: New File.
24231         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
24232         * sysdeps/s390/multiarch/memrchr.c: Likewise.
24233         * sysdeps/s390/multiarch/Makefile
24234         (sysdep_routines): Add memrchr functions.
24235         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24236         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
24238         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
24239         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
24240         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
24241         * sysdeps/s390/multiarch/Makefile
24242         (sysdep_routines): Add wmemcmp functions.
24243         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24244         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
24245         * benchtests/bench-wmemcmp.c: New File.
24246         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
24248         * sysdeps/s390/multiarch/wmemset-c.c: New File.
24249         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
24250         * sysdeps/s390/multiarch/wmemset.c: Likewise.
24251         * sysdeps/s390/multiarch/Makefile
24252         (sysdep_routines): Add wmemset functions.
24253         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24254         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
24255         * wcsmbs/wmemset.c: Use WMEMSET if defined.
24256         * string/test-memset.c: Add wmemset support.
24257         * wcsmbs/test-wmemset.c: New File.
24258         * wcsmbs/Makefile (strop-tests): Add wmemset.
24259         * benchtests/bench-memset.c: Add wmemset support.
24260         * benchtests/bench-wmemset.c: New File.
24261         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
24263         * sysdeps/s390/multiarch/memccpy-c.c: New File.
24264         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
24265         * sysdeps/s390/multiarch/memccpy.c: Likewise.
24266         * sysdeps/s390/multiarch/Makefile
24267         (sysdep_routines): Add memccpy functions.
24268         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24269         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
24270         * string/memccpy.c: Use MEMCCPY if defined.
24272         * sysdeps/s390/multiarch/memchr-vx.S: New File.
24273         * sysdeps/s390/multiarch/memchr.c: Likewise.
24274         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
24275         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
24276         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
24277         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
24278         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
24279         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
24280         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
24281         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
24282         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
24283         and rawmemchr functions.
24284         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24285         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
24286         and wmemchr.
24287         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
24288         * string/test-memchr.c: Add wmemchr support.
24289         * wcsmbs/test-wmemchr.c: New File.
24290         * wcsmbs/Makefile (strop-tests): Add wmemchr.
24291         * benchtests/bench-memchr.c: Add wmemchr support.
24292         * benchtests/bench-wmemchr.c: New File.
24293         * benchtests/Makefile (wcsmbs-bench): wmemchr.
24295         * sysdeps/s390/multiarch/strcspn-c.c: New File.
24296         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
24297         * sysdeps/s390/multiarch/strcspn.c: Likewise.
24298         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
24299         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
24300         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
24301         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
24302         wcscspn functions.
24303         * sysdeps/s390/multiarch/ifunc-impl-list.c
24304         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
24305         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
24306         * string/test-strcspn.c: Add wcscspn support.
24307         * wcsmbs/test-wcscspn.c: New File.
24308         * wcsmbs/Makefile (strop-tests): Add wcscspn.
24309         * benchtests/bench-strcspn.c: Add wcscspn support.
24310         * benchtests/bench-wcscspn.c: New File.
24311         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
24313         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
24314         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
24315         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
24316         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
24317         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
24318         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
24319         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
24320         wcspbrk functions.
24321         * sysdeps/s390/multiarch/ifunc-impl-list.c
24322         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
24323         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
24324         * string/test-strpbrk.c: Add wcspbrk support.
24325         * wcsmbs/test-wcspbrk.c: New File.
24326         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
24327         * benchtests/bench-strpbrk.c: Add wcspbrk support.
24328         * benchtests/bench-wcspbrk.c: New File.
24329         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
24331         * sysdeps/s390/multiarch/strspn-c.c: New File.
24332         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
24333         * sysdeps/s390/multiarch/strspn.c: Likewise.
24334         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
24335         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
24336         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
24337         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
24338         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
24339         wcsspn functions.
24340         * sysdeps/s390/multiarch/ifunc-impl-list.c
24341         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
24342         * string/test-strspn.c: Add wcsspn support.
24343         * wcsmbs/test-wcsspn.c: New File.
24344         * wcsmbs/Makefile (strop-tests): Add wcsspn.
24345         * benchtests/bench-strspn.c: Add wcsspn support.
24346         * benchtests/bench-wcsspn.c: New File.
24347         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
24349         * sysdeps/s390/multiarch/strrchr-c.c: New File.
24350         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
24351         * sysdeps/s390/multiarch/strrchr.c: Likewise.
24352         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
24353         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
24354         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
24355         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
24356         wcsrchr functions.
24357         * sysdeps/s390/multiarch/ifunc-impl-list.c
24358         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
24359         * benchtests/bench-wcsrchr.c: New File.
24360         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
24362         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
24363         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
24364         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
24365         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
24366         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
24367         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
24368         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
24369         wcschrnul functions.
24370         * sysdeps/s390/multiarch/ifunc-impl-list.c
24371         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
24372         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
24373         * string/test-strchr.c: Add wcschrnul support.
24374         * wcsmbs/test-wcschrnul.c: New File.
24375         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
24376         * benchtests/bench-strchr.c: Add wcschrnul support.
24377         * benchtests/bench-wcschrnul.c: New File.
24378         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
24380         * sysdeps/s390/multiarch/strchr-c.c: New File.
24381         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
24382         * sysdeps/s390/multiarch/strchr.c: Likewise.
24383         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
24384         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
24385         * sysdeps/s390/multiarch/wcschr.c: Likewise.
24386         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
24387         wcschr functions.
24388         * sysdeps/s390/multiarch/ifunc-impl-list.c
24389         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
24390         * string/strchr.c (STRCHR): Define and use macro.
24391         * benchtests/bench-wcschr.c: New File.
24392         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
24394         * sysdeps/s390/multiarch/strncmp-c.c: New File.
24395         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
24396         * sysdeps/s390/multiarch/strncmp.c: Likewise.
24397         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
24398         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
24399         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
24400         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
24401         wcsncmp functions.
24402         * sysdeps/s390/multiarch/ifunc-impl-list.c
24403         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
24404         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
24405         * benchtests/bench-strncmp.c: Add wcsncmp support.
24406         * benchtests/bench-wcsncmp.c: New File.
24407         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
24409         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
24410         * sysdeps/s390/multiarch/strcmp.c: Likewise.
24411         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
24412         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
24413         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
24414         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
24415         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
24416         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
24417         wcscmp functions.
24418         * sysdeps/s390/multiarch/ifunc-impl-list.c
24419         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
24420         * string/strcmp.c (STRCMP): Define and use macro.
24421         * benchtests/bench-wcscmp.c: New File.
24422         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
24423         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
24424         instead of _HAVE_STRING_ARCH_memchr.
24426         * sysdeps/s390/multiarch/strncat-c.c: New File.
24427         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
24428         * sysdeps/s390/multiarch/strncat.c: Likewise.
24429         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
24430         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
24431         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
24432         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
24433         wcsncat functions.
24434         * sysdeps/s390/multiarch/ifunc-impl-list.c
24435         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
24436         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
24437         * string/test-strncat.c: Add wcsncat support.
24438         * wcsmbs/test-wcsncat.c: New File.
24439         * wcsmbs/Makefile (strop-tests): Add wcsncat.
24440         * benchtests/bench-strncat.c: Add wcsncat support.
24441         * benchtests/bench-wcsncat.c: New File.
24442         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
24444         * sysdeps/s390/multiarch/strcat-c.c: New File.
24445         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
24446         * sysdeps/s390/multiarch/strcat.c: Likewise.
24447         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
24448         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
24449         * sysdeps/s390/multiarch/wcscat.c: Likewise.
24450         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
24451         wcscat functions.
24452         * sysdeps/s390/multiarch/ifunc-impl-list.c
24453         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
24454         * string/strcat.c (STRCAT): Define and use macro.
24455         * wcsmbs/wcscat.c: Use WCSCAT if defined.
24456         * string/test-strcat.c: Add wcscat support.
24457         * wcsmbs/test-wcscat.c: New File.
24458         * wcsmbs/Makefile (strop-tests): Add wcscat.
24459         * benchtests/bench-strcat.c: Add wcscat support.
24460         * benchtests/bench-wcscat.c: New File.
24461         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
24463         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
24464         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
24465         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
24466         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
24467         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
24468         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
24469         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
24470         wcpncpy functions.
24471         * sysdeps/s390/multiarch/ifunc-impl-list.c
24472         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
24473         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
24474         * string/test-stpncpy.c: Add wcpncpy support.
24475         * wcsmbs/test-wcpncpy.c: New File.
24476         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
24477         * benchtests/bench-stpncpy.c: Add wcpncpy support.
24478         * benchtests/bench-wcpncpy.c: New File.
24479         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
24481         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
24482         * sysdeps/s390/multiarch/strncpy.c: Likewise.
24483         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
24484         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
24485         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
24486         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
24487         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
24488         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
24489         wcsncpy functions.
24490         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
24491         * sysdeps/s390/multiarch/ifunc-impl-list.c
24492         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
24493         * string/test-strncpy.c: Add wcsncpy support.
24494         * wcsmbs/test-wcsncpy.c: New File.
24495         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
24496         * benchtests/bench-strncpy.c: Add wcsncpy support.
24497         * benchtests/bench-wcsncpy.c: New File.
24498         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
24500         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
24501         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
24502         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
24503         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
24504         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
24505         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
24506         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
24507         wcpcpy functions.
24508         * string/stpcpy.c: Use STPCPY if defined.
24509         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
24510         * sysdeps/s390/multiarch/ifunc-impl-list.c
24511         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
24512         * string/test-stpcpy.c: Add wcpcpy support.
24513         * wcsmbs/test-wcpcpy.c: New File.
24514         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
24515         * benchtests/bench-stpcpy.c: Add wcpcpy support.
24516         * benchtests/bench-wcpcpy.c: New File.
24517         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
24519         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
24520         * sysdeps/s390/multiarch/strcpy.c: Likewise.
24521         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
24522         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
24523         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
24524         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
24525         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
24526         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
24527         wcscpy functions.
24528         * sysdeps/s390/multiarch/ifunc-impl-list.c
24529         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
24530         * benchtests/bench-wcscpy.c: New File.
24531         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
24533         * sysdeps/s390/multiarch/strnlen-c.c: New File.
24534         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
24535         * sysdeps/s390/multiarch/strnlen.c: Likewise.
24536         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
24537         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
24538         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
24539         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
24540         wcsnlen functions.
24541         * sysdeps/s390/multiarch/ifunc-impl-list.c
24542         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
24543         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
24544         * string/test-strnlen.c: Add wcsnlen support.
24545         * wcsmbs/test-wcsnlen.c: New File.
24546         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
24547         * benchtests/bench-strnlen.c: Add wcsnlen support.
24548         * benchtests/bench-wcsnlen.c: New File.
24549         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
24551         * sysdeps/s390/multiarch/Makefile: New File.
24552         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
24553         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
24554         * sysdeps/s390/multiarch/strlen.c: Likewise.
24555         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
24556         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
24557         * sysdeps/s390/multiarch/wcslen.c: Likewise.
24558         * string/strlen.c (STRLEN): Define and use macro.
24559         * sysdeps/s390/multiarch/ifunc-impl-list.c
24560         (IFUNC_VX_IMPL): New macro function.
24561         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
24562         * benchtests/Makefile (wcsmbs-bench): New variable.
24563         (string-bench-all): Added wcsmbs-bench.
24564         * benchtests/bench-wcslen.c: New File.
24566         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
24567         s390_vx_libc_ifunc2): New macro function.
24569         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
24570         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
24571         assembler support.
24572         * sysdeps/s390/configure: Regenerated.
24574         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
24575         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
24577         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
24578         * sysdeps/s390/dl-procinfo.h: Add vector capability.
24579         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
24581         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
24582         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
24583         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
24584         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
24585         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
24586         (memcmp, bcmp): Use __memcmp_default as alias source.
24587         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
24588         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
24589         Rename to __memcmp_default.
24590         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
24591         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
24592         (memcpy): Use __memcpy_default as alias source.
24593         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
24594         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
24595         Rename to __memcpy_default.
24596         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
24597         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
24598         (memset): Use __memset_default as alias source.
24599         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
24600         * sysdeps/s390/s390-32/memset.S (__memset_g5):
24601         Rename to __memset_default.
24602         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
24603         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
24604         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
24605         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
24606         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
24607         (memcmp, bcmp): Use __memcmp_default as alias source.
24608         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
24609         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
24610         Rename to __memcmp_default.
24611         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
24612         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
24613         (memcpy): Use __memcpy_default as alias source.
24614         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
24615         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
24616         Rename to __memcpy_default.
24617         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
24618         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
24619         (memset): Use __memset_default as alias source.
24620         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
24621         * sysdeps/s390/s390-64/memset.S (__memset_z900):
24622         Rename to __memset_default.
24623         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
24624         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
24626         [BZ #18610]
24627         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
24628         __ieee_instruction_pointer to __unused.
24629         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
24630         __ieee_instruction_pointer.
24631         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
24632         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
24633         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24634         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24635         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
24636         Mark dxc-field as reserved.
24638 2015-08-25  Roland McGrath  <roland@hack.frob.com>
24640         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
24641         if the weak reference is not null.
24643 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24645         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
24647         [BZ #11214]
24648         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
24650 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24652         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
24653         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
24654         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
24655         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
24656         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
24657         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
24658         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
24659         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
24660         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
24661         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
24662         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
24663         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
24664         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
24665         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
24666         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
24667         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
24668         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
24669         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
24671 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24673         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
24674         register other than r0 for tabort, it has special meaning.
24675         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
24676         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
24677         transaction before starting syscall.
24679 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24681         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
24683 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24685         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
24687         * sysdeps/x86_64/rtld-memcmp.c: Removed.
24688         * sysdeps/x86_64/rtld-memset.S: Likewise.
24689         * sysdeps/x86_64/rtld-strchr.S: Likewise.
24690         * sysdeps/x86_64/rtld-strlen.S: Likewise.
24691         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
24692         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
24694         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
24696 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
24698         * debug/strcpy_chk.c: Improve performance.
24699         * debug/stpcpy_chk.c: Likewise.
24700         * sysdeps/x86_64/strcpy_chk.S: Remove.
24701         * sysdeps/x86_64/stpcpy_chk.S: Remove.
24703         [BZ #18240]
24704         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
24706 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24708         [BZ #15128]
24709         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
24710         ifuncmain8.
24711         (modules-names): Add ifuncmod8.
24712         ($(objpfx)ifuncmain8): New rule.
24713         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
24714         <cpuid.h>.
24715         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
24716         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
24717         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
24718         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
24719         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
24720         * sysdeps/x86_64/dl-trampoline.h: Likewise.
24721         * sysdeps/x86_64/ifuncmain8.c: New file.
24722         * sysdeps/x86_64/ifuncmod8.c: Likewise.
24723         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
24724         Removed.
24725         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
24726         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
24727         Change rtld_savespace_sse to __glibc_unused2.
24728         (RTLD_CHECK_FOREIGN_CALL): Removed.
24729         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
24730         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
24731         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
24733 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
24735         * sysdeps/aarch64/bzero.S (__bzero): Remove.
24737 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
24739         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
24740         Unconditionally set __fpcr to avoid uninialized warning.
24741         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
24743 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24745         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
24746         is corrupt.
24748         * malloc/arena.c (arena_get2): Drop unused argument.
24749         (arena_lock): Adjust.
24750         (arena_get_retry): Likewise.
24752 2015-08-24  Andreas Schwab  <schwab@suse.de>
24754         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
24755         Don't define.
24756         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24757         (__ASSUME_IPC64): Don't undef.
24758         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
24759         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24760         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24761         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
24762         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
24763         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
24764         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
24765         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
24766         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
24767         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
24768         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
24769         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
24770         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
24771         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
24772         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
24773         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
24774         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
24775         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
24776         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
24777         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
24778         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
24780 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
24782         * manual/Makefile (install): Only build manual when perl is available.
24784 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24786         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
24787         '#undef memcpy' by '#undef memchr'.
24789 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24791         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
24792         memchr not point to the internal __GI_memchr implementation.
24794 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
24796         * timezone/Makefile (CFLAGS-zdump.c): Remove
24797         -Wno-strict-prototypes.
24798         (CFLAGS-zic.c): Likewise.
24799         (CFLAGS-ialloc.c): Likewise.
24800         (CFLAGS-scheck.c): Likewise.
24802         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
24803         -Wno-error=undef.
24805 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24807         * i386/i686/multiarch/strcasestr-c.c: Removed.
24808         * x86_64/multiarch/strcasestr.c: Likewise.
24809         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24810         Remove strcasestr.
24812 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
24814         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
24816         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
24817         variables for high and low parts before possibly modifying them.
24819 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24821         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
24822         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
24823         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
24824         of "multiarch/init-arch.h".
24825         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
24826         * sysdeps/x86/init-arch.h: This.
24828 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24830         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
24831         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
24833 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
24835         [BZ #17787]
24836         * manual/macros.texi: Add twoexp macro.
24837         * manual/filesys.texi: Fix exponents.
24838         * manual/llio.texi: Likewise.
24839         * manual/stdio.texi: Likewise.
24841 2015-08-20  Florian Weimer  <fweimer@redhat.com>
24843         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
24844         incorrect use.
24846 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
24848         [BZ #18370]
24849         * math/s_csqrt.c (__csqrt): Force underflow exception for results
24850         whose real or imaginary part has small absolute value.
24851         * math/s_csqrtf.c (__csqrtf): Likewise.
24852         * math/s_csqrtl.c (__csqrtl): Likewise.
24853         * math/auto-libm-test-in: Add more tests of csqrt.
24854         * math/auto-libm-test-out: Regenerated.
24855         * sysdeps/i386/fpu/libm-test-ulps: Update.
24857 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24859         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
24860         __ppc_set_ppr_very_low): New functions.
24861         * manual/platform.texi: Add documentation about
24862         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
24864 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
24866         * string/stpncpy.c (stpncpy): Improve performance using
24867         __strnlen/memcpy/memset.
24869 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24871         [BZ #18796]
24872         * scripts/test-installation.pl: Don't add -lmvec to build options if
24873         libmvec wasn't built.
24875 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24877         [BZ #14341]
24878         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
24879         case when there is a gap between DT_REL and DT_JMPREL sections.
24880         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
24881         (LDFLAGS-tst-split-dynreloc): New.
24882         (tst-split-dynreloc-ENV): Likewise.
24883         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
24884         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
24886 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24888         [BZ #18822]
24889         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
24890         attribute_hidden.
24891         (__xstat64_conv): Likewise.
24892         (__xstat32_conv): Likewise.
24894 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24896         [BZ #18822]
24897         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
24898         Don't load %ebx when calling __setcontext.  Call __setcontext
24899         with HIDDEN_JUMPTARGET.
24900         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
24901         libc_hidden_def.
24903 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24905         * sysdeps/i386/i686/Makefile
24906         [$(subdir) == string] (sysdep_routines): Moved to ...
24907         * sysdeps/i386/Makefile: Here.
24908         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
24909         * sysdeps/i386/cacheinfo.c: Here.
24910         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
24911         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
24912         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
24913         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
24915 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
24917         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
24918         __i586__ is defined.
24919         (HAS_I686): Defined to 1 if __i686__ is defined.
24921 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
24923         * elf/Makefile [$(have-z-execstack) = yes]
24924         (CPPFLAGS-tst-execstack.c): New variable.
24926         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
24927         conditional to [defined UTMPX || _HAVE_UT_TYPE].
24928         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
24929         UTMPX || _HAVE_UT_TV].
24930         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
24931         UTMPX || _HAVE_UT_TV - 0].
24933 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
24935         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
24936         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
24937         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
24939 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24941         * sysdeps/powerpc/dl-procinfo.c:
24942         (_dl_powerpc_cap_flags): Added missing strings for some
24943         hwcap features.
24944         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
24946 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
24948         Port the 0x7efe...feff pattern to GCC 6.
24949         See Steve Ellcey's bug report in:
24950         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
24951         * string/memrchr.c (MEMRCHR):
24952         * string/rawmemchr.c (RAWMEMCHR):
24953         * string/strchr.c (strchr):
24954         * string/strchrnul.c (STRCHRNUL):
24955         Rewrite code to avoid issues with signed shift overflow.
24957 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
24959         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
24960         whether cpuid is available only if HAS_CPUID is 0.
24961         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
24962         (HAS_I586): Likewise.
24963         (HAS_I686): Likewise.
24965 2015-08-18  Zack Weinberg  <zackw@panix.com>
24967         * misc/Versions (libc): Add GLIBC_2.23.
24969 2015-08-18  Alan Modra  <amodra@gmail.com>
24971         [BZ #18421]
24972         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
24973         .Lp__global.
24974         (_start): Load %dp via .Lp__global.
24975         [!SHARED]: Use .section .rodata.
24977 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24979         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
24980         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
24982 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24984         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
24985         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
24987 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24989         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
24990         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
24992 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24994         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
24995         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
24997 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
24999         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
25000         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
25002 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25004         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
25005         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
25007 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25009         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
25011 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25013         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
25014         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
25015         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25016         (__ASSUME_LWS_CAS): Delete.
25018 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25020         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
25021         * sysdeps/hppa/configure: Regenerated.
25022         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
25023         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
25024         * sysdeps/hppa/nptl/tls.h: Likewise.
25026 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
25028         [BZ #18823]
25029         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
25030         for scaling up small arguments.
25031         * math/s_csqrtf.c (__csqrtf): Likewise.
25032         * math/s_csqrtl.c (__csqrtl): Likewise.
25033         * math/auto-libm-test-in: Add more tests of csqrt.
25034         * math/auto-libm-test-out: Regenerated.
25036 2015-08-17  Andreas Schwab  <schwab@suse.de>
25038         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
25039         version set GLIBC_2.19.
25041 2015-08-16  Zack Weinberg  <zackw@panix.com>
25043         [BZ #18681]
25044         * misc/regexp.h: This interface is no longer supported.
25045         Remove all contents, leaving only an #error directive.
25046         * misc/regexp.c (loc1, loc2, locs, step, advance):
25047         Demote to compatibility symbols.
25049 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
25051         [BZ #18084]
25052         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
25053         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
25054         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
25055         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
25056         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
25057         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
25058         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
25059         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
25060         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
25062 2015-08-15  Zack Weinberg  <zackw@panix.com>
25064         [BZ #18795]
25065         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
25066         buffer length is known to be too large, not if it's known to be
25067         small enough.
25068         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
25069         overflow at runtime, involving a length parameter, twice: once
25070         with a compile-time constant length parameter, once without.
25072 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
25074         [BZ #18824]
25075         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
25076         scaling x * y up instead of down.
25077         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25078         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25079         * math/auto-libm-test-in: Add more tests of fma.
25080         * math/auto-libm-test-out: Regenerated.
25082 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25084         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25086 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25088         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
25089         unnecessary movq.
25090         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
25091         Likewise.
25093 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
25095         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25096         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
25097         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
25098         and tgamma.
25099         * math/auto-libm-test-out: Regenerated.
25100         * sysdeps/i386/fpu/libm-test-ulps: Update.
25101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25103         [BZ #16520]
25104         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
25105         (__tanh): Force underflow exception for arguments with small
25106         absolute value.
25107         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
25108         (__tanhf): Force underflow exception for arguments with small
25109         absolute value.
25110         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
25111         (__tanhl): Force underflow exception for arguments with small
25112         absolute value.
25113         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
25114         (__tanhl): Force underflow exception for arguments with small
25115         absolute value.
25116         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
25117         (__tanhl): Force underflow exception for arguments with small
25118         absolute value.
25119         * math/auto-libm-test-in: Add more tests of tanh.
25120         * math/auto-libm-test-out: Regenerated.
25121         * sysdeps/i386/fpu/libm-test-ulps: Update.
25123 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25125         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
25126         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
25128 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25130         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
25131         <cpuid.h>.
25133 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25135         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
25136         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
25138 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25140         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
25141         Remove $(objpfx)init-arch.o.
25142         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
25143         init-arch.
25144         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
25145         (INIT_ARCH_EXT): Defined as empty.
25146         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
25147         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
25148         __init_cpu_features call.  Replace HAS_XXX with
25149         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25150         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
25151         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
25152         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
25153         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
25154         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25155         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
25156         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
25157         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25158         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
25159         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
25160         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25161         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
25162         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
25163         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25164         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
25165         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
25166         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25167         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25168         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
25169         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
25170         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25171         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
25172         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
25173         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25174         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
25175         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
25176         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25177         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
25178         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
25179         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25180         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
25181         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
25182         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25183         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
25184         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
25186 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25188         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
25189         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25190         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25191         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25192         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
25193         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
25194         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
25195         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
25196         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
25197         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
25198         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
25199         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
25200         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25201         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25202         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25203         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25204         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25205         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25206         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25207         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25208         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25209         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25210         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25211         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25212         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25213         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25214         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25215         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25216         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25217         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25218         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25219         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25220         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25221         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25222         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25223         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25224         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25225         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25226         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25227         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25228         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25229         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25230         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25232 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25234         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
25235         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25236         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25237         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25238         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25239         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
25240         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25241         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
25242         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25243         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25244         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25245         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
25246         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
25247         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
25248         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
25249         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
25250         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
25251         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
25252         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
25253         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
25254         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
25255         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
25256         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
25257         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25258         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25259         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
25260         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
25261         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
25262         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25263         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25264         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25265         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25266         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25267         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25268         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25269         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25270         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25271         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25272         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25273         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25274         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25275         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25276         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25278 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25280         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
25281         (dl_platform_init): Call init_cpu_features.
25282         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
25283         * sysdeps/i386/i686/cacheinfo.c
25284         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
25285         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
25286         * sysdeps/i386/i686/multiarch/Versions: Removed.
25287         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
25288         Removed.
25289         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
25290         * sysdeps/unix/sysv/linux/x86/Makefile
25291         (libpthread-sysdep_routines): Remove init-arch.
25292         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
25293         <sysdeps/x86_64/dl-procinfo.c> instead of
25294         sysdeps/generic/dl-procinfo.c>.
25295         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
25296         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
25297         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
25298         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
25299         [$(subdir) == elf] (tests-static): Add
25300         tst-get-cpu-features-static.
25301         * sysdeps/x86/Versions: New file.
25302         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
25303         * sysdeps/x86/cpu-features.c: Likewise.
25304         * sysdeps/x86/cpu-features.h: Likewise.
25305         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
25306         * sysdeps/x86/libc-start.c: Likewise.
25307         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
25308         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
25309         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
25310         * sysdeps/x86_64/dl-procinfo.c: Likewise.
25311         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
25312         Assume USE_MULTIARCH is defined and don't check it.
25313         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
25314         (is_amd): Likewise.
25315         (max_cpuid): Likewise.
25316         (intel_check_word): Likewise.
25317         (__cache_sysconf): Don't call __init_cpu_features.
25318         (__x86_preferred_memory_instruction): Removed.
25319         (init_cacheinfo): Don't call __init_cpu_features. Replace
25320         __cpu_features with GLRO(dl_x86_cpu_features).
25321         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
25322         (dl_platform_init): Call init_cpu_features.
25323         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
25324         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
25325         * sysdeps/x86_64/multiarch/Versions: Removed.
25326         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
25327         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
25328         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
25329         Removed.
25330         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
25332 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25334         [BZ #18820]
25335         * libio/Makefile (test-fmemopen-mem): New test.
25336         * libio/test-fmemopen.c (do_bz18820): New test.
25337         * libio/fmemopen.c (__fmemopen): Fix memory leak.
25338         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
25340 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25342         [BZ #16734]
25343         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
25344         (FREE_BUF): Delete.
25345         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
25346         * libio/genops.c (_IO_setb): Use malloc and free directly.
25347         (_IO_default_doallocate, _IO_default_finish): Likewise.
25348         ( _IO_unbuffer_all): Likewise.
25349         ( libc_freeres_fn): Likewise.
25350         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25351         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25352         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
25353         (_IO_wdefault_doallocate): Likewise.
25355 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25357         [BZ #18086]
25358         * sysdeps/posix/nice.c (nice): Restore old errno.
25359         * posix/tst-nice.c (do_test): Add test for BZ #18086.
25361 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
25363         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
25365 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25367         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
25368         __bcopy and add a weak_alias to bcopy.
25369         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
25370         for static build.
25372         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
25373         cleanup macro usage.
25374         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
25375         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
25376         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25377         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
25378         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25379         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
25380         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
25381         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25382         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25383         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
25384         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25385         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
25386         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25387         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
25388         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25389         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
25390         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
25391         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
25392         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25394         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
25395         libc_hidden_def.
25396         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
25398         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
25399         (sysdep_routines): Add strstr-ppc64.
25400         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
25402 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
25404         [BZ #18778]
25405         * elf/Makefile (tests): Add Add tst-nodelete2.
25406         (modules-names): Add tst-nodelete2mod.
25407         (tst-nodelete2mod.so-no-z-defs): New.
25408         ($(objpfx)tst-nodelete2): Likewise.
25409         ($(objpfx)tst-nodelete2.out): Likewise.
25410         (LDFLAGS-tst-nodelete2): Likewise.
25411         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
25412         out of loop through all loaded libraries.
25413         * elf/tst-nodelete2.c: New file.
25414         * elf/tst-nodelete2mod.c: Likewise.
25415         * elf/tst-znodelete-zlib.cc: Delete.
25417 2015-08-11  Andreas Schwab  <schwab@suse.de>
25419         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
25420         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
25421         (__openat64_nocancel): Likewise.
25423 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
25425         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
25426         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
25427         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
25428         * math/auto-libm-test-out: Regenerated.
25429         * sysdeps/i386/fpu/libm-test-ulps: Update.
25430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25432 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25434         [BZ #18790]
25435         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
25436         threshold for returning +/- 1.
25437         * math/auto-libm-test-in: Add more tests of tanh.
25438         * math/auto-libm-test-out: Regenerated.
25439         * sysdeps/i386/fpu/libm-test-ulps: Update.
25441 2015-08-10  Andreas Schwab  <schwab@suse.de>
25443         [BZ #18781]
25444         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
25445         MORE_OFLAGS to oflag.
25446         * io/test-lfs.c (do_test): Test openat64.
25448 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25450         [BZ #18789]
25451         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
25452         smaller threshold for returning the argument.
25453         * math/auto-libm-test-in: Add more tests of sinh.
25454         * math/auto-libm-test-out: Regenerated.
25455         * sysdeps/i386/fpu/libm-test-ulps: Update.
25457 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
25459         [BZ #18674]
25460         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
25461         break.
25463 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
25465         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
25466         (generated): Don't add $(addprefix z.,$(tzfiles)).
25468 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25470         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
25471         * scripts/sysd-rules.awk: Likewise.
25473 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25475         * iconvdata/tst-tables.sh: Change echo -n to printf.
25476         * nss/db-Makefile: Likewise.
25477         * posix/tst-getconf.sh: Likewise.
25478         * stdio-common/tst-unbputc.sh: Likewise.
25480 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25482         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
25483         MADV_*_PAGES defines behind this feature check.
25485 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
25487         [BZ #18480]
25488         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
25489         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
25490         Define.
25491         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
25492         LOAD_REGS_5, LOAD_REGS_6): Update.
25493         (INTERNAL_SYSCALL): Update using new LOAD defines.
25494         (INTERNAL_SYSCALL_NCS): Likewise.
25495         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
25497 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25499         [BZ #16734]
25500         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
25502 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25504         [BZ #17905]
25505         * catgets/Makefile (tst-catgets-mem): New test.
25506         * catgets/catgets.c (catopen): Don't use unbounded alloca.
25507         * catgets/open_catalog.c (__open_catalog): Likewise.
25508         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
25510 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
25512         [BZ #18787]
25513         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
25514         clobber registers.
25515         (atomic_compare_and_exchange_val_acq): Use register asms to assign
25516         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
25517         Cast return to __typeof (oldval).
25519 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
25521         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
25522         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
25523         and delete sys/syscall.h include.
25525 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
25527         [BZ #16517]
25528         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
25529         (tan): Force underflow exception for arguments with small absolute
25530         value.
25531         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
25532         (__kernel_tanf): Force underflow exception for arguments with
25533         small absolute value.
25534         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
25535         (__kernel_tanl): Force underflow exception for arguments with
25536         small absolute value.
25537         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
25538         (__kernel_tanl): Force underflow exception for arguments with
25539         small absolute value.
25540         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
25541         (__kernel_tanl): Force underflow exception for arguments with
25542         small absolute value.
25543         * math/auto-libm-test-in: Add more tests of tan.
25544         * math/auto-libm-test-out: Regenerated.
25546 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25548         Fix sysdeps/i386/fpu/s_scalbn.S build
25550         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
25552 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
25554         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
25556 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25558         Fix gcrt0.o compilation
25560         When static-start-installed-name is different from
25561         start-installed-name, we must not use the shared objects.
25563         * csu/Makefile
25564         (extra-objs): Add gmon-start.o when building shared library and
25565         $(static-start-installed-name) is different from
25566         $(start-installed-name).
25567         $(objpfx)g$(static-start-installed-name): When building shared
25568         library and $(static-start-installed-name) is different from
25569         $(static-start-installed-name), revert to non-shared rule,
25570         i.e. using $(objpfx)% and gmon-start.o.
25572 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
25574         [BZ #16519]
25575         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
25576         (__ieee754_sinh): Force underflow exception for arguments with
25577         small absolute value.
25578         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
25579         (__ieee754_sinhf): Force underflow exception for arguments with
25580         small absolute value.
25581         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
25582         (__ieee754_sinhl): Force underflow exception for arguments with
25583         small absolute value.
25584         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
25585         (__ieee754_sinhl): Force underflow exception for arguments with
25586         small absolute value.
25587         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
25588         (__ieee754_sinhl): Force underflow exception for arguments with
25589         small absolute value.
25590         * math/auto-libm-test-in: Add more tests of sinh.
25591         * math/auto-libm-test-out: Regenerated.
25592         * sysdeps/i386/fpu/libm-test-ulps: Update.
25594 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25596         * libio/oldfileops.c: Include unistd.h.
25598 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
25600         * stdlib/isomac.c: Include ctype.h.
25602 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
25604         * dirent/tst-seekdir.c (main): Converted to ...
25605         (do_test): ... this.
25606         (TEST_FUNCTION): New macro.
25607         Include test-skeleton.c.
25608         * elf/tst-dlmodcount.c (main): Converted to ...
25609         (do_test): ... this.
25610         (TEST_FUNCTION): New macro.
25611         Include test-skeleton.c.
25612         * elf/tst-order-main.c (main): Converted to ...
25613         (do_test): ... this.
25614         (TEST_FUNCTION): New macro.
25615         Include test-skeleton.c.
25616         * elf/tst-pie2.c (main): Converted to ...
25617         (do_test): ... this.
25618         (TEST_FUNCTION): New macro.
25619         Include test-skeleton.c.
25620         * inet/tst-ether_aton.c (main): Converted to ...
25621         (do_test): ... this.
25622         (TEST_FUNCTION): New macro.
25623         Include test-skeleton.c.
25624         * misc/tst-mntent.c (main): Converted to ...
25625         (do_test): ... this.
25626         (TEST_FUNCTION): New macro.
25627         Include test-skeleton.c.
25628         * misc/tst-tsearch.c (main): Converted to ...
25629         (do_test): ... this.
25630         (TEST_FUNCTION): New macro.
25631         Include test-skeleton.c.
25632         * posix/tst-regexloc.c (main): Converted to ...
25633         (do_test): ... this.
25634         (TEST_FUNCTION): New macro.
25635         Include test-skeleton.c.
25636         * resolv/tst-aton.c (main): Converted to ...
25637         (do_test): ... this.
25638         (TEST_FUNCTION): New macro.
25639         Include test-skeleton.c.
25640         * stdio-common/test-fwrite.c (main): Converted to ...
25641         (do_test): ... this.
25642         (TEST_FUNCTION): New macro.
25643         Include test-skeleton.c.
25644         * stdio-common/tst-ferror.c (main): Converted to ...
25645         (do_test): ... this.
25646         (TEST_FUNCTION): New macro.
25647         Include test-skeleton.c.
25648         * stdio-common/tst-printf.c (main): Converted to ...
25649         (do_test): ... this.
25650         (TEST_FUNCTION): New macro.
25651         Include test-skeleton.c.
25652         * stdio-common/tst-printfsz.c (main): Converted to ...
25653         (do_test): ... this.
25654         (TEST_FUNCTION): New macro.
25655         Include test-skeleton.c.
25656         * stdlib/tst-strtod.c (main): Converted to ...
25657         (do_test): ... this.
25658         (TEST_FUNCTION): New macro.
25659         Include test-skeleton.c.
25660         * string/tst-strlen.c (main): Converted to ...
25661         (do_test): ... this.
25662         (TEST_FUNCTION): New macro.
25663         Include test-skeleton.c.
25664         * string/tst-svc.c (main): Converted to ...
25665         (do_test): ... this.
25666         (TEST_FUNCTION): New macro.
25667         Include test-skeleton.c.
25668         * time/tst-strptime.c (main): Converted to ...
25669         (do_test): ... this.
25670         (TEST_FUNCTION): New macro.
25671         Include test-skeleton.c.
25672         * timezone/tst-timezone.c (main): Converted to ...
25673         (do_test): ... this.
25674         (TEST_FUNCTION): New macro.
25675         Include test-skeleton.c.
25677 2015-08-05  Zack Weinberg  <zackw@panix.com>
25679         * misc/regexp.h: Update comments.
25681 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
25683         [BZ #18635]
25684         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
25685         before return label.
25687 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25689         [BZ #18661]
25690         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
25691         when calling __errno_location.
25692         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
25693         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
25695 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25697         [BZ #18661]
25698         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
25699         (__lll_timedwait_tid): Align stack to 16 bytes when calling
25700         __gettimeofday.
25702 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25704         [BZ #18661]
25705         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25706         (__start_context): Don't use pop to restore %rdi so that stack
25707         is aligned to 16 bytes when calling __setcontext.
25709 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25711         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
25712         only for libc.
25713         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
25715 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25717         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
25718         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
25719         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
25721 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25723         * string/memccpy.c (memccpy):
25724         Improve performance by using memchr/memcpy/__mempcpy.
25726 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25728         * string/strncpy.c (strncpy):
25729         Improve performance by using __strnlen/memcpy.
25731 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25733         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25734         Optimize to avoid an unnecessary FPCR read.
25736 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25738         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25739         Optimize to reduce FPCR/FPSR accesses.
25741 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25743         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
25744         dead->data[category] != NULL.
25746 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
25748         [BZ #18647]
25749         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
25750         and |x| close to 1, use absolute value of x when computing log.
25751         * math/auto-libm-test-in: Add more tests of pow.
25752         * math/auto-libm-test-out: Regenerated.
25754 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25756         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
25757         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
25758         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
25760 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
25762         [BZ #18525]
25763         * locales/km_KH: Remove timezone definition.
25764         * locales/lo_LA: Likewise.
25765         * locales/my_MM: Likewise.
25766         * locales/nan_TW@latin: Likewise.
25767         * locales/th_TH: Likewise.
25768         * locales/uk_UA: Likewise.
25770 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
25772         [BZ #18265]
25773         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
25774         (wcsncat): Likewise.
25775         (wcscmp): Likewise.
25776         (wcsncmp): Likewise.
25778 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25780         * test-skeleton.c (usage): New function.
25781         (main): Call usage when opt is '?'.
25783 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25785         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
25786         before first use.
25788 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25790         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
25791         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
25792         in there too.
25794 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
25796         * version.h (RELEASE): Set to "development".
25797         (VERSION): Set to "2.22.90"
25799         * version.h (RELEASE): Set to "stable".
25800         (VERSION): Set to "2.22"
25801         * include/features.h (__GLIBC_MINOR__): Set to 22.
25803 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
25805         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
25806         Restructure macro to avoid "value computed is not used" warning.
25807         (atomic_compare_and_exchange_val_acq): Likewise.
25809 2015-08-04  Andreas Schwab  <schwab@suse.de>
25811         [BZ #18635]
25812         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
25813         ret.
25814         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
25816 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
25818         * po/pl.po: Updated translation.
25819         * po/uk.po: Likewise.
25820         * po/fi.po: Likewise.
25821         * po/ko.po: Likewise.
25822         * po/ru.po: Likewise.
25823         * po/vi.po: Likewise.
25825 2015-07-31  Zack Weinberg  <zackw@panix.com>
25827         [BZ #18681]
25828         * regexp.h: Add unconditional #warning stating that this header
25829         will be removed soon.  Revise banner comment to match.
25830         (compile): Consistently use ERROR instead of RETURN to report
25831         errors (partial fix for bz#18681).
25832         * regexp.c: Don't include regexp.h. Remove some unnecessary
25833         declarations.
25835 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
25837         * po/libc.pot: Regenerated.
25839 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25841         [BZ #18740]
25842         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
25843         float-vlen4-arch-ext-cflags): Removed.
25844         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
25845         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
25847 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25849         [BZ #14113]
25850         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
25851         aligned to __aligned__.
25852         (pthread_cond_t, pthread_rwlock_t): Likewise.
25854 2015-07-30  Torvald Riegel  <triegel@redhat.com>
25856         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
25858 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25860         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
25861         (struct sigaction): Change sa_flags from a long to an int, and add
25862         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
25864 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25866         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
25867         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
25868         sysdeps/generic/sysdep.h include.
25869         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
25870         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
25871         sysdeps/hppa/sysdep.h.
25872         (ENTRY, PSEUDO): Undefine before defining.
25874 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
25876         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
25877         from scratch to use INTERNAL_SYSCALL.
25879 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
25881         [BZ #18078]
25882         * scripts/check-localplt.awk: Support alternate relocations.
25883         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
25884         sections.
25885         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
25886         malloc entries with + REL R_386_GLOB_DAT.
25887         * sysdeps/x86_64/localplt.data: New file.
25889 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
25891         [BZ #18731]
25892         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
25893         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25894         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25896 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25898         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
25900 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25902         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
25903         directly in terms of __sync_fetch_and_add and delete (int) cast.
25905 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25907         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
25908         the -D_ASM_IA64_CURRENT_H flag.
25910 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
25912         [BZ #18641]
25913         * pwd/pwd.h (putpwent): Delete __nonnull markings.
25915 2015-07-27  Andreas Schwab  <schwab@suse.de>
25917         * conform/conformtest.pl (checknamespace): Filter out string
25918         literals while tokenizing.
25920 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
25922         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25923         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
25924         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25926 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
25928         * nptl/tst-join7mod.c: Add #include <string.h>.
25930 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
25932         * sysdeps/nios2/libm-test-ulps: Update.
25934 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
25936         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
25937         Fix order of arguments to the rt_sigprocmask syscall.
25938         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
25939         Likewise.
25941 2015-07-24  Roland McGrath  <roland@hack.frob.com>
25943         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
25945 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25947         [BZ #18457]
25948         * nptl/Makefile (tests): New test case tst-join7.
25949         (modules-names): New test case module tst-join7mod.
25950         * nptl/tst-join7.c: New file.
25951         * nptl/tst-join7mod.c: New file.
25952         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
25953         all translation units in libc.so, libpthread.so and rtld.
25955 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25959 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
25961         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
25962         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25963         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25964         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25965         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25966         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25967         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25968         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25969         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25970         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25971         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25972         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25973         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
25974         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
25975         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
25976         implementation.
25978 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25980         [BZ #17711]
25981         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25982         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
25983         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25984         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
25985         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
25986         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
25988 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25990         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
25991         instead of just saying load lock in the comments.
25993 2015-07-23  Roland McGrath  <roland@hack.frob.com>
25995         * sysdeps/unix/Subdirs: Moved ...
25996         * sysdeps/posix/Subdirs: ... here.
25997         * login/pty.h (struct termios, struct winsize): Add forward decls.
25998         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
25999         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
26000         * sysdeps/arm/nacl/libc.abilist: Updated.
26001         * sysdeps/nacl/libutil.abilist: New file.
26003         * bits/signum.h: Update comments to mention 1003.1-2013 too.
26004         (SIGWINCH): New macro.
26006         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
26007         * sysdeps/arm/nacl/libc.abilist: Add it.
26009 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26011         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
26013 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26015         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26016         Swap __glibc_reserved0 and sa_flags order.
26018 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26020         [BZ #18657]
26021         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
26022         are pending TLS destructor calls.
26023         * include/link.h (struct link_map): Add concurrency note for
26024         L_TLS_DTOR_COUNT.
26025         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26026         Don't touch the link map flag.  Atomically increment
26027         l_tls_dtor_count.
26028         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
26029         Avoid taking the load lock and don't touch the link map flag.
26030         * stdlib/tst-tls-atexit-nodelete.c: New test case.
26031         * stdlib/Makefile (tests): Use it.
26032         * stdlib/tst-tls-atexit.c (do_test): dlopen
26033         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
26034         to allow tst-tls-atexit-nodelete test case to use it.
26036 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26038         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
26039         to bits/types.h.
26040         (msgqnum_t): New typedef.
26041         (msglen_t): Likewise.
26042         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
26043         and msg_qbytes type to msglen_t.
26045 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26047         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
26048         pad0 to __glibc_reserved0.
26049         (struct stat64): Likewise.
26051 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26053         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26054         Change sa_flags from a long to an int and add __glibc_reserved0 before
26055         it for padding.
26057 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26059         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
26060         anonymous by deleting "siginfo" name.
26062 2015-07-21  Roland McGrath  <roland@hack.frob.com>
26064         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
26065         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
26066         rather than __nacl_irt_filename.
26067         * sysdeps/nacl/xstat.c (__xstat): Likewise.
26069         * NEWS: New item for arm-nacl port.
26070         * sysdeps/arm/nacl/libc.abilist: New file.
26071         * sysdeps/nacl/ld.abilist: New file.
26072         * sysdeps/nacl/libBrokenLocale.abilist: New file.
26073         * sysdeps/nacl/libanl.abilist: New file.
26074         * sysdeps/nacl/libcrypt.abilist: New file.
26075         * sysdeps/nacl/libdl.abilist: New file.
26076         * sysdeps/nacl/libm.abilist: New file.
26077         * sysdeps/nacl/libpthread.abilist: New file.
26078         * sysdeps/nacl/libresolv.abilist: New file.
26079         * sysdeps/nacl/librt.abilist: New file.
26081 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
26083         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
26084         __startcontext to initialize the new context.
26085         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
26086         up CFI directive to forbid further backtracing.
26088 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
26090         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
26091         reference.
26092         * charmaps/ANSI_X3.4-1968: Likewise.
26093         * charmaps/BS_4730: Likewise.
26094         * charmaps/BS_VIEWDATA: Likewise.
26095         * charmaps/CP1250: Likewise.
26096         * charmaps/CP1251: Likewise.
26097         * charmaps/CP1252: Likewise.
26098         * charmaps/CP1253: Likewise.
26099         * charmaps/CP1254: Likewise.
26100         * charmaps/CP1255: Likewise.
26101         * charmaps/CP1256: Likewise.
26102         * charmaps/CSN_369103: Likewise.
26103         * charmaps/EBCDIC-DK-NO: Likewise.
26104         * charmaps/GB_1988-80: Likewise.
26105         * charmaps/GREEK-CCITT: Likewise.
26106         * charmaps/GREEK7: Likewise.
26107         * charmaps/INIS-8: Likewise.
26108         * charmaps/ISIRI-3342: Likewise.
26109         * charmaps/ISO_2033-1983: Likewise.
26110         * charmaps/ISO_5427-EXT: Likewise.
26111         * locales/POSIX: Likewise.
26112         * locales/ar_SA: Likewise.
26113         * locales/be_BY: Likewise.
26114         * locales/be_BY@latin: Likewise.
26115         * locales/ca_ES: Likewise.
26116         * locales/cs_CZ: Likewise.
26117         * locales/da_DK: Likewise.
26118         * locales/de_BE: Likewise.
26119         * locales/de_CH: Likewise.
26120         * locales/de_LU: Likewise.
26121         * locales/en_AU: Likewise.
26122         * locales/en_BW: Likewise.
26123         * locales/en_CA: Likewise.
26124         * locales/en_DK: Likewise.
26125         * locales/en_GB: Likewise.
26126         * locales/en_IE: Likewise.
26127         * locales/en_NZ: Likewise.
26128         * locales/en_ZA: Likewise.
26129         * locales/en_ZW: Likewise.
26130         * locales/es_AR: Likewise.
26131         * locales/es_BO: Likewise.
26132         * locales/es_CL: Likewise.
26133         * locales/es_CO: Likewise.
26134         * locales/es_DO: Likewise.
26135         * locales/es_EC: Likewise.
26136         * locales/es_ES: Likewise.
26137         * locales/es_HN: Likewise.
26138         * locales/es_MX: Likewise.
26139         * locales/es_PA: Likewise.
26140         * locales/es_PE: Likewise.
26141         * locales/es_PY: Likewise.
26142         * locales/es_SV: Likewise.
26143         * locales/es_US: Likewise.
26144         * locales/es_UY: Likewise.
26145         * locales/es_VE: Likewise.
26146         * locales/et_EE: Likewise.
26147         * locales/fa_IR: Likewise.
26148         * locales/fo_FO: Likewise.
26149         * locales/fr_CA: Likewise.
26150         * locales/fr_CH: Likewise.
26151         * locales/gv_GB: Likewise.
26152         * locales/he_IL: Likewise.
26153         * locales/hr_HR: Likewise.
26154         * locales/id_ID: Likewise.
26155         * locales/is_IS: Likewise.
26156         * locales/it_CH: Likewise.
26157         * locales/iw_IL: Likewise.
26158         * locales/kl_GL: Likewise.
26159         * locales/ko_KR: Likewise.
26160         * locales/kw_GB: Likewise.
26161         * locales/lg_UG: Likewise.
26162         * locales/lt_LT: Likewise.
26163         * locales/lv_LV: Likewise.
26164         * locales/mi_NZ: Likewise.
26165         * locales/nhn_MX: Likewise.
26166         * locales/nl_BE: Likewise.
26167         * locales/pl_PL: Likewise.
26168         * locales/sk_SK: Likewise.
26169         * locales/sl_SI: Likewise.
26170         * locales/sv_FI: Likewise.
26171         * locales/tl_PH: Likewise.
26172         * locales/tr_TR: Likewise.
26173         * locales/vi_VN: Likewise.
26175 2015-07-21  Khem Raj  <raj.khem@gmail.com>
26177         [BZ #17475]
26178         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
26179         of tu_IN and bh_IN.
26181 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
26183         [BZ #18694]
26184         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
26185         bits/wordsize.h.
26186         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
26188 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26190         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
26191         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
26192         (spawn_thread): New function.
26193         (load): Rename to reg_dtor_and_close.  Move dlopen to...
26194         (do_test): ... here.  Use IS_LOADED to test for its
26195         availability.
26197 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
26199         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26201 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
26203         [BZ #18696]
26204         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
26205         si_addr_bnd.
26206         (si_lower): New.
26207         (si_upper): Likewise.
26209 2015-07-16  David S. Miller  <davem@davemloft.net>
26211         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
26213 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26215         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
26216         buffer.
26217         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
26218         fail output information.
26220 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
26223         and strstr-ppc64..
26224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26225         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
26226         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
26227         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
26228         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
26230 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26232         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26233         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26234         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26235         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26237 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26239         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26240         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
26241         rtld_hidden_proto.
26242         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
26244 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26246         * tst-nodelete-opened.c (do_test): Add comment to clarify how
26247         the test can fail.
26249         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
26251         [BZ #18676]
26252         * elf/tst-nodelete-opened.c: New test case.
26253         * elf/tst-nodelete-opened-lib.c: New test case module.
26254         * elf/Makefile (tests, modules-names): Use them.
26255         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
26256         early.
26258 2015-07-15  David S. Miller  <davem@davemloft.net>
26260         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
26261         futex-intenal.h
26262         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
26263         * sysdeps/sparc/sparc64/Makefile: Likewise.
26264         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26265         Remove space from macro define.
26266         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
26268 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
26270         [BZ #17475]
26271         * locale/iso-639.def: Update Bhili and Tulu language codes as
26272         per iso639-3.
26274 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
26276         * elf/tst-leaks1.c (main): Converted to ...
26277         (do_test): ... this.
26278         (TEST_FUNCTION): New macro.
26279         Include test-skeleton.c.
26280         * localedata/tst-langinfo.c (main): Converted to ...
26281         (do_test): ... this.
26282         (TEST_FUNCTION): New macro.
26283         Include test-skeleton.c.
26284         * math/test-fpucw.c (main): Converted to ...
26285         (do_test): ... this.
26286         (TEST_FUNCTION): New macro.
26287         Include test-skeleton.c.
26288         * math/test-tgmath.c (main): Converted to ...
26289         (do_test): ... this.
26290         (TEST_FUNCTION): New macro.
26291         Include test-skeleton.c.
26292         * math/test-tgmath2.c (main): Converted to ...
26293         (do_test): ... this.
26294         (TEST_FUNCTION): New macro.
26295         Include test-skeleton.c.
26296         * setjmp/tst-setjmp.c (main): Converted to ...
26297         (do_test): ... this.
26298         (TEST_FUNCTION): New macro.
26299         Include test-skeleton.c.
26300         * stdio-common/tst-sscanf.c (main): Converted to ...
26301         (do_test): ... this.
26302         (TEST_FUNCTION): New macro.
26303         Include test-skeleton.c.
26304         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
26305         (do_test): ... this.
26306         (TEST_FUNCTION): New macro.
26307         Include test-skeleton.c.
26309         * elf/tst-audit9.c (main): Converted to ...
26310         (do_test): ... this.
26311         (TEST_FUNCTION): New macro.
26312         Include test-skeleton.c.
26314 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
26316         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
26318 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26320         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
26321         New variable.
26323 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26325         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26327 2015-07-14  Roland McGrath  <roland@hack.frob.com>
26329         * sysdeps/generic/dl-fileid.h: New file.
26330         * sysdeps/posix/dl-fileid.h: New file.
26331         * sysdeps/nacl/dl-fileid.h: New file.
26332         * include/link.h: Include <dl-fileid.h>.
26333         (struct link_map): Replace l_dev and l_ino with l_file_id.
26334         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
26335         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
26336         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
26338 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26340         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
26342 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26344         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
26345         Add iff $CXX is set.
26346         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
26347         Likewise.
26348         (tst-nodelete-zmodiff): Likewise.
26349         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
26351 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26353         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
26355 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26357         * sysdeps/aarch64/fpu/math_private.h
26358         (define math_opt_barrier): Add AArch64 version.
26359         (math_force_eval): Likewise.
26361 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26363         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
26365 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
26367         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
26368         %ld with %jd and cast to intmax_t.
26369         (do_test_length_zero): Likewise.
26371 2015-07-10  Roland McGrath  <roland@hack.frob.com>
26373         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
26375 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
26377         * sysdeps/tile/libm-test-ulps: Regenerated.
26379         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
26380         Comment out the whole function, not just its body.
26382 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26384         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
26385         locks.
26387         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
26389 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26391         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
26392         (sem_assume_only_signals_cause_futex_EINTR): Remove.
26394 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26396         * sysdeps/nptl/futex-internal.h: New file.
26397         * sysdeps/nacl/futex-internal.h: New file.
26398         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
26399         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
26400         error checking.
26401         (setxid_unmark_thread): Likewise.
26402         (__nptl_setxid): Likewise.
26403         (__wait_lookup_done): Likewise.
26404         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
26405         * nptl/nptl-init.c (sighandler_setxid): Likewise.
26406         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26407         * nptl/pthread_once.c (clear_once_control): Likewise.
26408         (__pthread_once_slow): Likewise.
26409         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
26410         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
26411         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
26412         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26413         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
26414         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
26415         Likewise.
26416         (__pthread_rwlock_rdlock): Likewise.
26417         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26418         Likewise.
26419         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26420         Likewise.
26421         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26422         Likewise.
26423         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
26424         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
26425         Likewise.
26426         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
26427         __ASSUME_PRIVATE_FUTEX check.
26428         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
26429         Check that shared futexes are supported.
26430         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
26431         wrappers with error checking.
26432         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
26433         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
26434         * nptl/pthread_barrierattr_setpshared.c
26435         (pthread_barrierattr_setpshared): Check that shared futexes are
26436         supported.
26437         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
26438         Likewise.
26439         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
26440         Likewise.
26441         * nptl/sem_init.c (futex_private_if_supported): Remove.
26442         (__new_sem_init): Adapt and check that shared futexes are supported.
26443         * nptl/sem_open.c (sem_open): Likewise.
26444         * nptl/sem_post.c (futex_wake): Remove.
26445         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
26446         (do_futex_wait): Use futex wrappers with error checking.
26447         * nptl/sem_wait.c: Include lowlevellock.h.
26448         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
26449         Use futex_supports_pshared.
26450         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
26451         Use futex wrappers with error checking.
26452         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
26453         Likewise.
26454         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
26455         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
26456         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
26457         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
26458         (futex_wake): Likewise.
26459         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
26460         (do_futex_wait): Use futex wrappers with error checking.
26461         (__new_sem_wait_slow): Update EINTR handling.
26462         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
26464 2015-07-09  Martin Sebor  <msebor@redhat.com>
26466         [BZ #18435]
26467         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26468         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
26469         * nptl/Makefile (test-xfail-tst-once5): Define.
26471 2015-07-09  Roland McGrath  <roland@hack.frob.com>
26473         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
26474         * elf/dl-minimal.c: For readability, reorder some definitions and
26475         introduce more page breaks.  Include <stdio.h>.
26476         (__libc_fatal): New function.
26478         * include/unistd.h: Add rtld_hidden_proto for _exit.
26479         * posix/_exit.c: Add rtld_hidden_def.
26480         * sysdeps/mach/hurd/_exit.c: Likewise.
26481         * sysdeps/nacl/_exit.c: Likewise.
26482         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
26483         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
26485 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
26487         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
26488         bndmov encoding with zero displacement.
26490 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
26491             H.J. Lu  <hongjiu.lu@intel.com>
26493         [BZ #18134]
26494         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
26495         * sysdeps/i386/configure: Regenerated.
26496         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
26497         (_dl_runtime_profile): Save and restore Intel MPX return bound
26498         registers when calling _dl_call_pltexit.  Add
26499         PRESERVE_BND_REGS_PREFIX before return.
26500         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
26501         (LRV_BND1_OFFSET): Likewise.
26502         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
26503         lrv_bnd1.
26504         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
26505         typo in bndmov encoding.
26506         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
26507         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
26508         branch instructions to preserve bounds.
26510 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
26513         [GLIBC_2.22]: Add fmemopen.
26515 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26517         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
26518         returns an error, also try to use host port from __mach_host_self for
26519         the __vm_wire call.
26520         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
26522 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26524         [BZ #18400]
26525         [BZ #18648]
26526         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
26527         Fix pr_uid and pr_gid members.
26528         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
26529         definition to elf_greg_t.
26531 2015-07-08  Roland McGrath  <roland@hack.frob.com>
26533         [BZ #18383]
26534         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
26535         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
26536         * sysdeps/arm/configure: Regenerated.
26537         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
26538         (test-xfail-tst-tlsalign-static): Variable removed.
26540         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
26541         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
26542         rather than explicit 'ln -s'.
26544         * resolv/rpc/netdb.h: New file.
26545         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
26547 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26549         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
26550         length buffers.
26551         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26552         test-skeleton.c.
26554         [BZ #6544]
26555         [BZ #11216]
26556         [BZ #12836]
26557         [BZ #13151]
26558         [BZ #13152]
26559         [BZ #14292]
26560         * include/stdio.h (fmemopen): Remove hidden prototype.
26561         (__fmemopen): Add new hidden prototype.
26562         * libio/Makefile: Add oldfmemopen object.
26563         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
26564         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
26565         compliance.
26566         * libio/oldfmemopen.c: New file: old fmemopen implementation for
26567         symbol compatibility.
26568         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
26569         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
26570         fmemopen.
26571         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
26572         on append and read mode.
26573         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
26574         fmemopen.
26575         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
26576         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
26577         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
26578         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
26579         Likewise.
26580         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
26581         [GLIBC_2.22]: Likewise.
26582         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
26583         Likewise.
26584         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
26585         Likewise.
26586         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
26587         [GLIBC_2.22]: Likewise.
26588         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
26589         [GLIBC_2.22]: Likewise.
26590         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
26591         [GLIBC_2.22]: Likewise.
26592         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
26593         [GLIBC_2.22]: Likewise.
26594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
26595         [GLIBC_2.22]: Likewise.
26596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
26597         [GLIBC_2.22]: Likewise.
26598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
26599         [GLIBC_2.22]: Likewise.
26600         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
26601         Likewise.
26602         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
26603         Likewise.
26604         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
26605         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
26606         [GLIBC_2.22]: Likewise.
26607         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
26608         [GLIBC_2.22]: Likewise.
26609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
26610         [GLIBC_2.22]: Likewise.
26611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
26612         [GLIBC_2.22]: Likewise.
26613         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
26614         Likewise.
26615         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
26616         Likewise.
26617         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
26618         Likewise.
26619         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
26620         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
26622 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
26624         [BZ #18643]
26625         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
26626         IPV6_PATHMTU, and IPV6_DONTFRAG.
26628 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
26630         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
26631         and _IO_UNBUFFERED.
26632         * libio/oldfileops.c: Likewise.
26633         * libio/wfileops.c: Likewise.
26635 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
26637         * nscd/selinux.c: Delete selinux/flask.h include.
26639 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
26641         [BZ #18641]
26642         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
26643         (putpwent): Likewise.
26644         (getpwnam): Likewise.
26645         (getpwent_r): Likewise.
26646         (getpwuid_r): Likewise.
26647         (getpwnam_r): Likewise.
26648         (fgetpwent_r): Likewise.
26650 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
26652         [BZ #18557]
26653         * inet/rcmd.c (__validuser2_sa): Check user first to
26654         short-circuit host check.
26656 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
26657             Mikhail Ilin  <m.ilin@samsung.com>
26659         [BZ #17833]
26660         * elf/Makefile (tests): Add tst-nodelete.
26661         (modules-names): Add tst-nodelete-uniquemod.
26662         (tst-nodelete-uniquemod.so-no-z-defs): New.
26663         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
26664         (tst-nodelete-zmod.so-no-z-defs): Likewise.
26665         ($(objpfx)tst-nodelete): Likewise.
26666         ($(objpfx)tst-nodelete.out): Likewise.
26667         (LDFLAGS-tst-nodelete): Likewise.
26668         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
26669         * elf/dl-close.c (_dl_close_worker): Add a parameter to
26670         implement forced object deletion.
26671         (_dl_close): Pass false to _dl_close_worker.
26672         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
26673         * elf/tst-nodelete.cc: New file.
26674         * elf/tst-nodeletelib.cc: Likewise.
26675         * elf/tst-znodeletelib.cc: Likewise.
26676         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
26678 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
26680         [BZ #18508]
26681         * stdlib/Makefile ($(objpfx)tst-makecontext3):
26682         Depend on $(libdl).
26683         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
26684         is not called infinitely times.
26685         (backtrace_helper): New function.
26686         (trace_arg): New struct.
26687         (st1): Enlarge stack size.
26688         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26689         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
26690         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26691         Likewise.
26693 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
26695         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26697 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
26699         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
26700         Include sys/types.h instead of bits/types.h.
26701         Remove inclusion of bits/wordsize.h.
26703 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26705         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
26706         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
26707         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
26708         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
26709         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
26710         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
26712 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26714         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
26715         link-defines.sym.
26716         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
26717         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
26718         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
26719         and LR_SIZE.
26720         * sysdeps/i386/link-defines.sym: New file.
26722 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26724         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
26725         (modules-names): Add tst-auditmod3a tst-auditmod3b.
26726         ($(objpfx)tst-audit3): New rule.
26727         ($(objpfx)tst-audit3.out): Likewise.
26728         * sysdeps/i386/tst-audit3.c: New file.
26729         * sysdeps/i386/tst-audit3.h: Likewise.
26730         * sysdeps/i386/tst-auditmod3a.c: Likewise.
26731         * sysdeps/i386/tst-auditmod3b.c: Likewise.
26733 2015-07-07  Torvald Riegel  <triegel@redhat.com>
26735         [BZ #18633]
26736         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
26737         pointer in C code.
26738         (__strcat_c): Likewise.
26739         (__strcat_g): Likewise.
26741 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
26743         [BZ #18592]
26744         * misc/sbrk.c: Set errno to ENOMEM on overflow.
26746 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
26748         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
26749         New function.  (__ieee754_sqrtf): New function.
26750         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
26751         New function.
26752         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
26753         New function.
26755 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
26757         * sysdeps/ieee754/support.c: Remove unused file.
26759 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26761         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
26762         registers instead of d ones so the layout is kernel abi compatible.
26763         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
26764         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
26765         Likewise.
26767 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26769         * sysdeps/aarch64/libm-test-ulps: Regenerated.
26771 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26773         [BZ #18619]
26774         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
26775         and return argument in case of subnormal argument.
26777 2015-07-01  Martin Sebor  <msebor@redhat.com>
26779         [BZ #18435]
26780         * nptl/Makefile: Add tst-once5.cc.
26781         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26782         Remove macro redefinitions.
26783         * nptl/tst-once5.cc: New test.
26785 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26787         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26789         * sysdeps/arm/libm-test-ulps: Regenerated.
26791         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26792         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26794 2015-06-30  Torvald Riegel  <triegel@redhat.com>
26796         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
26797         lll_lock_wait_private and lll_futex_wake probes.
26799         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
26800         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
26801         Likewise.
26802         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
26803         atomic_spin_nop.
26804         * sysdeps/x86_64/bits/atomic.h: Likewise.
26805         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
26806         to atomic_spin_nop and move ...
26807         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26808         ... here and ...
26809         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
26810         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
26811         atomic_spin_nop instead of BUSY_WAIT_NOP.
26812         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
26813         Likewise.
26814         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
26815         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
26816         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
26817         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
26818         instead of atomic_delay.
26820 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
26822         [BZ #18613]
26823         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
26824         X_ADJ not X when adjusting exponent.
26825         (__ieee754_gamma_r): Do intermediate computations in
26826         round-to-nearest then adjust overflowing and underflowing results
26827         as needed.
26828         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
26829         of X_ADJ not X when adjusting exponent.
26830         (__ieee754_gammaf_r): Do intermediate computations in
26831         round-to-nearest then adjust overflowing and underflowing results
26832         as needed.
26833         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
26834         log of X_ADJ not X when adjusting exponent.
26835         (__ieee754_gammal_r): Do intermediate computations in
26836         round-to-nearest then adjust overflowing and underflowing results
26837         as needed.  Use 1.0L not 1.0f as numerator of division.
26838         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
26839         log of X_ADJ not X when adjusting exponent.
26840         (__ieee754_gammal_r): Do intermediate computations in
26841         round-to-nearest then adjust overflowing and underflowing results
26842         as needed.  Use 1.0L not 1.0f as numerator of division.
26843         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
26844         of X_ADJ not X when adjusting exponent.
26845         (__ieee754_gammal_r): Do intermediate computations in
26846         round-to-nearest then adjust overflowing and underflowing results
26847         as needed.  Use 1.0L not 1.0f as numerator of division.
26848         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
26849         to auto-libm-test-in.
26850         (tgamma_test): Use ALL_RM_TEST.
26851         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
26852         tests of tgamma with spurious-overflow.
26853         * math/auto-libm-test-out: Regenerated.
26854         * math/gen-libm-have-vector-test.sh: Do not check for START.
26855         * sysdeps/i386/fpu/libm-test-ulps: Update.
26856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26858         [BZ #18612]
26859         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
26860         arguments, just return 0.5 times the argument, with underflow
26861         forced as needed.
26862         * math/auto-libm-test-in: Add more tests of j1.
26863         * math/auto-libm-test-out: Regenerated.
26865         [BZ #16559]
26866         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
26867         (__ieee754_j1): Force underflow exception for small results.
26868         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26869         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
26870         (__ieee754_j1f): Force underflow exception for small results.
26871         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26872         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26873         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26874         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
26875         (__ieee754_j1l): Force underflow exception for small results.
26876         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26877         * math/auto-libm-test-in: Add more tests of j1 and jn.
26878         * math/auto-libm-test-out: Regenerated.
26880         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
26881         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
26882         (PF_MPLS): Likewise.
26883         (AF_IB): Likewise.
26884         (AF_MPLS): Likewise.
26885         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
26886         value and macro.
26887         (MS_RMT_MASK): Include MS_LAZYTIME.
26889 2015-06-26  Mel Gorman  <mgorman@suse.de>
26891         [BZ #18502]
26892         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
26893         already minimal.
26895 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
26897         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
26898         (DT_MIPS_NUM): Update.
26899         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
26900         DT_MIPS_RLD_MAP_REL.
26902 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
26904         [BZ #16559]
26905         [BZ #18602]
26906         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
26907         round-to-nearest internally then recompute results that
26908         underflowed to zero in the original rounding mode.
26909         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26910         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26911         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26912         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26913         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
26914         * sysdeps/i386/fpu/libm-test-ulps: Update.
26915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26917 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
26919         * NEWS: Fixed description of link with vector math library.
26921 2015-06-25  Andreas Schwab  <schwab@suse.de>
26923         [BZ #18549]
26924         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
26925         * libio/test-fmemopen.c (do_test): Add test for it.
26927 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
26929         [BZ #17841]
26930         * Makeconfig (no-pie-ldflag): New.
26931         (+link): Set to $(+link-pie) if default to PIE.
26932         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
26933         * config.make.in (build-pie-default): New.
26934         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
26935         is default.  AC_SUBST.
26936         * configure: Regenerated.
26937         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
26939 2015-06-24  Roland McGrath  <roland@hack.frob.com>
26941         * nptl/descr.h (struct pthread): Change type of field setxid_futex
26942         to 'unsigned int'.
26944         * resolv/gai_misc.h (struct waitlist): Change type of field
26945         counterp to 'volatile unsigned int *'.
26946         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
26947         FUTEXADDR and OLDVAL.
26948         * resolv/getaddrinfo_a.c (getaddrinfo_a):
26949         Give local variable TOTAL type 'volatile unsigned int'.
26950         (struct async_waitlist): Change type of field counter to 'unsigned int'.
26951         * resolv/gai_suspend.c (gai_suspend):
26952         Give local variable CNTR type 'unsigned int'.
26954         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
26955         counterp to 'volatile unsigned int *'.
26956         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
26957         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
26958         (aio_suspend): Give local variable CNTR type 'unsigned int'.
26959         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
26960         Give local variable TOTAL type 'volatile unsigned int'.
26961         (struct async_waitlist): Change type of field counter to 'unsigned int'.
26963 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
26965         [BZ #18383]
26966         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
26967         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
26968         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
26969         comment for i386/x86-64.
26970         (test-xfail-tst-tlsalign-extern-static): Removed.
26972 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
26974         * math/test-double.h: New file.
26975         * math/test-float.h: Likewise.
26976         * math/test-ldouble.h: Likewise.
26977         * math/test-math-inline.h: Likewise.
26978         * math/test-math-no-inline.h: Likewise.
26979         * math/test-math-scalar.h: Likewise.
26980         * math/test-math-vector.h: Likewise.
26981         * math/test-vec-loop.h: Remove file.  Contents moved into
26982         test-math-vector.h.
26983         * math/libm-test.inc (MATHCONST): Do not document macro.
26984         * math/test-double.c: Include test-double.h, test-math-no-inline.h
26985         and test-math-scalar.h.
26986         (FUNC): Remove macro.
26987         (FUNC_TEST): Likewise.
26988         (FLOAT): Likewise.
26989         (MATHCONST): Likewise.
26990         (PRINTF_EXPR): Likewise.
26991         (PRINTF_XEXPR): Likewise.
26992         (PRINTF_NEXPR): Likewise.
26993         (TEST_DOUBLE): Likewise.
26994         (TEST_MATHVEC): Likewise.
26995         (__NO_MATH_INLINES): Likewise.
26996         * math/test-float.c: Include test-float.h, test-math-no-inline.h
26997         and test-math-scalar.h.
26998         (FUNC): Remove macro.
26999         (FUNC_TEST): Likewise.
27000         (FLOAT): Likewise.
27001         (MATHCONST): Likewise.
27002         (PRINTF_EXPR): Likewise.
27003         (PRINTF_XEXPR): Likewise.
27004         (PRINTF_NEXPR): Likewise.
27005         (TEST_FLOAT): Likewise.
27006         (TEST_MATHVEC): Likewise.
27007         (__NO_MATH_INLINES): Likewise.
27008         * math/test-idouble.c: Include test-double.h, test-math-inline.h
27009         and test-math-scalar.h.
27010         (FUNC): Remove macro.
27011         (FUNC_TEST): Likewise.
27012         (FLOAT): Likewise.
27013         (MATHCONST): Likewise.
27014         (PRINTF_EXPR): Likewise.
27015         (PRINTF_XEXPR): Likewise.
27016         (PRINTF_NEXPR): Likewise.
27017         (TEST_DOUBLE): Likewise.
27018         (TEST_MATHVEC): Likewise.
27019         (TEST_INLINE): Likewise.
27020         (__NO_MATH_INLINES): Likewise.
27021         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
27022         test-math-scalar.h.
27023         (FUNC): Remove macro.
27024         (FUNC_TEST): Likewise.
27025         (FLOAT): Likewise.
27026         (MATHCONST): Likewise.
27027         (PRINTF_EXPR): Likewise.
27028         (PRINTF_XEXPR): Likewise.
27029         (PRINTF_NEXPR): Likewise.
27030         (TEST_FLOAT): Likewise.
27031         (TEST_MATHVEC): Likewise.
27032         (TEST_INLINE): Likewise.
27033         (__NO_MATH_INLINES): Likewise.
27034         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
27035         and test-math-scalar.h.
27036         (FUNC): Remove macro.
27037         (FUNC_TEST): Likewise.
27038         (FLOAT): Likewise.
27039         (MATHCONST): Likewise.
27040         (PRINTF_EXPR): Likewise.
27041         (PRINTF_XEXPR): Likewise.
27042         (PRINTF_NEXPR): Likewise.
27043         (TEST_LDOUBLE): Likewise.
27044         (TEST_MATHVEC): Likewise.
27045         (TEST_INLINE): Likewise.
27046         (__NO_MATH_INLINES): Likewise.
27047         * math/test-ldouble.c: Include test-ldouble.h,
27048         test-math-no-inline.h and test-math-scalar.h.
27049         (FUNC): Remove macro.
27050         (FUNC_TEST): Likewise.
27051         (FLOAT): Likewise.
27052         (MATHCONST): Likewise.
27053         (PRINTF_EXPR): Likewise.
27054         (PRINTF_XEXPR): Likewise.
27055         (PRINTF_NEXPR): Likewise.
27056         (TEST_LDOUBLE): Likewise.
27057         (TEST_MATHVEC): Likewise.
27058         (__NO_MATH_INLINES): Likewise.
27059         * math/test-double-vlen2.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-double-vlen4.h: Include test-double.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_DOUBLE): 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-double-vlen8.h: Include test-double.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_DOUBLE): 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-vlen4.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         * math/test-float-vlen8.h: Include test-float.h,
27144         test-math-no-inline.h and test-math-vector.h.
27145         (FLOAT): Remove macro.
27146         (FUNC): Likewise.
27147         (MATHCONST): Likewise.
27148         (PRINTF_EXPR): Likewise.
27149         (PRINTF_XEXPR): Likewise.
27150         (PRINTF_NEXPR): Likewise.
27151         (TEST_FLOAT): Likewise.
27152         (TEST_MATHVEC): Likewise.
27153         (__NO_MATH_INLINES): Likewise.
27154         (CNCT): Likewise.
27155         (CONCAT): Likewise.
27156         (WRAPPER_NAME): Likewise.
27157         (WRAPPER_DECL): Likewise.
27158         (WRAPPER_DECL_ff): Likewise.
27159         (WRAPPER_DECL_fFF): Likewise.
27160         (VECTOR_WRAPPER): Likewise.
27161         (VECTOR_WRAPPER_ff): Likewise.
27162         (VECTOR_WRAPPER_fFF): Likewise.
27163         (VEC_LEN): New macro.
27164         * math/test-float-vlen16.h: Include test-float.h,
27165         test-math-no-inline.h and test-math-vector.h.
27166         (FLOAT): Remove macro.
27167         (FUNC): Likewise.
27168         (MATHCONST): Likewise.
27169         (PRINTF_EXPR): Likewise.
27170         (PRINTF_XEXPR): Likewise.
27171         (PRINTF_NEXPR): Likewise.
27172         (TEST_FLOAT): Likewise.
27173         (TEST_MATHVEC): Likewise.
27174         (__NO_MATH_INLINES): Likewise.
27175         (CNCT): Likewise.
27176         (CONCAT): Likewise.
27177         (WRAPPER_NAME): Likewise.
27178         (WRAPPER_DECL): Likewise.
27179         (WRAPPER_DECL_ff): Likewise.
27180         (WRAPPER_DECL_fFF): Likewise.
27181         (VECTOR_WRAPPER): Likewise.
27182         (VECTOR_WRAPPER_ff): Likewise.
27183         (VECTOR_WRAPPER_fFF): Likewise.
27184         (VEC_LEN): New macro.
27185         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
27186         test-vec-loop.h.
27187         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27188         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27189         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27190         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27191         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27192         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27193         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
27195 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27197         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
27198         (__getlogin_r): ... this.
27200 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27202         [BZ #18594]
27203         * math/s_ccosh.c (__ccosh): Compare with least normal value
27204         instead of comparing class with FP_SUBNORMAL.
27205         * math/s_ccoshf.c (__ccoshf): Likewise.
27206         * math/s_ccoshl.c (__ccoshl): Likewise.
27207         * math/s_cexp.c (__cexp): Likewise.
27208         * math/s_cexpf.c (__cexpf): Likewise.
27209         * math/s_cexpl.c (__cexpl): Likewise.
27210         * math/s_csin.c (__csin): Likewise.
27211         * math/s_csinf.c (__csinf): Likewise.
27212         * math/s_csinh.c (__csinh): Likewise.
27213         * math/s_csinhf.c (__csinhf): Likewise.
27214         * math/s_csinhl.c (__csinhl): Likewise.
27215         * math/s_csinl.c (__csinl): Likewise.
27216         * math/s_ctan.c (__ctan): Likewise.
27217         * math/s_ctanf.c (__ctanf): Likewise.
27218         * math/s_ctanh.c (__ctanh): Likewise.
27219         * math/s_ctanhf.c (__ctanhf): Likewise.
27220         * math/s_ctanhl.c (__ctanhl): Likewise.
27221         * math/s_ctanl.c (__ctanl): Likewise.
27222         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
27223         csin, csinh, ctan and ctanh.
27224         * math/auto-libm-test-out: Regenerated.
27225         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
27226         * sysdeps/i386/fpu/libm-test-ulps: Update.
27227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27229 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27231         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
27232         return value is wrong, print the expected value too.
27234 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27236         [BZ #18585]
27237         * elf/readlib.c (is_gdb_python_file): New.
27238         (process_file): Don't issue errors on filenames with -gdb.py
27239         suffix.
27241 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27243         * math/auto-libm-test-in: Add more tests of csin and csinh.
27244         * math/auto-libm-test-out: Regenerated.
27245         * math/libm-test.inc (csin_test_data): Remove tests moved to
27246         auto-libm-test-in.
27247         (csinh_test_data): Likewise.
27249         [BZ #18593]
27250         * math/s_csin.c (__csin): Negate before rather than after possibly
27251         overflowing multiplication.
27252         * math/s_csinf.c (__csinf): Likewise.
27253         * math/s_csinh.c (__csinh): Likewise.
27254         * math/s_csinhf.c (__csinhf): Likewise.
27255         * math/s_csinhl.c (__csinhl): Likewise.
27256         * math/s_csinl.c (__csinl): Likewise.
27257         * math/auto-libm-test-in: Add some tests of csin and csinh.
27258         * math/auto-libm-test-out: Regenerated.
27259         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
27260         (csinh_test_data): Likewise.
27261         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27263         [BZ #18586]
27264         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
27265         underflow exception for small results.
27267 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27269         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27270         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
27271         variable and included header.
27272         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
27273         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
27274         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
27275         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
27276         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
27277         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
27278         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
27279         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
27280         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
27281         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
27282         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
27283         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
27284         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
27285         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
27286         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
27287         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
27289 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27291         [BZ #16526]
27292         [BZ #16538]
27293         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
27294         (__sin): Force underflow exception for arguments with small
27295         absolute value.
27296         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
27297         (__kernel_sinf): Force underflow exception for arguments with
27298         small absolute value.
27299         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
27300         (__kernel_sincosl): Force underflow exception for arguments with
27301         small absolute value.
27302         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
27303         (__kernel_sinl): Force underflow exception for arguments with
27304         small absolute value.
27305         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
27306         (__kernel_sincosl): Force underflow exception for arguments with
27307         small absolute value.
27308         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
27309         (__kernel_sinl): Force underflow exception for arguments with
27310         small absolute value.
27311         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
27312         (__kernel_sinl): Force underflow exception for arguments with
27313         small absolute value.
27314         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
27315         (__kernel_sinf): Force underflow exception for arguments with
27316         small absolute value.
27317         * math/auto-libm-test-in: Add more tests of sin and sincos.
27318         * math/auto-libm-test-out: Regenerated.
27320         [BZ #18245]
27321         [BZ #18583]
27322         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
27323         (__kernel_standard_l): Use feholdexcept and fesetenv around
27324         conversion to double instead of special-casing overflow and
27325         underflow.
27326         * math/libm-test.inc (fmod_test_data): Add more tests.
27327         (remainder_test_data): Likewise.
27328         (sqrt_test_data): Likewise.
27330 2015-06-23  Torvald Riegel  <triegel@redhat.com>
27332         [BZ #17403]
27333         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
27334         atomic_read_barrier, atomic_write_barrier): Define.
27335         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
27336         atomic_read_barrier, atomic_write_barrier): Define.
27338 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27340         * math/Makefile [$(PERL) != no]
27341         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
27342         dependency on libm-test.stmp below the inclusion of Rules.
27344 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
27346         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27347         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
27348         and included header.
27349         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
27350         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
27351         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
27352         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
27353         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
27354         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
27355         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
27356         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
27357         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
27358         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
27359         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
27360         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
27361         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
27362         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
27363         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
27364         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
27365         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
27366         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
27367         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
27369 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27371         [BZ #18371]
27372         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
27373         intermediate but not final result might underflow.
27374         * math/s_csqrtf.c (__csqrtf): Likewise.
27375         * math/s_csqrtl.c (__csqrtl): Likewise.
27376         * math/auto-libm-test-in: Add more tests of csqrt.
27377         * math/auto-libm-test-out: Regenerated.
27378         * sysdeps/i386/fpu/libm-test-ulps: Update.
27380         [BZ #18219]
27381         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
27382         threshold on absolute value of exponent for which scaling is used.
27383         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27384         * math/auto-libm-test-in: Add more tests of exp2.
27385         * math/auto-libm-test-out: Regenerated.
27387 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
27389         [BZ #17977]
27390         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
27391         when initializing interface list, based on the bug analysis
27392         and the patch proposed by Eric Newton.
27393         * resolv/tst-res_hconf_reorder.c: New test.
27394         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
27395         tst-res_hconf_reorder.
27396         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
27397         and $(shared-thread-library).
27398         (tst-res_hconf_reorder-ENV): New variable.
27400         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
27401         in comment.
27403 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
27405         [BZ #16353]
27406         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
27407         (__expm1): Force underflow exception for arguments with small
27408         absolute value.
27409         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
27410         (__expm1f): Force underflow exception for arguments with small
27411         absolute value.
27412         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
27413         (__expm1): Force underflow exception for arguments with small
27414         absolute value.
27415         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
27416         (__expm1f): Force underflow exception for arguments with small
27417         absolute value.
27418         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27419         Check for small arguments before calling __expm1.
27420         * math/auto-libm-test-in: Do not mark underflow exceptions as
27421         possibly missing for bug 16353.
27422         * math/auto-libm-test-out: Regenerated.
27424 2015-06-22  Andreas Schwab  <schwab@suse.de>
27426         [BZ #18513]
27427         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
27428         PTR queries.
27430 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
27432         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
27434         * string/strcoll_l.c: Remove unused struct element idxnow.
27436 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
27438         [BZ #18569]
27439         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
27440         underflow and return argument in case of subnormal argument.
27441         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27442         Likewise.
27443         * math/auto-libm-test-in: Add more tests of expm1.
27444         * math/auto-libm-test-out: Regenerated.
27446         [BZ #16361]
27447         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27448         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27449         tiny results.
27450         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27451         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27452         tiny results.
27453         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
27454         mark underflow exceptions as possibly missing for bug 16361.
27455         * math/auto-libm-test-out: Regenerated.
27457 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
27459         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
27460         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
27461         Remove variable.
27462         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
27463         (test-xfail-XOPEN2K8/utmpx.h/conform).
27465         * conform/conformtest.pl ($xerrors): New variable.
27466         (note_error): New function.
27467         (compiletest): New argument $xfail.  Use not_error.
27468         (runtest): Likewise.
27469         (top level): Handle xfail- lines.  Update calls to compiletest and
27470         runtest.  Handle xfail- and optional- in headers listed with
27471         allow-header.
27472         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
27473         (O_EXEC): Likewise.
27474         (O_SEARCH): Likewise.
27475         * conform/data/stropts.h-data (ioctl): Likewise.
27476         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
27477         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
27478         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
27479         (msghdr.msg_controllen): Likewise.
27480         (cmsghdr.cmsg_len): Likewise.
27481         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
27482         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
27483         variable.
27484         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
27485         (test-xfail-XPG4/stropts.h/conform): Likewise.
27486         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
27487         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
27488         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
27489         (test-xfail-UNIX98/stropts.h/conform): Likewise.
27490         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
27491         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
27492         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
27493         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
27494         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
27495         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
27496         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
27497         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
27498         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
27499         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
27500         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
27501         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
27502         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
27503         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
27504         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
27506 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
27508         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
27509         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
27510         definitions for proper unfolding of __MATHDECL_VEC.
27512 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27514         * benchtests/bench-strcoll.c:
27515         Include string.h.
27516         (main): Remove unused variable res.
27518 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27520         * timezone/Makefile (%/UTC %/Universal):
27521         Generate test-result files for UTC and Universal.
27523 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27525         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27527 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
27529         [BZ #16350]
27530         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
27531         for arguments with small absolute value.
27532         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
27533         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
27534         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
27535         (__asinh): Force underflow exception for arguments with small
27536         absolute value.
27537         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
27538         (__asinhf): Force underflow exception for arguments with small
27539         absolute value.
27540         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
27541         (__asinhl): Force underflow exception for arguments with small
27542         absolute value.
27543         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
27544         (__asinhl): Force underflow exception for arguments with small
27545         absolute value.
27546         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
27547         (__asinhl): Force underflow exception for arguments with small
27548         absolute value.
27549         * math/auto-libm-test-in: Do not mark underflow exceptions as
27550         possibly missing for bug 16350.
27551         * math/auto-libm-test-out: Regenerated.
27553         * include/bits/ipc.h: Remove file.
27554         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
27555         variable.
27556         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
27557         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
27558         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
27559         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
27560         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
27561         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
27562         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
27563         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
27564         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
27566         * math/auto-libm-test-in: Remove spurious underflow allowance for
27567         tests of cexp.
27568         * math/auto-libm-test-out: Regenerated.
27570         [BZ #18558]
27571         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
27572         unconditional definition.
27573         (MCAST_BLOCK_SOURCE): Likewise.
27574         (MCAST_UNBLOCK_SOURCE): Likewise.
27575         (MCAST_LEAVE_GROUP): Likewise.
27576         (MCAST_JOIN_SOURCE_GROUP): Likewise.
27577         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27578         (MCAST_MSFILTER): Likewise.
27579         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
27580         Remove variable.
27581         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
27582         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
27583         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
27584         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
27585         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
27587 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
27589         * NEWS: Mention addition of x86_64 vector sincosf.
27590         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
27591         * math/test-float-vlen4.h: Likewise.
27592         * math/test-float-vlen8.h: Likewise.
27593         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27594         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
27595         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27596         * sysdeps/x86_64/fpu/Versions: New versions added.
27597         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27598         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27599         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27600         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
27601         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
27602         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
27603         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
27604         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
27605         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
27606         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
27607         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
27608         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
27609         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
27610         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
27611         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
27612         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
27613         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
27614         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
27615         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27616         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27617         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27618         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27619         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27620         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27622         * NEWS: Mention addition of x86_64 vector sincos.
27623         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
27624         * math/math.h (__MATHDECL_VEC): New macro.
27625         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
27626         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
27627         declaration under condition.
27628         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
27629         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
27630         TEST_VEC_LOOP change.
27631         * math/test-double-vlen4.h: Likewise.
27632         * math/test-double-vlen8.h: Likewise.
27633         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
27634         * math/test-float-vlen4.h: Likewise.
27635         * math/test-float-vlen8.h: Likewise.
27636         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27637         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
27638         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27639         * sysdeps/x86_64/fpu/Versions: New versions added.
27640         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27641         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27642         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27643         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
27644         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
27645         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
27646         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
27647         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
27648         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
27649         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
27650         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
27651         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
27652         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
27653         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
27654         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
27655         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
27656         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
27657         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27658         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27659         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27660         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27661         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27662         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27663         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27665         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27666         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27667         redirections for powf.
27668         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27669         * sysdeps/x86_64/fpu/Versions: New versions added.
27670         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27671         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27672         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27673         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
27674         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
27675         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
27676         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
27677         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
27678         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
27679         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
27680         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
27681         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
27682         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
27683         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
27684         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
27685         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
27686         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
27687         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27688         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27689         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27690         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27691         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27692         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27693         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27694         * math/test-float-vlen16.h: Fixed 2 argument macro.
27695         * math/test-float-vlen4.h: Likewise.
27696         * math/test-float-vlen8.h: Likewise.
27697         * NEWS: Mention addition of x86_64 vector powf.
27699 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
27701         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27702         and redefine.
27703         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27704         and redefine.
27705         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
27706         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27707         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27709         [BZ #18553]
27710         * resource/getpriority.c (getpriority): Rename to __getpriority
27711         and define as weak alias of __getpriority.
27712         * resource/setpriority.c (setpriority): Rename to __setpriority
27713         and define as weak alias of __setpriority.
27714         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
27715         __getpriority and define as weak alias of __getpriority.
27716         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
27717         __setpriority and define as weak alias of __setpriority.
27718         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
27719         strong name.
27720         (setpriority): Use __setpriority as strong name.
27721         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
27722         __getpriority and define as weak alias of __getpriority.
27723         * include/sys/resource.h (__getpriority): Declare.  Use
27724         libc_hidden_proto.
27725         (__setpriority): Likewise.
27726         (getpriority): Don't use libc_hidden_proto.
27727         (setpriority): Likewise.
27728         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
27729         getpriority.  Call __setpriority instead of setpriority.
27730         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
27731         Remove variable.
27733         [BZ #18547]
27734         * misc/getttyent.c (getttynam): Rename to __getttynam and define
27735         as weak alias of __getttynam.  Use prototype function definition.
27736         Call __setttyent, __getttyent and __endttyent instead of
27737         setttyent, getttyent and endttyent.
27738         (getttyent): Rename to __getttyent and define as weak alias of
27739         __getttyent.  Call __setttyent instead of setttyent.  Call
27740         __fgets_unlocked instead of fgets_unlocked.
27741         (setttyent): Rename to __setttyent and define as weak alias of
27742         __setttyent.
27743         (endttyent): Rename to __endttyent and define as weak alias of
27744         __endttyent.
27745         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
27746         (__setttyent): Likewise.
27747         (__endttyent): Likewise.
27748         (getttyent): Don't use libc_hidden_proto.
27749         (setttyent): Likewise.
27750         (endttyent): Likewise.
27751         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
27752         __endttyent instead of setttyent, getttyent and endttyent.
27753         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
27754         Remove variable.
27756         [BZ #18546]
27757         * socket/recv.c (__recv): Use libc_hidden_def.
27758         * socket/socket.c (__socket): Likewise.
27759         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27760         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27761         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
27762         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
27763         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
27764         libc_hidden_def.
27765         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
27766         libc_hidden_weak.
27767         * include/sys/socket.h (__socket): Do not use attribute_hidden.
27768         Use libc_hidden_proto.
27769         (__recv): Likewise.
27770         * socket/Versions (libc): Export __recv and __socket at version
27771         GLIBC_PRIVATE.
27772         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
27773         instead of recv.
27774         (init_mq_netlink): Call __socket instead of socket.
27775         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
27776         Remove variable.
27778         [BZ #18545]
27779         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
27780         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
27781         hidden_weak.
27782         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
27783         define as alias of __mq_timedsend.  Use hidden_weak.
27784         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
27785         __mq_timedsend as strong name.
27786         (mq_timedreceive): Use __mq_timedreceive as strong name.
27787         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
27788         (__mq_timedreceive): Likewise.
27789         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
27790         __mq_timedreceive instead of mq_timedreceive.
27791         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
27792         instead of mq_timedsend.
27793         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
27794         Remove variable.
27796         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
27797         hidden_def and hidden_weak instead of libc_hidden_def and
27798         libc_hidden_weak.
27799         (top level): Refer to hidden_def in comment.
27800         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
27801         macro.  Use it instead of libc_hidden_def.
27802         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
27803         specify __GI_* name explicitly.
27804         (mq_timedreceive): Likewise.
27805         (mq_setattr): Likewise.
27807         [BZ #18544]
27808         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
27809         __pthread_barrier_init and define as weak alias of
27810         __pthread_barrier_init.
27811         * sysdeps/sparc/nptl/pthread_barrier_init.c
27812         (pthread_barrier_init): Likewise.
27813         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
27814         __pthread_barrier_wait and define as weak alias of
27815         __pthread_barrier_wait.
27816         * sysdeps/sparc/nptl/pthread_barrier_wait.c
27817         (pthread_barrier_wait): Likewise.
27818         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
27819         (pthread_barrier_wait): Likewise.
27820         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
27821         (pthread_barrier_wait): Likewise.
27822         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
27823         (pthread_barrier_wait): Likewise.
27824         * nptl/Versions (libpthread): Export __pthread_barrier_init and
27825         __pthread_barrier_wait at version GLIBC_PRIVATE.
27826         * include/pthread.h (__pthread_barrier_init): Declare.
27827         (__pthread_barrier_wait): Likewise.
27828         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
27829         Call __pthread_barrier_wait instead of pthread_barrier_wait.
27830         (helper_thread): Likewise.
27831         (init_mq_netlink): Call __pthread_barrier_init instead of
27832         pthread_barrier_init.
27834         [BZ #18542]
27835         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
27836         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
27837         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
27838         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
27839         vswscanf.
27840         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
27841         Remove variable.
27843         [BZ #18540]
27844         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
27845         strong alias of _IO_fflush.  Use libc_hidden_def.
27846         * libio/iofflush_u.c (fflush_unlocked): Rename to
27847         __fflush_unlocked and define as weak alias of __fflush_unlocked.
27848         Use libc_hidden_weak.
27849         * include/stdio.h (__fflush_unlocked): Declare.  Use
27850         libc_hidden_proto.
27851         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
27852         fflush_unlocked.
27853         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
27854         Remove variable.
27856         [BZ #18539]
27857         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
27858         define as weak alias of __addseverity.
27859         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
27860         Remove variable.
27861         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27862         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27863         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27865         [BZ #18536]
27866         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
27867         (__tfind): Likewise.
27868         (__tdelete): Likewise.
27869         (__twalk): Likewise.
27870         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
27871         __twalk to GLIBC_PRIVATE.
27872         * include/search.h (__tsearch): Use libc_hidden_proto.
27873         (__tfind): Likewise.
27874         (__tdelete): Likewise.
27875         (__twalk): Likewise.
27876         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
27877         Call __tdelete instead of tdelete.
27878         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
27879         tfind.  Call __tsearch instead of tsearch.
27880         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
27881         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
27882         Remove variable.
27883         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27885         [BZ #18534]
27886         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
27887         (dprintf): Define as a weak alias of __dprintf, not a strong
27888         alias.
27889         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
27890         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
27891         dprintf.
27892         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
27893         Remove variable.
27894         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27895         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27897         [BZ #18533]
27898         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
27899         not a strong alias.
27900         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
27901         Remove variable.
27903         [BZ #18532]
27904         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
27905         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
27906         (in6addr_loopback): Rename to __in6addr_loopback and define as
27907         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
27908         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
27909         libc_hidden_proto.
27910         (__in6addr_any): Likewise.
27911         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
27912         in6addr_any.
27913         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
27914         variable.
27915         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27917 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
27919         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
27920         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
27921         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27922         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27923         redirections for pow.
27924         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27925         * sysdeps/x86_64/fpu/Versions: New versions added.
27926         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27927         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27928         build of SSE, AVX2 and AVX512 IFUNC versions.
27929         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
27930         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
27931         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
27932         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
27933         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
27934         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
27935         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
27936         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
27937         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
27938         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
27939         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
27940         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
27941         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
27942         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
27943         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27944         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27945         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27946         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27947         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27948         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27949         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27950         * NEWS: Mention addition of x86_64 vector pow.
27952         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27953         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27954         redirections for expf.
27955         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27956         * sysdeps/x86_64/fpu/Versions: New versions added.
27957         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27958         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27959         build of SSE, AVX2 and AVX512 IFUNC versions.
27960         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
27961         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
27962         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
27963         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
27964         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
27965         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
27966         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
27967         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
27968         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
27969         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
27970         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
27971         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
27972         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
27973         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27974         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27975         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27976         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27977         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27978         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27979         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27980         * NEWS: Mention addition of x86_64 vector expf.
27982         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
27983         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
27984         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
27985         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27986         redirections for exp.
27987         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27988         * sysdeps/x86_64/fpu/Versions: New versions added.
27989         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27990         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
27991         build of SSE, AVX2 and AVX512 IFUNC versions.
27992         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
27993         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
27994         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
27995         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
27996         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
27997         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
27998         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
27999         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
28000         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
28001         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
28002         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
28003         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
28004         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
28005         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28006         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28007         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28008         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28009         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28010         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28011         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28012         * NEWS: Mention addition of x86_64 vector exp.
28014         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28015         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28016         redirections for logf.
28017         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28018         * sysdeps/x86_64/fpu/Versions: New versions added.
28019         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28020         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28021         build of SSE, AVX2 and AVX512 IFUNC versions.
28022         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
28023         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
28024         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
28025         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
28026         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
28027         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
28028         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
28029         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
28030         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
28031         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
28032         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
28033         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
28034         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
28035         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28036         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28037         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28038         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28039         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28040         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28041         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28042         * NEWS: Mention addition of x86_64 vector logf.
28044         * bits/libm-simd-decl-stubs.h: Added stubs for log.
28045         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
28046         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28047         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28048         redirections for log.
28049         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28050         * sysdeps/x86_64/fpu/Versions: New versions added.
28051         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28052         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28053         build of SSE, AVX2 and AVX512 IFUNC versions.
28054         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
28055         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
28056         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
28057         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
28058         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
28059         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
28060         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
28061         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
28062         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
28063         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
28064         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
28065         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
28066         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
28067         test.
28068         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28069         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28070         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28071         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28072         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28073         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28074         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28075         * NEWS: Mention addition of x86_64 vector log.
28077 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28079         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
28080         cfi_adjust_cfa_offset argument.
28081         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
28082         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
28084         [BZ #18034]
28085         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
28086         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
28087         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
28088         ordering using ldar.
28089         (_dl_tlsdesc_dynamic): Likewise.
28090         (_dl_tlsdesc_return_lazy): Likewise.
28091         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
28092         relaxed atomics instead of volatile and synchronize with release store.
28093         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
28094         volatile.
28095         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28097 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
28099         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28100         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
28101         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28102         * sysdeps/x86_64/fpu/Versions: New versions added.
28103         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28104         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28105         build of SSE, AVX2 and AVX512 IFUNC versions.
28106         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
28107         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
28108         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
28109         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
28110         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
28111         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
28112         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
28113         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
28114         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
28115         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
28116         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
28117         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
28118         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
28119         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28120         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28121         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28122         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28123         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28124         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28125         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28126         * NEWS: Mention addition of x86_64 vector sinf.
28128 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
28130         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
28131         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
28132         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
28133         Remove variable.
28134         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28135         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28137 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28139         [BZ #18530]
28140         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
28141         strong alias of _IO_fputs.  Use libc_hidden_def.
28142         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
28143         and define as weak alias of __fputs_unlocked.  Use
28144         libc_hidden_weak.
28145         * include/stdio.h (__fputs_unlocked): Declare.  Use
28146         libc_hidden_proto.
28147         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
28148         fputs_unlocked.
28150         [BZ #18529]
28151         * resolv/netdb.h [__USE_POSIX]: Change condition to
28152         [__USE_XOPEN2K].
28153         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
28154         not expect.
28155         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
28156         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
28157         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
28158         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
28159         [XPG4 || UNIX98] (AI_ALL): Likewise.
28160         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
28161         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
28162         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
28163         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
28164         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
28165         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
28166         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
28167         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
28168         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
28169         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
28170         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
28171         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
28172         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
28173         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
28174         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
28175         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28176         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28177         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
28178         [XPG4 || UNIX98] (gai_strerror): Likewise.
28179         [XPG4 || UNIX98] (getaddrinfo): Likewise.
28180         [XPG4 || UNIX98] (getnameinfo): Likewise.
28182         [BZ #18528]
28183         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
28184         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
28185         __USE_XOPEN2K8].
28186         (getgrent): Likewise.
28187         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
28188         expect.
28189         [XPG3 || POSIX2008] (endgrent): Likewise.
28190         [XPG3] (setgrent): Likewise.
28191         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
28192         variable.
28193         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28195         [BZ #18527]
28196         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
28197         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
28198         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
28199         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
28200         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
28201         * include/unistd.h (__getlogin_r): Declare.  Use
28202         libc_hidden_proto.
28203         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
28204         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
28205         variable.
28206         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28207         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28208         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28210 2015-06-12  Martin Sebor  <msebor@redhat.com>
28212         [BZ #18512]
28213         * Makerules (check-install-supported): New target.
28214         (install): Add check-install-supported as a dependency.
28215         * manual/install.texi (Installing the C Library): Document
28216         that overriding prefix and exec_prefix is not supported.
28217         Mention DESTDIR.
28218         * INSTALL: Regenerate from the above.
28220 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28222         [BZ #18519]
28223         * posix/Versions (libc): Export __libc_pread at version
28224         GLIBC_PRIVATE.
28225         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
28226         instead of pread.
28227         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
28228         variable.
28230         [BZ #18522]
28231         * misc/efgcvt_r.c
28232         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
28233         (cvt_symbol): Use weak_alias instead of strong_alias.
28234         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
28235         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
28236         Remove variable.
28237         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28238         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28240         [BZ #18520]
28241         * inet/herrno.c (h_errno): Rename to __h_errno.
28242         (__libc_h_errno): Define as alias of __h_errno not h_errno.
28243         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
28244         to __h_errno instead of h_errno.
28245         * nptl/herrno.c (h_errno): Rename to __h_errno.
28246         (__h_errno_location): Refer to __h_errno not h_errno.
28247         * resolv/Versions (h_errno): Rename to __h_errno.
28248         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
28249         Remove variable.
28250         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28252 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
28254         * configure.ac: More strict check for AVX512 assembler support.
28255         * configure: Regenerated.
28257         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
28258         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
28259         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28260         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
28261         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28262         * sysdeps/x86_64/fpu/Versions: New versions added.
28263         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28264         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28265         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28266         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
28267         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
28268         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
28269         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
28270         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
28271         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
28272         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
28273         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
28274         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
28275         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
28276         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
28277         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
28278         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
28279         test.
28280         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28281         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28282         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28283         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28284         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28285         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28286         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28287         * NEWS: Mention addition of x86_64 vector sin.
28289 2015-06-11  Florian Weimer  <fweimer@redhat.com>
28291         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
28292         comment.
28294 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
28296         [BZ #18479]
28297         * nptl/pt-interp.c: New file.
28298         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
28299         Add pt-interp.
28300         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
28301         $(common-objpfx)runtime-linker.h.
28303 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
28305         * Makeconfig (+interp): Remove unused variable.
28306         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
28307         only.  Depend on $(common-objpfx)runtime-linker.h instead of
28308         $(elf-objpfx)runtime-linker.h.
28309         ($(elf-objpfx)runtime-linker.h): Rename to
28310         $(common-objpfx)runtime-linker.h and move ...
28311         * Makerules [$(build-shared) = yes]: ... here.
28312         * elf/interp.c: Include <runtime-linker.h> instead of
28313         <elf/runtime-linker.h>.
28315 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28317         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
28318         (__gettimeofday_syscall): Remove vsyscall fallback.
28319         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
28320         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
28321         Add syscall fallback function.
28322         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
28323         if vDSO is not present.
28324         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
28325         fallback function.
28326         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
28327         present.
28328         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
28329         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28331 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
28333         [BZ #18497]
28334         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
28335         of wcscmp.
28336         (wcscmp): Define as weak alias of WCSCMP.
28337         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
28338         wcscoll.
28339         (USE_HIDDEN_DEF): Define.
28340         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
28341         __wcscoll.  Don't use libc_hidden_weak.
28342         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
28343         wcscmp.
28344         * sysdeps/i386/i686/multiarch/wcscmp-c.c
28345         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
28346         __GI_wcscmp.
28347         (weak_alias): Undefine and redefine.
28348         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
28349         __wcscmp and define as weak alias of __wcscmp.
28350         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
28351         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
28352         (__wcscoll): Likewise.
28353         (wcscmp): Don't use libc_hidden_proto.
28354         (wcscoll): Likewise.
28355         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
28356         wcscoll.
28357         * posix/regexec.c (check_node_accept_bytes): Likewise.
28358         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
28359         variable.
28360         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28361         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28363         [BZ #18507]
28364         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
28365         __fstatvfs and define as weak alias of __fstatvfs.  Use
28366         libc_hidden_weak.
28367         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
28368         and define as weak alias of __statvfs.  Use libc_hidden_weak.
28369         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
28370         Define as alias of __fstatvfs, not fstatvfs.
28371         (fstatvfs64): Likewise.
28372         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
28373         Define as alias of __statvfs, not statvfs.
28374         (statvfs64): Likewise.
28375         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
28376         Remove variable.
28378 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28381         (HAVE_GETCPU_VSYSCALL): Define.
28382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28383         (HAVE_GETCPU_VSYSCALL): Likewise.
28384         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
28385         * sysdeps/unix/sysv/linux/sched_getcpu.c
28386         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
28387         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
28388         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
28389         prototype.
28390         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28391         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
28392         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
28393         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
28394         Define.
28395         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
28396         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28397         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
28398         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28400 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
28402         * sysdeps/x86_64/fpu/Makefile: New file.
28403         * sysdeps/x86_64/fpu/Versions: New file.
28404         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
28405         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
28406         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
28407         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
28408         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
28409         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
28410         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
28411         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
28412         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
28413         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
28414         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
28415         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
28416         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
28417         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28418         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28419         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
28420         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
28421         * sysdeps/x86_64/configure.ac: Options for libmvec build.
28422         * sysdeps/x86_64/configure: Regenerated.
28423         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
28424         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
28425         * manual/install.texi (Configuring and compiling): Document
28426         --disable-mathvec.
28427         * INSTALL: Regenerated.
28428         * NEWS: Mention addition of libmvec and x86_64 vector cos.
28430         * math/Makefile: Added rules for vector tests.
28431         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
28432         declaration under condition.
28433         * math/test-double-vlen2.h: New file.
28434         * math/test-double-vlen4.h: New file.
28435         * math/test-double-vlen8.h: New file.
28436         * math/test-vec-loop.h: Added initialization macro.
28437         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
28438         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
28439         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
28440         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
28441         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
28442         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
28443         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
28444         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
28445         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
28446         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
28447         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
28449         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28450         * sysdeps/x86_64/fpu/Versions: New versions added.
28451         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
28452         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
28453         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
28454         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
28455         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
28456         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
28457         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
28458         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
28459         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
28460         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
28461         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
28462         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
28463         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
28464         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28465         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28466         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28467         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
28468         * NEWS: Mention addition of x86_64 vector cosf.
28470         * math/Makefile: Added CFLAGS for new tests.
28471         * math/test-float-vlen16.h: New file.
28472         * math/test-float-vlen4.h: New file.
28473         * math/test-float-vlen8.h: New file.
28474         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
28475         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
28476         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28477         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
28478         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
28479         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
28480         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
28481         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
28482         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
28483         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
28484         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
28486 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
28488         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
28489         * locale/programs/ld-ctype.c: Likewise.
28491 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
28493         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
28494         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
28495         bit_ZMM16_31_state): New macro.
28496         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28497         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
28499 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
28501         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
28503 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
28505         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
28507 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
28509         [BZ #18498]
28510         * libio/memstream.c (open_memstream): Rename to __open_memstream
28511         and define as weak alias of __open_memstream.
28512         * include/stdio.h (__open_memstream): Declare.  Use
28513         libc_hidden_proto.
28514         (open_memstream): Don't use libc_hidden_proto.
28515         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
28516         open_memstream.
28517         * posix/getopt.c (_getopt_internal_r): Likewise.
28518         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
28519         variable.
28520         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28521         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28522         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28524         [BZ #18496]
28525         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
28526         instead of wcrtomb.
28528         [BZ #18483]
28529         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
28530         [__USE_XOPEN2K8].  Remove redundant #endif.
28531         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
28532         Remove redundant #if.
28533         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
28534         Remove variable.
28535         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28536         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28538         [BZ #18495]
28539         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
28540         (__iswlower): Likewise.
28541         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
28542         (__iswlower): Likewise.
28543         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
28544         instead of towlower.
28545         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
28546         instead of iswlower.  Call __towupper instead of towupper.
28547         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
28548         instead of iswalnum.
28550 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28552         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
28553         errors to stderr.
28555 2015-06-05  Florian Weimer  <fweimer@redhat.com>
28557         [BZ #15661]
28558         [BZ #17322]
28559         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
28560         Check for overflow properly.  Check for O_APPEND.  Ignore large
28561         file system block sizes.  Add comments about problems.
28562         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
28563         * manual/filesys.texi (Storage Allocation): New node.
28565 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28567         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
28568         cancellable syscalls.
28569         (SYS_ify): Add guard to no redefine it.
28570         (INLINE_SYSCALL): Likewise.
28571         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
28572         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
28573         SYSCALL_CANCEL instead.
28574         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
28575         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
28576         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
28577         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
28578         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
28579         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
28580         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
28581         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
28582         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28583         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28584         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
28585         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
28586         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
28587         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
28588         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
28589         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
28590         Likewise.
28591         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
28592         (__libc_pread64): Likewise.
28593         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
28594         (__libc_preadv): Likewise.
28595         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
28596         (__libc_readv64): Likewise.
28597         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
28598         (__libc_pwrite): Likewise.
28599         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
28600         (__libc_pwrite64): Likewise.
28601         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
28602         (__libc_pwritev): Likewise.
28603         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
28604         (__libc_pwritev64): Likewise.
28605         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
28606         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
28607         (sync_file_range): Likewise.
28608         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
28609         Likewise.
28610         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
28611         Likewise.
28612         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
28613         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
28614         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
28615         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
28616         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
28617         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
28618         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28619         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
28620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
28621         Likewise.
28622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28623         (__libc_read64): Likewise.
28624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
28625         Likewise.
28626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
28627         Likewise.
28628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
28629         Likewise.
28630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
28631         Likewise.
28632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28633         (__libc_pread64): Likewise.
28634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
28635         Likewise.
28636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28637         (__libc_pwrite64): Likewise.
28638         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
28639         (sync_file_range): Likewise.
28640         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
28641         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
28642         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
28643         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
28644         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
28645         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
28646         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
28647         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
28648         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
28649         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
28650         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28651         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
28652         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
28653         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
28654         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
28655         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
28656         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
28657         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28658         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
28659         Likewise.
28660         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
28661         Likewise.
28662         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
28663         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
28664         Likewise.
28665         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
28666         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
28667         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
28668         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
28669         Likewise.
28670         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
28671         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
28672         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
28673         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
28674         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
28676 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
28678         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
28679         Include dl-vdso.
28680         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
28681         Use VDSO routines for gettimeofday, clock_gettime if
28682         available.
28683         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
28684         Declare VDSO symbols.
28685         * sysdeps/unix/sysv/linux/arm/sysdep.h:
28686         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
28687         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28688         * sysdeps/unix/sysv/linux/arm/Versions: Add
28689         __vdso_clock_gettime.
28691 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28693         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
28694         be an inline implementation regardless of library is built within.
28695         (open_not_cancel_2): Likewise.
28696         (__read_nocancel): Likewise.
28697         (__write_nocancel): Likewise.
28698         (openat_not_cancel): Likewise.
28699         (openat_not_cancel_3): Likewise.
28700         (openat64_not_cancel): Likewise.
28701         (openat64_not_cancel_3): Likewise.
28702         (__close_nocancel): Likewise.
28703         (pause_not_cancel): Likewise.
28704         (nanosleep_not_cancel): Likewise.
28705         (sigsuspend_not_cancel): Likewise.
28707 2015-06-04  Torvald Riegel  <triegel@redhat.com>
28709         [BZ #14958]
28710         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
28711         wake-up.
28712         (__pthread_rwlock_rdlock_slow): Likewise.
28713         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28714         Likewise.
28715         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28716         Likewise.
28717         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
28718         * nptl/tst-rwlock16.c: New file.
28719         * nptl/Makefile (tests): Add new test.
28721 2015-06-04  Torvald Riegel  <triegel@redhat.com>
28723         [BZ #18324]
28724         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
28725         missing wake-up of readers.
28726         * nptl/tst-rwlock15.c: New file.
28727         * nptl/Makefile (tests): Add new test.
28729 2015-06-03  Roland McGrath  <roland@hack.frob.com>
28731         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
28732         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
28733         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
28734         and __nacl_supply_interface_rtld.
28735         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
28736         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
28737         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
28738         Add __nacl_supply_interface_rtld.
28739         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
28741 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
28743         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
28744         isfinite.
28745         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28746         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
28748 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
28750         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
28751         __signbit* with standard C99 macros.
28752         * math/e_exp10l.c: Likewise.
28753         * math/e_exp2l.c: Likewise.
28754         * math/e_scalb.c: Likewise.
28755         * math/e_scalbf.c: Likewise.
28756         * math/e_scalbl.c: Likewise.
28757         * math/s_ldexp.c: Likewise.
28758         * math/s_ldexpf.c: Likewise.
28759         * math/s_ldexpl.c: Likewise.
28760         * math/w_atan2.c: Likewise.
28761         * math/w_atan2f.c: Likewise.
28762         * math/w_atan2l.c: Likewise.
28763         * math/w_cosh.c: Likewise.
28764         * math/w_coshf.c: Likewise.
28765         * math/w_coshl.c: Likewise.
28766         * math/w_exp10.c: Likewise.
28767         * math/w_exp10f.c: Likewise.
28768         * math/w_exp10l.c: Likewise.
28769         * math/w_exp2.c: Likewise.
28770         * math/w_exp2f.c: Likewise.
28771         * math/w_exp2l.c: Likewise.
28772         * math/w_fmod.c: Likewise.
28773         * math/w_fmodf.c: Likewise.
28774         * math/w_fmodl.c: Likewise.
28775         * math/w_hypot.c: Likewise.
28776         * math/w_hypotf.c: Likewise.
28777         * math/w_hypotl.c: Likewise.
28778         * math/w_jnl.c: Likewise.
28779         * math/w_lgamma.c: Likewise.
28780         * math/w_lgamma_r.c: Likewise.
28781         * math/w_lgammaf.c: Likewise.
28782         * math/w_lgammaf_r.c: Likewise.
28783         * math/w_lgammal.c: Likewise.
28784         * math/w_lgammal_r.c: Likewise.
28785         * math/w_pow.c: Likewise.
28786         * math/w_powf.c: Likewise.
28787         * math/w_powl.c: Likewise.
28788         * math/w_remainder.c: Likewise.
28789         * math/w_remainderf.c: Likewise.
28790         * math/w_remainderl.c: Likewise.
28791         * math/w_scalb.c: Likewise.
28792         * math/w_scalbf.c: Likewise.
28793         * math/w_scalbl.c: Likewise.
28794         * math/w_scalbln.c: Likewise.
28795         * math/w_scalblnf.c: Likewise.
28796         * math/w_scalblnl.c: Likewise.
28797         * math/w_sinh.c: Likewise.
28798         * math/w_sinhf.c: Likewise.
28799         * math/w_sinhl.c: Likewise.
28800         * math/w_tgamma.c: Likewise.
28801         * math/w_tgammaf.c: Likewise.
28802         * math/w_tgammal.c: Likewise.
28803         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28804         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
28805         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28806         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28807         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28808         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28809         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28810         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28811         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28812         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28813         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28814         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28815         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28816         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28817         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28818         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28819         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28820         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28821         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28822         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28823         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28824         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28825         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28826         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28827         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28828         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28829         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
28830         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28831         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28832         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28833         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
28834         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
28835         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
28836         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
28837         * stdio-common/printf_fp.c: Likewise.
28838         * stdio-common/printf_fphex.c: Likewise.
28839         * stdio-common/printf_size.c: Likewise.
28841 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
28843         [BZ #18470]
28844         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
28845         strnlen.
28846         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
28847         Remove variable.
28848         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28849         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28850         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28851         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28852         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28853         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28854         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28855         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28856         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28857         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28859         [BZ #18468]
28860         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
28861         weak alias of __wmemchr.  Use libc_hidden_weak.
28862         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
28863         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
28864         instead of wmemchr.
28866 2015-06-02  Roland McGrath  <roland@hack.frob.com>
28868         [BZ #18383]
28869         * elf/tst-tlsalign-extern.c: New file.
28870         * elf/tst-tlsalign-extern-static.c: New file.
28871         * elf/tst-tlsalign-vars.c: New file.
28872         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
28873         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
28874         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
28875         ($(objpfx)tst-tlsalign-extern-static): Likewise.
28876         (test-xfail-tst-tlsalign-extern-static): New variable.
28878 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
28880         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
28881         Use variable name _sc_err instead of err.
28882         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
28883         instead of ret.
28884         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
28885         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
28886         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
28887         (INLINE_SYSCALL): Likewise.
28889         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
28890         * include/string.h (__strnlen): Use libc_hidden_proto.
28891         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
28892         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
28893         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
28894         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
28895         (libc_hidden_def): Undefine and redefine.
28896         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
28897         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
28898         __GI_strnlen.
28899         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
28900         libc_hidden_def.
28901         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
28903         [BZ #18469]
28904         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
28905         weak alias of __towlower.  Use libc_hidden_weak.
28906         (towupper): Rename to __towupper and define as weak alias of
28907         __towupper.  Use libc_hidden_weak.
28908         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
28909         (__towupper): Likewise.
28910         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
28911         __towlower instead of towlower.
28913 2015-06-02  Roland McGrath  <roland@hack.frob.com>
28915         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
28916         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
28918 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28920         * sysdeps/aarch64/libm-test-ulps: Update.
28922 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28924         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
28925         Define.
28926         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28927         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
28928         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
28929         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
28930         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
28931         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
28932         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
28934 2015-06-01  Martin Sebor  <msebor@redhat.com>
28936         [BZ #18116]
28937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28938         (__setcontext): Use extended four-operand version of mtsf whenever
28939         possible.
28940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28941         (__novec_swapcontext): Likewise.
28943 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28945         * benchtests/scripts/compare_bench.py: New file.
28946         * benchtests/scripts/import_bench.py (mean): New function.
28947         (split_list): Likewise.
28948         (do_for_all_timings): Likewise.
28949         (compress_timings): Likewise.
28951         * benchtests/scripts/import_bench.py: New file.
28952         * benchtests/scripts/validate_benchout.py: Import import_bench
28953         instead of jsonschema.
28954         (validate_bench): Remove function.
28955         (main): Use import_bench.
28957 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
28959         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
28960         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
28962 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28966 2015-05-28  Roland McGrath  <roland@hack.frob.com>
28968         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
28969         set THREAD_SELF->tid to a magic value and futex-wake it.
28970         Pass its address to the thread_exit system call.
28971         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
28972         bit is clear.
28973         * sysdeps/nacl/lowlevellock.h: New file.
28974         * sysdeps/nacl/lll_timedwait_tid.c: New file.
28976         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
28977         Add TIMEOUT to current time, don't subtract it.
28979 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
28981         [BZ #2981]
28982         [BZ #18422]
28983         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
28984         ($(objpfx)tst-audit2.out): Also depend on
28985         $(objpfx)tst-auditmod9b.so.
28986         * elf/tst-audit2.c: Include <dlfcn.h>.
28987         (calloc_called): New.
28988         (calloc): Allow to be called more than once.
28989         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
28991 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
28993         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
28994         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
28996 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
28998         * stdlib/monetary.h: Fix comment.
29000 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
29002         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
29003         Avoid using variables in #defines that might cause shadowing.
29004         (INTERNAL_VSYSCALL_CALL): Likewise.
29006 2015-05-26  Roland McGrath  <roland@hack.frob.com>
29008         * sysdeps/nacl/lll_timedlock_wait.c: New file.
29010         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
29011         * nptl/lll_timedlock_wait.c: ... to this new file.
29012         * nptl/Makefile (libpthread-routines): Add it.
29013         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
29014         * nptl/lll_timedwait_tid.c: ... to this new file.
29015         * nptl/Makefile (libpthread-routines): Add it.
29016         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
29017         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
29018         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
29019         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
29020         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
29021         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
29022         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
29023         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
29024         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
29025         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
29027 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29029         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
29030         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29031         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29032         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
29033         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
29034         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29035         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29036         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29037         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29038         * sysdeps/unix/sysv/linux/tile/sysdep.h
29039         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29040         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
29041         using vDSO syscall macro.
29043 2015-05-26  Andriy Rysin  <arysin@gmail.com>
29045         [BZ #17293]
29046         * uk_UA: Fix sorting order for Ukrainian locale
29048 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
29050         * stdlib/monetary.h: Fix comment.
29052 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29054         [BZ #18234]
29055         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
29056         st_mtim and st_ctim members.
29057         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
29058         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
29059         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
29060         (struct stat64): Likewise.
29061         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
29062         (struct stat64): Likewise.
29063         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
29064         (struct stat64): Likewise.
29066 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29068         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
29069         Define and include sysdep-vdso.h.
29070         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
29071         Likewise.
29072         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
29073         Likewise.
29074         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
29075         Define with VDSO_SYMBOL and use PTR_MANGLE.
29076         (__vdso_clock_gettime): Likewise.
29077         (__vdso_clock_getres): Likewise.
29078         (_libc_vdso_platform_setup): Likewise.
29079         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29080         Likewise.
29081         (_libc_vdso_platform_setup): Likewise.
29082         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
29083         Likewise.
29084         (__vdso_clock_gettime): Likewise.
29085         (__vdso_clock_getres): Likewise.
29086         (__vdso_get_tbfreq): Likewise.
29087         (__vdso_getcpu): Likewise.
29088         (__vdso_time): Likewise.
29089         (__vdso_sigtramp_rt64): Likewise.
29090         (__vdso_signtramp32): Likewise.
29091         (__vdso_sigtramp_rt32): Likewise.
29092         (_libc_vdso_platform_setup): Likewise.
29093         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
29094         Likewise.
29095         (__vdso_clock_gettime): Likewise.
29096         (__vdso_clock_getres): Likewise.
29097         (_libc_vdso_platform_setup): Likewise.
29098         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
29099         Likewise.
29100         (__vdso_clock_gettime): Likewise.
29101         (_libc_vdso_platform_setup): Likewise.
29102         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29103         Likewise.
29104         (__vdso_getcpu): Likewise.
29105         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
29106         Use VDSO_SYMBOL macro to define.
29107         (__vdso_clock_gettime): Likewise.
29108         (__vdso_clock_getres): Likewise.
29109         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
29110         Likewise.
29111         (__vdso_clock_gettime): Likewise.
29112         (__vdso_clock_getres): Likewise.
29113         (__vdso_get_tbfreq): Likewise.
29114         (__vdso_getcpu): Likewise.
29115         (__vdso_time): Likewise.
29116         (__vdso_sigtramp_rt64): Likewise.
29117         (__vdso_signtramp32): Likewise.
29118         (__vdso_sigtramp_rt32): Likewise.
29119         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
29120         Likewise.
29121         (__vdso_clock_gettime): Likewise.
29122         (__vdso_clock_getres): Likewise.
29123         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
29124         Likewise.
29125         (__vdso_clock_gettime): Likewise.
29126         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29127         Likewise.
29128         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
29129         macro.
29130         (INTERNAL_VSYSCALL): Likewise.
29131         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
29132         Remove macro.
29133         (INTERNAL_VSYSCALL): Likewise.
29134         (INTERNAL_VSYSCALL_NCS): Likewise.
29135         (INTERNAL_VSYSCALL_CALL): New macro.
29136         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29137         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
29138         Likewise.
29139         (INTERNAL_VSYSCALL): Likewise.
29140         (INTERNAL_VSYSCALL_NCS): Likewise.
29141         (INTERNAL_VSYSCALL_CALL): New macro.
29142         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29144         (INLINE_VSYSCALL): Remove macro.
29145         (INTERNAL_VSYSCALL): Remove macro.
29146         (INTERNAL_VSYSCALL_NCS): Remove macro.
29147         (INTERNAL_VSYSCALL_CALL): New macro.
29148         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
29149         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
29150         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29151         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
29152         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29154         (INLINE_VSYSCALL): Remove macro.
29155         (INTERNAL_VSYSCALL): Likewise.
29156         (INTERNAL_VSYSCALL_NCS): Likewise.
29157         (INTERNAL_VSYSCALL_CALL): New macro.
29158         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
29159         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
29160         PTR_DEMANGLE on vDSO pointer.
29161         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29162         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
29163         macro.
29164         (INTERNAL_SYSCALL): Likewise.
29165         (INTERNAL_VSYSCALL_NCS): Remove macro.
29166         (INTERNAL_VSYSCALL_CALL): New macro.
29167         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
29168         Remove macro.
29169         (INTERNAL_VSYSCALL): Likewise.
29170         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
29171         sysdep-vdso.h instead of libc-vdso.h.
29172         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
29173         definition.
29174         (INLINE_VSYSCALL): Likewise.
29175         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
29176         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
29177         definition.
29178         (INLINE_VSYSCALL): Likewise.
29179         (INTERNAL_VSYSCALL): Likewise.
29180         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29181         * sysdeps/unix/sysv/linux/timespec_get.c
29182         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29183         (timespec_get): Use ANSI prototype.
29184         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
29185         and definition for Linux.
29187 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
29189         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
29190         * include/libc-symbols.h: libmvec_hidden_* macro series added.
29192 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29194         [BZ #2981]
29195         [BZ #18410]
29196         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
29197         for missing DT_PLTRELSZ.
29199 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
29201         Remove obsolete aliases that broke 'locale -a'
29202         [BZ #18412]
29203         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
29204         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
29205         breaking some applications that use 'locale -a' output.
29206         Change the encoding of this file from Latin-1 to ASCII to avoid
29207         other potential problems with people grepping this file.
29209 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29211         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
29212         -fasynchronous-unwind-tables.
29213         (CFLAGS-sendto.c): Likewise.
29214         (CFLAGS-sendmsg.c): Likewise.
29215         (CFLAGS-connect.c): Likewise.
29216         (CFLAGS-recvmsg.c): Likewise.
29217         (CFLAGS-recvfrom.c): Likewise.
29218         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
29219         (SOCKETCALL): New macro: non-cancellable socketcall.
29220         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
29221         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
29222         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
29223         * sysdeps/unix/sysv/linux/accept.c: New file.
29224         * sysdeps/unix/sysv/linux/bind.c: Likewise.
29225         * sysdeps/unix/sysv/linux/connect.c: Likewise.
29226         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
29227         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
29228         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
29229         * sysdeps/unix/sysv/linux/listen.c: Likewise.
29230         * sysdeps/unix/sysv/linux/recv.c: Likewise.
29231         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
29232         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
29233         * sysdeps/unix/sysv/linux/send.c: Likewise.
29234         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
29235         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
29236         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
29237         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
29238         * sysdeps/unix/sysv/linux/socket.c: Likewise.
29239         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
29240         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
29241         prototype.
29242         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
29243         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29244         instead of __internal_xxx function.
29245         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
29246         prototype.
29247         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
29248         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29249         instead of __internal_xxx function.
29250         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
29251         prototype.
29252         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
29253         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29254         instead of __internal_xxx function.
29255         * sysdeps/unix/sysv/linux/accept.S: Remove file.
29256         * sysdeps/unix/sysv/linux/bind.S: Likewise.
29257         * sysdeps/unix/sysv/linux/connect.S: Likewise.
29258         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
29259         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
29260         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
29261         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
29262         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
29263         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
29264         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
29265         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
29266         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29267         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
29268         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
29269         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
29270         * sysdeps/unix/sysv/linux/listen.S: Likewise.
29271         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
29272         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
29273         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
29274         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
29275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
29276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
29277         * sysdeps/unix/sysv/linux/recv.S: Likewise.
29278         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
29279         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
29280         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
29281         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29282         * sysdeps/unix/sysv/linux/send.S: Likewise.
29283         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
29284         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
29285         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
29286         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
29287         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
29288         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
29289         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
29290         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
29291         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
29292         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
29293         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
29294         socketcall is implemented in GLIBC.
29296 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29298         * soft-fp/fmadf4.c: Include <libc-internal.h>.
29299         (__fma): Ignore uninitialized warnings around packing.
29300         * soft-fp/fmasf4.c: Include <libc-internal.h>.
29301         (__fmaf): Ignore uninitialized warnings around packing.
29302         * soft-fp/fmatf4.c: Include <libc-internal.h>.
29303         (__fmal): Ignore uninitialized warnings around packing.
29305         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
29306         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29307         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
29308         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29310         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
29311         switch statement into default case.
29312         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
29314         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
29315         a conditional in forcing "inexact".
29316         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29317         Likewise.
29319 2015-05-22  Roland McGrath  <roland@hack.frob.com>
29321         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29322         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
29323         for each INTERNAL_SYSCALL use.
29325 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29327         [BZ #438]
29328         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
29329         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
29330         variable.
29332         [BZ #18444]
29333         * string/basename.c (basename): Rename to __basename and define as
29334         weak alias of __basename.  Use libc_hidden_weak.
29335         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
29336         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
29337         __basename instead of basename.
29338         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
29339         Remove variable.
29340         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29342 2015-05-18  Florian Weimer  <fweimer@redhat.com>
29344         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
29345         (_IO_JUMPS_FILE_plus): New.
29346         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
29347         _IO_CAST_FIELD_ACCESS.
29348         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
29349         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
29350         * libio/freopen.c (freopen): Likewise.
29351         * libio/freopen64.c (freopen64): Likewise.
29352         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
29353         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
29354         * libio/iofwide.c (_IO_fwide): Likewise.
29355         * libio/memstream.c (open_memstream): Likewise.
29356         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29357         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
29358         * libio/oldiopopen.c (_IO_old_popen): Likewise.
29360 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
29362         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
29363         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
29364         NADJ.
29365         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
29366         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
29367         NADJ.
29368         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
29369         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
29370         NADJ.
29372         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
29373         (p == 4) case.
29375         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
29376         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
29377         Remove variable.
29378         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29379         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29380         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29382 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29384         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
29385         Adjust jump table label generation macros.
29387 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29389         * stdio-common/vfprintf.c (vfprintf): Move local variables
29390         args_malloced, specs, specs_malloced, and the code after
29391         do_positional to the printf_positional function.
29392         (printf_positional): New function.
29394 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29396         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
29397         function.
29398         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
29399         STEP4_TABLE, process_arg): Move macro definitions
29400         out of the vfprintf function.  (Cosmetic change only.)
29402 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
29404         * benchtests/Makefile (stdio-common-bench): Define.
29405         (benchset): Add stdio-common-bench.
29406         * sprintf-inputs: New file.
29407         * sprintf-source.c: New file.
29409 2015-05-21  Andreas Schwab  <schwab@suse.de>
29411         [BZ #13028]
29412         [BZ #17053]
29413         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
29414         of struct __res_state.
29415         * resolv/res_send.c (__libc_res_nsend): Likewise.
29416         (get_nsaddr): New function.
29417         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
29418         statp directly.
29420 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
29422         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
29423         -D_POSIX_C_SOURCE=199506L.
29425         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
29427         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
29428         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
29429         Do not mention otherwise.
29430         [POSIX] (_XOPEN_VERSION): Do not expect.
29431         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
29432         [POSIX] (_POSIX2_C_BIND): Likewise.
29433         [POSIX] (_POSIX2_VERSION): Likewise.
29434         [POSIX] (_XOPEN_XPG2): Likewise.
29435         [POSIX] (_XOPEN_XPG3): Likewise.
29436         [POSIX] (_XOPEN_XPG4): Likewise.
29437         [POSIX] (_XOPEN_UNIX): Likewise.
29438         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
29439         [POSIX] (_POSIX_BARRIERS): Likewise.
29440         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
29441         [POSIX] (_POSIX_CPUTIME): Likewise.
29442         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
29443         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
29444         [POSIX] (_POSIX_SHELL): Likewise.
29445         [POSIX] (_POSIX_SPAWN): Likewise.
29446         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
29447         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
29448         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
29449         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
29450         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
29451         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
29452         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
29453         [POSIX] (_XBS5_LP64_OFF64): Likewise.
29454         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
29455         [POSIX] (_POSIX_TIMEOUTS): Likewise.
29456         [POSIX] (_POSIX2_PBS): Likewise.
29457         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
29458         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
29459         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
29460         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
29461         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
29462         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
29463         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
29464         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
29465         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
29466         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
29467         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
29468         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
29469         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
29470         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
29471         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
29472         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
29473         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
29474         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
29475         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
29476         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
29477         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
29478         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
29479         [POSIX] (_SC_2_C_BIND): Likewise.
29480         [POSIX] (_SC_2_C_VERSION): Likewise.
29481         [POSIX] (_SC_2_PBS): Likewise.
29482         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
29483         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
29484         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
29485         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
29486         [POSIX] (_SC_2_PBS_TRACK): Likewise.
29487         [POSIX] (_SC_ATEXIT_MAX): Likewise.
29488         [POSIX] (_SC_BARRIERS): Likewise.
29489         [POSIX] (_SC_BASE): Likewise.
29490         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
29491         [POSIX] (_SC_DEVICE_IO): Likewise.
29492         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
29493         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
29494         [POSIX] (_SC_FD_MGMT): Likewise.
29495         [POSIX] (_SC_FIFO): Likewise.
29496         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
29497         [POSIX] (_SC_FILE_LOCKING): Likewise.
29498         [POSIX] (_SC_FILE_SYSTEM): Likewise.
29499         [POSIX] (_SC_IOV_MAX): Likewise.
29500         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
29501         [POSIX] (_SC_NETWORKING): Likewise.
29502         [POSIX] (_SC_PAGE_SIZE): Likewise.
29503         [POSIX] (_SC_PASS_MAX): Likewise.
29504         [POSIX] (_SC_PIPE): Likewise.
29505         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
29506         [POSIX] (_SC_REGEXP): Likewise.
29507         [POSIX] (_SC_SHELL): Likewise.
29508         [POSIX] (_SC_SIGNALS): Likewise.
29509         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
29510         [POSIX] (_SC_SPIN_LOCKS): Likewise.
29511         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
29512         [POSIX] (_SC_USER_GROUPS): Likewise.
29513         [POSIX] (_SC_USER_GROUPS_R): Likewise.
29514         [POSIX] (_SC_STREAMS): Likewise.
29515         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
29516         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
29517         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
29518         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
29519         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
29520         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
29521         [POSIX] (_PC_FILESIZEBITS): Likewise.
29522         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
29523         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
29524         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
29525         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
29526         [POSIX] (uid_t): Likewise.
29527         [POSIX] (gid_t): Likewise.
29528         [POSIX] (off_t): Likewise.
29529         [POSIX] (pid_t): Likewise.
29530         [POSIX] (cuserid): Allow.
29531         (_SC_2_CHAR_TERM): Require constant.
29532         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
29533         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
29534         variable.
29536 2015-05-20  Roland McGrath  <roland@hack.frob.com>
29538         * sysdeps/nacl/pthread-pids.h: New file.
29539         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
29540         (create_thread): Use __nacl_get_tid to initialize PD->tid.
29542         * nptl/pthread-pids.h: New file.
29543         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
29544         * nptl/nptl-init.c: Include <pthread-pids.h>.
29545         (__pthread_initialize_minimal_internal):
29546         Call __pthread_initialize_pids instead of set_tid_address syscall.
29548         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
29549         * sysdeps/posix/usleep.c: ... here.
29551 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29553         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
29554         call_pselect6 object.
29555         [$(subdir) = io]: Remove call_sync_file_range object.
29556         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
29557         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
29558         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
29559         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
29561 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
29563         * math/s_cproj.c: Add include "math_private.h".
29564         * math/s_cprojf.c: Likewise.
29565         * math/s_cprojl.c: Likewise.
29567 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
29569         [BZ #18244]
29570         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
29571         high mantissa bit when testing whether P is a NaN.
29572         * math/libm-test.inc (remainder_test_data): Add more tests.
29573         (remquo_test_data): Likewise.
29575         [BZ #18049]
29576         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
29577         below -32, return the argument, with underflow if subnormal.
29578         * math/auto-libm-test-in: Add more tests of atanh.
29579         * math/auto-libm-test-out: Regenerated.
29581 2015-05-19  Roland McGrath  <roland@hack.frob.com>
29583         [BZ #18434]
29584         * nptl/tst-sem15.c: New file.
29585         * nptl/Makefile (tests): Add it.
29586         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
29587         s/<</>>/ to fix typo in EOVERFLOW check.
29588         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
29590 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29592         * manual/strings.texi (envz_remove): Fix typo in safety
29593         annotations.
29595 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
29596             Steve Ellcey  <sellcey@imgtec.com>
29598         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
29599         in order to avoid strict alias warnings.
29600         (iruserok_af): Ditto for ra.
29602 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
29604         [BZ #17581]
29605         * malloc/hooks.c
29606         (magicbyte): Convert to a function and avoid returning 0x01.
29607         (mem2mem_check): Avoid using a length byte equal to the magic byte.
29608         (mem2chunk_check): Fix unsigned comparisons to zero.
29609         Hoist defs of sz and magic.
29611 2015-05-19  Richard Henderson  <rth@redhat.com>
29613         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
29615         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29617 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29619         [BZ #16159]
29620         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
29621         * malloc/arena.c (arena_lock): Check if arena is corrupt.
29622         (reused_arena): Find a non-corrupt arena.
29623         (heap_trim): Pass arena to unlink.
29624         * malloc/hooks.c (malloc_check_get_size): Pass arena to
29625         malloc_printerr.
29626         (top_check): Likewise.
29627         (free_check): Likewise.
29628         (realloc_check): Likewise.
29629         * malloc/malloc.c (malloc_printerr): Add arena argument.
29630         (unlink): Likewise.
29631         (munmap_chunk): Adjust.
29632         (ARENA_CORRUPTION_BIT): New macro.
29633         (arena_is_corrupt): Likewise.
29634         (set_arena_corrupt): Likewise.
29635         (sysmalloc): Use mmap if there are no usable arenas.
29636         (_int_malloc): Likewise.
29637         (__libc_malloc): Don't fail if arena_get returns NULL.
29638         (_mid_memalign): Likewise.
29639         (__libc_calloc): Likewise.
29640         (__libc_realloc): Adjust for additional argument to
29641         malloc_printerr.
29642         (_int_free): Likewise.
29643         (malloc_consolidate): Likewise.
29644         (_int_realloc): Likewise.
29645         (_int_memalign): Don't touch corrupt arenas.
29646         * malloc/tst-malloc-backtrace.c: New test case.
29648         * Makefile (summarize-tests): Fix return value on success.
29650         * manual/string.texi (Envz Functions): Add envz_remove.
29652 2015-05-18  Roland McGrath  <roland@hack.frob.com>
29654         * sysdeps/posix/opendir.c: Include <stdbool.h>.
29655         (invalid_name): New function, broken out of ...
29656         (__opendirat): ... here.  Call it.
29657         (need_isdir_precheck): New function, broken out of ...
29658         (__opendirat): ... here.  Call it.
29659         Use __fxstatat64, not __xstatat64.
29660         (opendir_oflags): New function, broken out of ...
29661         (__opendirat): ... here.  Call it.
29662         (opendir_tail): New function, broken out of ...
29663         (__opendirat): ... here.  Call it.
29664         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
29665         opendir_tail, rather than punting to __opendirat.
29666         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
29668 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29670         * .gitignore: Ignore generated *.pyc.
29672 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
29674         * include/stdio.h: Define __need_wint_t.
29675         * test-skeleton.c: Avoid `for' loop initial declaration.
29676         * nptl/tst-initializers1.c: Use test-skeleton.c.
29678 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29680         [BZ #18418]
29681         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
29683 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
29685         [BZ #16352]
29686         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
29687         (__ieee754_atanh): Force underflow exception for results with
29688         small absolute value.
29689         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
29690         (__ieee754_atanhf): Force underflow exception for results with
29691         small absolute value.
29692         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
29693         (__ieee754_atanh): Force underflow exception for results with
29694         small absolute value.
29695         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
29696         (__ieee754_atanhf): Force underflow exception for results with
29697         small absolute value.
29698         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
29699         (__ieee754_atanhl): Force underflow exception for results with
29700         small absolute value.
29701         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
29702         (__ieee754_atanhl): Force underflow exception for results with
29703         small absolute value.
29704         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
29705         (__ieee754_atanhl): Force underflow exception for results with
29706         small absolute value.
29707         * math/auto-libm-test-in: Do not allow missing underflow
29708         exceptions from atanh.
29709         * math/auto-libm-test-out: Regenerated.
29711         [BZ #18221]
29712         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
29713         2**-28 as threshold for returning x or +/- 1/x.
29714         * math/auto-libm-test-in: Add more tests of tan.
29715         * math/auto-libm-test-out: Regenerated.
29717         [BZ #18220]
29718         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29719         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
29720         * math/auto-libm-test-in: Add another test of lgamma.
29721         * math/auto-libm-test-out: Regenerated.
29723 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
29725         * stdio-common/printf_fp.c (___printf_fp): Use abs.
29726         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
29727         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
29728         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
29729         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
29730         (ADD2A): Use fabs.  (SUB2A): Use fabs.
29731         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
29732         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
29733         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
29734         (log1): Use fabs.  (my_log2): Use fabs.
29735         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
29736         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
29737         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
29738         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
29739         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
29740         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
29741         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
29742         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
29743         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
29744         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
29745         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
29747 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
29749         [BZ #18217]
29750         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
29751         as threshold for returning 1 - x.
29752         * math/auto-libm-test-in: Add more tests of erfc.
29753         * math/auto-libm-test-out: Regenerated.
29755 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
29757         [BZ #18196]
29758         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
29759         threshold for large arguments.
29760         * math/auto-libm-test-in: Add another test of atan.
29761         * math/auto-libm-test-out: Regenerated.
29763         [BZ #16339]
29764         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
29765         (__log1p): Force underflow exception for results with small
29766         absolute value.
29767         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
29768         (__log1pf): Force underflow exception for results with small
29769         absolute value.
29770         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
29771         (__log1p): Force underflow exception for results with small
29772         absolute value.
29773         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
29774         (__log1pf): Force underflow exception for results with small
29775         absolute value.
29776         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
29777         (__log1pl): Force underflow exception for results with small
29778         absolute value.
29779         * math/auto-libm-test-in: Do not allow missing underflow
29780         exceptions from log1p.
29781         * math/auto-libm-test-out: Regenerated.
29783 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
29784             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29786         [BZ #16704]
29787         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
29789 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
29791         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
29792         (libmvec): New variable.
29793         * configure.ac: Added option for mathvec build.
29794         * configure: Regenerated.
29795         * mathvec/Depend: New file.
29796         * mathvec/Makefile: New file.
29797         * shlib-versions: Added libmvec.
29798         * math/Makefile: Added rule for libm.so installation.
29800         * bits/math-vector.h: New file.
29801         * bits/libm-simd-decl-stubs.h: New header.
29802         * math/Makefile (headers): Added new header
29803         libm-simd-decl-stubs.h.
29804         * math/math.h (__MATHCALL_VEC): New macro.
29806         * math/gen-libm-have-vector-test.sh: Script generates series of macros
29807         for conditions in testing functions.
29808         * math/Makefile: Added call of libm-have-vector-test.sh.
29809         * math/libm-test.inc (HAVE_VECTOR): New macros.
29811         * math/libm-test.inc: START refactored.
29812         * math/test-double.c (TEST_MATHVEC): Add define.
29813         * math/test-float.c: Likewise.
29814         * math/test-idouble.c: Likewise.
29815         * math/test-ifloat.c: Likewise.
29816         * math/test-ildoubl.c: Likewise.
29817         * math/test-ldouble.c: Likewise.
29818         * sysdeps/generic/math-tests-arch.h
29819         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
29820         architecture check.
29822         * math/test-double.c (FUNC_TEST): New macro.
29823         * math/test-float.c: Likewise.
29824         * math/test-idouble.c: Likewise.
29825         * math/test-ifloat.c: Likewise.
29826         * math/test-ildoubl.c: Likewise.
29827         * math/test-ldouble.c: Likewise.
29828         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
29830 2015-05-13  Roland McGrath  <roland@hack.frob.com>
29832         * sysdeps/nacl/fdopendir.c: New file.
29834         * dirent/scandir-tail.c: New file.
29835         * dirent/scandir64-tail.c: New file.
29836         * dirent/Makefile (routines): Add them.
29837         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
29838         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
29839         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
29840         [!SCANDIR] (SCANDIR_TAIL): New macro.
29841         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
29842         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
29843         (SCANDIRAT): Macro removed.
29844         (SCANDIR_TAIL): New macro.
29845         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
29846         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
29847         (SCANDIRAT): Just call __opendirat and __scandir_tail.
29848         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
29849         (READDIR): Macro removed.
29850         (SCANDIR_TAIL): New macro.
29851         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
29852         (SCANDIR_TAIL): New macro.
29854         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
29855         * dirent/scandir-cancel.c: ... to this new file.
29856         * dirent/Makefile (routines): Add it.
29857         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
29858         * sysdeps/unix/sysv/linux/i386/scandir64.c
29859         (SKIP_SCANDIR_CANCEL): Macro removed.
29860         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
29862         * dirent/tst-scandir.c: New file.
29863         * dirent/tst-scandir64.c: New file.
29864         * dirent/Makefile (tests): Add them.
29866 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
29868         [BZ #18409]
29869         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
29871 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29873         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
29874         list.
29876 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
29878         * benchtests/bench-strcoll.c: New benchmark.
29879         * benchtests/Makefile: Generate locales and run benchmark.
29880         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
29881         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
29882         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
29883         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
29884         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
29885         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
29886         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
29887         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
29888         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
29889         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
29890         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
29891         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
29892         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
29893         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
29894         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
29895         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
29896         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
29897         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
29898         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
29899         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
29900         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
29901         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
29902         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
29903         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
29905 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
29907         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
29908         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29910 2015-05-12  Roland McGrath  <roland@hack.frob.com>
29912         * posix/uname-values.h: New file.
29913         * posix/uname.c: Include that instead of <config-name.h>.
29914         * sysdeps/nacl/uname-values.h: New file.
29915         * sysdeps/arm/nacl/uname-values.h: New file.
29917 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
29919         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
29920         splitting into fields.
29922 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
29924         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
29925         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
29926         * locale/localeinfo.h: Add enum collation_encoding_type.
29927         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
29928         * programs/ld-collate.c (collate_output): Add encoding type info.
29929         * string/strcoll_l.c (STRDIFF): New function.
29930         * (STRCOLL): Use STRDIFF to skip over equal prefix.
29931         * wcsmbs/wcscoll_l.c: Define STRDIFF.
29933 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
29935         [BZ #18397]
29936         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
29937         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
29938         <fpu_control.h> instead of <math/fpu_control.c>.
29939         * sysdeps/mips/mips32/fpu/Makefile: New file.
29941 2015-05-11  Andreas Schwab  <schwab@suse.de>
29943         [BZ #18007]
29944         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
29945         nss_endgrent.
29946         (_nss_compat_endgrent): Call nss_endgrent.
29947         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
29948         nss_endpwent.
29949         (_nss_compat_endpwent): Call nss_endpwent.
29950         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
29951         needent, call nss_setspent only if non-zero.
29952         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
29953         (internal_endspent): Don't call nss_endspent.
29954         (_nss_compat_endspent): Call nss_endspent.
29955         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
29956         Remove.  All uses removed.
29957         (internal_setent): Remove parameter stayopen, add parameter
29958         stream.  Use it instead of global variable.
29959         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
29960         (internal_endent, internal_getent): Add parameter stream.  Use it
29961         instead of global variable.
29962         (CONCAT(_nss_files_end,ENTNAME))
29963         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
29964         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
29965         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
29966         uses removed.
29967         (internal_setent, internal_endent): Add parameter stream.  Use it
29968         instead of global variable.
29969         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
29970         stream.
29971         (get_next_alias): Add parameter stream.
29972         (_nss_files_getaliasent_r): Pass global stream.
29973         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
29974         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
29975         (_nss_files_gethostbyname4_r): Pass local stream to
29976         internal_setent, internal_getent and internal_endent.  Remove
29977         locking.
29979 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29981         * tst-strfmon1.c (tests): Update expected currency symbol.
29983 2015-05-08  Roland McGrath  <roland@hack.frob.com>
29985         * sysdeps/nacl/gethostname.c: New file.
29987 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
29989         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
29990         and sinh.
29991         * math/auto-libm-test-out: Regenerated.
29992         * sysdeps/i386/fpu/libm-test-ulps: Update.
29993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29995 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
29997         [BZ #18125]
29998         * stdlib/tst-setcontext3.c: New file.
29999         * stdlib/tst-setcontext3.sh: New file.
30000         * stdlib/Makefile (tests): Add tst-setcontext3.
30001         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
30002         to verify test program created output file.
30003         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
30004         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
30005         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
30006         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
30008 2015-05-06  Roland McGrath  <roland@hack.frob.com>
30010         [BZ #18383]
30011         * elf/tst-tlsalign.c: New file.
30012         * elf/tst-tlsalign-static.c: New file.
30013         * elf/tst-tlsalign-lib.c: New file.
30014         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
30015         (tests-static): Add tst-tlsalign-static.
30016         (modules-names): Add tst-tlsalign-lib.
30017         (test-xfail-tst-tlsalign): New variable.
30018         (test-xfail-tst-tlsalign-static): New variable.
30020         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
30021         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
30023 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
30025         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
30026         csqrt, erfc, sin and sincos.
30027         * math/auto-libm-test-out: Regenerated.
30028         * sysdeps/i386/fpu/libm-test-ulps: Update.
30029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30031 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30033         * sysdeps/aarch64/libm-test-ulps: Update.
30035 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
30037         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
30038         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
30039         * math/auto-libm-test-out: Regenerated.
30040         * sysdeps/i386/fpu/libm-test-ulps: Update.
30041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30043 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30045         [BZ #18265]
30046         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
30047         (wcsncpy): Likewise.
30049 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30051         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30052         Assume __ASSUME_FALLOCATE is always true.
30053         * sysdeps/unix/sysv/linux/posix_fallocate64.c
30054         (__posix_fallocate64_l64): Likewise.
30055         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
30056         (posix_fallocate): Likewise.
30057         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
30058         (__posix_fallocate64_l64): Likewise.
30059         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30060         [!__ASSUME_FALLOCATE]: Add comment.
30062 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30064         * sysdeps/unix/sysv/linux/i386/Makefile
30065         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
30066         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
30067         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
30068         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30069         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30070         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
30071         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
30073 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
30075         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
30076         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
30077         tgamma.
30078         * math/auto-libm-test-out: Regenerated.
30079         * sysdeps/i386/fpu/libm-test-ulps: Update.
30080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30082 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30084         * math/auto-libm-test-in: Add more tests of tgamma.
30085         * math/auto-libm-test-out: Regenerated.
30086         * sysdeps/i386/fpu/libm-test-ulps: Update.
30087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30089         * math/auto-libm-test-in: Add more tests of tanh.
30090         * math/auto-libm-test-out: Regenerated.
30091         * sysdeps/i386/fpu/libm-test-ulps: Update.
30092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30094         * math/auto-libm-test-in: Add more tests of tan.
30095         * math/auto-libm-test-out: Regenerated.
30096         * sysdeps/i386/fpu/libm-test-ulps: Update.
30097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30099         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
30100         * math/auto-libm-test-out: Regenerated.
30101         * sysdeps/i386/fpu/libm-test-ulps: Update.
30102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30104         * math/auto-libm-test-in: Add another test of pow.
30105         * math/auto-libm-test-out: Regenerated.
30106         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30108         * math/auto-libm-test-in: Add more tests of lgamma.
30109         * math/auto-libm-test-out: Regenerated.
30110         * sysdeps/i386/fpu/libm-test-ulps: Update.
30111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30113         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
30114         log1p.
30115         * math/auto-libm-test-out: Regenerated.
30116         * sysdeps/i386/fpu/libm-test-ulps: Update.
30117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30119 2015-05-01  Mark Wielaard  <mjw@redhat.com>
30121         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
30122         Elf64_Chdr structs and ELFCOMPRESS constants.
30124 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30126         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
30127         expm1.
30128         * math/auto-libm-test-out: Regenerated.
30129         * sysdeps/i386/fpu/libm-test-ulps: Update.
30130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30132         * math/auto-libm-test-in: Add more tests of erf and erfc.
30133         * math/auto-libm-test-out: Regenerated.
30134         * sysdeps/i386/fpu/libm-test-ulps: Update.
30135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30137 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30139         * config.h.in (HAVE_AARCH64_BE): Add.
30141 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
30143         * math/auto-libm-test-in: Add more tests of csqrt.
30144         * math/auto-libm-test-out: Regenerated.
30145         * sysdeps/i386/fpu/libm-test-ulps: Update.
30146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30148         * math/auto-libm-test-in: Add more tests of cosh and sinh.
30149         * math/auto-libm-test-out: Regenerated.
30150         * sysdeps/i386/fpu/libm-test-ulps: Update.
30151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30153         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
30155 2015-04-29  Roland McGrath  <roland@hack.frob.com>
30157         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
30158         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
30160         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
30161         (euidaccess, eaccess): Define as weak aliases.
30163         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
30164         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
30165         but __suseconds_t is often 'long int' so some sources assume that
30166         type is being used (e.g. they use %ld to print tv_usec).
30168 2015-04-29  Florian Weimer  <fweimer@redhat.com>
30170         [BZ #18007]
30171         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
30172         (CVE-2014-8121)
30173         * nss/tst-nss-getpwent.c: New file.
30174         * nss/Makefile (tests): Add new test.
30176 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
30178         [BZ #18346]
30179         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
30180         exponents less than 48 as cases where high part of mantissa needs
30181         examining to determine whether argument is integral.
30182         * math/libm-test.inc (round_test_data): Add more tests.
30184 2015-04-28  Mark Wielaard  <mjw@redhat.com>
30186         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
30188 2015-04-27  David S. Miller  <davem@davemloft.net>
30190         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
30191         __tls_get_addr.
30192         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
30194 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
30196         [BZ#18333]
30197         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
30199 2015-04-27  Florian Weimer  <fweimer@redhat.com>
30201         [BZ#18333]
30202         * time/tzset.c (parse_tzname): Return error on memory allocation
30203         failure.
30204         * test-skeleton.c (struct temp_name_list): Change type of name
30205         member to non-const.
30206         (add_temp_file): Create a copy of the file name.
30207         (delete_temp_files): Deallocate memory.
30208         (create_temp_file): Add comment.
30210 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30212         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
30213         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
30215 2015-04-24  Roland McGrath  <roland@hack.frob.com>
30217         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
30218         * sysdeps/arm/configure: Regenerated.
30220 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30222         [BZ #17715]
30223         * time/tzfile.c (__tzfile_read): Check for large values of
30224         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
30225         * time/tzset.c (__tzstring_len): New function, based on the old
30226         __tzstring function.
30227         (__tzstring): Call __tzstring_len.
30228         (parse_tzname): New helper function extracted from
30229         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
30230         the input string.
30231         (parse_offset): New helper function extracted from
30232         __tzset_parse_tz.  Replace switch with fallthrough with
30233         initialization before sscanf.
30234         (parse_rule): Likewise.
30235         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
30236         new-style function definition.
30237         * timezone/Makefile (tests): Add tst-tzset.
30238         (tst-tzset.out): Dependencies on time zone files.
30239         (tst-tzset-ENV): Set TZDIR.
30240         (testdata/XT%): Copy crafted time zone files.
30241         * timezone/README: Mention crafted time zone files.
30242         * timezone/testdata/XT1, timezone/testdata/XT2,
30243         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
30244         files.
30245         * timezone/tst-tzset.c: New test.
30247 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30249         * Makeconfig (+gccwarn): Remove -Winline.
30251 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30253         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
30255 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30257         * NEWS: Mention sysconf() cache information support for s390.
30258         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
30260 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
30262         * math/k_casinh.c (__kernel_casinh): Use __copysign.
30263         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
30264         (__nearbyint): Likewise.
30265         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
30266         (copysignl): Likewise.
30268 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
30270         [BZ #18287]
30271         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
30272         based on padding.  (CVE-2015-1781)
30274 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30276         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
30277         libc-vdso.h.
30278         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
30279         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
30280         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
30281         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30282         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30283         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
30284         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
30285         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30286         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30287         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
30288         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30289         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30290         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30291         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
30292         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30293         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
30294         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
30295         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
30296         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
30297         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
30298         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
30299         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
30300         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
30302 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
30304         * stdlib/setenv.c (__add_to_environ):
30305         Dump core quickly if setenv (..., NULL, ...) is called.
30306         This time, do it the right way, and pacify GCC with a pragma.
30308 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30310         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
30311         IMAP->l_prev cannot be null, and #if out the code for the contrary
30312         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
30313         believe that NS (&_dl_ns[NSID]) could point outside the array.
30315         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
30316         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
30317         before using NSID as an index.
30319 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
30321         [BZ #17825]
30322         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
30323         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
30324         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30326 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30328         Add preliminary port to Google Native Client on ARM.
30329         * abi-tags (.*-.*-nacl.*): New entry.
30330         * sysdeps/arm/nacl: New directory.
30331         * sysdeps/nacl: New directory.
30333 2015-04-16  David S. Miller  <davem@davemloft.net>
30335         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
30336         lowlevellock-futex.h
30338 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
30340         * sysdeps/tile/configure.ac: New file.
30341         * sysdeps/tile/configure: Regenerated.
30343 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30345         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
30346         conditionals for weak_alias and libc_hidden_weak.
30347         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
30348         libc_hidden_weak and weak_alias.
30349         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
30350         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
30351         and weak_alias for static one.
30353 2015-04-15  David S. Miller  <davem@davemloft.net>
30355         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30357 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30359         [BZ #18206]
30360         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
30361           Use signed comparision instead of substraction to avoid
30362           overflow bug.
30363         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
30364           Take the sign of ret.
30365         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
30366           Do not expect precise return values. Only the sign matters.
30367         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
30368         * wcsmbs/test-wcsncmp.c: New File.
30369         * string/test-strncmp.c: Add wcsncmp support.
30371 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30373         [BZ #6792]
30374         * math/w_log1p.c: New file.
30375         * math/w_log1pf.c: Likewise.
30376         * math/w_log1pl.c: Likewise.
30377         * math/Makefile (libm-calls): Add w_log1p.
30378         * math/s_log1pl.c (log1pl): Remove weak_alias.
30379         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
30380         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
30381         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
30382         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
30383         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
30384         [NO_LONG_DOUBLE] (log1pl): Likewise.
30385         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
30386         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
30387         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
30388         (log1p): Remove long_double_symbol.
30389         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
30390         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
30391         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
30392         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
30393         remove weak_alias for corresponding log1p function.
30394         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
30395         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
30396         * sysdeps/ia64/fpu/w_log1p.c: New file.
30397         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
30398         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
30399         * math/libm-test.inc (log1p_test_data): Add errno expectations.
30401 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
30403         [BZ #18247]
30404         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
30405         decimal exponent by 1.
30406         * stdlib/tst-strtod-round-data: Add more tests.
30407         * stdlib/tst-strtod-round.c (tests): Regenerated.
30409 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
30411         * math/auto-libm-test-in: Add more tests of clog and clog10.
30412         * math/auto-libm-test-out: Regenerated.
30413         * sysdeps/i386/fpu/libm-test-ulps: Update.
30414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30416 2015-04-09  Roland McGrath  <roland@hack.frob.com>
30418         * Makeconfig (module-cppflags): Exclude all .v.i files.
30419         (skip-module-cppflags): Variable removed.
30421         * configure.ac (libc_config_ok): Initialize before reading
30422         preconfigure scripts, not after.
30423         * configure: Regenerated.
30425         * test-skeleton.c (TIMEOUT): Move #define to top level.
30426         (main): Grok environment variable TEST_DIRECT.  If set, print
30427         test expectation details into that file and then behave as if
30428         given --direct.
30430 2015-04-09  Florian Weimer  <fweimer@redhat.com>
30432         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
30433         warning on 32-bit.
30435 2015-04-08  David S. Miller  <davem@davemloft.net>
30437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30439 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30441         * math/auto-libm-test-in: Add more tests of atanh.
30442         * math/auto-libm-test-out: Regenerated.
30443         * sysdeps/i386/fpu/libm-test-ulps: Update.
30444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30446         * math/auto-libm-test-in: Add more tests of atan.
30447         * math/auto-libm-test-out: Regenerated.
30448         * sysdeps/i386/fpu/libm-test-ulps: Update.
30449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30451 2015-04-08  Florian Weimer  <fweimer@redhat.com>
30453         * elf/pldd.c (main): Rewrite to use struct
30454         scratch_buffer instead of extend_alloca.
30455         * elf/pldd-xx.c (find_maps): Likewise.
30456         * grp/initgroups.c: Include <scratch_buffer.h> instead of
30457         <alloca.h>.
30458         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
30459         scratch_buffer instead of extend_alloca.
30460         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
30461         grp/compat-initgroups.c.
30462         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
30463         Rewrite to use struct scratch_buffer instead of extend_alloca.
30464         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
30465         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30467 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30469         * math/auto-libm-test-in: Add more tests of cbrt.
30470         * math/auto-libm-test-out: Regenerated.
30471         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30473         * math/auto-libm-test-in: Add more tests of cabs.
30474         * math/auto-libm-test-out: Regenerated.
30475         * sysdeps/i386/fpu/libm-test-ulps: Update.
30476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30478         [BZ #18210]
30479         [BZ #18211]
30480         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
30481         (__ieee754_atan2): Set FE_TONEAREST mode for internal
30482         computations.
30483         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
30484         clog10.
30485         * math/auto-libm-test-out: Regenerated.
30486         * sysdeps/i386/fpu/libm-test-ulps: Update.
30487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30489         [BZ #18197]
30490         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
30491         (atan): Set FE_TONEAREST mode for internal computations.
30492         * math/auto-libm-test-in: Add more tests of atan.
30493         * math/auto-libm-test-out: Regenerated.
30495 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
30497         [BZ #17930]
30498         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
30500 2015-04-07  Florian Weimer  <fweimer@redhat.com>
30502         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
30504 2015-04-07  Florian Weimer  <fweimer@redhat.com>
30506         * include/scratch_buffer.h: New file.
30507         * malloc/scratch_buffer_grow.c: Likewise.
30508         * malloc/scratch_buffer_grow_preserve.c: Likewise.
30509         * malloc/scratch_buffer_set_array_size.c: Likewise.
30510         * malloc/tst-scratch_buffer.c: Likewise.
30511         * malloc/Makefile (routines): Add scratch_buffer_grow.
30512         (tests): Add test case.
30513         * malloc/Versions (GLIBC_PRIVATE): Export
30514         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
30515         __libc_scratch_buffer_set_array_size.
30517 2015-04-06  Richard Henderson  <rth@redhat.com>
30519         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
30520         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30522         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
30523         unsigned int before printing.
30525 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30527         [BZ #17596]
30528         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
30529         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30531 2015-04-02  Florian Weimer  <fweimer@redhat.com>
30533         * include/libc-internal.h (libc_max_align_t): Define.
30535 2015-04-02  Andreas Schwab  <schwab@suse.de>
30537         [BZ #16850]
30538         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
30540 2015-04-02  Mel Gorman  <mgorman@suse.de>
30542         [BZ #17195]
30543         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
30544         as well as the main arena.
30546 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
30548         [BZ #18185]
30549         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
30550         sharing L2 cache to 2 for Silvermont/Knights Landing.
30552 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
30554         [BZ #17711]
30555         * config.make.in (have-protected-data): New.
30556         * configure.ac: Check linker support for protected data symbol.
30557         * configure: Regenerated.
30558         * elf/Makefile (modules-names): Add tst-protected1moda and
30559         tst-protected1modb if $(have-protected-data) is yes.
30560         (tests): Add tst-protected1a and tst-protected1b if
30561         $(have-protected-data) is yes.
30562         ($(objpfx)tst-protected1a): New.
30563         ($(objpfx)tst-protected1b): Likewise.
30564         (tst-protected1modb.so-no-z-defs): Likewise.
30565         * elf/tst-protected1a.c: New file.
30566         * elf/tst-protected1b.c: Likewise.
30567         * elf/tst-protected1mod.h: Likewise.
30568         * elf/tst-protected1moda.c: Likewise.
30569         * elf/tst-protected1modb.c: Likewise.
30571 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
30573         [BZ #17711]
30574         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
30575         indicates it is called from do_lookup_x on relocation against
30576         protected data, skip the data definion in the executable from
30577         copy reloc.
30578         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
30579         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
30580         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
30581         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
30582         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
30583         otherwise to 0.
30584         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
30585         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
30586         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
30587         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
30588         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
30589         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
30591 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
30593         * sysdeps/nptl/pthread.h: Remove duplicate definition of
30594         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
30596 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
30598         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
30599         THREAD_SETMEM_NC.
30600         * sysdeps/x86_64/nptl/tls.h: Ditto.
30602 2015-03-27  Roland McGrath  <roland@hack.frob.com>
30604         * dlfcn/tststatic.c (main): Converted to ...
30605         (do_test): ... this.
30606         (TEST_FUNCTION): New macro.
30607         Include test-skeleton.c.
30609 2015-03-26  Alan Modra  <amodra@gmail.com>
30611         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
30612         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
30613         zero for undefined weak.
30614         (elf_machine_plt_conflict): Similarly.
30616 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
30618         * math/auto-libm-test-in: Add more tests of acosh, asinh and
30619         atanh.
30620         * math/auto-libm-test-out: Regenerated.
30621         * sysdeps/i386/fpu/libm-test-ulps: Update.
30622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30624         * math/auto-libm-test-in: Add another test of asin.
30625         * math/auto-libm-test-out: Regenerated.
30626         * sysdeps/i386/fpu/libm-test-ulps: Update.
30627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30629         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
30630         Remove macro.
30631         (LLL_EBX_REG): Likewise.
30632         (LLL_ENTER_KERNEL): Likewise.
30634         * math/auto-libm-test-in: Add more tests of asin.
30635         * math/auto-libm-test-out: Regenerated.
30636         * sysdeps/i386/fpu/libm-test-ulps: Update.
30637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30639         [BZ #18138]
30640         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
30641         libc_do_syscall_args): New structure.
30642         (INTERNAL_SYSCALL_MAIN_0): New macro.
30643         (INTERNAL_SYSCALL_MAIN_1): Likewise.
30644         (INTERNAL_SYSCALL_MAIN_2): Likewise.
30645         (INTERNAL_SYSCALL_MAIN_3): Likewise.
30646         (INTERNAL_SYSCALL_MAIN_4): Likewise.
30647         (INTERNAL_SYSCALL_MAIN_5): Likewise.
30648         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
30649         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
30650         Replace conditional definitions by conditional definitions of ....
30651         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
30652         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
30653         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
30654         (libpthread-sysdep_routines): Add libc-do-syscall.
30655         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
30656         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
30657         to __NR_futex not 240.
30659 2015-03-25  Alan Modra  <amodra@gmail.com>
30661         * NEWS: Advertise TLS optimization.
30662         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
30663         (DT_PPC_NUM): Increment.
30664         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
30665         (CHECK_STATIC_TLS): Use here.
30666         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
30667         TLS descriptors.
30668         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30669         * sysdeps/powerpc/dl-tls.c: New file.
30670         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
30671         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
30672         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
30673         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
30674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
30675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
30676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
30678 2015-03-25  Alan Modra  <amodra@gmail.com>
30680         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
30681         for overlapping .opd entries" to "support...".
30682         * sysdeps/powerpc/powerpc64/configure: Regenerate
30684 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
30686         * math/auto-libm-test-in: Add more tests of acos.
30687         * math/auto-libm-test-out: Regenerated.
30688         * sysdeps/i386/fpu/libm-test-ulps: Update.
30689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30691         * math/auto-libm-test-in: Add more tests of expm1.
30692         * math/auto-libm-test-out: Regenerated.
30693         * sysdeps/i386/fpu/libm-test-ulps: Update.
30694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30696 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
30698         * math/auto-libm-test-in: Add more tests of cosh and sinh.
30699         * math/auto-libm-test-out: Regenerated.
30700         * sysdeps/i386/fpu/libm-test-ulps: Update.
30701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30703         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30706         * math/auto-libm-test-in: Add more tests of log2.
30707         * math/auto-libm-test-out: Regenerated.
30708         * sysdeps/i386/fpu/libm-test-ulps: Update.
30709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30711 2015-03-23  Roland McGrath  <roland@hack.frob.com>
30713         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
30714         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
30715         _IO_IS_APPENDING bit in READ_WRITE instead.
30717 2015-03-23  Florian Weimer  <fweimer@redhat.com>
30719         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
30720         (__determine_cpumask_size): Replace extend_alloca with a
30721         variable-length array.  Do not treat res == 0 as an error.
30723 2015-03-23  Florian Weimer  <fweimer@redhat.com>
30725         [BZ #18100]
30726         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
30727         and integer overflow.
30728         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
30729         (main): Add integer overflow tests.
30730         * manual/pattern.texi (Calling Wordexp): Document additional use
30731         for WRDE_SYNTAX.
30733 2015-03-23  Alan Modra  <amodra@gmail.com>
30735         * config.h.in: Remove HAVE_ASM_PPC_REL16.
30736         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
30737         and false branch of conditional.
30738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30739         Likewise.
30741 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
30743         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
30744         libc-modules.h
30745         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
30746         unused declaration of _hurd_intr_rpc_msg_in_trap.
30747         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
30748         defined instead of whether it is non-zero.
30749         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
30750         input constraint instead of both input and output constraint.  Use ecx
30751         clobber instead of %ecx.
30752         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
30753         mutex_unlock): Use a statement expression instead of an expression list.
30754         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
30755         type to vm_size_t instead of vm_address_t.
30756         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
30757         defined instead of whether it is non-zero.
30758         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
30759         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
30760         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
30761         comparisons with mapaddr.
30762         * nscd/nscd-client.h: Include <time.h>.
30763         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
30764         9th parameter to __vm_region instead of int.
30765         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
30766         * scripts/check-local-headers.sh (exclude): Add device/,
30767         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
30768         cthreads.h.
30770 2015-03-19  Roland McGrath  <roland@hack.frob.com>
30772         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
30773         to account for alignment padding.
30774         * sysdeps/arm/memmove.S: Likewise.
30776 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
30778         * sysdeps/unix/sysv/linux/generic/README: New file.
30780 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
30782         [BZ #18138]
30783         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
30784         (futex_abstimed_wait)
30785         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
30786         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
30787         of lll_futex_timed_wait.
30789 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
30791         [BZ #17542]
30792         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
30794 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
30796         [BZ #17090]
30797         [BZ #17620]
30798         [BZ #17621]
30799         [BZ #17628]
30800         * NEWS: Update.
30801         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
30802         entries with Static TLS too.  Skip entries past the end of the
30803         allocated DTV, from Alan Modra.
30804         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
30805         Static TLS DTV entry set up from...
30806         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
30807         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
30808         * nptl/allocatestack.c (init_one_static_tls): ... and here...
30809         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
30810         for Static TLS.
30811         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
30812         that the slot we find is associated with the given map before
30813         using its generation count.
30814         * nptl_db/db_info.c: Include ldsodefs.h.
30815         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
30816         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
30817         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
30818         (link_map::l_tls_offset): New struct field.
30819         (dtv_t::counter): Likewise.
30820         (rtld_global): New struct.
30821         (_rtld_global): New rtld variable.
30822         (dl_tls_dtv_slotinfo_list): New rtld global field.
30823         (dtv_slotinfo_list): New struct.
30824         (dtv_slotinfo): Likewise.
30825         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
30826         (td_lookup): Rename to...
30827         (td_mod_lookup): ... this.  Use new mod parameter instead of
30828         LIBPTHREAD_SO.
30829         * nptl_db/td_thr_tlsbase.c: Include link.h.
30830         (dtv_slotinfo_list, dtv_slotinfo): New functions.
30831         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
30832         addresses even if the DTV is out of date or missing them.
30833         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
30834         index zero-length arrays.
30835         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
30836         (td_lookup): Make it a macro implemented in terms of...
30837         (td_mod_lookup): ... this declaration.
30838         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
30839         (DB_MAIN_VARIABLE): Likewise.
30841 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
30843         [BZ #18134]
30844         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
30846 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
30848         * stdlib/setenv.c (__add_to_environ): Revert previous change.
30850 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
30852         [BZ #18128]
30853         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
30854         (atomic_add, atomic_increment_and_test)
30855         (atomic_decrement_and_test): Fix 64-bit arithmetic.
30857 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
30859         * stdlib/setenv.c (__add_to_environ):
30860         Dump core quickly if setenv (..., NULL, ...) is called.
30862 2015-03-13  Roland McGrath  <roland@hack.frob.com>
30864         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
30865         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
30866         all the necessary asm magic in one place.
30867         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
30868         using those.
30870 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
30872         [BZ #14906]
30873         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
30874         traced file mtime. Use consistent log message.
30875         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
30876         (register_traced_file): Call install_watches. Always set mtime.
30877         (invalidate_cache): Iterate over all trace files. Call install_watches.
30878         (inotify_check_files): Don't inline. Handle watching parent
30879         directories and configuration file movement in and out.
30880         (handle_inotify_events): New function.
30881         (main_loop_poll): Call handle_inotify_events.
30882         (main_loop_epoll): Likewise.
30883         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
30884         (struct traced_file): Use array of inotify fds. Add parent directory,
30885         and basename.
30886         (struct database_dyn): Remove unused file_mtime.
30887         (init_traced_file): New inline function.
30888         (define_traced_file): New macro.
30889         * nss/nss_db/db-init.c: Use define_traced_file.
30890         (_nss_db_init): Use init_traced_file.
30891         * nss/nss_files/files-init.c: Use define_traced_file.
30892         (_nss_files_init): Use init_traced_file.
30894 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
30896         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
30897         [_LIBC]: Do not include <stdlib.h>.
30898         [!_LIBC] (abort): Remove declaration.
30899         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
30900         _FP_STATIC_ASSERT instead of conditionally calling abort.
30901         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
30902         (_FP_EXTEND_CNAN): Likewise.
30903         (FP_TRUNC): Likewise.
30904         (__FP_CLZ): Likewise.
30905         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
30907 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
30909         * manual/string.texi (XPG basename): Fix prototype.
30911 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30913         [BZ #18080]
30914         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
30915         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
30916         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
30917         (__setcontext): Likewise.
30918         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
30919         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
30920         Call rt_sigprocmask syscall one time to set new signal mask
30921         and retrieve the current signal mask instead of two calls.
30922         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
30923         (__swapcontext): Likewise.
30924         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
30925         * stdlib/tst-setcontext2.c: New file.
30927 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
30929         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30931 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
30933         [BZ #18093]
30934         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
30935         the wrong size.
30937 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30939         [BZ #18043]
30940         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
30942 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30944         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
30945         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
30946         Remove define.
30947         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
30948         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
30949         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
30950         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
30951         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
30952         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
30953         define.
30954         * nptl_db/td_symbol_list.c (td_lookup): Remove
30955         HAVE_ASM_GLOBAL_DOT_NAME code.
30956         * sysdeps/powerpc/powerpc64/configure.ac: Remove
30957         HAVE_ASM_GLOBAL_DOT_NAME check.
30958         * sysdeps/powerpc/powerpc64/configure: Regenerate.
30959         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
30960         (DOT_LABEL): Remove define.
30961         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
30962         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
30963         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
30964         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
30965         (__TLS_GET_ADDR): Likewise.
30966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
30967         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
30969 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
30971         [BZ #18111]
30972         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
30973         (_FPU_SETCW): Initialize cw from fpsr before storing.
30974         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
30975         (fesetexceptflag): Rewrite using fpu_control.h.
30976         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
30978 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
30980         [BZ #18110]
30981         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
30982         asms.
30983         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30985 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
30987         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
30988         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
30989         abort.
30990         (_FP_FMA): Likewise.
30991         (_FP_DIV): Likewise.
30993 2015-03-10  Roland McGrath  <roland@hack.frob.com>
30995         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
30996         with 0 in that case.
30997         * Makefile (summarize-tests): New canned sequence, factored out of
30998         commands for targets tests and xtests.  Display summary lines that
30999         don't start with PASS: or XFAIL: rather than ones that do start with
31000         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
31001         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
31002         do start with ERROR: or FAIL:.
31003         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
31004         (except for [$(build-shared) = yes]).
31005         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
31006         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
31007         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
31008         * nptl/Makefile: Revert 2015-03-04 changes.
31009         [$(CXX) empty] (tests-unsupported): New variable.
31010         * debug/Makefile: Likewise.
31012         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
31013         gnulib file.  Replace __attribute with __attribute__ throughout.
31015 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
31017         * sysdeps/hppa/fpu/libm-test-ulps: Update.
31019 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31021         [BZ #18104]
31022         * math/auto-libm-test-in: Add another test of pow.
31023         * math/auto-libm-test-out: Regenerated.
31025 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31027         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
31028         $(config-cflags-nofma).
31030 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31032         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
31033         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
31034         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
31035         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
31036         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
31037         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
31038         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
31039         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
31040         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
31041         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
31042         Add comment on closing #endif.
31044 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31046         * posix/wordexp.c (CHAR_IN_SET): New macro.
31047         (parse_param): Use it.
31049 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31051         * sysdeps/powerpc/fpu/libm-test-ulps: update.
31053 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31055         [BZ #18043]
31056         * posix/wordexp.c (parse_param): Fix buffer overflow.
31057         * posix/wordexp-test.c (test_case): Add test case.
31059 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31061         [BZ #18042]
31062         * posix/wordexp.c (parse_backtick): Fix off-by-one.
31063         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
31065 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31067         [BZ #18043]
31068         * posix/wordexp-test.c (test_case): Add test for BZ #18043
31069         (do_bz18043): Delete.
31070         (at_page_end): New.
31071         (testit): Refactor to have words at the edge of unreadable page.
31073 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31075         [BZ #16734]
31076         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
31077         Cleanup read-only streams as well.
31078         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
31080 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31082         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
31083         <bits/libc-lockP.h>
31085 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
31087         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
31088         on [__KERNEL__].
31089         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
31090         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
31091         * soft-fp/op-common.h (_FP_DECL): Likewise.
31093 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
31095         * elf/ifuncdep2.c (global): Replace
31096         __attribute__((visibility("protected"))) with
31097         asm (".protected global").
31098         * elf/ifuncmod1.c (global): Likewise.
31099         * elf/ifuncmod5.c (global): Likewise.
31101 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
31103         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
31104         <asm/sfp-machine.h> instead of <sfp-machine.h>.
31106 2015-03-06  Roland McGrath  <roland@hack.frob.com>
31108         * manual/install.texi (Configuring and compiling):
31109         Document test-wrapper-env-only.
31110         * INSTALL: Regenerated.
31112 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31114         [BZ #18043]
31115         * posix/wordexp.c (parse_param): Fix buffer overflow.
31116         * posix/wordexp-test.c (do_bz18043): Add test case.
31118 2015-03-06  Vincent Bernat  <vincent@bernat.im>
31120         * time/tst-strptime2.c (do_test): Ensure failing tests are
31121         reported correctly.
31122         * time/tst-strptime3.c (do_test): Likewise.
31124 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
31126         Fix aio_error thread-safety.
31127         * sysdeps/pthread/aio_error.c: New file
31128         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
31129         synchronization.
31131 2015-03-06  Florian Weimer  <fweimer@redhat.com>
31133         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
31134         (group_number, vfprintf): Use it.
31135         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
31136         (JUMP, REF): Use it.
31137         (WORK_BUFFER_SIZE): New enum constant.
31138         (process_arg, vfprintf): Use it.
31140 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
31142         * manual/errno.texi (Error Messages): Complete example function
31143         by adding missing #define.
31144         (program_invocation_name): Add statement indicating GNU
31145         extension and reference which header file declares the variable.
31146         (program_invocation_short_name): Likewise.
31148 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
31150         * manual/errno.texi (Error Messages): Delete strerror ISO C89
31151         compatibility note.
31153 2015-03-05  Roland McGrath  <roland@hack.frob.com>
31155         * Makeconfig (test-wrapper-env-only): New variable.
31156         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
31157         then use that with $(test-wrapper-env-only) rather than using
31158         $(test-wrapper-env) $(run-program-env) $($*-ENV).
31160 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
31162         [BZ #18082]
31163         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
31164         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
31165         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
31166         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
31167         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
31168         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
31169         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
31170         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
31171         Likewise.
31172         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
31173         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
31174         Likewise.
31175         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
31176         Likewise.
31177         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
31178         Likewise.
31179         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
31180         Likewise.
31181         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
31182         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
31183         Likewise.
31184         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
31185         Likewise.
31186         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
31187         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
31189 2015-03-04  Roland McGrath  <roland@hack.frob.com>
31191         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
31192         (ETH_ALEN): New macro.
31193         (struct ether_addr): Use it for length of ether_addr_octet.
31195         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
31196         (setdb): Don't call __nss_configure_lookup for "rpc".
31197         (do_test): Don't call test_rpc.
31198         (output_rpcent, test_rpc): Functions moved ...
31199         * sunrpc/test-rpcent.c: ... to this new file.
31200         * sunrpc/Makefile (tests): Add it.
31202         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
31203         __xpg_sigpause.
31204         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
31205         * nptl/tst-signal6.c: Likewise.
31206         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
31207         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
31209         * configure.ac (libc_cv_cxx_link_ok): New check.
31210         Reset CXX to empty if it fails to link.
31211         * configure: Regenerated.
31212         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
31213         bug-atexit3-lib only if $(CXX) is nonempty.
31214         * nptl/Makefile (tests): Likewise for tst-cancel24.
31215         (tests, tests-static): Likewise for tst-cancel24-static.
31216         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
31217         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
31218         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
31219         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
31221 2015-03-04  Andreas Schwab  <schwab@suse.de>
31223         [BZ #17631]
31224         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
31225         for non-GCC compilers.
31226         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
31227         Likewise.
31229 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31231         [BZ #17776]
31232         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
31233         integer before bitwise and assembly operations.
31234         (feclearexcept): Likewise.
31235         * math/test-fenvinline.c: New file.
31236         * math/Makefile: Add test-fenvinline test.
31238 2015-03-03  Alan Modra  <amodra@gmail.com>
31240         [BZ #16512]
31241         * scripts/localplt.awk: Strip off symbol version.
31242         * NEWS: Mention bug fix.
31244 2015-03-02  Roland McGrath  <roland@hack.frob.com>
31246         * sysdeps/pthread/timer_routines.c
31247         (timer_free_list, thread_free_list, thread_active_list): Make static.
31249 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
31251         [BZ #17779]
31252         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31253         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31254         Undefine.
31255         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31256         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31257         Likewise.
31258         * sysdeps/unix/sysv/linux/sh/kernel-features.h
31259         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31260         Likewise.
31262 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31264         [BZ #18036]
31265         * posix/fnmatch_loop.c (END): Detect invalid pattern.
31266         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
31268 2015-03-02  Andreas Schwab  <schwab@suse.de>
31270         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
31271         variable name.
31273 2015-03-02  Florian Weimer  <fweimer@redhat.com>
31275         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
31276         Return error status.
31278 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
31280         [BZ #15969]
31281         * locale/findlocale.c (_nl_find_locale): Introduce const
31282         version of loc_name and drop unsafe type casts.
31284 2015-02-27  Roland McGrath  <roland@hack.frob.com>
31286         * dlfcn/tststatic2.c (main): Converted to ...
31287         (do_test): ... this.
31288         (TEST_FUNCTION): New macro.
31289         Include test-skeleton.c.
31291 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
31293         [BZ #17711]
31294         * elf/Makefile (tests): Add vismain only if PIE is enabled.
31295         (tests-pie): Add vismain.
31296         (CFLAGS-vismain.c): New.
31297         * elf/vismain.c: Add comments for PIE requirement.
31299 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31301         [BZ #18046]
31302         [BZ #18047]
31303         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
31304         0x1p-56L as threshold for just returning the argument.
31305         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
31306         0x1p-32L as threshold for just returning the argument.
31307         * math/auto-libm-test-in: Add more tests of atanh.
31308         * math/auto-libm-test-out: Regenerated.
31309         * sysdeps/i386/fpu/libm-test-ulps: Update.
31310         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
31312 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31314         * string/bcopy.c (bcopy): Call memmove for performance.
31316 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31318         * string/bzero.c (__bzero): Call memset for performance.
31320 2015-02-27  John David Anglin  <dave.anglin@bell.net>
31322         [BZ #18068]
31323         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
31324         to 00100000.
31326 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31328         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
31330 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31332         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
31333         (__kernel_standard): Use CSTR macro when setting exc.name.
31334         * sysdeps/ieee754/Makefile [$(subdir) = math]
31335         (CFLAGS-k_standard.c): Remove variable.
31337         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
31338         setting p and q from "else if" to "else".
31339         (qzero): Likewise.
31340         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
31341         (qone): Likewise.
31342         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
31343         (qzerof): Likewise.
31344         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
31345         (qonef): Likewise.
31346         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
31347         (qzero): Likewise.
31348         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
31349         (qone): Likewise.
31351         [BZ #18038]
31352         [BZ #18039]
31353         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
31354         return pi/2 for arguments below 0x1p-113L.
31355         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
31356         return pi/2 for arguments below 0x1p-106L.
31357         * math/auto-libm-test-in: Add more tests of acos.
31358         * math/auto-libm-test-out: Regenerated.
31360         [BZ #16351]
31361         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
31362         (MO): New macro.
31363         (__ieee754_asin): Force underflow exception for results with small
31364         absolute value.
31365         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
31366         (MO): New macro.
31367         (__ieee754_asinf): Force underflow exception for results with
31368         small absolute value.
31369         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
31370         (__ieee754_asin): Force underflow exception for results with small
31371         absolute value.
31372         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
31373         (__ieee754_asinf): Force underflow exception for results with
31374         small absolute value.
31375         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
31376         (__ieee754_asinl): Force underflow exception for results with
31377         small absolute value.
31378         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
31379         (__ieee754_asinl): Force underflow exception for results with
31380         small absolute value.
31381         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
31382         (__ieee754_asinl): Force underflow exception for results with
31383         small absolute value.
31384         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
31385         Include <math.h>.
31386         * math/auto-libm-test-in: Do not mark underflow exceptions as
31387         possibly missing for bug 16351.
31388         * math/auto-libm-test-out: Regenerated.
31390         [BZ #18030]
31391         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
31392         of power of 2 down when low part has opposite sign.
31393         * math/libm-test.inc (logb_test_data): Add more tests.
31395 2015-02-26  Andreas Schwab  <schwab@suse.de>
31397         [BZ #18032]
31398         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
31399         over collating symbol inside a bracket expression.  Minor cleanup.
31400         * posix/tst-fnmatch3.c (do_test): Add test case.
31402 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31404         [BZ #18029]
31405         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
31406         Adjust exponent of power of 2 down when low part has opposite
31407         sign.
31408         * math/libm-test.inc (ilogb_test_data): Add more tests.
31410 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
31412         [BZ #15969]
31413         * locale/findlocale.c (_nl_find_locale): Fix constness error in
31414         the previous change.
31416         [BZ #15969]
31417         * locale/findlocale.c (_nl_find_locale): Retry archive search
31418         after alias expansion.
31420 2015-02-25  Roland McGrath  <roland@hack.frob.com>
31422         * iconv/tst-iconv3.c (main): Converted to ...
31423         (do_test): ... this.
31424         (TEST_FUNCTION): New macro.
31425         Include test-skeleton.c.
31427         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
31428         (convert): Make function static.
31429         (test_unalign): Likewise.  Add const to argument pointee types.
31430         (main): Replace with static function do_test.
31431         Print "Succeeded." only if RET is zero.
31432         (TEST_FUNCTION): New macro.
31433         Include test-skeleton.c.
31435         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
31436         returns a null pointer.
31438 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31440         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
31441         to __memcpy_ppc only for static builds.
31443 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
31445         [BZ #18020]
31446         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
31447         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
31448         * math/auto-libm-test-in: Add more tests of asinh.
31449         * math/auto-libm-test-out: Regenerated.
31450         * sysdeps/i386/fpu/libm-test-ulps: Update.
31451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31453 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
31455         [BZ #15850]
31456         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
31457         and ip6_mtuinfo definitions here.
31458         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
31459         in this define too.  Update comment.
31461 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
31463         * elf/sprof.c (load_shobj): Tweak error message to match others.
31465 2015-02-24  Kevin Easton  <kevin@guarana.org>
31467         [BZ #16145] (partial fix)
31468         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
31469         to reduce lock contention.
31471 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
31473         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
31474         (struct timex): Update time comment.
31475         (ADJ_SETOFFSET): Define.
31477 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
31479         [BZ #18019]
31480         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31481         2**56 not 2**28 as threshold for log (2x) formula.
31482         * math/auto-libm-test-in: Add more tests of acosh.
31483         * math/auto-libm-test-out: Regenerated.
31484         * sysdeps/i386/fpu/libm-test-ulps: Update.
31485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31487 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
31489         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
31490         parenthesis around the buf assignment.
31491         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
31493 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
31495         [BZ #16783]
31496         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
31497         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
31498         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
31499         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
31500         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
31501         * math/libm-test.inc (scalb_test_data): Add more tests.
31503 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31505         [BZ #17916]
31506         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
31507         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
31509 2015-02-24  Eric Rannaud  <e@nanocritical.com>
31511         [BZ #17523]
31512         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
31513         * io/bits/fcntl2.h (open): Use it.
31514         (openat): Likewise.
31515         * io/open.c (__libc_open): Likewise.
31516         * io/open64.c (__libc_open64): Likewise.
31517         * io/open64_2.c (__open64_2): Likewise.
31518         * io/open_2.c (__open_2): Likewise.
31519         * io/openat.c (__openat): Likewise.
31520         * io/openat64.c (__openat64): Likewise.
31521         * io/openat64_2.c (__openat64_2): Likewise.
31522         * io/openat_2.c (__openat_2): Likewise.
31523         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
31524         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
31525         * sysdeps/posix/open64.c (__libc_open64): Likewise.
31526         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
31527         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
31528         (__open_nocancel): Likewise.
31529         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
31530         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
31531         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
31533 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31535         [BZ #14841]
31536         * resolv/gethnamaddr.c (getanswer): Skip logging if
31537         RES_USE_DNSSEC is set.
31538         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31540 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
31542         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
31544 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
31546         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
31547         201304L, for Unicode 7.
31549 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
31551         [BZ #17836]
31552         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
31553         shared library.  Add gmon-start.os otherwise.
31554         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
31555         $(objpfx)gmon-start.os if builing shared library.
31556         ($(objpfx)g$(static-start-installed-name)): Likewise.
31558 2015-02-23  Andreas Schwab  <schwab@suse.de>
31560         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
31562 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31564         [BZ #17269]
31565         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
31566         (enlarge_userbuf): Likewise.
31568 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
31570         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
31571         * math/atest-exp.c (TIMEOUT): Adjust to 200.
31572         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
31573         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
31575 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
31577         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
31578         expression inside statement expression.
31580 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
31582         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
31583         <sysdeps/nptl/lowlevellock.h> and remove macros and
31584         functions that are now defined there.
31585         (SYS_futex): Remove.
31586         (lll_compare_and_swap): Remove.
31587         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
31589 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
31591         [BZ #17999]
31592         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
31593         instead of scandirat.
31594         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
31595         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
31596         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
31597         __scandirat.
31598         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
31599         (__scandirat): Declare.  Use libc_hidden_proto.
31600         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
31601         Remove variable.
31602         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
31604 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
31606         [BZ #15319]
31607         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
31608         (MO): New macro.
31609         (__ieee754_atan2): For results with small absolute value, force
31610         underflow exception and remove excess range and precision from
31611         return value.
31612         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
31613         (MO): New macro.
31614         (__ieee754_atan2f): For results with small absolute value, force
31615         underflow exception and remove excess range and precision from
31616         return value.
31617         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
31618         (MO): New macro.
31619         (__atan): For results with small absolute value, force underflow
31620         exception and remove excess range and precision from return value.
31621         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
31622         (MO): New macro.
31623         (__atanf): For results with small absolute value, force underflow
31624         exception and remove excess range and precision from return value.
31625         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
31626         <math.h>.
31627         (__ieee754_atan2): Force underflow exception for results with
31628         small absolute value.
31629         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
31630         <math_private.h>.
31631         (atan): Force underflow exception for results with small absolute
31632         value.
31633         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
31634         (__atanf): Force underflow exception for results with small
31635         absolute value.
31636         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
31637         <math.h>.
31638         (__atanl): Force underflow exception for results with small
31639         absolute value.
31640         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
31641         (__atanl): Force underflow exception for results with small
31642         absolute value.
31643         * sysdeps/x86/fpu/bits/mathinline.h
31644         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
31645         (__ieee754_atan2): Only define inline for long double.
31646         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
31647         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
31648         * math/auto-libm-test-in: Do not mark underflow exceptions as
31649         possibly missing for bug 15319.  Add more tests of atan2.
31650         * math/auto-libm-test-out: Regenerated.
31651         * math/libm-test.inc (casin_test_data): Do not mark underflow
31652         exceptions as possibly missing for bug 15319.
31653         (casinh_test_data): Likewise.
31654         * sysdeps/i386/fpu/libm-test-ulps: Update.
31656 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
31658         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
31659         * sysdeps/mips/bits/endian.h: Fix comments.
31661 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
31663         [BZ #17996]
31664         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
31665         (hdestroy_r): Likewise.
31666         (hsearch_r): Likewise.
31667         (__hcreate_r): Declare and use libc_hidden_proto.
31668         (__hdestroy_r): Likewise.
31669         (__hsearch_r): Likewise.
31670         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
31671         (hcreate): Call __hcreate_r instead of hcreate_r.
31672         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
31673         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
31674         as weak alias of __hcreate_r.
31675         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
31676         __hdestroy_r.
31677         (hsearch_r): Rename to __hsearch_r and define as weak alias of
31678         __hsearch_r.
31679         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
31680         Remove variable.
31681         (test-xfail-XPG4/search.h/linknamespace): Likewise.
31682         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31683         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31684         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31686 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31688         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
31689         arena_lock into a single arena_get.
31691 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
31693         * dl-reloc.c: Inlucde libc-internal.h.
31694         (_dl_try_allocate_static_tls): Call ALIGN_UP.
31695         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
31696         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
31697         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
31698         (grow_heap): Likewise.
31699         * malloc/malloc.c: Include libc-internal.h.
31700         (do_check_malloc): Call powerof2.
31701         (sysmalloc): Use pagesize. Call ALIGN_UP.
31702         (systrim): Use pagesize.
31703         (mremap_chunk): Use pagesize. Call ALIGN_UP.
31704         (__libc_valloc): Use pagesize.
31705         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
31707 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
31709         [BZ #17991]
31710         * include/sys/resource.h (__getrlimit64): Declare.  Use
31711         libc_hidden_proto.
31712         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
31713         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
31714         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
31715         getrlimit64.
31716         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
31717         __getrlimit64.
31718         [!getrlimit64] (getrlimit64): Define as weak alias of
31719         __getrlimit64.  Use libc_hidden_weak.
31720         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
31721         using __getrlimit64 not __new_getrlimit64.
31722         (__GI_getrlimit64): Likewise.
31723         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
31724         Likewise.
31725         (__GI_getrlimit64): Likewise.
31726         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
31727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
31728         (getrlimit): Add __getrlimit64 alias.
31729         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
31730         Likewise.
31731         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
31732         Remove variable.
31733         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31734         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31736 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
31738         * libio/fileops.c: Add missing sys/mman.h
31739         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
31741 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
31743         * manual/math.texi (Errors in Math Functions): Clarify goals
31744         regarding inexact and underflow exceptions.
31746 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
31748         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
31749         * sysdeps/mips/memset.S: Ditto.
31751 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
31753         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
31755 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31757         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
31758         (__v1longjmp): Remove versioned symbol.
31759         (__v1siglongjmp): Remove alias and versioned symbol.
31760         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
31761         (__v2siglongjmp): Likewise.
31763 2015-02-16  Torvald Riegel  <triegel@redhat.com>
31765         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
31767 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
31769         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
31771 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31773         [BZ #17987]
31774         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
31775         zero result does not depend on the sign resulting from
31776         subtraction.
31777         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31778         Likewise.
31779         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31780         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31781         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31782         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31783         * math/libm-test.inc (remquo_test_data): Add more tests.
31785 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
31787         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
31788         Problem reported by J William Piggott.
31790 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31792         [BZ #17978]
31793         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
31794         products 4 * y and 2 * y where those would overflow.
31795         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31796         Likewise.
31797         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31798         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31799         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31800         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31801         * math/libm-test.inc (remquo_test_data): Add more tests.
31803         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
31805         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
31806         [defined _COMPILING_NEWLIB].
31807         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
31808         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
31810         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
31811         [!defined __mips_isa_rev || __mips_isa_rev < 6].
31813 2015-02-16  Torvald Riegel  <triegel@redhat.com>
31815         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
31816         acquired.
31818 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
31820         [BZ #17792]
31821         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
31822         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
31823         HOST_STACK_END_ADDR): Likewise.
31825 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
31827         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
31828         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
31829         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
31831 2015-02-13  Roland McGrath  <roland@hack.frob.com>
31833         * sysdeps/generic/c++-types.data: New file.
31834         * sysdeps/generic/ld.abilist: New file.
31835         * sysdeps/generic/libBrokenLocale.abilist: New file.
31836         * sysdeps/generic/libanl.abilist: New file.
31837         * sysdeps/generic/libc.abilist: New file.
31838         * sysdeps/generic/libcrypt.abilist: New file.
31839         * sysdeps/generic/libdl.abilist: New file.
31840         * sysdeps/generic/libm.abilist: New file.
31841         * sysdeps/generic/libpthread.abilist: New file.
31842         * sysdeps/generic/libresolv.abilist: New file.
31843         * sysdeps/generic/librt.abilist: New file.
31845 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
31847         [BZ #17569]
31848         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31849         Compute absolute value of x as modified by fmod, not original
31850         value of x.
31851         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
31852         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
31853         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
31854         RUN_TEST_ffI_f1_mod8.
31855         (remquo_test_data): Add more tests.
31857 2015-02-13  Roland McGrath  <roland@hack.frob.com>
31859         * sysdeps/init_array/pt-crti.S: New file.
31861 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
31863         [BZ #17967]
31864         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
31865         __builtin_fmaf instead of relying on contraction of a * b + c.
31867 2015-02-12  J William Piggott  <elseifthen@gmx.com>
31869         [BZ #17969]
31870         * manual/time.texi: correct the zoneinfo path in the TZ Variable
31871         node.
31873 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
31875         [BZ #17964]
31876         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
31877         __builtin_fma instead of relying on contraction of a * b + c.
31879 2015-02-12  Roland McGrath  <roland@hack.frob.com>
31881         * Makeconfig (ASFLAGS): Add -Werror=undef.
31882         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
31883         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
31884         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
31886         * Makeconfig (after-link): New variable.
31887         (+link-pie, +link-pie-tests): Use it.
31888         (+link-static, +link-static-tests): Likewise.
31889         (+link, +link-tests): Likewise.
31890         * Makerules (build-module, build-module-asneeded): Likewise.
31891         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
31892         Likewise.
31893         * elf/Makefile ($(objpfx)ld.so): Likewise.
31895 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
31897         [BZ #17965]
31898         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
31899         both struct timeval and struct timespec.
31901 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
31903         [BZ #16560]
31904         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31905         and redefine.
31906         (__ieee754_exp2l): Do not multiply small fractional parts by
31907         M_LN2l.
31908         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
31909         small argument.
31910         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31911         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31912         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
31913         * math/auto-libm-test-in: Add more tests of exp2.
31914         * math/auto-libm-test-out: Regenerated.
31916 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31918         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
31919         unaligned path.
31921 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31923         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
31924         little endian.
31926 2015-02-12  Andreas Schwab  <schwab@suse.de>
31928         [BZ #15790]
31929         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
31930         Filter out elision flags from value returned in kind.
31931         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
31932         * nptl/tst-pthread-mutexattr.c: New file.
31934 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31936         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
31937         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
31938         into gnu-gnu, and update comment to refer to abi-tags.
31940 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
31942         [BZ #15467]
31943         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
31944         (__sincos): Set errno to EDOM for infinite argument.
31945         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
31946         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
31947         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
31948         (__sincosl): Set errno to EDOM for infinite argument.
31949         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
31950         (__sincosl): Set errno to EDOM for infinite argument.
31951         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
31952         (__sincosl): Set errno to EDOM for infinite argument.
31953         * math/libm-test.inc (sincos_test_data): Test errno setting.
31955 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
31957         * string/strxfrm_l.c: Remove #define STRCMP.
31958         * string/strcoll_l.c: Remove #define STRLEN.
31959         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
31960         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
31962 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
31964         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
31965         * sysdeps/mips/mips32/sfp-machine.h: ... here.
31966         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
31967         * sysdeps/mips/mips64/Makefile: ... here.
31968         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
31969         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
31970         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
31971         * sysdeps/mips/mips64/sfp-machine.h: ... here.
31972         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
31973         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
31974         * sysdeps/mips/mips64/n64/Implies: Likewise.
31976 2015-02-10  Roland McGrath  <roland@hack.frob.com>
31978         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
31979         <sys/time.h>, <string.h>, and <errno.h>.
31980         (dest_offset, dest_address, value, zero): Remove unused variables.
31981         (ldouble): Remove typedef.
31982         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
31983         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
31984         1).  Fix code style.
31985         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
31986         (check): Function removed.
31987         (CHECK): New macro.
31988         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
31989         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
31990         Don't call set_sigaction_FP and remove_sigaction_FP here.
31991         (ldouble_test): Just use 'long double' as macro argument, no need for
31992         the 'ldouble' typedef.
31993         (do_test): Set up SIGFPE handler at start, using plain signal rather
31994         than sigaction.  Fix code style.
31996 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
31998         [BZ #17949]
31999         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
32000         jump label.
32002 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32004         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
32005         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32007         * sysdeps/powerpc/configure.ac: Remove file.
32008         * sysdeps/powerpc/configure: Likewise.
32010         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32011         [sysdep_routines]: Remove wordcopy-power6 object.
32012         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32013         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
32014         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
32015         (__memmove_ppc32): Likewise.
32016         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
32017         file.
32018         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
32019         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
32020         Remove preprocessor.
32022         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32023         [sysdep_routines]: Remove wide chars objects.
32024         [wcsmbs]: New rule for wide char objects.
32026         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32027         Remove wordcopy-power6 obejct.
32028         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
32029         Use local call for wordcopy and memcpy symbols.
32030         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
32031         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
32032         implementation for loader.
32033         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
32035         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32036         Remove wordcopy-power7 object.
32037         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
32038         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
32039         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
32040         (_wordcopy_fwd_dest_aligned): Likewise.
32041         (_wordcopy_bwd_aligned): Likewise.
32042         (_wordcopy_bwd_dest_aligned): Likewise.
32044         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
32045         Rewrite to call __memmove_ppc instead of include default
32046         implementation.
32048         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32049         Remove wide chars objects.
32050         [wcsmbs]: New rule for wide char objects.
32052 2015-02-09  Andreas Schwab  <schwab@suse.de>
32054         [BZ #17912]
32055         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32056         in terms of __O_DIRECTORY.
32058 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32060         * time/getdate.c: Include <stdbool.h>.
32061         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
32062         call PTR_MANGLE.
32063         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
32064         PTR_DEMANGLE.
32066 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
32068         Add ersatz _Static_assert on older C hosts
32069         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
32070         pre-C11 C platform that is not known to support _Static_assert.
32072 2015-02-07  Richard Braun  <rbraun@sceen.net>
32074         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
32075         sigstate.
32076         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
32078 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32080         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
32081         priority against unexistent AIO_PRIO_DELTA_MAX.
32082         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
32083         instead of int.
32084         * misc/fchflags.c (fchflags): Likewise.
32085         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
32086         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
32087         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
32088         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
32089         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
32090         Declare macros.
32091         [__USE_MISC] (chflags, fchflags): Declare functions.
32092         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
32093         EINVAL when nfds is greater than FD_SETSIZE.
32094         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
32095         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
32096         45.
32097         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
32098         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
32099         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
32100         MACH_RCV_TIMED_OUT.
32101         * hurd/hurd/signal.h (_hurd_self_sigstate,
32102         _hurd_critical_section_lock, _hurd_critical_section_unlock):
32103         Explicit casts from void *.
32104         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
32105         * abi-tags: Rename gnu-gnu os into gnu.
32107         [BZ #4719]
32108         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
32109         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
32110         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
32111         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
32112         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
32113         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
32115         [BZ #17944]
32116         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
32117         duplicates ADDR->sun_path with sockaddr LEN limitation.
32118         * sysdeps/mach/hurd/connect.c: Include <string.h>
32119         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
32120         * sysdeps/mach/hurd/sendmsg.c: Likewise.
32121         * sysdeps/mach/hurd/sendto.c: Likewise.
32122         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
32123         implementing it by hand.
32125 2015-02-06  Roland McGrath  <roland@hack.frob.com>
32127         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
32128         Use sfi_breg on ldr.
32129         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
32130         Likewise.
32132         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
32133         it's defined.
32134         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
32135         Test SIGSETXID only if it's defined.
32137         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
32139         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
32140         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
32142         * nptl/tst-align2.c: Moved ...
32143         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
32144         * nptl/Makefile (tests): Remove tst-align2.
32145         * sysdeps/unix/sysv/linux/Makefile
32146         [$(subdir) = nptl] (tests): Add tst-align-clone.
32147         * nptl/tst-getpid1.c: Moved ...
32148         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
32149         * nptl/tst-getpid2.c: Moved ...
32150         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
32151         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
32152         * sysdeps/unix/sysv/linux/Makefile
32153         [$(subdir) = nptl] (tests): ... here.
32154         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
32155         * sysdeps/unix/sysv/linux/Makefile
32156         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
32158         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
32159         Drop trailing \n from perror argument.  Use return rather than exit.
32161         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
32162         on [SA_SIGINFO].
32163         * nptl/tst-cancel21.c (do_test): Likewise.
32164         * debug/tst-backtrace6.c: Include <signal.h> first thing.
32165         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
32166         [!SA_SIGINFO]: Make it a stub test.
32168         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
32169         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
32171         * posix/tst-getlogin.c: Move to ...
32172         * login/tst-getlogin.c: ... here.
32173         * posix/Makefile (tests): Move tst-getlogin to ...
32174         * login/Makefile (tests): ... here.
32176         * libio/tst-atime.c (do_test): Move local variables SV and E
32177         inside [ST_NOATIME] conditional.
32179         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
32181         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
32183         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
32184         (wait_code): New function replaces macro.
32185         Call nanosleep rather than syscall.
32187         * nptl/pt-system.c: Rewritten.  Put everything under
32188         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32189         Use IFUNC to redirect when possible.
32191         * nptl/pt-longjmp.c: Rewritten.  Put everything under
32192         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32193         Use IFUNC to redirect when possible.
32195         * nptl/pt-fork.c: Rewritten.  Put everything under
32196         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32197         Use IFUNC to redirect when possible.
32198         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
32200         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
32201         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
32202         unconditionally nowadays.  This included the only reference to
32203         __vdso_clock_gettime that appears outside libc proper.
32204         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
32205         Remove version set (containing only __vdso_clock_gettime).
32206         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
32207         Add attribute_hidden.
32208         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
32209         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
32210         libc_hidden_data_def.
32211         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32212         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32214         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
32215         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
32216         setrpcent, and getrpcport to ...
32217         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
32218         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
32219         getrpcbynumber_r, and getrpcent_r to ...
32220         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
32221         * inet/getrpcbyname.c: Moved ...
32222         * sunrpc/getrpcbyname.c: ... here.
32223         * inet/getrpcbyname_r.c: Moved ...
32224         * sunrpc/getrpcbyname_r.c: ... here.
32225         * inet/getrpcbynumber.c: Moved ...
32226         * sunrpc/getrpcbynumber.c: ... here.
32227         * inet/getrpcbynumber_r.c: Moved ...
32228         * sunrpc/getrpcbynumber_r.c: ... here.
32229         * inet/getrpcent.c: Moved ...
32230         * sunrpc/getrpcent.c: ... here.
32231         * inet/getrpcent_r.c: Moved ...
32232         * sunrpc/getrpcent_r.c: ... here.
32233         * inet/Makefile (routines): Move those to ...
32234         * sunrpc/Makefile (routines): ... here.
32235         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
32236         the $(subdirs) list.
32237         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
32238         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
32239         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
32240         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
32242         * elf/Makefile (routines): Include $(all-dl-routines), not just
32243         $(dl-routines).
32244         (rtld-routines): Likewise.  Use = rather than :=.
32245         * sysdeps/aarch64/Makefile [$(subdir) = elf]
32246         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
32247         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
32248         * sysdeps/arm/Makefile: Likewise.
32249         * sysdeps/i386/Makefile: Likewise.
32250         * sysdeps/x86_64/Makefile: Likewise.
32251         * sysdeps/hppa/Makefile [$(subdir) = elf]
32252         (sysdep_routines, sysdep-rtld-routines): Don't add
32253         $(sysdep-dl-routines) to these.
32254         * sysdeps/ia64/Makefile: Likewise.
32255         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
32256         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
32257         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
32258         Don't add dl-static to these; sysdep-dl-routines alone is enough.
32259         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
32260         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
32261         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
32262         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
32263         * sysdeps/powerpc/Makefile [$(subdir) = elf]
32264         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
32265         these; sysdep-dl-routines alone is enough.
32267 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
32269         [BZ #17932]
32270         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
32271         where multiplication results in zero and third argument is finite
32272         and nonzero.
32273         * math/auto-libm-test-in: Add more tests of fma.
32274         * math/auto-libm-test-out: Regenerated.
32276         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
32277         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
32278         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
32279         (_FP_CMP_EQ): Likewise.
32280         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
32282         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
32283         extra argument CHECK_NAN.  Redefine as wrapper around
32284         _FP_EXTEND_CNAN.
32286 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
32288         * version.h (RELEASE): Set to "stable".
32289         (VERSION): Set to "2.21"
32290         * include/features.h (__GLIBC_MINOR__): Set to 21.
32292         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
32294 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32295             Paul Eggert  <eggert@cs.ucla.edu>
32297         [BZ #16618]
32298         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
32299         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
32300         size in bytes. Store needed elements in wpmax. Use needed size
32301         in bytes for extend_alloca.
32303 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
32305         * manual/install.texi: Latest tested versions are GCC 4.9.2,
32306         binutls 2.25, and texinfo 5.2.
32307         * INSTALL: Regenerate.
32308         * sysdeps/nios2/configure: Regenerate.
32309         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
32310         * manual/contrib.texi: Update.
32311         * po/be.po: Update.
32312         * po/bg.po: Update.
32313         * po/ca.po: Update.
32314         * po/cs.po: Update.
32315         * po/da.po: Update.
32316         * po/de.po: Update.
32317         * po/el.po: Update.
32318         * po/eo.po: Update.
32319         * po/es.po: Update.
32320         * po/fi.po: Update.
32321         * po/fr.po: Update.
32322         * po/gl.po: Update.
32323         * po/hr.po: Update.
32324         * po/hu.po: Update.
32325         * po/ia.po: Update.
32326         * po/id.po: Update.
32327         * po/it.po: Update.
32328         * po/ja.po: Update.
32329         * po/ko.po: Update.
32330         * po/lt.po: Update.
32331         * po/nb.po: Update.
32332         * po/nl.po: Update.
32333         * po/pl.po: Update.
32334         * po/pt_BR.po: Update.
32335         * po/ru.po: Update.
32336         * po/rw.po: Update.
32337         * po/sk.po: Update.
32338         * po/sl.po: Update.
32339         * po/sv.po: Update.
32340         * po/tr.po: Update.
32341         * po/uk.po: Update.
32342         * po/vi.po: Update.
32343         * po/zh_CN.po: Update.
32344         * po/zh_TW.po: Update.
32346         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
32347         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
32348         * sysdeps/hppa/dl-irel.h: Remove #warning.
32349         * sysdeps/hppa/entry.h: Provide prototype for
32350         __canonicalize_funcptr_for_compare and cast argument.
32351         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
32352         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
32353         * sysdeps/hppa/sotruss-lib.c: New file.
32354         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
32355         (atomic_compare_and_exchange_val_acq): Use __typeof__.
32356         (atomic_compare_and_exchange_bool_acq): Likewise.
32357         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
32358         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
32360         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
32361         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
32362         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
32364 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
32366         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
32367         called function in non-PIC case.
32369 2015-01-31  David S. Miller  <davem@davemloft.net>
32371         * sysdeps/sparc/sparc32/bits/atomic.h
32372         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
32373         unlock not after it.
32374         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
32375         volatile register usage warnings from the compiler.
32377         * sysdeps/sparc/nptl/sem_init.c: Delete.
32378         * sysdeps/sparc/nptl/sem_post.c: Delete.
32379         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
32380         * sysdeps/sparc/nptl/sem_wait.c: Delete.
32381         * sysdeps/sparc/sparc32/sem_init.c: New file.
32382         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
32383         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
32384         padding explicitly initialized.
32385         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
32386         padding for in-semaphore spinlock.
32387         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
32388         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
32389         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
32390         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
32391         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
32392         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
32393         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
32394         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
32395         version.
32396         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
32397         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
32399 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
32401         [BZ #17801]
32402         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32403         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
32404         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
32405         New.
32406         (index_AVX_Fast_Unaligned_Load): Likewise.
32407         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
32408         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
32409         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
32410         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
32411         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
32412         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
32413         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
32414         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
32415         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
32417 2015-01-29  Andreas Schwab  <schwab@suse.de>
32419         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
32421 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
32423         [BZ #17892]
32424         * nscd/nscd_stat.c (send_stats): Initialize DATA.
32426 2015-01-28  Martin Sebor  <msebor@redhat.com>
32428         * math/README.libm-test: Clarify. Add "How to read the test output."
32430 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
32432         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
32433         Define to 0.
32435 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
32437         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
32438         (__HAVE_64B_ATOMICS): Define to 0.
32440 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32442         [BZ #17885]
32443         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
32444         value to set as new flag.
32446         [BZ #16576]
32447         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
32448         and use _ARCH_PPCSQ instead.
32449         (__ieee754_sqrt): Likewise.
32450         (__ieee754_sqrtf): Likewise.
32451         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
32452         _ARCH_PPCSQ is defined.
32453         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
32454         fsqrt instruction.
32455         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
32456         _ARCH_PPCSQ is defined.
32457         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
32458         fsqrts instruction.
32459         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
32461 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32463         * iconv/loop.c: Suppress array out of bound warning caused by GCC
32464         bug (GCC BZ #64739).
32466 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
32468         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
32469         Mark _retval as used.
32470         (lll_futex_wake_unlock): Likewise.
32471         (lll_futex_timed_wait_requeue_pi): Likewise.
32473         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32474         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
32475         register variables.
32477         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
32478         libm_hidden_def.
32480         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
32481         (__bswap_64): Mark as __always_inline.
32483 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
32485         [BZ #15378]
32486         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
32487         when none of the search directories exist.
32489 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32491         [BZ #17869]
32492         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
32493         power8 in .machine directive.
32495         [BZ #17868]
32496         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
32497         set dependency from opd value.
32499 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
32501         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32502         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
32503         architecture.
32505 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
32507         [BZ #17870]
32508         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
32509         with uint64_t.
32510         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
32511         (uint64_t) 1.
32512         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
32513         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
32514         Replace 1UL with (uint64_t) 1.
32515         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
32516         int with uint64_t.
32518 2015-01-23  Roland McGrath  <roland@hack.frob.com>
32520         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
32521         (if_freenameindex): Likewise.
32523         * resource/getrlimit64.c: Add missing libc_hidden_def.
32525 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
32527         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
32528         __label__.
32529         (_FP_FMA): Likewise.
32530         (_FP_TO_INT_ROUND): Likewise.
32531         (_FP_FROM_INT): Likewise.
32533 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32535         [BZ #16418]
32536         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32537         Make code racy and cancel safe.
32539 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
32541         * sysdeps/arm/unwind-resume.h: Fix copyright year.
32542         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
32543         attribution.
32545         * pwd/tst-getpw.c: Rewrite.
32547         [BZ #17702]
32548         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
32549         (modules-names): Add moddummy1 and moddummy2.
32550         ($(objpfx)tst-rec-dlopen): Define.
32551         * dlfcn/moddummy1.c: New file.
32552         * dlfcn/moddummy2.c: New file.
32553         * dlfcn/tst-rec-dlopen.c: New file.
32554         * elf/dl-cache.c (_dl_load_cache_lookup):
32555         Return char*. Copy result with alloca/strcpy/strdup.
32556         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
32557         returns char*. Free cached. If not saving realname
32558         free cached.
32559         * elf/dl-open.c (dl_open_worker): Do not assert that
32560         _r_debug->r_state is RT_CONSISTENT.
32561         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
32562         returns char*.
32564 2015-01-21  Torvald Riegel  <triegel@redhat.com>
32565             Carlos O'Donell  <carlos@redhat.com>
32567         [BZ #12674]
32568         * nptl/sem_waitcommon.c: New file.
32569         * nptl/sem_wait.c: Include sem_waitcommon.c.
32570         (__sem_wait_cleanup, do_futex_wait): Remove.
32571         (__new_sem_wait): Adapt.
32572         (__new_sem_trywait): New function.
32573         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
32574         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
32575         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
32576         (sem_timedwait): Adapt.
32577         * nptl/sem_post.c (__new_sem_post): Adapt.
32578         (futex_wake): New function.
32579         (__old_sem_post): Add release MO fence.
32580         * nptl/sem_open.c (sem_open): Adapt.
32581         * nptl/sem_init.c (__new_sem_init): Adapt.
32582         (futex_private_if_supported): New function.
32583         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
32584         (__old_sem_getvalue): Add using previous code.
32585         * sysdeps/nptl/internaltypes.h: Adapt.
32586         * nptl/tst-sem13.c (do_test): Adapt.
32587         * nptl/tst-sem11.c (main): Adapt.
32588         * nptl/sem_trywait.c: Remove.
32589         * nptl/DESIGN-sem.txt: Remove.
32590         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
32591         (gen-as-const-headers): Remove structsem.sym.
32592         * nptl/structsem.sym: Remove.
32593         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
32594         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
32595         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
32596         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
32597         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
32598         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
32599         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
32600         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
32601         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
32602         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
32603         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
32604         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
32605         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
32606         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
32607         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
32608         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
32609         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
32610         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
32611         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
32612         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
32613         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
32614         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
32616 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
32618         * INSTALL: Regenerated.
32620         * po/libc.pot: Regenerated.
32622 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
32623             Sandra Loosemore  <sandra@codesourcery.com>
32624             Andrew Jenner  <andrew@codesourcery.com>
32625             Joseph Myers  <joseph@codesourcery.com>
32626             Nathan Sidwell  <nathan@codesourcery.com>
32628         * NEWS: Mention new Nios II port.
32629         * sysdeps/nios2/Implies: New file.
32630         * sysdeps/nios2/Makefile: New file.
32631         * sysdeps/nios2/Subdirs: New file.
32632         * sysdeps/nios2/Versions: New file.
32633         * sysdeps/nios2/__longjmp.S: New file.
32634         * sysdeps/nios2/abort-instr.h: New file.
32635         * sysdeps/nios2/backtrace.c: New file.
32636         * sysdeps/nios2/bits/endian.h: New file.
32637         * sysdeps/nios2/bits/fenv.h: New file.
32638         * sysdeps/nios2/bits/link.h: New file.
32639         * sysdeps/nios2/bits/setjmp.h: New file.
32640         * sysdeps/nios2/bsd-_setjmp.S: New file.
32641         * sysdeps/nios2/bsd-setjmp.S: New file.
32642         * sysdeps/nios2/configure: New generated file.
32643         * sysdeps/nios2/configure.ac: New file.
32644         * sysdeps/nios2/crti.S: New file.
32645         * sysdeps/nios2/crtn.S: New file.
32646         * sysdeps/nios2/dl-init.c: New file.
32647         * sysdeps/nios2/dl-machine.h: New file.
32648         * sysdeps/nios2/dl-sysdep.h: New file.
32649         * sysdeps/nios2/dl-tls.h: New file.
32650         * sysdeps/nios2/dl-trampoline.S: New file.
32651         * sysdeps/nios2/gccframe.h: New file.
32652         * sysdeps/nios2/gmp-mparam.h: New file.
32653         * sysdeps/nios2/jmpbuf-offsets.h: New file.
32654         * sysdeps/nios2/jmpbuf-unwind.h: New file.
32655         * sysdeps/nios2/ldsodefs.h: New file.
32656         * sysdeps/nios2/libc-tls.c: New file.
32657         * sysdeps/nios2/libm-test-ulps: New file.
32658         * sysdeps/nios2/machine-gmon.h: New file.
32659         * sysdeps/nios2/math-tests.h: New file.
32660         * sysdeps/nios2/math_private.h: New file.
32661         * sysdeps/nios2/memusage.h: New file.
32662         * sysdeps/nios2/nptl/Makefile: New file.
32663         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
32664         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
32665         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
32666         * sysdeps/nios2/nptl/pthreaddef.h: New file.
32667         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
32668         * sysdeps/nios2/nptl/tls.h: New file.
32669         * sysdeps/nios2/preconfigure: New file.
32670         * sysdeps/nios2/s_fma.c: New file.
32671         * sysdeps/nios2/s_fmaf.c: New file.
32672         * sysdeps/nios2/setjmp.S: New file.
32673         * sysdeps/nios2/sfp-machine.h: New file.
32674         * sysdeps/nios2/sotruss-lib.c: New file.
32675         * sysdeps/nios2/stackguard-macros.h: New file.
32676         * sysdeps/nios2/stackinfo.h: New file.
32677         * sysdeps/nios2/start.S: New file.
32678         * sysdeps/nios2/sysdep.h: New file.
32679         * sysdeps/nios2/tls-macros.h: New file.
32680         * sysdeps/nios2/tst-audit.h: New file.
32681         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
32682         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
32683         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
32684         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
32685         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
32686         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
32687         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
32688         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
32689         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
32690         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
32691         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
32692         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
32693         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
32694         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
32695         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
32696         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
32697         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
32698         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
32699         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
32700         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
32701         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
32702         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
32703         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
32704         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
32705         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
32706         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
32707         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
32708         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
32709         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
32710         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
32711         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
32712         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
32713         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
32714         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
32715         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
32716         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
32717         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
32718         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
32719         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
32720         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
32721         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
32722         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
32723         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
32724         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
32726 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32728         [BZ #17844]
32729         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
32730         (getutent): Use weak_alias in non SHARED case
32731         and default_symbol_version in SHARED case.
32732         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
32733         (getutent_r, pututline): Likewise.
32734         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
32735         (getutid): Likewise.
32736         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
32737         (getutid_r): Likewise.
32738         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
32739         (getutline): Likewise.
32740         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
32741         (getutline_r): Likewise.
32742         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
32743         (updwtmp): Likewise.
32745 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32747         [BZ #17848]
32748         * sysdeps/s390/s390-32/memcmp.S
32749         (memcmp_g5): Rename to __memcmp_g5.
32750         * sysdeps/s390/s390-32/memcpy.S
32751         (memcpy_g5): Rename to __memcpy_g5.
32752         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32753         (memcpy_mvcle) Rename to __memcpy_mvcle.
32754         * sysdeps/s390/s390-32/memset.S
32755         (memset_g5): Rename to __memset_g5.
32756         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32757         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32758         and use prefixed functions.
32759         * sysdeps/s390/s390-32/multiarch/memcmp.S
32760         (memcmp_z196): Rename to __memcmp_z196.
32761         (memcmp_z10): Rename to __memcmp_z10.
32762         (memcmp): Set alias to __memcmp_g5.
32763         (bcmp): Set alias to __memcmp_g5.
32764         * sysdeps/s390/s390-32/multiarch/memcpy.S
32765         (memcpy_z196): Rename to __memcpy_z196.
32766         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32767         (memcpy_z10): Rename to __memcpy_z10.
32768         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32769         (memcpy): Set alias to __memcpy_g5.
32770         * sysdeps/s390/s390-32/multiarch/memset.S
32771         (memset_z196): Rename to __memset_z196.
32772         Jump to __memset_mvcle instead of memset_mvcle.
32773         (memset_z10): Rename to __memset_z10.
32774         Jump to __memset_mvcle instead of memset_mvcle.
32775         (memset_mvcle) Rename to __memset_mvcle.
32776         (memset): Set alias to __memset_g5.
32777         * sysdeps/s390/s390-64/memcmp.S
32778         (memcmp_z900): Rename to __memcmp_z900.
32779         * sysdeps/s390/s390-64/memcpy.S
32780         (memcpy_z900): Rename to __memcpy_z900.
32781         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32782         (memcpy_mvcle) Rename to __memcpy_mvcle.
32783         * sysdeps/s390/s390-64/memset.S
32784         (memset_z900): Rename to __memset_z900.
32785         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
32786         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32787         and use prefixed functions.
32788         * sysdeps/s390/s390-64/multiarch/memcmp.S
32789         (memcmp_z196): Rename to __memcmp_z196.
32790         (memcmp_z10): Rename to __memcmp_z10.
32791         (memcmp): Set alias to __memcmp_z900.
32792         (bcmp): Set alias to __memcmp_z900.
32793         * sysdeps/s390/s390-64/multiarch/memcpy.S
32794         (memcpy_z196): Rename to __memcpy_z196.
32795         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32796         (memcpy_z10): Rename to __memcpy_z10.
32797         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32798         (memcpy): Set alias to __memcpy_z900.
32799         * sysdeps/s390/s390-64/multiarch/memset.S
32800         (memset_z196): Rename to __memset_z196.
32801         Jump to __memset_mvcle instead of memset_mvcle.
32802         (memset_z10): Rename to __memset_z10.
32803         Jump to __memset_mvcle instead of memset_mvcle.
32804         (memset_mvcle) Rename to __memset_mvcle.
32805         (memset): Set alias to __memset_z900.
32807 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
32809         [BZ #17748]
32810         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
32811         __fesetenv instead of fesetenv.
32813 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32815         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
32816         macro.
32818 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32820         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
32821         regression on LE.
32823         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
32824         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
32825         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32826         strncmp-power8 object.
32827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32828         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
32829         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
32830         * NEWS: Update.
32832 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32833             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32835         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
32836         trailing byte check.
32838 2015-01-13  David S. Miller  <davem@davemloft.net>
32840         * include/signal.h (__sigreturn): Guard with __USE_MISC.
32842 2015-01-13  Roland McGrath  <roland@hack.frob.com>
32844         * login/logout.c (logout): Use memset rather than bzero.
32845         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
32846         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
32847         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
32848         (_gethtbyaddr): Likewise.
32849         * locale/programs/simple-hash.c (bcopy): Macro removed.
32851 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32853         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32854         Add strcmp-power8 object.
32855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32856         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
32857         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
32858         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
32859         __strcmp_power8 implementation.
32860         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
32861         * NEWS: Update.
32863         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32864         Add strncpy-power8 and stpncpy-power8 objects.
32865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32866         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
32867         implementations.
32868         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
32869         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
32870         __stpncpy_power8 implementation.
32871         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
32872         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
32873         __strncpy_power8 implementation.
32874         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
32875         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
32876         * NEWS: Update.
32878         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
32879         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
32880         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
32882         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32883         strncat-power8 object.
32884         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
32885         __strcat_power8 implementation.
32886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32887         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
32888         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
32889         optimized strcat for power8.
32891         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
32892         strcpy-power8 and stpcpy-power8 objects.
32893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32894         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
32895         implementations.
32896         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
32897         multiarch stpcpy implementation for POWER8.
32898         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
32899         multiarch strcpy implementation for POWER8.
32900         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
32901         __strcpy_power8 function.
32902         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
32903         stpcpy for POWER8.
32904         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
32905         strcpy for POWER8.
32906         * NEWS: Update.
32908 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
32910         [BZ #16009]
32911         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
32912         weights and rules. Use do_xfrm_cached if data fits in cache,
32913         do_xfrm otherwise.  Moved former main loop to...
32914         * (do_xfrm_cached): New function.
32915         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
32916         find_idx, find_position and stack_push.
32917         * (find_idx): New function.
32918         * (find_position): Likewise.
32919         * localedata/sort-test.sh: Added test run for do_xfrm.
32920         * localedata/xfrm-test.c (main): Added command line option
32921         -nocache to run the test with strings that are too large for
32922         the STRXFRM cache.
32924 2015-01-13  Torvald Riegel  <triegel@redhat.com>
32926         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
32927         variable to lll_futex_wake call, not the value itself.
32929 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
32931         [BZ #17803]
32932         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
32933         twom64.  Adjust value to 0x1p-64L.
32934         (__scalblnl): Only return standard underflowing result for K <=
32935         -64 not K <= -63; adjust exponent for underflowing result by 64
32936         not 63.
32937         * math/libm-test.inc (scalbn_test_data): Add more tests.
32938         (scalbln_test_data): Likewise.
32940         [BZ #17834]
32941         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
32942         0x1p63L.
32943         (__scalblnl): Get new exponent of adjusted subnormal value from ES
32944         not HX.
32945         * math/libm-test.inc (scalbn_test_data): Add more tests.
32946         (scalbln_test_data): Likewise.
32948 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32949             Stefani Seibold  <stefani@seibold.net>
32951         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
32952         (sysdep_routines): Add dl-vdso here, ...
32953         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
32954         (sysdep_routines): ... not here.
32955         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
32956         fallback when vDSO is not presented.
32957         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
32958         Define with libc_hidden_proto/libc_hidden_data_def definitions.
32959         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
32960         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
32961         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
32962         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
32963         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
32964         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
32965         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
32966         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
32967         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
32968         fallback configurable symbol when vDSO is not available.
32969         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
32970         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
32971         be able to redefine fallback symbol when vDSO is not available.
32972         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
32973         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
32975 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32977         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
32978         (TLS_INIT_TP): Add tm_capable initialization.
32979         (TLS_DEFINE_INIT_TP): Likewise.
32980         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
32981         TCB.
32982         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
32983         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
32984         calculation.
32985         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
32986         transactoion is lock elision is built and TCB tm_capable is set.
32987         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
32988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32989         (INTERNAL_SYSCALL_NCS): Likewise.
32990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32991         (INTERNAL_SYSCALL_NCS): Likewise.
32992         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
32994         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
32995         for powerpc.
32996         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32997         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
32998         and remove it for 32 bits case.
32999         [pthread_rwlock_t] (__rwelision): New field for lock elision.
33000         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
33001         initialization.
33002         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
33003         Disable lock elision with rdlocks if elision is not available.
33005         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
33006         (sysdep_routines): Add lock elision objects.
33007         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33008         [pthread_mutex_t] (__spins): Rework to add lock elision field.
33009         [pthread_mutex_t] (__elision): Add field.
33010         [__PTHREAD_SPINS]: Adjust to init lock elision field.
33011         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
33012         elision definitions for powerpc.
33013         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
33014         implementation of lock elision for powerpc.
33015         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
33016         implementation of timed lock elision for powerpc.
33017         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
33018         implementation of trylock with lock elision for powerpc.
33019         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
33020         implementaion of unlock for lock elision for powerpc.
33021         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
33022         automatic enable lock elision for mutexes.
33023         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
33024         transaction execution definitions for powerpc.
33025         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
33026         definitions.
33027         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
33028         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
33029         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
33030         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
33031         * NEWS: Update.
33033 2015-01-09  Roland McGrath  <roland@hack.frob.com>
33035         * sysdeps/posix/shm-directory.c: Use <> rather than ""
33036         for #include of <shm-directory.h>.
33038 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
33040         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
33041         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
33043 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
33045         [BZ #17791]
33046         * NEWS: Mention bug fix.
33047         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
33048         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
33049         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
33051 2015-01-09  Torvald Riegel <triegel@redhat.com>
33053         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
33055 2015-01-09  Torvald Riegel <triegel@redhat.com>
33057         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
33059 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33061         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
33062         pointer and cast to uintptr_t.
33064 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33066         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
33067         removed.
33068         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
33070 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33072         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
33073         of 0.
33075 2015-01-08  Roland McGrath  <roland@hack.frob.com>
33077         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
33078         <nptl/pthreadP.h> instead.
33079         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
33081         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
33082         already defined.
33083         [__SIGRTMIN] (init): Function removed.
33084         [__SIGRTMIN] (initialized): Variable removed.
33085         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
33086         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
33087         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
33088         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
33089         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
33090         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
33091         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
33092         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
33093         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
33094         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
33095         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
33096         * sysdeps/nptl/allocrtsig.c: New file.
33097         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
33098         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
33099         * sysdeps/generic/testrtsig.h: File removed.
33101         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
33102         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
33104         * nptl/nptl-init.c (pthread_functions): Conditionalize
33105         .ptr__nptl_setxid initialization on [SIGSETXID].
33107         * sysdeps/nptl/sys/procfs.h: New file.
33108         * nptl_db/Makefile (headers): Add it.
33109         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
33111         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
33112         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
33113         * nptl/pthread_attr_setaffinity.c: Include it.
33114         * nptl/pthread_setattr_default_np.c: Likewise.
33115         * nptl/check-cpuset.h: New file.
33117 2015-01-08  Richard Henderson  <rth@redhat.com>
33119         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
33120         (CFLAGS-tst-execstack-prog.c): Likewise.
33121         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
33123 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
33124             Sandra Loosemore  <sandra@codesourcery.com>
33125             Andrew Jenner  <andrew@codesourcery.com>
33126             Joseph Myers  <joseph@codesourcery.com>
33127             Nathan Sidwell  <nathan@codesourcery.com>
33129         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
33130         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
33131         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
33132         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
33133         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
33134         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
33135         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
33136         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
33137         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
33138         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
33139         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
33140         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
33141         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
33142         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
33143         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
33144         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
33145         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
33147 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33149         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
33150         timespec struct member in syscall macro.
33151         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
33152         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
33153         first timeval struct member in syscall macro.
33154         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
33156 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
33158         [BZ #17748]
33159         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
33160         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
33161         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
33162         __feupdateenv and define as weak alias of __feupdateenv.  Use
33163         libm_hidden_weak.
33164         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
33165         libm_hidden_def.
33166         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
33167         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
33168         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33169         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
33170         libm_hidden_def.
33171         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
33172         __feupdateenv and define as weak alias of __feupdateenv.  Use
33173         libm_hidden_weak.
33174         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
33175         libm_hidden_def.
33176         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
33177         __feupdateenv and define as weak alias of __feupdateenv.  Use
33178         libm_hidden_weak.
33179         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
33180         libm_hidden_def.
33181         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33182         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33183         (__feupdateenv): Likewise.
33184         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
33185         __feupdateenv and define as weak alias of __feupdateenv.  Use
33186         libm_hidden_weak.
33187         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33188         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
33189         libm_hidden_def.
33190         * sysdeps/tile/math_private.h (__feupdateenv): New inline
33191         function.
33192         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
33193         libm_hidden_def.
33194         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
33195         __feupdateenv instead of feupdateenv.
33196         (default_libc_feupdateenv_test): Likewise.
33197         (libc_feresetround_ctx): Likewise.
33199 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33201         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
33202         prototype.
33204 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
33206         * posix/regcomp.c (parse_bracket_exp): Initialize type to
33207         COLL_SYM in a couple of places to avoid uninitialized variable
33208         wanings on tilegx gcc 4.8.2.
33210 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33212         * sysdeps/aarch64/strcpy.S: New file.
33213         * sysdeps/aarch64/stpcpy.S: New file.
33214         * NEWS: Updated.
33216 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33218         * sysdeps/aarch64/strrchr.S: New file.
33219         * NEWS: Updated.
33221 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
33223         [BZ #17658]
33224         * stdlib/setenv.c: Fix memory leak when setting large,
33225         duplicate string.
33227 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
33229         [BZ #17273]
33230         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
33231         and tabs from buffer before parsing fstab entry.
33232         * misc/tst-mntent.c (main): Add test for mount entry with
33233         trailing spaces and tabs.
33235 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
33237         [BZ #17748]
33238         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
33239         * math/fesetround.c (fesetround): Rename to __fesetround and
33240         define as weak alias of __fesetround.  Use libm_hidden_weak.
33241         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
33242         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
33243         * sysdeps/arm/fesetround.c (fesetround): Likewise.
33244         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
33245         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
33246         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
33247         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
33248         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
33249         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
33250         __fesetround_inline.
33251         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
33252         __fesetround_inline instead of __fesetround.
33253         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
33254         __fesetround and define as weak alias of __fesetround.  Use
33255         libm_hidden_weak.  Call __fesetround_inline instead of
33256         __fesetround.
33257         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
33258         __fesetround and define as weak alias of __fesetround.  Use
33259         libm_hidden_weak.
33260         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
33261         Likewise.
33262         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
33263         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33264         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
33265         * sysdeps/tile/math_private.h (__fesetround): New inline function.
33266         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
33267         __fesetround and define as weak alias of __fesetround.  Use
33268         libm_hidden_weak.
33269         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
33270         __fesetround instead of fesetround.
33271         (default_libc_feholdexcept_setround): Likewise.
33272         (libc_feholdsetround_ctx): Likewise.
33273         (libc_feholdsetround_noex_ctx): Likewise.
33275         [BZ #17748]
33276         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
33277         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
33278         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33279         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33280         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33281         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
33282         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33283         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
33284         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33285         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33286         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33287         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33288         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33289         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33290         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
33291         libm_hidden_def.
33292         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
33293         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
33294         Likewise.
33295         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33296         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33297         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33298         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33299         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
33300         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33301         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33302         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
33303         __fesetenv instead of fesetenv.
33304         (libc_feresetround_noex_ctx): Likewise.
33305         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
33306         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33307         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
33308         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
33309         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
33310         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
33311         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33312         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33313         (__feupdateenv): Likewise.
33314         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33315         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33316         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33317         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
33319 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33321         [BZ #17806]
33322         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
33323         addresses have been freed.
33325 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33327         * resolv/res_init.c (__res_vinit): Improve comments about nserv
33328         and nservall.
33330 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
33332         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
33333         Clean up check_pf allocation pattern. addresses
33335 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33337         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
33338         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
33339         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
33340         * nptl/pthread_exit.c (__pthread_exit): Likewise.
33341         * nptl/pthread_join.c (pthread_join): Likewise.
33342         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
33343         * sysdeps/posix/waitid.c (__waitid): Likewise.
33344         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
33345         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
33346         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
33347         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
33348         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33349         Likewise.
33350         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33351         (__libc_pread64): Likewise.
33352         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33353         (__libc_pwrite): Likewise.
33354         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33355         (__libc_pwrite64): Likewsie.
33356         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
33357         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
33358         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
33359         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
33360         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
33361         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
33362         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
33364         Likewise.
33365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33366         (__libc_pread64): Likewise.
33367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
33368         Likewise.
33369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33370         (__libc_pwrite64): Likewise.
33371         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
33372         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
33373         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
33374         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
33375         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
33376         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
33377         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
33378         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
33379         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
33380         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
33381         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
33382         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
33383         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
33384         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
33385         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
33386         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
33387         Likewise.
33389 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
33391         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
33392         (CFLAGS-test-double.c): Likewise.
33393         (CFLAGS-test-ldouble.c): Likewise.
33394         (CPPFLAGS-test-ifloat.c): Likewise.
33395         (CPPFLAGS-test-idouble.c): Likewise.
33396         (CPPFLAGS-test-ildoubl.c): Likewise.
33397         (CFLAGS-test-test-fenv.c): Remove variable.
33398         (CFLAGS-test-misc.c): Likewise.
33400 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
33402         [BZ #17797]
33403         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
33404         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
33405         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
33406         CLOCKS_PER_SEC == 1000000.
33407         * time/clocktest.c (main): Replace %ld with %jd and cast to
33408         intmax_t.
33410 2015-01-05  Roland McGrath  <roland@hack.frob.com>
33412         * sysdeps/generic/unwind-resume.h: New file.
33413         * sysdeps/gnu/unwind-resume.c: Include it.
33414         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
33415         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
33416         argument list.
33417         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
33418         global rather than static.
33419         (_Unwind_Resume): Update user.
33420         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
33421         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
33422         rather than static.  Add __attribute__ ((cold)).
33423         (_Unwind_Resume, __gcc_personality_v0): Update callers.
33424         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
33425         * sysdeps/arm/arm-unwind-resume.S: New file.
33426         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
33427         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
33428         * sysdeps/arm/Makefile [$(subdir) = csu]
33429         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
33430         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33431         Add rt-arm-unwind-resume.
33432         [$(subdir) = nptl]
33433         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33434         Add pt-arm-unwind-resume.
33435         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
33436         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
33438 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33440         [BZ #17748]
33441         * include/fenv.h (__feholdexcept): Declare.  Use
33442         libm_hidden_proto.
33443         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
33444         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
33445         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33446         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
33447         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
33448         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
33449         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
33450         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33451         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
33452         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
33453         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33454         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
33455         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
33456         (feholdexcept): Likewise.
33457         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33458         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33459         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33460         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33461         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
33462         __feholdexcept instead of feholdexcept.
33463         (default_libc_feholdexcept_setround): Likewise.
33465 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33467         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
33468         to avoid using stl/str to align destination.
33470 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33472         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
33474 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33476         [BZ #17796]
33477         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
33478         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
33479         Define as weak alias not strong alias.
33481 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33483         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
33484         bltzal with addiupc.
33485         (RTLD_START): Ditto.
33487 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
33489         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
33490         for __vdso_* functions in declarations.
33491         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
33492         definitions.
33493         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
33494         INTERNAL_VSYSCALL): Use struct return types to check for error.
33496         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
33497         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
33498         function with cast from llround().
33499         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
33500         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
33501         Define.
33503 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33505         [BZ #17793]
33506         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
33507         Define as weak alias not strong alias.
33509         [BZ #17635]
33510         * ctype/ctype-c99.c: New file.  isblank implementation moved from
33511         ...
33512         * ctype/ctype-extn.c: ... here.
33513         (__isblank_l): Move to ...
33514         * ctype/ctype-c99_l.c: ... here.  New file.
33515         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
33516         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
33517         Remove variable.
33518         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33519         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33520         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33521         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33522         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33524         [BZ #17777]
33525         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
33526         (posix_fadvise64): Define as weak alias not strong alias.
33527         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33528         (posix_fallocate64): Likewise.
33529         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
33530         Remove variable.
33531         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33532         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33533         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33534         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33535         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33537 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
33539         [BZ #16191]
33540         * NEWS: Mention bug fix.
33541         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
33542         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
33543         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
33544         (HOST_STACK_END_ADDR): Likewise.
33546 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
33548         [BZ #17748]
33549         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
33550         * math/fegetround.c (fegetround): Rename to __fegetround and
33551         define as weak alias of __fegetround.  Use libm_hidden_weak.
33552         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
33553         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
33554         * sysdeps/arm/fegetround.c (fegetround): Likewise.
33555         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
33556         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
33557         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
33558         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
33559         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
33560         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
33561         Undefine after rather than before function definition; use
33562         parentheses around function name in definition.
33563         (__fegetround): Also undefine macro after function definition.
33564         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
33565         __fegetround and define as weak alias of __fegetround.  Use
33566         libm_hidden_weak.  Do not undefine as macro.
33567         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
33568         Likewise.
33569         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
33570         __fegetround and define as weak alias of __fegetround.  Use
33571         libm_hidden_weak.
33572         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33573         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
33574         * sysdeps/tile/math_private.h (__fegetround): New inline function.
33575         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
33576         __fegetround and define as weak alias of __fegetround.  Use
33577         libm_hidden_weak.
33578         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
33579         __fegetround instead of fegetround.
33581         [BZ #17782]
33582         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
33583         Condition macro definition on [__USE_MISC].
33585         [BZ #17781]
33586         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33587         (struct sigaction): Change type of sa_flags field to int.
33589         [BZ #17780]
33590         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
33591         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
33592         __glibc_reserved0.
33594         * nptl/version.c (banner): Use single year in copyright notice.
33596         * NEWS: Update copyright dates.
33597         * catgets/gencat.c (print_version): Likewise.
33598         * csu/version.c (banner): Likewise.
33599         * debug/catchsegv.sh: Likewise.
33600         * debug/pcprofiledump.c (print_version): Likewise.
33601         * debug/xtrace.sh (do_version): Likewise.
33602         * elf/ldconfig.c (print_version): Likewise.
33603         * elf/ldd.bash.in: Likewise.
33604         * elf/pldd.c (print_version): Likewise.
33605         * elf/sotruss.sh: Likewise.
33606         * elf/sprof.c (print_version): Likewise.
33607         * iconv/iconv_prog.c (print_version): Likewise.
33608         * iconv/iconvconfig.c (print_version): Likewise.
33609         * locale/programs/locale.c (print_version): Likewise.
33610         * locale/programs/localedef.c (print_version): Likewise.
33611         * login/programs/pt_chown.c (print_version): Likewise.
33612         * malloc/memusage.sh (do_version): Likewise.
33613         * malloc/memusagestat.c (print_version): Likewise.
33614         * malloc/mtrace.pl: Likewise.
33615         * manual/libc.texinfo: Likewise.
33616         * nptl/version.c (banner): Likewise.
33617         * nscd/nscd.c (print_version): Likewise.
33618         * nss/getent.c (print_version): Likewise.
33619         * nss/makedb.c (print_version): Likewise.
33620         * posix/getconf.c (main): Likewise.
33621         * scripts/test-installation.pl: Likewise.
33622         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
33624 2015-01-02  Will Newton  <will.newton@linaro.org>
33626         * sysdeps/arm/armv7/configure: Removed.
33627         * sysdeps/arm/armv7/configure.ac: Likewise.
33629 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
33631         * All files with FSF copyright notices: Update copyright dates
33632         using scripts/update-copyrights.
33633         * intl/plural.c: Regenerated.
33634         * locale/programs/charmap-kw.h: Likewise.
33635         * locale/programs/locfile-kw.h: Likewise.
33637 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33639         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
33641 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
33643         [BZ #17748]
33644         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
33645         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
33646         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
33647         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
33648         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33649         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
33650         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33651         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
33652         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33653         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
33654         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33655         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33656         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
33657         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33658         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
33659         libm_hidden_def.
33660         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
33661         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
33662         Likewise.
33663         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
33664         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33665         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33666         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33667         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
33668         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
33669         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
33670         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
33671         __fegetenv instead of fegetenv.
33672         (libc_feholdsetround_noex_ctx): Likewise.
33674 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
33676         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
33677         (Elf_MIPS_ABIFlags_v0): New structure.
33678         (EF_MIPS_FP64): Define.
33679         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
33680         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
33681         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
33682         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
33683         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
33684         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
33685         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
33686         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
33687         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
33688         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
33689         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
33690         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
33691         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
33692         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
33693         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
33694         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
33695         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
33696         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
33697         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
33698         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
33699         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
33700         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
33701         field.
33702         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
33703         EF_MIPS_FP64.
33704         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
33705         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
33706         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
33707         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
33708         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
33709         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
33710         * sysdeps/mips/tst-abi-interlink.c: Likewise.
33711         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
33712         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
33713         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
33714         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
33715         record the current FP ABI extension.
33716         (mips-mode-switch): Define to show if kernel headers support mode
33717         switching.
33718         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
33719         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
33720         supported SYSV ABI version to 3.
33721         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
33722         feature.
33724 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33725             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33727         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
33728         path.
33729         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
33731 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
33733         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
33734         __fegetround and redefine to call __fegetround.  Remove condition
33735         on [!__NO_MATH_INLINES].
33736         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
33737         function.
33738         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
33739         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
33740         Remove macro.
33741         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
33742         instead of <fenv_libc.h>.
33743         (__llrintl): Call fegetround instead of __fegetround.
33744         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
33745         instead of <fenv_libc.h>.
33746         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33747         (__lrintl): Call fegetround instead of __fegetround.
33748         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
33749         instead of <fenv_libc.h>.
33750         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33751         (__rintl): Call fegetround instead of __fegetround.
33753 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33755         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
33756         arrays.
33758 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
33760         [BZ #17775]
33761         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
33762         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
33763         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
33765 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33767         * sysdeps/i386/tls-macros.h: Include <features.h>.
33768         (TLS_LE): Use non-PIC version for GCC >= 5.0.
33769         (TLS_IE): Likewise.
33770         (TLS_LD): Likewise.
33771         (TLS_GD): Likewise.
33772         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
33773         define for GCC >= 5.0.
33775 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
33777         * math/test-fenv.c (test_single_exception, set_single_exc,
33778         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
33779         feexcp_mask_test, feenable_test, fe_single_test): Add
33780         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
33781         case where they are not used.
33782         * math/libm-test.inc: Likewise.
33783         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
33784         unused in the absence of FP rounding/exception support.
33785         * stdio-common/tst-printf-round.c: Likewise.
33786         * stdlib/tst-strtod-round.c: Likewise.
33787         * stdlib/tst-strtod-underflow.c: Likewise.
33789 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
33791         [BZ #17723]
33792         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
33793         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
33794         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33795         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33796         libm_hidden_weak.
33797         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
33798         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
33799         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
33800         libm_hidden_def.
33801         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33802         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33803         libm_hidden_weak.
33804         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
33805         Likewise.
33806         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
33807         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33808         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33809         libm_hidden_weak.
33810         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
33811         libm_hidden_def.
33812         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
33813         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
33814         (__feraiseexcept): Likewise.
33815         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33816         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33817         libm_hidden_weak.
33818         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
33819         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
33820         libm_hidden_def.
33821         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
33822         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
33823         Use libm_hidden_def.
33824         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
33825         libm_hidden_def.
33826         (feraiseexcept): Define as weak not strong alias.  Use
33827         libm_hidden_weak.
33828         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
33829         New inline function.  Factored out of ...
33830         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
33831         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
33832         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
33833         feraiseexcept.
33834         * math/w_acos.c (__acos): Likewise.
33835         * math/w_asin.c (__asin): Likewise.
33836         * math/w_ilogb.c (__ilogb): Likewise.
33837         * math/w_j0.c (y0): Likewise.
33838         * math/w_j1.c (y1): Likewise.
33839         * math/w_jn.c (yn): Likewise.
33840         * math/w_log.c (__log): Likewise.
33841         * math/w_log10.c (__log10): Likewise.
33842         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
33843         * sysdeps/aarch64/fpu/math_private.h
33844         (libc_feupdateenv_test_aarch64): Likewise.
33845         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
33846         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
33847         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
33848         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
33849         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
33850         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
33851         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
33852         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33853         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33854         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33856 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
33858         [BZ #17732]
33859         * io/test-utime.c (main): Replace %ld with %jd and cast to
33860         intmax_t.
33861         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
33862         * nptl/tst-mutex5.c: Include <stdint.h>.
33863         (do_test): Replace %ld with %jd and cast to intmax_t.
33864         * posix/tst-regex.c (run_test): Likewise.
33865         (run_test_backwards): Likewise.
33866         * rt/tst-clock.c: Include <stdint.h>.
33867         (clock_test): Replace %ld with %jd and cast to intmax_t.
33868         * rt/tst-cpuclock1.c: Include <stdint.h>.
33869         (do_test): Replace %lu with %ju and cast to uintmax_t.
33870         * rt/tst-cpuclock2.c: Include <stdint.h>.
33871         (do_test): Replace %lu with %ju and cast to uintmax_t.
33872         * rt/tst-mqueue1.c: Include <stdint.h>.
33873         (check_attrs): Replace %ld with %jd and cast to intmax_t.
33874         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
33875         intmax_t.
33876         * rt/tst-mqueue4.c (do_test): Likewise.
33877         * rt/tst-timer4.c: Include <stdint.h>.
33878         (check_ts): Replace %ld with %jd and cast to intmax_t.
33879         (do_test): Likewise.
33880         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
33881         and cast to intmax_t.
33882         * sysdeps/pthread/tst-timer.c (main): Likewise.
33883         * time/clocktest.c (main): Likewise.
33884         * time/tst-posixtz.c (do_test): Likewise.
33885         * timezone/tst-timezone.c (main): Likewise.
33887 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33888             H.J. Lu  <hongjiu.lu@intel.com>
33890         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
33891         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
33892         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
33893         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
33894         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
33895         version if bit_Fast_Unaligned_Load is set.
33896         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33897         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33898         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33899         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33900         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33901         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33902         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33903         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
33904         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
33905         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
33906         to 4.
33907         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
33908         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
33909         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
33910         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
33912 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
33914         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
33915         instead of #if to avoid a Wundef warning.
33916         * stdlib/tst-limits.c (do_test): Likewise.
33918         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
33919         parallel other exception macros.
33920         (fegetenv): Convert from macro to extern inline so that it applies
33921         retroactively to inline functions already seen by the compiler.
33922         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
33924         * posix/Makefile (before-compile): Use $(objpfx) for
33925         posix-conf-vars-def.h.
33927 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33929         * posix/getconf.c (main): Use size_t for type of I.
33930         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
33931         NSPEC.
33933         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
33934         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
33935         * posix/posix-envs.def: Likewise.
33936         * sysdeps/posix/sysconf.c: Likewise.
33937         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
33938         (specs): Remove array.
33939         * scripts/gen-posix-conf-vars.awk: Support generation of specs
33940         array.
33942         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
33943         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
33944         (__sysconf): Use CONF_IS_* macros.
33946         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
33947         ($(objpfx)posix-conf-vars-def.h): New target.
33948         * posix/posix-conf-vars.list: New file.
33949         * posix/posix-conf-vars.h: New file.
33950         * posix/confstr.c: Include posix-conf-vars.h.
33951         (confstr): Use CONF_IS_* macros.
33952         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
33953         CONF_IS_* macros.
33954         * scripts/gen-posix-conf-vars.awk: New file.
33956 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
33958         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
33959         fegetround): Add no-op macros to avoid linknamespace issues.
33961         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
33962         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
33964         * sysdeps/unix/sysv/linux/tile/sysdep.h
33965         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
33966         assembly-specific section to avoid a redefinition warning.
33968         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
33969         long before casting to pointer to avoid a cast warning.
33971 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
33973         * sysdeps/tile/tilegx/Implies: New file.
33975 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
33977         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
33979 2014-12-23  Florian Weimer  <fweimer@redhat.com>
33981         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
33983 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
33985         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
33986         not define.
33987         * sysdeps/unix/sysv/linux/utimes.c: Do not include
33988         <kernel-features.h>.
33989         (__utimes) [__NR_utimes]: Make code unconditional.
33990         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
33991         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33992         (__ASSUME_UTIMES): Do not undefine.
33993         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33994         (__ASSUME_UTIMES): Likewise.
33995         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33996         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
33997         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
33998         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
34000 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34002         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
34004 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
34006         [BZ #17747]
34007         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
34008         alias to weak alias for j0l, y0l.
34009         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
34010         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
34012         [BZ #17746]
34013         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
34014         conversion.
34016 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34018         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
34019         to zero if not already defined.
34021 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34023         [BZ #17724]
34024         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
34025         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
34026         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
34027         (char *) casts added.
34028         * sysdeps/ieee754/k_standardf.c: New file.
34029         * sysdeps/ieee754/k_standardl.c: Likewise.
34030         * math/Makefile (libm-support): Remove k_standard.
34031         (libm-calls): Add k_standard.
34033 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34035         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34036         Optimize to avoid an unnecessary FPCR read.
34038 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34040         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
34041         Optimize to reduce FPCR/FPSR accesses.
34043 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34045         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
34046         Call libc_fetestexcept_aarch64.
34048 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34050         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
34051         Call libc_fesetround_aarch64.
34053 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34055         [BZ #17733]
34056         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
34057         (__bind): Do not define as weak alias.
34058         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
34059         define.
34060         (__getsockname): Do not define as weak alias.
34062 2014-12-22  Will Newton  <will.newton@linaro.org>
34064         * manual/install.texi: Document that we require bison 2.7
34065         or above.
34066         * INSTALL: Regenerate.
34067         * configure.ac: Use AC_CHECK_PROG_VER instead of
34068         AC_PATH_PROG when checking for bison and check for
34069         version 2.7 or above.
34070         * configure: Regenerate.
34072 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
34074         [BZ #17745]
34075         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
34076         * sysdeps/tile/ffsll.c (ffsll): To here.
34078         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
34080 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34082         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
34083         if not defined.
34084         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
34085         definition.
34086         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34087         hidden ___tls_get_addr.
34088         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34089         hidden __tls_get_addr.
34090         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
34091         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
34092         Likewise.
34094 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
34096         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
34097         _dl_init call.
34099 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34101         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
34102         from "call _dl_init@PLT".
34103         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
34105 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
34107         * manual/search.texi: (Array Sort Function): Clarify stable sorting
34108         guarantees.
34110 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
34112         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
34114 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34116         [BZ #17744]
34117         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
34118         strnlen.
34120 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34122         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
34123         of multu on MIPSr6.
34124         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
34125         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
34126         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
34127         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
34128         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
34130 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34132         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
34133         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
34134         (PTR_SUBU): Use subu for mips32r6/mips64r6.
34135         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
34136         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
34137         mips32r6/mips64r6.
34138         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
34140 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
34142         * string/strncat.c (STRNCAT): Simplify implementation.
34144 2014-12-19  David S. Miller  <davem@davemloft.net>
34146         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
34147         access the quad as both a long double and as a series of 4 words.
34149         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
34150         link_map->l_info array access.
34152 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34154         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
34156         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
34157         * math/atest-exp2.c (TIMEOUT): Likewise.
34158         * math/atest-sincos.c (TIMEOUT): Likewise.
34160 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34162         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
34163         -Wno-error with -fno-builtin-lround.
34165 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34167         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
34168         Contains futex constants and functions moved over from ...
34169         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
34170         <lowlevellock-futex.h>.
34171         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34172         (lll_timedwait_tid): Add comments and parentheses around macro
34173         arguments.
34175 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34177         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
34178         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
34179         (__lll_private_flag): Remove.
34180         (lll_futex_wait): Likewise.
34181         (lll_futex_timed_wait): Likewise.
34182         (lll_futex_wake): Likewise.
34183         (lll_futex_requeue): Likewise.
34184         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34185         (__lll_timedwait_tid): Spell out argument names.
34186         (lll_timedwait_tid): Add comments and parentheses around macro
34187         arguments.
34188         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
34189         LLL_SHARED and LLL_PRIVATE usable from assembly code.
34191 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34193         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
34194         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34195         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34196         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
34197         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
34198         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
34199         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
34200         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
34201         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
34202         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
34203         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
34204         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
34205         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
34206         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
34207         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
34208         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
34209         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
34210         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
34211         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
34213 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34215         * sysdeps/x86_64/x32/Makefile: New file.
34217 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34219         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
34220         1L with (mp_limb_t) 1.
34222 2014-12-17  Roland McGrath  <roland@hack.frob.com>
34224         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
34225         * nptl/libc_pthread_init.c: ... here.
34226         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
34227         * nptl/register-atfork.c: ... here.
34229         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
34230         Use pthread_sigmask rather than INTERNAL_SYSCALL.
34231         Use assert_perror to check its return value.
34232         (__gai_create_helper_thread): Likewise.
34234         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
34236         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
34238 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
34240         [BZ #17725]
34241         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
34242         __profil_counter.
34243         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
34244         Likewise.
34245         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
34246         Likewise.
34247         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
34248         Likewise.
34249         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
34250         (profil_counter): Likewise.
34251         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
34252         (profil_counter): Likewise.
34253         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
34254         Likewise.
34255         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
34256         Likewise.
34257         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
34258         (profil_counter): Likewise.
34259         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
34260         Likewise.
34261         [!__profil_counter] (profil_counter): Define as weak alias of
34262         __profil_counter.
34263         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
34264         (profil_counter): Rename to __profil_counter.
34265         [!__profil_counter] (profil_counter): Define as weak alias of
34266         __profil_counter.
34267         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
34268         (profil_counter): Rename to __profil_counter.
34269         [!__profil_counter] (profil_counter): Define as weak alias of
34270         __profil_counter.
34271         * sysdeps/posix/profil.c: Update comment referring to
34272         profil_counter.
34273         (__profil): Use __profil_counter instead of profil_counter.
34274         * sysdeps/posix/sprofil.c (profil_counter): Rename to
34275         __profil_counter.  Use __profil_counter_ushort and
34276         __profil_counter_uint in definitions.
34277         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
34278         instead of profil_counter_uint and profil_counter_ushort.
34280         [BZ #17722]
34281         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
34282         define as weak alias of __inet_makeaddr.
34283         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
34284         as weak alias of __inet_addr.
34285         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
34286         as weak alias of __inet_pton.  Use libc_hidden_weak.
34287         * include/arpa/inet.h (__inet_pton): Declare.  Use
34288         libc_hidden_proto.
34289         (inet_makeaddr): Don't use libc_hidden_proto.
34290         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
34291         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
34292         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
34293         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
34294         Remove variable.
34295         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
34296         (test-xfail-POSIX/time.h/linknamespace): Likewise.
34298 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
34300         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
34302 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34304         * stdio-common/bug-vfprintf-nargs.c (do_test):
34305         Cast value to intptr_t to avoid format warning
34306         for usage with PRIdPTR printing macro.
34308 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34310         * libio/tst-widetext.c (do_test):
34311         Use format type %td instead of %Zd for ptrdiff_t
34312         in order to avoid format warning.
34314 2014-12-17  Andreas Schwab  <schwab@suse.de>
34316         * nscd/mem.c (gc): Add size_t cast to match printf format.
34318 2014-12-16  Roland McGrath  <roland@hack.frob.com>
34320         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
34321         (init): Apply PTR_MANGLE to pointers before storing them.
34322         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
34323         before using them.
34325 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
34327         [BZ #17719]
34328         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
34329         define as weak alias of __memrchr.
34330         (__memrchr): Do not define as strong alias of memrchr.
34331         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
34332         Remove variable.
34333         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
34334         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
34335         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
34337         [BZ #17717]
34338         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
34339         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
34340         (if_indextoname): Rename to __if_indextoname and define as weak
34341         alias of __if_indextoname.  Use libc_hidden_weak.
34342         (if_freenameindex): Rename to __if_freenameindex and define as
34343         weak alias of __if_freenameindex.
34344         (if_nameindex): Rename to __if_nameindex and define as weak alias
34345         of __if_nameindex.
34346         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
34347         __if_nametoindex and define as weak alias of __if_nametoindex.
34348         Use libc_hidden_weak.
34349         (if_freenameindex): Rename to __if_freenameindex and define as
34350         weak alias of __if_freenameindex.
34351         (if_nameindex): Rename to __if_nameindex and define as weak alias
34352         of __if_nameindex.
34353         (if_indextoname): Rename to __if_indextoname and define as weak
34354         alias of __if_indextoname.  Use libc_hidden_weak.
34355         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
34356         __if_nametoindex and define as weak alias of __if_nametoindex.
34357         Use libc_hidden_weak.
34358         (if_freenameindex): Rename to __if_freenameindex and define as
34359         weak alias of __if_freenameindex.  Use libc_hidden_weak.
34360         (if_nameindex_netlink): Use __if_freenameindex instead of
34361         if_freenameindex.
34362         (if_nameindex): Rename to __if_nameindex and define as weak alias
34363         of __if_nameindex.  Use libc_hidden_weak.
34364         (if_indextoname): Rename to __if_indextoname and define as weak
34365         alias of __if_indextoname.  Use libc_hidden_weak.
34366         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
34367         libc_hidden_proto.
34368         [!_ISOMAC] (__if_freenameindex): Likewise.
34369         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
34370         if_nametoindex.
34371         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
34372         variable.
34373         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
34374         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
34375         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
34376         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
34377         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
34378         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
34379         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
34381         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
34382         Remove variable.
34383         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
34384         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
34386 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34388         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
34389         subscript above bounds'
34391         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
34392         bounds.
34394 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
34396         * libio/tst-fopenloc.c: Use test-skeleton.c.
34398         * stdlib/tst-bsearch.c: Use test-skeleton.c.
34399         (entry): Rename to ITEM.
34400         (do_test, comp): Adjust.
34402         * stdio-common/tst-fseek.c: Use test-skeleton.c.
34404 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34406         * string/tester.c: Include <libc-internal.h>.
34407         (test_memset): Ignore -Wmemset-transposed-args.
34409 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34411         * misc/tst-mntent2.c (do_test): Fix warning.
34413 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34415         * elf/tst-unique4lib.cc(a): Mark as used.
34417 2014-12-16  Florian Weimer  <fweimer@redhat.com>
34419         [BZ #17630]
34420         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
34421         names.
34423 2014-12-16  Allan McRae  <allan@archlinux.org>
34425         * stdio-common/Makefile (tests): Re-add bug26.
34427 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
34429         [BZ #17657]
34430         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
34431         static array.
34433 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
34435         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
34436         (__lll_lock_wait): Likewise.
34437         (__lll_timedlock_wait): Likewise.
34438         (__lll_timedwait_tid): Likewise.
34439         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
34440         (__lll_robust_timedlock_wait): Likewise.
34441         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
34442         (lll_cond_trylock): Likewise.
34443         (__lll_lock): Likewise.
34444         (__lll_robust_lock): Likewise.
34445         (__lll_cond_lock): Likewise.
34446         (lll_robust_cond_lock): Likewise.
34447         (__lll_timedlock): Likewise.
34448         (__lll_robust_timedlock): Likewise.
34449         (__lll_unlock): Likewise.
34450         (__lll_robust_unlock): Likewise.
34451         (lll_wait_tid): Likewise.
34452         (lll_timedwait_tid): Likewise.
34454 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34456         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
34458 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34460         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
34462 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
34464         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
34465         * stdio-common/tst-sprintf.c: Likewise.
34467 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34469         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
34471 2014-12-15  Jeff Law  <law@redhat.com>
34473         [BZ #16617]
34474         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
34475         on the heap.  (CVE-2012-3406)
34476         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
34477         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
34478         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
34480 2014-12-15  Will Newton  <will.newton@linaro.org>
34482         * manual/install.texi: Bump required version of texinfo
34483         to 4.7 from 4.5.
34484         * INSTALL: Regenerated.
34485         * configure.ac: Check for makeinfo version 4.7 and above.
34486         * configure: Regenerated.
34488 2014-12-12  Roland McGrath  <roland@hack.frob.com>
34490         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
34491         PREFIX, string constant to insert between directory and name.
34492         * sysdeps/posix/shm_open.c: Update caller.
34493         * sysdeps/posix/shm_unlink.c: Likewise.
34494         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
34495         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
34496         (SEM_SHM_PREFIX): New macro.
34497         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
34498         [$(have-thread-library) = no].
34499         * nptl/Makefile (libpthread-routines): Add shm-directory.
34500         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
34501         * sysdeps/nptl/shm-directory.h: New file.
34502         * sysdeps/posix/shm-directory.c
34503         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
34504         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
34505         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
34506         INTERNAL_SYSCALL.
34507         (__where_is_shmfs): Function removed.
34508         (mountpoint, defaultmount, defaultdir, __namedsem_once):
34509         Variables removed.
34510         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
34511         Use SHM_GET_NAME.
34512         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
34514         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
34515         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
34516         unconditional for use inside libpthread.
34517         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
34519 2014-12-12  Roland McGrath  <roland@hack.frob.com>
34521         * nptl/pthread_getaffinity.c: New file.
34522         * nptl/pthread_setaffinity.c: New file.
34523         * nptl/pthread_getname.c: New file.
34524         * nptl/pthread_setname.c: New file.
34526         * nptl/pthread_create.c (START_THREAD_DEFN)
34527         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
34529 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34530             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34532         * resolv/res_send.c (send_vc): Disable warning resplen may
34533         be used uninitialized.
34535 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34537         * nptl/tst-mutex6.c
34538         (ATTR_NULL): New define checks ATTR against NULL.
34539         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
34540         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
34542 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
34544         [BZ #17581]
34545         * malloc/hooks.c
34546         (mem2mem_check): Revert my previous change.
34547         (malloc_check_get_size): Revert my previous change.
34548         (mem2chunk_check): Revert my previous change.
34550 2014-12-11  Roland McGrath  <roland@hack.frob.com>
34552         * sysdeps/posix/shm-directory.c: New file.
34553         * sysdeps/posix/shm-directory.h: New file.
34554         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
34555         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
34556         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
34557         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
34558         Transmute EPERM to EACCES.
34559         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
34560         from ...
34561         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
34562         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
34564 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34566         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
34567         pointer and cast to uintptr_t.
34568         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
34569         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
34570         Add cast to avoid warning.
34571         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
34573 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
34575         * nptl/semaphore.h: Move to ...
34576         * sysdeps/pthread/semaphore.h: ... here.
34577         * Makefile (installed-headers): Change nptl/semaphore.h to
34578         sysdeps/pthread/semaphore.h.
34580 2014-12-11  Roland McGrath  <roland@hack.frob.com>
34582         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
34583         generated error format strings.
34585         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
34586         -Wformat-extra-args warnings for scanf formats.
34587         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
34588         test of zero-length format (duh).
34589         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
34590         corner-case scanf format test.
34591         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
34592         generated fprintf format string.
34593         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
34594         corner-case sprintf format tests.
34595         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
34596         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
34597         -Wformat-extra-args warnings throughout.
34598         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
34599         (CFLAGS-scanf4.c): Likewise.
34600         (CFLAGS-scanf7.c): Likewise.
34601         (CFLAGS-tst-sprintf.c): Likewise.
34602         (CFLAGS-tst-printf.c): Likewise.
34603         (CFLAGS-tst-printfsz.c): Likewise.
34605 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
34607         * include/cpio.h: New file.
34608         * include/fmtmsg.h: Likewise.
34610         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
34611         corresponding format argument to size_t.
34612         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
34613         arguments.
34614         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
34615         corresponding format argument to size_t.
34616         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
34617         arguments.
34618         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
34619         corresponding format argument to size_t.
34620         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
34621         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
34622         (CFLAGS-tst-mbswcs2.c): Likewise.
34623         (CFLAGS-tst-mbswcs3.c): Likewise.
34624         (CFLAGS-tst-mbswcs4.c): Likewise.
34625         (CFLAGS-tst-mbswcs5.c): Likewise.
34626         (CFLAGS-tst-trans.c): Likewise.
34628 2014-12-11  Roland McGrath  <roland@hack.frob.com>
34630         * posix/regexbug1.c (main): Use "%s" format with regerror results,
34631         rather than assuming they won't contain any '%'s.
34633 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
34635         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
34636         inhibit_loop_to_libcall to avoid recursive calls.
34637         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
34638         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
34640 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
34642         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
34643         prototype.
34645 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
34647         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
34648         integer value instead of boolean.
34650 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
34652         * malloc/malloc.c: Fix powerof2 check.
34654 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34656         * locale/programs/locfile.h (maybe_swap_uint32):
34657         Remove inline and add unused attribute.
34659 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34661         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
34662         Truncating assembler expression to a .long expression.
34664 2014-12-11  Andreas Schwab  <schwab@suse.de>
34666         * elf/rtld.c (struct map_args): Constify str member.
34667         (do_preload): Constify fname argument.
34669 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34671         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
34672         constants definition.
34674 2014-12-11  Andreas Schwab  <schwab@suse.de>
34676         [BZ #16657]
34677         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
34678         FORCE_ELISION instead of DO_ELISION.
34679         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
34680         Remove.
34681         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
34682         Likewise.
34684         * iconvdata/gconv-modules: Remove duplicate entry.
34686 2014-12-11  Will Newton  <will.newton@linaro.org>
34688         Merge gettext 0.19.3 into intl/.
34690         This involves a number of cosmetic changes to comments
34691         and ANSI function definitions and prototypes throughout
34692         all the files. The gettext copyright header is used but
34693         with the date ranges taken from the glibc copy.
34695         * NEWS: Add gettext merge to 2.21.
34696         * intl/bindtextdom.c: Switch to gettext copyright.
34697         Use ANSI definitions and prototypes.
34698         Use gl_* locking primitives rather than __libc_* ones.
34699         Use __builtin_expect rather than __glibc_likely/unlikely.
34700         * intl/dcgettext.c: Switch to gettext copyright.
34701         Use ANSI definitions and prototypes.
34702         * intl/dcigettext.c: Switch to gettext copyright.
34703         Use ANSI definitions and prototypes.
34704         (INTDIV0_RAISES_SIGFPE): New define.
34705         Use gl_* locking primitives rather than __libc_* ones.
34706         Include eval-plural.h instead of plural-eval.c.
34707         Use __builtin_expect rather than __glibc_likely/unlikely.
34708         * intl/dcngettext.c: Switch to gettext copyright.
34709         Use ANSI definitions and prototypes.
34710         * intl/dgettext.c: Likewise.
34711         * intl/dngettext.c: Likewise.
34712         * intl/plural-eval.c: Renamed to...
34713         * intl/eval-plural.h: ...this.
34714         * intl/explodename.c: Switch to gettext copyright.
34715         Use ANSI definitions and prototypes.
34716         (_nl_explode_name): Use strchr instead of __rawmemchr.
34717         * intl/finddomain.c: Switch to gettext copyright.
34718         Use ANSI definitions and prototypes.
34719         Use gl_* locking primitives rather than __libc_* ones.
34720         (_nl_find_domain): Use malloc rather than alloca for
34721         allocation of temporary locale name.
34722         * intl/gettext.c: Switch to gettext copyright.
34723         Use ANSI definitions and prototypes.
34724         * intl/gettextP.h: Switch to gettext copyright.
34725         Use ANSI definitions and prototypes.
34726         Use gl_* locking primitives rather than __libc_* ones.
34727         * intl/gmo.h: Switch to gettext copyright.
34728         (struct sysdep_string): Move struct segment_pair outside of
34729         struct definition.
34730         * intl/hash-string.c: Use ANSI definitions and prototypes.
34731         * intl/hash-string.h: Switch to gettext copyright.
34732         Use ANSI definitions and prototypes.
34733         * intl/l10nflist.c: Switch to gettext copyright.
34734         Use ANSI definitions and prototypes.
34735         (_nl_normalize_codeset): Avoid integer overflow.
34736         * intl/loadinfo.h: Switch to gettext copyright.
34737         Use ANSI definitions and prototypes.
34738         (LIBINTL_DLL_EXPORTED): New define.
34739         (PATH_SEPARATOR): New define.
34740         * intl/loadmsgcat.c: Switch to gettext copyright.
34741         * intl/localealias.c: Switch to gettext copyright.
34742         Use ANSI definitions and prototypes.
34743         (_nl_expand_alias): Use PATH_SEPARATOR.
34744         * intl/ngettext.c: Switch to gettext copyright.
34745         Use ANSI definitions and prototypes.
34746         * intl/plural-exp.c: Likewise.
34747         * intl/plural-exp.h: Switch to gettext copyright.
34748         Use ANSI definitions and prototypes.
34749         (struct expression): Move definition of enum operator outside
34750         of struct definition.
34751         * intl/plural.c: Regenerate.
34752         * intl/plural.y: Switch to gettext copyright.
34753         Use ANSI definitions and prototypes.
34754         Port to bison 3.0.
34755         * intl/textdomain.c: Switch to gettext copyright.
34756         Use ANSI definitions and prototypes.
34757         Use gl_* locking primitives rather than __libc_* ones.
34759 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
34761         * debug/warning-nop.c: Add used atrribute.
34763 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34765         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
34767         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
34768         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
34769         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
34771 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34772             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34774         [BZ #17634]
34775         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
34776         Undefine after defining function.  Define as weak alias of
34777         __wcschr.  Use libc_hidden_weak.
34778         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
34779         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
34780         (libc_hidden_def): Also define __GI___wcschr alias.
34781         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
34782         __wcschr and define as weak alias of __wcschr.
34783         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
34784         __wcschr.
34785         [!WCSCHR] (DEFAULT_WCSCHR): Define.
34786         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
34787         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
34788         libc_hidden_weak.  Do not use libc_hidden_def.
34789         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
34790         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
34791         __GI___wcschr alias.
34792         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
34793         [IS_IN (libc)] (wcschr): Define as macro expanding to
34794         __redirect_wcschr.
34795         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
34796         [IS_IN (libc)] (__wcschr_power6): Likewise.
34797         [IS_IN (libc)] (__wcschr_power7): Likewise.
34798         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
34799         instead of wcschr.
34800         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
34801         __libc_wcschr.
34802         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
34803         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
34804         __wcschr and define as weak alias of __wcschr.  Use
34805         libc_hidden_builtin_def.
34806         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
34807         as weak alias of __wcschr.  Use libc_hidden_weak.
34808         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
34809         wcschr.
34810         * time/era.c (_nl_init_era_entries): Likewise.
34811         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
34812         variable.
34813         (test-xfail-XPG3/time.h/linknamespace): Likewise.
34814         (test-xfail-XPG4/time.h/linknamespace): Likewise.
34816 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34818         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
34819         format for long int variable.
34821 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
34823         [BZ #10672]
34824         * manual/search.texi: (Array Sort Function): Remove claim how to make
34825         qsort stable.
34827 2014-12-10  Andreas Schwab  <schwab@suse.de>
34829         [BZ #12847]
34830         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
34831         user-controlled locks.
34833 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
34835         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
34836         register.
34838 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34840         * configure.ac (--disable-werror): New configure option.
34841         (enable_werror): New AC_SUBST.
34842         * configure: Regenerated.
34843         * config.make.in (enable-werror): New variable.
34844         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
34845         -Wno-error=undef.
34846         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
34847         * manual/install.texi (Configuring and compiling): Document
34848         --disable-werror.
34849         * INSTALL: Regenerated.
34850         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
34851         (CFLAGS-tst-chk2.c): Likewise.
34852         (CFLAGS-tst-chk3.c): Likewise.
34853         (CFLAGS-tst-chk4.cc): Likewise.
34854         (CFLAGS-tst-chk5.cc): Likewise.
34855         (CFLAGS-tst-chk6.cc): Likewise.
34856         (CFLAGS-tst-lfschk1.c): Likewise.
34857         (CFLAGS-tst-lfschk2.c): Likewise.
34858         (CFLAGS-tst-lfschk3.c): Likewise.
34859         (CFLAGS-tst-lfschk4.cc): Likewise.
34860         (CFLAGS-tst-lfschk5.cc): Likewise.
34861         (CFLAGS-tst-lfschk6.cc): Likewise.
34863         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
34864         (main): Disable -Wdeprecated-declarations around calls to
34865         register_printf_function.
34867         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
34868         (do_test): Disable -Wdiv-by-zero around some calls to
34869         fwrite_unlocked and fread_unlocked.
34871         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
34872         (DIAG_POP_NEEDS_COMMENT): Likewise.
34873         (_DIAG_STR1): Likewise.
34874         (_DIAG_STR): Likewise.
34875         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
34876         * stdio-common/bug21.c: Include <libc-internal.h>.
34877         (do_test): Disable -Wformat around call to sscanf.
34878         * stdio-common/scanf14.c: Include <libc-internal.h>.
34879         (main): Disable -Wformat around some calls to scanf functions.
34881 2014-12-09  Torvald Riegel  <triegel@redhat.com>
34883         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
34885 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34887         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
34888         stack variable alignment.
34890 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
34892         [BZ #17682]
34893         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
34894         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
34895         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
34896         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
34897         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
34898         __getrlimit instead of getrlimit.
34899         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
34900         __gettimeofday instead of gettimeofday.
34901         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34902         Likewise.
34903         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34904         Likewise.
34905         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34906         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
34907         Remove variable.
34908         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
34909         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
34911 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34913         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
34914         for wide-character tests.
34916 2014-12-04  Roland McGrath  <roland@hack.frob.com>
34918         * io/openat64.c: #include <libc-internal.h>
34919         (__openat64): Prototypify.  Use ignore_value on MODE.
34920         * io/openat.c: Likewise.
34921         * misc/reboot.c: #include <libc-internal.h>
34922         (reboot): Prototypify.  Use ignore_value on HOWTO.
34923         * misc/ptrace.c: #include <libc-internal.h>
34924         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
34926 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
34928         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
34929         XPG4, UNIX98 and XOPEN2K.
34930         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
34931         Remove variable.
34932         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
34934 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34936         * libio/fileops.c: Use ISO C style for function definitions.
34937         * libio/iofopen.c: Likewise.
34938         * libio/wfileops.c: Likewise.
34940         [BZ #17653]
34941         * libio/fileops.c (_IO_new_file_underflow): Unset cached
34942         offset on EOF.
34943         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
34944         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
34945         (fgets_func): Function pointer to fgets and fgetws.
34946         (do_ftell_test): Add test to verify ftell value after read
34947         EOF.
34948         (do_test): Set fgets_func.
34950         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
34951         O_TRUNC flag for w and w+ modes.
34952         (do_rewind_test): Likewise.
34953         (do_ftell_test): Likewise.
34954         (do_write_test): Likewise.
34956         [BZ #17647]
34957         * libio/fileops.c (do_ftell): Seek only when there are
34958         unflushed writes.
34959         * libio/wfileops.c (do_ftell_wide): Likewise.
34960         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
34961         test case.
34962         (do_one_test): Call it.
34964 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
34966         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
34967         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
34968         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
34969         Remove variable.
34970         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
34971         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
34972         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
34974 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
34976         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
34977         Remove variable.
34978         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
34980         [BZ #17668]
34981         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
34982         as weak alias of __getifaddrs.  Use libc_hidden_weak.
34983         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34984         __freeifaddrs.  Use libc_hidden_weak.
34985         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
34986         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
34987         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34988         __freeifaddrs.  Use libc_hidden_weak.
34989         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
34990         __getifaddrs and define as weak alias of __getifaddrs.  Use
34991         libc_hidden_weak.
34992         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
34993         __freeifaddrs.  Use libc_hidden_weak.
34994         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
34995         Remove variable.
34996         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
34997         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
34999 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
35001         [BZ #17601]
35002         * sysdeps/mips/start.S (__start): Use indirect jump to call
35003         __libc_start_main.
35005 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35007         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
35009         * nptl/tst-mutex1.c: Include <stdbool.h>.
35010         [!ATTR] (ATTR_NULL): New macro.
35011         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
35012         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
35013         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
35015         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
35016         to char *.
35018         [BZ #17665]
35019         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
35020         Change conditional to [__USE_MISC].
35022         [BZ #17664]
35023         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
35024         fgets_unlocked.
35025         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
35026         __fgets_unlocked.
35027         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
35028         fgets_unlocked.
35029         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
35030         Remove variable.
35031         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35032         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35033         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35034         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35035         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35036         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35037         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35038         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35039         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35041         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
35043 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35045         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35046         Remove strpbrk objects.
35047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35048         (__libc_ifunc_impl_list): Remove strpbrk implementation.
35049         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
35050         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
35051         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
35052         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
35054         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35055         Remove strcspn objects.
35056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35057         (__libc_ifunc_impl_list): Remove strcspn implementation.
35058         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
35059         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
35060         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
35061         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
35063         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35064         Remove strspn objetcs.
35065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35066         (__libc_ifunc_impl_list): Remove strspn implementation.
35067         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
35068         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
35069         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
35070         * sysdeps/powerpc/powerpc64/strspn.S: New file.
35072 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
35074         [BZ #17581]
35075         * malloc/hooks.c
35076         (mem2mem_check): Add a terminator to the chain of checking blocks.
35077         (malloc_check_get_size): Use it here.
35078         (mem2chunk_check): Ditto.
35080 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35082         * sysdeps/powerpc/powerpc64/strtok.S: New file.
35083         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
35085 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
35087         * bits/ioctl-types.h: Indent preprocessor directives correctly.
35089         * nptl/nptl-init.c: Include libc-internal.h.
35090         (__pthread_initialize_minimal_internal): Use ROUND_UP.
35092         * elf/ldconfig.c (search_dir): Expand comment.
35094 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
35096         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
35097         variable.
35098         (linknamespace-symlist-stdlibs-tests): Likewise.
35099         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
35100         instead of $(objpfx)symlist-stdlibs.
35101         (linknamespace-libs-isoc): New variable.
35102         (linknamespace-libs): Use $(linknamespace-libs-isoc).
35103         (linknamespace-libs-ISO): New variable.
35104         (linknamespace-libs-ISO99): Likewise.
35105         (linknamespace-libs-ISO11): Likewise.
35106         (linknamespace-libs-XPG3): Likewise.
35107         (linknamespace-libs-XPG4): Likewise.
35108         (linknamespace-libs-POSIX): Likewise.
35109         (linknamespace-libs-UNIX98): Likewise.
35110         (linknamespace-libs-XOPEN2K): Likewise.
35111         (linknamespace-libs-POSIX2008): Likewise.
35112         (linknamespace-libs-XOPEN2K8): Likewise.
35113         ($(objpfx)symlist-stdlibs): Replace by
35114         $(linknamespace-symlist-stdlibs-tests).  Use
35115         $(linknamespace-libs-$*) as set of libraries.
35116         ($(linknamespace-header-tests)): Update dependencies.  Use
35117         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
35118         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
35119         * conform/linknamespace.pl: Remove comment about considering
35120         definitions of symbols from irrelevant libraries.
35122 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
35124         [BZ #13862]
35125         * elf/dl-tls.c: Include <atomic.h>.
35126         (oom): Remove #ifdef SHARED/#endif.
35127         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
35128         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
35129         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
35130         big enough.
35131         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
35132         * nptl/Makefile (tests): Add tst-stack4.
35133         (modules-names): Add tst-stack4mod.
35134         ($(objpfx)tst-stack4): New.
35135         (tst-stack4mod.sos): Likewise.
35136         ($(objpfx)tst-stack4.out): Likewise.
35137         ($(tst-stack4mod.sos)): Likewise.
35138         (clean): Likewise.
35139         * nptl/tst-stack4.c: New file.
35140         * nptl/tst-stack4mod.c: Likewise.
35142 2014-11-27  J. Brown  <jb999@gmx.de>
35144         * sysdeps/x86/bits/string.h: Add recent CPUs.
35146 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35148         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
35149         sigblock.
35151         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
35152         feof.
35154         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
35155         variable.
35157 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
35159         * nscd/connections.c: Include libc-internal.h because of macro
35160         usage ignore_value.
35162 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35164         * string/bits/string3.h (__warn_memset_zero_len): Don't
35165         declare for gcc newer than 5.0.
35166         (memset): Don't test for zero-length __LEN for gcc newer than
35167         5.0.
35169 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35171         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
35172         size_t for %zu format.
35174         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
35175         difference, not %ju.
35177 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35179         * include/libc-internal.h (ignore_value): New macro.
35180         * nscd/connections.c (restart): Wrap calls to setuid and setgid
35181         with ignore_value.
35183         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
35184         definition.
35186         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
35187         pthread_cleanup_push to void *.
35189         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
35190         Undefine.
35192         [BZ #16619]
35193         [BZ #16740]
35194         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
35195         instead of 1L << 52.
35197         * libio/bug-rewind.c (do_test): Check fwscanf return values.
35198         * libio/bug-rewind2.c (do_test): Likewise.
35200         * debug/test-stpcpy_chk-ifunc.c: Remove file.
35201         * debug/test-strcpy_chk-ifunc.c: Likewise.
35202         * wcsmbs/test-wcschr-ifunc.c: Likewise.
35203         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35204         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35205         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35206         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35207         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35208         * Rules [$(multi-arch) = no] (tests): Do not filter out
35209         $(tests-ifunc).
35210         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
35211         * debug/Makefile (tests-ifunc): Remove variable.
35212         (tests): Do not add $(tests-ifunc).
35213         * wcsmbs/Makefile (tests-ifunc): Remove variable.
35214         (tests): Do not add $(tests-ifunc).
35215         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
35216         [TEST_IFUNC]: Remove conditionals.
35217         * string/test-string.h (TEST_IFUNC): Remove macro.
35218         [TEST_IFUNC]: Remove conditionals.
35220         * string/test-strchr.c [!WIDE] (L): New macro.
35221         [WIDE] (L): Likewise.
35222         (check1): Use CHAR instead of char.  Use L on string and character
35223         constants.
35225 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
35227         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
35228         tests.
35229         * sysdeps/powerpc/bits/atomic.h
35230         (__arch_atomic_exchange_and_add_32_acq): Add definition.
35231         (__arch_atomic_exchange_and_add_32_rel): Likewise.
35232         (atomic_exchange_and_add_acq): Likewise.
35233         (atomic_exchange_and_add_rel): Likewise.
35234         * sysdeps/powerpc/powerpc32/bits/atomic.h
35235         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35236         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35237         * sysdeps/powerpc/powerpc64/bits/atomic.h
35238         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35239         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35241 2014-11-26  Torvald Riegel  <triegel@redhat.com>
35243         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
35244         Change synchronization of __sched_fifo_min_prio and
35245         __sched_fifo_max_prio.
35246         * nptl/pthread_mutexattr_getprioceiling.c
35247         (pthread_mutexattr_getprioceiling): Likewise.
35248         * nptl/pthread_mutexattr_setprioceiling.c
35249         (pthread_mutexattr_setprioceiling): Likewise.
35250         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
35251         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
35252         Likewise.
35254 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35256         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
35257         void.
35259 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35261         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
35262         third argument const.
35264 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
35266         fnmatch: work around GCC compiler warning bug with uninit var
35267         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
35268         This works around a bug with x86-64 GCC 4.9.2 and earlier
35269         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
35270         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
35271         used uninitialized in this function [-Wmaybe-uninitialized]".
35273 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35275         * posix/bug-regex31.c (main): Return RES not 0.
35277 2014-11-25  Anton Blanchard <anton@samba.org>
35279         * sysdeps/powerpc/bits/atomic.h
35280         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
35282 2014-11-24  Sterling Augustine  <saugustine@google.com>
35284         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
35286 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
35288         [BZ #17608]
35289         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
35291 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
35293         [BZ #17633]
35294         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
35295         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
35296         variable.
35297         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35298         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35300 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35302         * string/strncpy.c (strncpy): Improve performance by using memset.
35304 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35306         * string/strcpy.c (strcpy):
35307         Improve performance by using strlen and memcpy.
35309 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
35311         * string/strcoll_l.c (get_next_seq): __always_inline.
35312         * string/strcoll_l.c (do_compare): __always_inline.
35314 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35316         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
35317         defined.
35318         * include/mqueue.h: Likewise.
35319         * include/stdlib.h: Likewise.
35321         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
35322         (get_null_defines): Adjust.
35323         * sunrpc/Makefile: Adjust comment.
35324         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
35325         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
35326         (CFLAGS-interp.c): Likewise.
35327         (CFLAGS-ldconfig.c): Likewise.
35328         (CPPFLAGS-.os): Likewise.
35329         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35330         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35331         * extra-modules.mk (extra-modules.mk): Likewise.
35332         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
35333         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
35334         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
35335         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
35336         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
35337         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
35338         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
35339         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
35340         * iconvdata/Makefile (CPPFLAGS): Likewise.
35341         (cpp-srcs-left): Add libof for all iconvdata routines.
35342         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
35343         * include/assert.h: Likewise.
35344         * include/ctype.h: Likewise.
35345         * include/errno.h: Likewise.
35346         * include/libc-symbols.h: Likewise.
35347         * include/math.h: Likewise.
35348         * include/netdb.h: Likewise.
35349         * include/resolv.h: Likewise.
35350         * include/stdio.h: Likewise.
35351         * include/stdlib.h: Likewise.
35352         * include/string.h: Likewise.
35353         * include/sys/stat.h: Likewise.
35354         * include/wctype.h: Likewise.
35355         * intl/l10nflist.c: Likewise.
35356         * libidn/idn-stub.c: Likewise.
35357         * libio/libioP.h: Likewise.
35358         * nptl/libc_multiple_threads.c: Likewise.
35359         * nptl/pthreadP.h: Likewise.
35360         * posix/regex_internal.h: Likewise.
35361         * resolv/res_hconf.c: Likewise.
35362         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
35363         * sysdeps/arm/memmove.S: Likewise.
35364         * sysdeps/arm/sysdep.h: Likewise.
35365         * sysdeps/generic/_itoa.h: Likewise.
35366         * sysdeps/generic/symbol-hacks.h: Likewise.
35367         * sysdeps/gnu/errlist.awk: Likewise.
35368         * sysdeps/gnu/errlist.c: Likewise.
35369         * sysdeps/i386/i586/memcpy.S: Likewise.
35370         * sysdeps/i386/i586/memset.S: Likewise.
35371         * sysdeps/i386/i686/memcpy.S: Likewise.
35372         * sysdeps/i386/i686/memmove.S: Likewise.
35373         * sysdeps/i386/i686/mempcpy.S: Likewise.
35374         * sysdeps/i386/i686/memset.S: Likewise.
35375         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35376         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35377         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
35378         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
35379         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35380         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35381         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
35382         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35383         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35384         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35385         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35386         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35387         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35388         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35389         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35390         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35391         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
35392         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
35393         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
35394         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35395         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35396         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35397         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35398         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35399         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35400         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35401         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
35402         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35403         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
35404         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35405         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35406         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35407         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35408         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35409         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35410         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35411         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35412         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35413         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35414         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35415         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35416         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35417         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35418         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35419         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35420         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35421         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
35422         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
35423         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35424         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
35425         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35426         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
35427         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
35428         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35429         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35430         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
35431         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35432         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
35433         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
35434         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35435         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35436         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35437         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
35438         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35439         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35440         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
35441         * sysdeps/posix/closedir.c: Likewise.
35442         * sysdeps/posix/opendir.c: Likewise.
35443         * sysdeps/posix/readdir.c: Likewise.
35444         * sysdeps/posix/rewinddir.c: Likewise.
35445         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
35446         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
35447         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
35448         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35449         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35450         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
35451         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
35452         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
35453         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
35454         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
35455         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
35456         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
35457         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
35458         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
35459         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
35460         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
35461         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
35462         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
35463         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
35464         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
35465         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
35466         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
35467         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
35468         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
35469         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
35470         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
35471         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
35472         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
35473         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
35474         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
35475         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
35476         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
35477         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
35478         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
35479         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
35480         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
35481         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
35482         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
35483         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
35484         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
35485         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
35486         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
35487         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
35488         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
35489         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
35490         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
35491         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
35492         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
35493         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
35494         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
35495         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
35496         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
35497         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
35498         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
35499         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
35500         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
35501         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
35502         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
35503         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
35504         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
35505         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
35506         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
35507         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
35508         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
35509         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
35510         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
35511         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
35512         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
35513         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
35514         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
35515         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
35516         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
35517         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
35518         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
35519         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
35520         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
35521         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
35522         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
35523         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
35524         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
35525         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
35526         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35527         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
35528         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
35529         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
35530         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
35531         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
35532         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35533         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35534         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35535         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
35536         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
35537         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
35538         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35539         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35540         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
35541         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35542         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35543         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
35544         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
35545         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35546         * sysdeps/unix/alpha/sysdep.S: Likewise.
35547         * sysdeps/unix/alpha/sysdep.h: Likewise.
35548         * sysdeps/unix/make-syscalls.sh: Likewise.
35549         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35550         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35551         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35552         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
35553         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35554         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
35555         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
35556         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35557         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35558         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
35559         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35560         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35561         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35562         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
35563         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35564         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35565         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35566         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
35567         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
35568         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35569         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
35570         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35571         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35572         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35573         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35574         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35575         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
35577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35578         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
35579         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35580         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35581         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35582         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35583         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
35584         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35585         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35586         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35587         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
35588         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
35589         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35590         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35591         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35592         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35593         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35594         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35595         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35596         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35597         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35598         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35599         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35600         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35601         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35602         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35603         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
35604         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35605         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35606         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35607         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
35608         * sysdeps/x86_64/memcpy.S: Likewise.
35609         * sysdeps/x86_64/memmove.c: Likewise.
35610         * sysdeps/x86_64/memset.S: Likewise.
35611         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
35612         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35613         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
35614         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
35615         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
35616         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35617         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35618         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35619         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35620         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35621         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35622         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35623         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
35624         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35625         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35626         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
35627         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35628         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35629         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35630         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35631         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
35632         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35633         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35634         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35635         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35636         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35637         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35638         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
35639         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35640         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35641         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
35642         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35643         * sysdeps/x86_64/strcmp.S: Likewise.
35645         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
35647         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
35648         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
35649         * elf/rtld-Rules: Likewise.
35650         * elf/setup-vdso.h: Likewise.
35651         * include/assert.h: Likewise.
35652         * include/bits/stdlib-float.h: Likewise.
35653         * include/errno.h: Likewise.
35654         * include/sys/stat.h: Likewise.
35655         * include/unistd.h: Likewise.
35656         * sysdeps/aarch64/setjmp.S: Likewise.
35657         * sysdeps/alpha/setjmp.S: Likewise.
35658         * sysdeps/arm/__longjmp.S: Likewise.
35659         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
35660         * sysdeps/arm/setjmp.S: Likewise.
35661         * sysdeps/arm/sysdep.h: Likewise.
35662         * sysdeps/generic/_itoa.h: Likewise.
35663         * sysdeps/generic/dl-sysdep.h: Likewise.
35664         * sysdeps/generic/ldsodefs.h: Likewise.
35665         * sysdeps/i386/dl-tls.h: Likewise.
35666         * sysdeps/i386/setjmp.S: Likewise.
35667         * sysdeps/m68k/setjmp.c: Likewise.
35668         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
35669         * sysdeps/mach/hurd/opendir.c: Likewise.
35670         * sysdeps/posix/getcwd.c: Likewise.
35671         * sysdeps/posix/opendir.c: Likewise.
35672         * sysdeps/posix/profil.c: Likewise.
35673         * sysdeps/powerpc/dl-procinfo.h: Likewise.
35674         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35675         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35676         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35677         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35678         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
35679         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
35680         * sysdeps/s390/dl-tls.h: Likewise.
35681         * sysdeps/s390/s390-32/setjmp.S: Likewise.
35682         * sysdeps/s390/s390-64/setjmp.S: Likewise.
35683         * sysdeps/sh/sh3/setjmp.S: Likewise.
35684         * sysdeps/sh/sh4/setjmp.S: Likewise.
35685         * sysdeps/unix/alpha/sysdep.h: Likewise.
35686         * sysdeps/unix/arm/sysdep.S: Likewise.
35687         * sysdeps/unix/i386/sysdep.S: Likewise.
35688         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35689         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35690         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35691         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35692         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35693         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
35694         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35695         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35696         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
35697         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
35698         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
35699         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35700         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35703         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35704         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35705         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35706         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35707         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35708         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35709         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35710         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35711         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35712         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35713         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35714         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35715         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35716         * sysdeps/x86_64/setjmp.S: Likewise.
35718         * include/math.h: Use IS_IN instead of IS_IN_libm.
35719         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
35720         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35721         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35722         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
35723         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35724         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35725         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35726         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35727         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35728         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35729         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
35730         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
35731         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
35732         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
35733         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
35734         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
35735         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
35736         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
35737         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
35738         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
35739         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
35740         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
35741         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
35742         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
35743         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
35744         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
35745         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
35746         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
35747         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
35748         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
35749         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
35750         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
35751         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
35753         Likewise.
35754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
35755         Likewise.
35756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
35757         Likewise.
35758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
35759         Likewise.
35760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
35761         Likewise.
35762         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35763         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
35764         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35765         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35766         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35767         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
35769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
35770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
35771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
35772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
35773         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
35774         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
35775         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35776         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35777         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35778         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35779         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35780         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35781         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35782         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
35783         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
35784         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
35785         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
35786         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
35787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35788         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
35790         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
35791         * nptl/pthreadP.h: Likewise.
35792         * nptl_db/structs.def: Likewise.
35793         * sysdeps/arm/sysdep.h: Likewise.
35794         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35795         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35796         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
35797         * sysdeps/unix/alpha/sysdep.h: Likewise.
35798         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35799         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35800         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35801         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35802         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35803         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35804         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35805         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35806         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35807         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35808         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35809         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35810         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35811         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
35813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35814         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35815         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35816         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35817         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35818         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35819         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35820         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35821         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35822         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
35823         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35825         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
35826         * nptl/pthreadP.h: Likewise.
35827         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35828         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35829         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35830         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35831         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35832         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35833         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35834         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35835         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35836         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35837         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35838         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35840         Likewise.
35841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35842         Likewise.
35843         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35844         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35845         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35846         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35847         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35848         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35849         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35850         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35852         * dlfcn/dladdr.c: Use IS_IN.
35853         * dlfcn/dladdr1.c: Likewise.
35854         * dlfcn/dlclose.c: Likewise.
35855         * dlfcn/dlerror.c: Likewise.
35856         * dlfcn/dlinfo.c: Likewise.
35857         * dlfcn/dlmopen.c: Likewise.
35858         * dlfcn/dlopen.c: Likewise.
35859         * dlfcn/dlsym.c: Likewise.
35860         * dlfcn/dlvsym.c: Likewise.
35862         * include/ifaddrs.h: Use IS_IN.
35863         * inet/check_pf.c: Likewise.
35864         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35865         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
35867         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
35868         IS_IN_ldconfig.
35869         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
35870         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
35872         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
35873         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
35874         IS_IN (libc).
35876         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
35878         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
35879         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35880         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35881         * include/libc-symbols.h (IS_IN_LIB): New macro.
35882         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
35883         * include/netdb.h: Likewise.
35884         * include/stap-probe.h: Remove all uses of IN_LIB.
35886         * Makeconfig (module-cppflags-real): Define MODULE_NAME
35887         instead of IN_MODULE.
35888         * include/libc-symbols.h (IN_MODULE): Define using
35889         MODULE_NAME.
35890         (PASTE_NAME, PASTE_NAME1): New macros.
35891         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
35892         of IN_LIB.
35893         (STAP_PROBE_ASM): Likewise.
35895 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35897         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
35898         __mach_init in dlopened libc.
35900 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
35902         * sysdeps/arm/preconfigure.ac: Delete EABI check.
35903         * sysdeps/arm/preconfigure: Regenerate.
35905 2014-11-21  Roland McGrath  <roland@hack.frob.com>
35907         * nptl/pthread_create.c (__pthread_create_2_1): Set
35908         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
35909         when copying values from IATTR into PD.
35911 2014-11-21  Will Newton  <will.newton@linaro.org>
35912             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
35914         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
35915         Refactor inline-asm.  Also add comment.
35917         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
35918         ElfW macro instead of hardcoded Elf64 types.
35919         (la_aarch64_gnu_pltenter): Likewise.
35920         * sysdeps/aarch64/dl-machine.h
35921         (elf_machine_runtime_setup): Use ElfW(Addr).
35923         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
35924         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
35925         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
35926         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
35927         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
35928         (R_AARCH64_TLS_DTPMOD64): Rename to ..
35929         (R_AARCH64_TLS_DTPMOD): This.
35930         (R_AARCH64_TLS_DTPREL64): Rename to ...
35931         (R_AARCH64_TLS_DTPREL): This.
35932         (R_AARCH64_TLS_TPREL64): Rename to ...
35933         (R_AARCH64_TLS_TPREL): This.
35934         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
35935         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
35936         R_AARCH64_TLS_TPREL64.
35937         (elf_machine_rela): Likewise.
35939 2014-11-21  Torvald Riegel  <triegel@redhat.com>
35941         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
35942         by setting it to 0.  64b atomics are not supported currently.
35944 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35946         [BZ #16469]
35947         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
35948         search domain names.
35950 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35952         [BZ #16469]
35953         * NEWS: Update.
35954         * resolv/res_query.c (__libc_res_nquerydomain): Retain
35955         trailing dot.
35956         * posix/tst-getaddrinfo5.c: New.
35957         * posix/Makefile (tests): Add it.
35959 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35961         [BZ #14498]
35962         * NEWS: Fixed.
35963         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
35964         after parsing line but before break_if_match.
35965         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
35966         if there is a protocol mismatch.
35968 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
35970         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
35971         because the potential race is on the user-supplied stream.
35973 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35975         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
35976         string literal if not passed a buffer.
35977         * manual/job.texi (ctermid): Update reasoning, note deviation
35978         from posix, suggest mtasurace when not passed a buffer, for
35979         future non-preliminary safety notes.
35981 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35983         * manual/users.texi (cuserid): Fix MT-Safety note for the case
35984         of not passing it a buffer.
35985         Reported by Peng Haitao.
35987 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
35989         * manual/Makefile ($(objpfx)stamp-summary): Require
35990         check-safety.sh to pass.
35991         * manual/check-safety.sh: Wish for verification that every
35992         @deftypefn and @deftypefun is followed by a @safety remark.
35994 2014-11-20  Roland McGrath  <roland@hack.frob.com>
35996         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
35998         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
35999         PTHREAD_CANCEL_ASYNCHRONOUS.
36000         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
36001         send SIGCANCEL.
36003         * nptl/default-sched.h: New file.
36004         * sysdeps/unix/sysv/linux/default-sched.h: New file.
36005         * nptl/pthread_create.c: Include it.
36006         (__pthread_create_2_1): Use collect_default_sched instead of making
36007         Linux syscalls here directly.
36009 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36011         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
36012         __pthread_once): Use C11 atomics.
36014 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36016         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
36018 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36020         * include/atomic.h (__atomic_link_error, __atomic_check_size,
36021         atomic_thread_fence_acquire, atomic_thread_fence_release,
36022         atomic_thread_fence_seq_cst, atomic_load_relaxed,
36023         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
36024         atomic_compare_exchange_weak_relaxed,
36025         atomic_compare_exchange_weak_acquire,
36026         atomic_compare_exchange_weak_release,
36027         atomic_exchange_acquire, atomic_exchange_release,
36028         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
36029         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
36030         atomic_fetch_and_acquire,
36031         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
36033 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36035         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
36036         USE_ATOMIC_COMPILER_BUILTINS): Define.
36037         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
36038         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36039         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
36040         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36041         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
36042         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36043         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
36044         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36045         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
36046         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36047         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
36048         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36049         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
36050         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36051         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
36052         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36053         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36054         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36055         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36056         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36057         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
36058         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36059         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36060         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36061         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
36062         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36063         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36064         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36065         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
36066         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36067         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
36068         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36069         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
36070         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36071         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36072         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36073         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
36074         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36075         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
36076         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36078 2014-11-19  Roland McGrath  <roland@hack.frob.com>
36080         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
36081         the sched_priority value here.  It was already checked when the user
36082         called pthread_attr_setschedparam.
36084         * nptl/tst-bad-schedattr.c: New file.
36085         * nptl/Makefile (tests): Add it.
36087 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
36088             Florian Weimer  <fweimer@redhat.com>
36089             Joseph Myers  <joseph@codesourcery.com>
36090             Adam Conrad  <adconrad@0c3.net>
36091             Andreas Schwab  <schwab@suse.de>
36092             Brooks  <bmoses@google.com>
36094         [BZ #17625]
36095         * wordexp-test.c (__dso_handle): Add prototype.
36096         (__register_atfork): Likewise.
36097         (__app_register_atfork): New function.
36098         (registered_forks): New global.
36099         (register_fork): New function.
36100         (test_case): Add 3 new tests for WRDE_CMDSUB.
36101         (main): Call __app_register_atfork.
36102         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
36103         fork count is non-zero fail the test.
36104         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
36105         is set.
36106         (parse_dollars): Remove check for WRDE_NOCMD.
36107         (parse_dquote): Likewise.
36109 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36111         * Makeconfig (built-modules): List non-library modules to be
36112         built.
36113         (module-cppflags): Include libc-modules.h for
36114         everything except shlib-versions.v.i.
36115         (CPPFLAGS): Use it.
36116         (before-compile): Add libc-modules.h.
36117         ($(common-objpfx)libc-modules.h,
36118         $(common-objpfx)libc-modules.stmp): New targets.
36119         (common-generated): Add libc-modules.h and libc-modules.stmp.
36120         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
36121         * include/libc-symbols.h: Don't include libc-modules.h.
36122         * include/libc-modules.h: Remove file.
36123         * scripts/gen-libc-modules.awk: New script to generate
36124         libc-modules.h.
36125         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
36126         Depend on libc-modules.stmp.
36128         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
36130         * Makeconfig (in-module): Get value of libof set for the
36131         translation unit.
36132         (CPPFLAGS): Use $(in-module).
36133         * Makerules: Don't suffix routine names for nonlib.
36134         * include/libc-modules.h: New file.
36135         * include/libc-symbols.h: Include libc-modules.h
36136         (IS_IN): New macro to replace IS_IN_* macros.
36137         * elf/Makefile: Set libof-* for each routine.
36138         * elf/rtld-Rules: Likewise.
36139         * extra-modules.mk: Likewise.
36140         * iconv/Makefile: Likewise.
36141         * iconvdata/Makefile: Likewise.
36142         * locale/Makefile: Likewise.
36143         * malloc/Makefile: Likewise.
36144         * nss/Makefile: Likewise.
36145         * sysdeps/gnu/Makefile: Likewise.
36146         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
36147         * sysdeps/unix/sysv/linux/Makefile: Likewise.
36148         * sysdeps/s390/s390-64/Makefile: Likewise.
36149         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
36150         CPPFLAGS for nscd instead of nonlib.
36152 2014-11-18  Roland McGrath  <roland@hack.frob.com>
36154         * nptl/createthread.c: New file.
36156         * nptl/createthread.c: Moved ...
36157         * sysdeps/unix/sysv/linux/createthread.c: ... here.
36159         * nptl/createthread.c: Add proper top-line comment.
36160         (do_clone): Folded into ...
36161         (create_thread): ... here.  Take new arguments STOPPED_START and
36162         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
36163         increment __nptl_threads, do event-reporting logic, do
36164         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
36165         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
36166         resource cleanup if sched_setaffinity or sched_setscheduler fails,
36167         just send SIGCANCEL.
36168         * nptl/pthread_create.c: Forward-declare create_thread before
36169         including createthread.c.
36170         (start_thread): Use new macro START_THREAD_DEFN to replace defining
36171         declaration, and new macro START_THREAD_SELF to replace argument.
36172         Remove return statement.
36173         (report_thread_creation): New function.
36174         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
36175         synchronization logic, and __nptl_nthreads increment here, around
36176         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
36177         PD->parent_cancelhandling here, before create_thread.  When
36178         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
36179         __deallocate_stack, and ENOMEM translation here.
36181 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
36183         [BZ #17616]
36184         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
36185         (mptwo): Rename to __mptwo.
36186         (__inv): Use __mptwo instead of mptwo.
36187         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
36188         (mptwo): Rename to __mptwo.
36189         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
36190         of mpone and __mptwo instead of mptwo.
36191         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
36192         instead of mpone.
36193         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36194         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
36195         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
36196         of mpone and __mptwo instead of mptwo.
36197         (__mpranred): Use __mpone instead of mpone.
36198         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
36199         variable.
36200         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36201         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36202         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36203         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36204         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36205         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36206         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36207         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36208         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36209         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36210         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36211         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36212         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
36213         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
36214         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
36215         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
36216         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
36217         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
36218         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
36220 2014-11-18  Tom de Vries  <tom@codesoucery.com>
36222         * manual/signal.texi (Primitives Interrupted by Signals): In section,
36223         replace BSD Handler xref with BSD Signal Handling.
36225 2014-11-17  Richard Henderson  <rth@redhat.com>
36227         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
36228         (_FP_PACK_RAW_2): Remove.
36229         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
36230         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
36231         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
36232         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
36233         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
36234         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
36235         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
36236         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
36237         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
36238         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
36239         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
36240         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
36241         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
36242         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
36243         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
36244         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
36246 2014-11-14  Roland McGrath  <roland@hack.frob.com>
36248         * signal/signal.h [__USE_MISC]
36249         (struct sigvec): Remove type.
36250         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
36251         (sigvec): Remove declaration.
36252         * sysdeps/posix/sigvec.c: Moved ...
36253         * signal/sigvec.c: ... here, replacing old file.
36254         (struct sigvec): New type, copied from old signal.h definition.
36255         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
36256         (__sigvec): Convert definition to prototype.
36257         (sigvec): Replace weak_alias with compat_symbol.
36258         * signal/Versions (libc: GLIBC_2.21): New version set.
36259         * include/signal.h: Remove __sigvec declaration.
36260         * sysdeps/unix/bsd/sigvec.c: Remove file.
36261         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
36262         * manual/signal.texi (BSD Handler): Remove subsection.
36263         Move siginterrupt up to ...
36264         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
36265         (Blocking in BSD): Fold subsection into its parent.
36266         * NEWS: Mention sigvec removal.
36268 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36270         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
36271         (DLA_FMS): Make definition conditional only on [__FMA4__].
36272         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
36273         definition.
36275         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
36276         Make definition conditional only on [PROF].
36277         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
36278         definition.
36279         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
36280         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
36282         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
36283         !__GNUC__].
36284         * include/signal.h (__sigpause): Move declaration above call to
36285         libc_hidden_proto.
36286         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
36287         variable.
36288         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36289         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36291 2014-11-14  David S. Miller  <davem@davemloft.net>
36293         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
36294         Define before including <string/memcpy.c> and <string/mempcpy.c>.
36296 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36298         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
36299         * configure: Regenerated.
36300         * manual/install.texi (Tools for Compilation): Document a
36301         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
36302         compiler verified to work.
36303         * INSTALL: Regenerated.
36305         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
36306         redeclare with asm name.
36307         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
36308         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
36309         including <string.h>.
36310         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36311         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
36312         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36313         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
36314         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36315         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
36316         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36318 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
36320         * stdlib/strtol.c (__strtol): Use prototype definition.
36322         [BZ #17594]
36323         * stdlib/strtol.c (SYM__): New macro.
36324         (SYM__1): Likewise.
36325         (__strtol): Likewise.
36326         (strtol): Rename to __strtol and define as weak alias of
36327         __strtol.  Use libc_hidden_weak.
36329 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36331         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
36332         Use numbered labels in inline assembly.
36334 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36336         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
36337         Add setjmp LIBC_PROBE.
36338         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
36339         Likewise.
36340         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
36341         Add longjmp, longjmp_target LIBC_PROBE.
36342         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
36343         Likewise.
36345 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36347         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
36348         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
36349         to get rid of unused variable warning.
36351 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36353         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
36354         Check for unwind_backtrace ==  NULL only in SHARED case.
36355         (__backchain_backtrace): Compile only in SHARED case.
36356         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
36357         Likewise.
36358         (__backchain_backtrace): Declare as static.
36360 2014-11-12  Roland McGrath  <roland@hack.frob.com>
36362         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
36363         (__libc_multiple_threads_ptr): Variable moved ...
36364         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
36366 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
36368         * conform/GlibcConform.pm: New file.
36369         * conform/conformtest.pl: Use GlibcConform module.
36370         * conform/linknamespace.pl: New file.
36371         * conform/list-header-symbols.pl: Likewise.
36372         * conform/Makefile (linknamespace-symlists-base): New variable.
36373         (linknamespace-symlists-tests): Likewise.
36374         (linknamespace-header-base): Likewise.
36375         (linknamespace-header-tests): Likewise.
36376         (tests-special): Add new tests.
36377         ($(linknamespace-symlists-tests)): New rule.
36378         (linknamespace-libs): New variable.
36379         ($(objpfx)symlist-stdlibs): New rule.
36380         ($(linknamespace-header-tests)): Likewise.
36381         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
36382         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
36383         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
36384         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
36385         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
36386         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
36387         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
36388         (test-xfail-ISO/math.h/linknamespace): Likewise.
36389         (test-xfail-ISO/signal.h/linknamespace): Likewise.
36390         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
36391         (test-xfail-ISO/time.h/linknamespace): Likewise.
36392         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36393         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
36394         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36395         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36396         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36397         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36398         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36399         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
36400         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36401         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36402         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36403         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36404         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
36405         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
36406         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
36407         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36408         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
36409         (test-xfail-XPG3/search.h/linknamespace): Likewise.
36410         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
36411         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36412         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
36413         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36414         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
36415         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
36416         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36417         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36418         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
36419         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
36420         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36421         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
36422         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36423         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36424         (test-xfail-XPG4/search.h/linknamespace): Likewise.
36425         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36426         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
36427         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
36428         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
36429         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
36430         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36431         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
36432         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36433         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
36434         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36435         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36436         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36437         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
36438         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
36439         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36440         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36441         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
36442         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36443         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36444         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
36445         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36446         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36447         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
36448         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
36449         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36450         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36451         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36452         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36453         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36454         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
36455         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
36456         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36457         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36458         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
36459         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36460         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
36461         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
36462         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36463         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36464         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36465         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36466         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
36467         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36468         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
36469         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
36470         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36471         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
36472         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36473         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
36474         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
36475         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36476         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36477         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
36478         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36479         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36480         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
36481         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
36482         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
36483         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
36484         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36485         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
36486         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
36487         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36488         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
36489         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
36490         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36491         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36492         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36493         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36494         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
36495         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
36496         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36497         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36498         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36499         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36500         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
36501         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
36502         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
36503         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
36504         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
36505         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36506         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
36507         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
36508         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
36509         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36510         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
36511         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
36512         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
36513         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
36514         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36515         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36516         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
36517         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
36518         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
36519         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
36520         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
36521         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
36522         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
36523         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
36524         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
36525         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36526         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
36527         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
36528         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
36529         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
36530         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
36531         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36532         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
36533         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
36534         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
36535         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
36536         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
36537         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
36538         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
36539         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
36540         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
36541         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
36543         [BZ #17589]
36544         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
36545         of fgets_unlocked.
36547         [BZ #17585]
36548         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
36549         (memmem): Rename to __memmem and define as weak alias of
36550         __memmem.  Use libc_hidden_weak.
36551         (__memmem): Use libc_hidden_def.
36552         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
36553         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
36554         memmem.
36556         [BZ #17582]
36557         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
36558         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
36559         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
36560         and define as weak alias of __fgets_unlocked.  Use
36561         libc_hidden_weak.
36562         (__fgets_unlocked): Use libc_hidden_def.
36563         * include/stdio.h (__fgets_unlocked): Declare.  Use
36564         libc_hidden_proto.
36565         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
36566         __fgets_unlocked instead of fgets_unlocked.
36567         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
36568         (GET_NPROCS_CONF_PARSER): Likewise.
36569         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
36570         (GET_NPROCS_CONF_PARSER): Likewise.
36572         [BZ #17574]
36573         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
36574         weak alias of __wmemset.  Use libc_hidden_weak.
36575         (__wmemset): Use libc_hidden_def.
36576         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
36577         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
36578         of wmemset.
36580         [BZ #17573]
36581         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
36582         with asm name __mempcpy.
36583         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
36585         [BZ #17572]
36586         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
36587         and define as weak alias of __rawmemchr.
36588         (__rawmemchr): Do not define as strong alias of rawmemchr.
36590         [BZ #17571]
36591         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
36592         alias of __qsort_r.
36593         (qsort): Call __qsort_r instead of qsort_r.
36594         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
36595         (__qsort_r): Declare.  Call libc_hidden_proto.
36596         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
36597         instead of qsort_r.
36598         * nscd/gai.c (__qsort_r): Define to qsort_r.
36599         * posix/tst-rfc3484.c (__qsort_r): Likewise.
36600         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
36601         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
36603         [BZ #17570]
36604         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
36605         define as weak alias of __malloc_info.
36607         [BZ #17584]
36608         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
36609         as weak alias of __rewinddir.  Don't use libc_hidden_def.
36610         (__rewinddir): Use libc_hidden_def.
36611         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
36612         as weak alias of __rewinddir.  Don't use libc_hidden_def.
36613         (__rewinddir): Use libc_hidden_def.
36614         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
36615         weak alias of __rewinddir.  Don't use libc_hidden_def.
36616         (__rewinddir): Use libc_hidden_def.
36617         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
36618         (__rewinddir): Use libc_hidden_proto.
36619         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
36620         rewinddir.
36621         (__getcwd): Use __rewinddir instead of rewinddir.
36623         [BZ #17583]
36624         * libio/fileno.c (fileno): Rename to __fileno and define as weak
36625         alias of __fileno.  Use libc_hidden_weak.
36626         (__fileno): Use libc_hidden_def.
36627         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
36628         * libio/ftello.c (ftello): Rename to __ftello and define as weak
36629         alias of __ftello.
36630         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
36631         __ftello.
36632         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
36633         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
36634         libc_hidden_def.
36635         (fread_unlocked): Don't use libc_hidden_ver.
36636         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
36637         and define as weak alias of __fread_unlocked.  Don't use
36638         libc_hidden_def.
36639         (__fread_unlocked): Use libc_hidden_def.
36640         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
36641         (ftello): Don't use libc_hidden_proto.
36642         (__ftello): Declare.  Use libc_hidden_proto.
36643         (fread_unlocked): Don't use libc_hidden_proto.
36644         (__fread_unlocked): Declare.  Use libc_hidden_proto.
36645         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
36646         and __ftello instead of fileno, fread_unlocked and ftello.
36648 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36650         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
36651         GOT12.
36652         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
36653         Likewise.
36654         (_dl_start_user): Likewise.
36655         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
36657 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
36658             Siddhesh Poyarekar  <siddhesh@redhat.com>
36660         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
36661         Move argv and envp down instead of moving argc up.
36662         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
36664 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
36666         [BZ #17506]
36667         * test-skeleton.c (main): Return successful if one of
36668         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
36669         * string/tst-strcoll-overflow.c: Define expected status.
36671 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
36673         [BZ #17475]
36674         * locale/iso-639.def: Define Bhili and Tulu language codes.
36676 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
36678         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
36680 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
36682         [BZ #17555]
36683         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
36685 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
36687         * configure.ac: Updated check of minimal required version to
36688         2.22.
36689         * manual/install.texi (Tools for Compilation): Updated version
36690         number.
36691         * configure: Regenerated.
36692         * INSTALL: Likewise.
36694 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
36696         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
36697         __tls_get_addr.
36699 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
36701         * include/sys/wait.h (__libc_waitpid): Remove declaration.
36702         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
36703         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36704         libc_hidden_weak.
36705         (waitpid): Define as alias of __waitpid.
36706         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
36707         __waitpid.
36708         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36709         libc_hidden_weak.
36710         (waitpid): Define as alias of __waitpid.
36711         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
36712         __libc_waitpid alias.
36713         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
36714         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
36715         Likewise.
36716         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
36717         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
36718         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
36719         alias.
36720         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
36721         __waitpid.
36722         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36723         libc_hidden_weak.
36724         (waitpid): Define as alias of __waitpid.
36726 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
36728         * manual/llio.texi: Add comment that write safety has been
36729         fixed in Linux.
36731         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
36732         (localplt-build-dso): Add elf/ld.so.
36733         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
36734         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
36735         and free for ld.so.
36736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
36737         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
36738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
36739         Likewise.
36740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36741         Likewise.
36742         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
36743         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
36744         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
36745         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
36746         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
36747         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
36748         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
36749         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
36750         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
36751         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
36752         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
36754 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
36756         [BZ #14132]
36757         * include/libc-symbols.h (INTUSE): Remove macro.
36758         (INTDEF): Likewise.
36759         (INTVARDEF): Likewise.
36760         (_INTVARDEF): Likewise.
36761         (INTDEF2): Likewise.
36762         (INTVARDEF2): Likewise.
36763         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
36764         rtld_hidden_def instead of INTVARDEF.
36765         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
36766         (_dl_starting_up_internal): Remove declaration.
36767         (_dl_starting_up): Use rtld_hidden_proto.
36768         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
36769         declaration.
36770         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
36771         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
36772         _dl_starting_up.
36773         * elf/dl-writev.h (_dl_writev): Likewise.
36774         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
36775         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
36776         _dl_starting_up_internal.
36778 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36780         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
36781         test-skeleton.c.
36783 2014-11-05  Will Newton  <will.newton@linaro.org>
36785         * benchtests/Makefile: (bench-malloc): Add malloc thread
36786         scalability benchmark.
36787         * benchtests/bench-malloc-threads.c: New file.
36789 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
36791         * sysdeps/aarch64/strchrnul.S: New file.
36793 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36795         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
36796         definition.
36797         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36798         Likewise.
36799         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36800         Likewise.
36801         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36802         Likewise.
36803         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36804         Likewise.
36805         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36806         Likewise.
36808 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
36810         * catgets/test-gencat.c: Use test-skeleton.c.
36811         * catgets/tst-catgets.c: Likewise.
36812         * csu/tst-empty.c: Likewise.
36813         * elf/tst-audit2.c: Likewise.
36814         * elf/tst-global1.c: Likewise.
36815         * elf/tst-pathopt.c: Likewise.
36816         * elf/tst-piemod1.c: Likewise.
36817         * elf/tst-tls10.c: Likewise.
36818         * elf/tst-tls11.c: Likewise.
36819         * elf/tst-tls12.c: Likewise.
36820         * gnulib/tst-gcc.c: Likewise.
36821         * iconvdata/tst-e2big.c: Likewise.
36822         * iconvdata/tst-loading.c: Likewise.
36823         * iconv/tst-iconv1.c: Likewise.
36824         * iconv/tst-iconv2.c: Likewise.
36825         * inet/test-inet6_opt.c: Likewise.
36826         * inet/tst-gethnm.c: Likewise.
36827         * inet/tst-network.c: Likewise.
36828         * inet/tst-ntoa.c: Likewise.
36829         * intl/tst-codeset.c: Likewise.
36830         * intl/tst-gettext2.c: Likewise.
36831         * intl/tst-gettext3.c: Likewise.
36832         * intl/tst-ngettext.c: Likewise.
36833         * intl/tst-translit.c: Likewise.
36834         * io/test-stat.c: Likewise.
36835         * libio/test-fmemopen.c: Likewise.
36836         * libio/tst-freopen.c: Likewise.
36837         * libio/tst-sscanf.c: Likewise.
36838         * libio/tst-ungetwc1.c: Likewise.
36839         * libio/tst-ungetwc2.c: Likewise.
36840         * libio/tst-widetext.c: Likewise.
36841         * localedata/tst-ctype.c: Likewise.
36842         * localedata/tst-digits.c: Likewise.
36843         * localedata/tst-leaks.c: Likewise.
36844         * localedata/tst-mbswcs1.c: Likewise.
36845         * localedata/tst-mbswcs2.c: Likewise.
36846         * localedata/tst-mbswcs3.c: Likewise.
36847         * localedata/tst-mbswcs4.c: Likewise.
36848         * localedata/tst-mbswcs5.c: Likewise.
36849         * localedata/tst-setlocale.c: Likewise.
36850         * localedata/tst-trans.c: Likewise.
36851         * localedata/tst-wctype.c: Likewise.
36852         * localedata/tst-xlocale1.c: Likewise.
36853         * login/tst-grantpt.c: Likewise.
36854         * malloc/tst-calloc.c: Likewise.
36855         * malloc/tst-malloc.c: Likewise.
36856         * malloc/tst-mallocstate.c: Likewise.
36857         * malloc/tst-mcheck.c: Likewise.
36858         * malloc/tst-mtrace.c: Likewise.
36859         * malloc/tst-obstack.c: Likewise.
36860         * math/atest-exp2.c: Likewise.
36861         * math/atest-exp.c: Likewise.
36862         * math/atest-sincos.c: Likewise.
36863         * math/test-matherr.c: Likewise.
36864         * math/test-misc.c: Likewise.
36865         * math/test-powl.c: Likewise.
36866         * math/tst-definitions.c: Likewise.
36867         * misc/tst-dirname.c: Likewise.
36868         * misc/tst-efgcvt.c: Likewise.
36869         * misc/tst-fdset.c: Likewise.
36870         * misc/tst-hsearch.c: Likewise.
36871         * misc/tst-mntent2.c: Likewise.
36872         * nptl/tst-sem7.c: Likewise.
36873         * nptl/tst-sem8.c: Likewise.
36874         * nptl/tst-sem9.c: Likewise.
36875         * nss/test-netdb.c: Likewise.
36876         * posix/tst-fnmatch.c: Likewise.
36877         * posix/tst-getlogin.c: Likewise.
36878         * posix/tst-gnuglob.c: Likewise.
36879         * posix/tst-mmap.c: Likewise.
36880         * pwd/tst-getpw.c: Likewise.
36881         * resolv/tst-inet_ntop.c: Likewise.
36882         * rt/tst-timer.c: Likewise.
36883         * stdio-common/test-fseek.c: Likewise.
36884         * stdio-common/test-popen.c: Likewise.
36885         * stdio-common/test-vfprintf.c: Likewise.
36886         * stdio-common/tst-cookie.c: Likewise.
36887         * stdio-common/tst-fileno.c: Likewise.
36888         * stdio-common/tst-gets.c: Likewise.
36889         * stdio-common/tst-obprintf.c: Likewise.
36890         * stdio-common/tst-perror.c: Likewise.
36891         * stdio-common/tst-sprintf2.c: Likewise.
36892         * stdio-common/tst-sprintf3.c: Likewise.
36893         * stdio-common/tst-sprintf.c: Likewise.
36894         * stdio-common/tst-swprintf.c: Likewise.
36895         * stdio-common/tst-tmpnam.c: Likewise.
36896         * stdio-common/tst-unbputc.c: Likewise.
36897         * stdio-common/tst-wc-printf.c: Likewise.
36898         * stdlib/tst-environ.c: Likewise.
36899         * stdlib/tst-fmtmsg.c: Likewise.
36900         * stdlib/tst-limits.c: Likewise.
36901         * stdlib/tst-rand48-2.c: Likewise.
36902         * stdlib/tst-rand48.c: Likewise.
36903         * stdlib/tst-random2.c: Likewise.
36904         * stdlib/tst-random.c: Likewise.
36905         * stdlib/tst-strtol.c: Likewise.
36906         * stdlib/tst-strtoll.c: Likewise.
36907         * stdlib/tst-tls-atexit.c: Likewise.
36908         * stdlib/tst-xpg-basename.c: Likewise.
36909         * string/test-ffs.c: Likewise.
36910         * string/tst-bswap.c: Likewise.
36911         * string/tst-inlcall.c: Likewise.
36912         * string/tst-strtok.c: Likewise.
36913         * string/tst-strxfrm.c: Likewise.
36914         * sysdeps/x86_64/tst-audit10.c: Likewise.
36915         * sysdeps/x86_64/tst-audit3.c: Likewise.
36916         * sysdeps/x86_64/tst-audit4.c: Likewise.
36917         * sysdeps/x86_64/tst-audit5.c: Likewise.
36918         * time/tst-ftime_l.c: Likewise.
36919         * time/tst-getdate.c: Likewise.
36920         * time/tst-mktime3.c: Likewise.
36921         * time/tst-mktime.c: Likewise.
36922         * time/tst-posixtz.c: Likewise.
36923         * time/tst-strptime2.c: Likewise.
36924         * time/tst-strptime3.c: Likewise.
36925         * wcsmbs/tst-btowc.c: Likewise.
36926         * wcsmbs/tst-mbrtowc.c: Likewise.
36927         * wcsmbs/tst-mbsrtowcs.c: Likewise.
36928         * wcsmbs/tst-wchar-h.c: Likewise.
36929         * wcsmbs/tst-wcpncpy.c: Likewise.
36930         * wcsmbs/tst-wcrtomb.c: Likewise.
36931         * wcsmbs/tst-wcsnlen.c: Likewise.
36932         * wcsmbs/tst-wcstof.c: Likewise.
36934 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
36936         [BZ #14132]
36937         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
36938         INTDEF.
36939         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
36940         declaration.
36941         (_dl_mcount): Use rtld_hidden_proto.
36942         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
36943         _dl_mcount.
36944         * elf/rtld.c (_rtld_global_ro): Likewise.
36946         [BZ #14132]
36947         * elf/dl-init.c (_dl_init): Don't use INTDEF.
36948         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
36949         of _dl_init_internal.
36950         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
36951         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
36952         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
36953         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
36954         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
36955         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
36956         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
36957         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
36958         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
36959         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
36960         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
36961         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
36962         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36963         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36964         * sysdeps/tile/dl-start.S (_start): Likewise.
36965         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
36966         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
36968         [BZ #14132]
36969         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
36970         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
36971         (rtld_progname): Make macro definition unconditional.
36972         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
36973         INTDEF.
36974         (dlmopen_doit): Do not use INTUSE with _dl_argv.
36975         (dl_main): Likewise.
36976         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36977         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
36978         instead of _dl_argv_internal.
36979         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36980         __GI__dl_argv instead of INTUSE(_dl_argv).
36981         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
36982         __GI__dl_argv instead of _dl_argv_internal.
36984         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
36985         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
36986         macro.
36987         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
36988         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
36989         New macro.
36990         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
36991         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
36992         macro.
36993         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
36994         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
36996 2014-11-04  Andreas Schwab  <schwab@suse.de>
36998         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
37000 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37002         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
37003         mtvsrd instruction in binary form.
37005 2014-11-03  Andreas Schwab  <schwab@suse.de>
37007         [BZ #17522]
37008         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
37009         for less than MB_LEN_MAX use a local buffer of that size.
37010         * libio/tst-fputws.c: New file.
37011         * libio/Makefile (tests): Add tst-fputws.
37013 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
37015         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
37016         the size of the fpu_fr.fpu_dregs[] array.
37018 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
37020         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
37021         (__nanosleep): Do not define as alias.
37022         (nanosleep): Define as alias of __nanosleep.
37023         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
37024         __libc_nanosleep name.
37026 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37028         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
37029         install.texi in comment.
37031 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37033         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
37034         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
37035         ... add here and use lwsync or sync ...
37036         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
37037         ... and add here using lwsync.
37039 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
37041         * elf/dl-machine-reject-phdr.h: New file.
37042         * elf/dl-load.c: #include that.
37043         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
37044         if that returned true.
37046 2014-10-31  Roland McGrath  <roland@hack.frob.com>
37048         [BZ #17496]
37049         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
37050         gen-as-const-headers chunk.  Add a big scare comment after the last
37051         safe place to touch before-compile.
37053 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37055         * manual/install.texi (Tools for Compilation): Update autoconf
37056         version requirements.
37057         * INSTALL: Regenerated.
37059         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
37060         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
37061         (__libc_pselect): Likewise.
37063         [BZ #14138]
37064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
37065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37069 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37071         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
37072         correct barrier instruction.
37073         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
37074         Likewise.
37075         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
37076         Likewise.
37078 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37080         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
37081         after defining inlines.  Instead, just use parens to defeat macro
37082         expansion of __isctype in its declaration.
37084 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37086         * include/sys/uio.h (__libc_readv): Remove declaration.
37087         (__libc_writev): Likewise.
37088         * misc/readv.c (__libc_readv): Rename to __readv.
37089         (__readv): Do not define as alias.
37090         (readv): Define as alias of __readv.
37091         * misc/writev.c (__libc_writev): Rename to __writev.
37092         (__writev): Do not define as alias.
37093         (writev): Define as alias of __writev.
37094         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
37095         (__readv): Do not define as alias.
37096         (readv): Define unconditionally as alias of __readv.
37097         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
37098         (__writev): Do not define as alias.
37099         (writev): Define unconditionally as alias of __writev.
37100         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
37101         name.
37102         (writev): Do not define __libc_writev name.
37104 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37106         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
37107         (convert_charseq): New function, broken out of ...
37108         (use_from_charmap): ... here.  Call it.
37109         (use_to_charmap): Use convert_charseq and free instead of duplicating
37110         its code with a variable-length stack struct.
37112 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37114         * include/fcntl.h (__libc_creat): Remove declaration.
37115         * io/creat.c (__libc_creat): Rename to creat.
37116         (creat): Do not define as alias.
37117         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
37118         of creat instead of __libc_creat.
37119         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
37120         to creat.
37121         (creat): Do not define as alias.
37122         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
37123         __libc_creat.
37124         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
37125         __libc_creat name.
37126         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
37127         Likewise.
37129 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
37131         * manual/llio.texi: Add comments discussing why write() may be
37132         considered MT-unsafe on Linux.
37134 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
37136         * dl-load.c (local_strdup): Remove.
37137         (expand_dynamic_string_token): Use __strdup.
37138         (decompose_rpath): Likewise.
37139         (_dl_map_object): Likewise.
37141 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
37143         [BZ #14132]
37144         * sysdeps/generic/unwind-dw2-fde.c
37145         (__register_frame_info_bases_internal): Do not declare.
37146         (__register_frame_info_table_bases_internal): Likewise.
37147         (__deregister_frame_info_bases_internal): Likewise.
37148         (__register_frame_info_bases): Declare and use hidden_proto before
37149         definition.  Use hidden_def instead of INTDEF.
37150         (__register_frame_info_table_bases): Likewise.
37151         (__deregister_frame_info_bases): Likewise.
37152         (__register_frame_info): Do not use INTUSE.
37153         (__register_frame): Likewise.
37154         (__register_frame_info_table): Likewise.
37155         (__register_frame_table): Likewise.
37156         (__deregister_frame_info): Likewise.
37157         (__deregister_frame): Likewise.
37159 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
37161         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37162         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
37163         not undefine.
37164         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
37165         Likewise.
37166         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
37167         Likewise.
37169 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
37171         [BZ #14138]
37172         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
37173         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
37174         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
37175         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
37176         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
37177         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
37178         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
37179         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
37180         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
37181         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
37182         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
37183         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
37184         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
37185         syscall.
37186         (setfsuid): Likewise.
37187         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
37188         (setfsuid): Likewise.
37189         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
37190         (setfsuid): Likewise.
37191         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
37192         Likewise.
37193         (setfsuid): Likewise.
37194         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
37195         (setfsuid): Likewise.
37196         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
37197         Likewise.
37198         (setfsuid): Likewise.
37200 2014-10-27  Andreas Schwab  <schwab@suse.de>
37202         [BZ #17501]
37203         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
37204         check for Slow_SSE4_2 feature bit.
37205         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
37206         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
37207         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
37208         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
37210 2014-10-24  Roland McGrath  <roland@hack.frob.com>
37212         * configure.ac: Validate compiler version with a empirical test of
37213         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
37214         $CC -v output.
37215         * configure: Regenerated.
37217         * inet/htons.c (htons): Prototypify.
37218         * inet/htonl.c (htonl): Likewise.
37220 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37222         * string/strncat.c (strncat): Improve performance by using strlen.
37224 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37226         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
37228 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37230         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
37231         Call libc_fetestexcept_aarch64.
37233 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37235         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
37236         Call libc_feholdexcept_aarch64.
37238 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37240         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
37241         Call get_rounding_mode.
37243 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37245         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
37246         Simplify logic.
37248 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37250         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
37251         Simplify logic.
37253 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
37255         [BZ #14138]
37256         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
37257         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
37258         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
37259         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
37260         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
37261         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
37262         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
37263         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
37264         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
37265         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
37266         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37267         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
37268         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
37269         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
37270         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
37271         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
37272         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
37273         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
37274         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
37275         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
37276         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
37277         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
37278         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
37279         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
37280         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
37281         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
37282         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
37283         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
37284         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
37285         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
37286         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
37287         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
37288         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
37289         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
37290         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
37291         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
37292         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
37293         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
37294         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
37295         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
37296         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
37297         syscall.
37298         (geteuid): Likewise.
37299         (getgid): Likewise.
37300         (getuid): Likewise.
37301         (getresgid): Likewise.
37302         (getresuid): Likewise.
37303         (getgroups): Likewise.
37304         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
37305         (geteuid): Likewise.
37306         (getgid): Likewise.
37307         (getuid): Likewise.
37308         (getresgid): Likewise.
37309         (getresuid): Likewise.
37310         (getgroups): Likewise.
37311         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
37312         (geteuid): Likewise.
37313         (getgid): Likewise.
37314         (getuid): Likewise.
37315         (getresgid): Likewise.
37316         (getresuid): Likewise.
37317         (getgroups): Likewise.
37318         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
37319         Likewise.
37320         (geteuid): Likewise.
37321         (getgid): Likewise.
37322         (getuid): Likewise.
37323         (getresgid): Likewise.
37324         (getresuid): Likewise.
37325         (getgroups): Likewise.
37326         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
37327         (geteuid): Likewise.
37328         (getgid): Likewise.
37329         (getuid): Likewise.
37330         (getresgid): Likewise.
37331         (getresuid): Likewise.
37332         (getgroups): Likewise.
37333         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
37334         Likewise.
37335         (geteuid): Likewise.
37336         (getgid): Likewise.
37337         (getuid): Likewise.
37338         (getgroups): Likewise.
37340         [BZ #14138]
37341         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
37342         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
37343         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
37344         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
37345         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
37346         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
37347         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
37348         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
37349         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
37350         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
37351         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
37352         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
37353         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
37354         __chown.
37355         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
37356         (lchown): Likewise.
37357         (fchown): Likewise.
37358         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
37359         Likewise.
37360         (lchown): Likewise.
37361         (fchown): Likewise.
37362         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
37363         (lchown): Likewise.
37364         (fchown): Likewise.
37365         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
37366         Likewise.
37367         (lchown): Likewise.
37368         (fchown): Likewise.
37370 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37372         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
37373         Simplify logic.
37375 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37377         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37378         Cleanup logic.
37380 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37382         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37383         Remove unused include.
37385 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37387         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
37388         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
37389         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
37390         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
37392 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
37393             Helge Deller <deller@gmx.de>
37395         [BZ #17508]
37396         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
37397         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
37398         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
37400 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
37402         [BZ #14132]
37403         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
37404         Remove macro definition.
37405         (__ashrdi3_v_glibc20): Likewise.
37406         (__lshrdi3_v_glibc20): Likewise.
37407         (__cmpdi2_v_glibc20): Likewise.
37408         (__ucmpdi2_v_glibc20): Likewise.
37409         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
37410         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37411         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37412         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37413         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37414         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
37416 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37418         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
37419         old GNU extension [0] syntax.
37420         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
37421         alloca rather than an array member with variable length.
37422         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
37423         * nscd/nscd.c (invalidate_db): New function, broken out of ...
37424         (parse_opt): ... here.  Likewise use alloca there.
37425         Validate the -i argument before checking for rootness.
37426         (send_shutdown): New function, broken out of ...
37427         (parse_opt): ... here.
37429 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37431         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
37432         macro to get at the _rt_local_ro field.
37433         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
37434         ([PIC] case) or _dl_hwcap ([!PIC] case).
37435         * sysdeps/arm/setjmp.S: Likewise.
37437         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
37438         * sysdeps/arm/configure.ac: New check to define it.
37439         * sysdeps/arm/configure: Regenerated.
37440         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
37441         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
37442         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
37443         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
37444         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
37445         Use move/movt pair instead of a load.
37446         (LDST_GLOBAL): Macro removed.
37447         (LDR_GLOBAL): New macro replaces it.
37448         (LDR_HIDDEN): New macro.
37449         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
37450         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
37452         * setjmp/tst-setjmp-static.c: New file.
37453         * setjmp/Makefile (tests): Add it.
37454         (tests-static): New variable.
37456 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
37458         [BZ #17485]
37459         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
37461 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
37463         [BZ #14132]
37464         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
37466 2014-10-21  Roland McGrath  <roland@hack.frob.com>
37468         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
37470 2014-10-20  Roland McGrath  <roland@hack.frob.com>
37472         * io/fts.c (dirent_not_directory): New function.
37473         (fts_build): Call it.
37475 2014-10-20  Roland McGrath  <roland@hack.frob.com>
37477         * nptl/version.c (__nptl_main): Use normal __write rather than
37478         INTERNAL_SYSCALL.
37479         (banner): Update copyright years.
37481         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
37482         gettimeofday.
37483         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
37484         * nptl/pthread_cond_timedwait.c: Likewise.
37485         * nptl/pthread_mutex_timedlock.c: Likewise.
37486         * nptl/sem_timedwait.c: Likewise.
37488         * sysdeps/nptl/bits/libc-lock.h
37489         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37490         (__libc_lock_init_recursive): Return void, not 0.
37491         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
37492         (__libc_rwlock_init): Likewise.
37493         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
37495 2014-10-20  Torvald Riegel  <triegel@redhat.com>
37497         [BZ #15215]
37498         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
37499         (__pthread_once_slow): ... here.
37500         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
37501         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
37503 2014-10-20  Torvald Riegel  <triegel@redhat.com>
37505         [BZ #15215]
37506         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
37507         __PTHREAD_ONCE_FORK_GEN_INCR): New.
37508         * sysdeps/nptl/fork.c (__libc_fork): Use them.
37509         * nptl/pthread_once.c (__pthread_once): Likewise.
37510         Update comments.
37512 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
37514         [BZ #14138]
37515         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
37516         name.
37517         (writev): Use __libc_writev as strong name.
37518         * sysdeps/unix/sysv/linux/readv.c: Remove file.
37519         * sysdeps/unix/sysv/linux/writev.c: Likewise.
37521 2014-10-17  Roland McGrath  <roland@hack.frob.com>
37523         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
37525         * sysdeps/i386/nptl/tls.h
37526         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
37527         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
37528         New macros.
37529         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
37530         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
37531         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
37532         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
37533         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
37534         Call CHECK_THREAD_SYSINFO instead of doing an assert.
37536         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37537         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
37538         on [__NR_futex].
37539         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
37540         broken out of ...
37541         (__pthread_mutex_init): ... here.  Call it.
37542         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
37543         Conditionalize PI cases on [__NR_futex].
37544         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
37545         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
37546         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
37548         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
37549         conditional on [SIGSETXID].
37550         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
37551         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
37552         is defined.  Likewise for SIGSETXID.
37553         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
37554         Conditionalize definitions on [SIGSETXID].
37555         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
37556         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
37557         unblocking on [SIGCANCEL].
37559         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
37560         [__NR_set_robust_list].
37562 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37564         * string/strcoll_l.c (get_next_seq): Fix up formatting.
37565         (do_compare): Likewise.
37567 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
37569         [BZ #15884]
37570         * string/strcoll_l.c: Don't include stdio.h.
37571         (coll_seq): Remove members idxarr and rulearr.
37572         (get_next_seq_cached): Remove function.
37573         (get_next_seq): Likewise.
37574         (get_next_seq_nocache): Rename to get_next_seq.
37575         (do_compare): Remove function.
37576         (do_compare_nocache): Rename to do_compare.
37577         (STRCOLL): Remove weight and rules cache.
37579 2014-10-16  Roland McGrath  <roland@hack.frob.com>
37581         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
37582         * sysdeps/arm/sfp-machine.h: ... to here.
37583         * sysdeps/arm/Implies: Remove arm/soft-fp.
37585 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
37587         * conform/data/sys/utsname.h-data (*_t): Allow.
37588         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
37589         [POSIX] (WEXITED): Do not expect constant.
37590         [POSIX] (WSTOPPED): Likewise.
37591         [POSIX] (WNOHANG): Likewise.
37592         [POSIX] (WNOWAIT): Likewise.
37593         [POSIX] (siginfo_t): Do not expect type or elements.
37594         [POSIX] (pid_t): Do not expect type.
37595         [POSIX] (signal.h): Do not allow header.
37596         [POSIX] (sys/resource.h): Likewise.
37597         [POSIX] (si_*): Do not allow pattern.
37598         [POSIX] (W*): Likewise.
37599         [POSIX] (P_*): Likewise.
37600         [POSIX] (BUS_*): Likewise.
37601         [POSIX] (CLD_*): Likewise.
37602         [POSIX] (FPE_*): Likewise.
37603         [POSIX] (ILL_*): Likewise.
37604         [POSIX] (POLL_*): Likewise.
37605         [POSIX] (SEGV_*): Likewise.
37606         [POSIX] (SI_*): Likewise.
37607         [POSIX] (TRAP_*): Likewise.
37608         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
37609         variable.
37611 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
37613         [BZ #12926]
37614         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
37615         infinite loop when __recvmsg returns 0.
37617 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
37619         * CANCEL-FCT-WAIVE: Remove file.
37620         * CANCEL-FILE-WAIVE: Likewise.
37622         [BZ #14132]
37623         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
37624         instead of INTVARDEF.
37625         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
37626         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
37627         rtld_hidden_data_def instead of INTVARDEF.
37628         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
37629         * elf/dl-deps.c (expand_dst): Likewise.
37630         * elf/dl-load.c (_dl_dst_count): Likewise.
37631         (_dl_dst_substitute): Likewise.
37632         (decompose_rpath): Likewise.
37633         (_dl_init_paths): Likewise.
37634         (open_path): Likewise.
37635         (_dl_map_object): Likewise.
37636         * elf/rtld.c (dl_main): Likewise.
37637         (process_dl_audit): Likewise.
37638         (process_envvars): Likewise.
37639         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
37640         Remove declaration.
37641         (__libc_enable_secure): Use rtld_hidden_proto.
37643 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37645         * elf/dl-load.c
37646         (add_path): New function broken out of _dl_rtld_di_serinfo.
37647         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
37649 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
37651         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
37652         parentheses around macro arguments.
37653         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
37654         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
37655         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
37656         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
37657         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
37658         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
37659         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
37660         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
37661         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
37662         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
37663         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
37664         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
37665         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
37666         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
37667         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
37668         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
37669         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
37670         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
37671         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
37672         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
37673         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
37674         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
37675         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
37676         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
37677         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
37678         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
37679         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
37680         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
37681         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
37682         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
37683         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
37684         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
37685         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
37686         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
37687         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
37688         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
37689         Likewise.
37690         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
37691         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
37692         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
37693         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
37694         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
37695         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
37696         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
37697         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
37698         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
37699         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
37700         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
37701         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
37702         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
37703         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
37704         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
37705         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
37706         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
37707         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
37708         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
37709         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
37710         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
37711         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
37712         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
37713         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
37714         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
37715         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
37716         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
37717         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
37718         (_FP_FRAC_SRS_1): Likewise.
37719         (_FP_FRAC_CLZ_1): Likewise.
37720         (_FP_MUL_MEAT_1_imm): Likewise.
37721         (_FP_MUL_MEAT_1_wide): Likewise.
37722         (_FP_MUL_MEAT_1_hard): Likewise.
37723         (_FP_SQRT_MEAT_1): Likewise.
37724         (_FP_FRAC_ASSEMBLE_1): Likewise.
37725         (_FP_FRAC_DISASSEMBLE_1): Likewise.
37726         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
37727         (__FP_CLZ_2): Likewise.
37728         (_FP_MUL_MEAT_2_wide): Likewise.
37729         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37730         (_FP_MUL_MEAT_2_gmp): Likewise.
37731         (_FP_MUL_MEAT_2_120_240_double): Likewise.
37732         (_FP_SQRT_MEAT_2): Likewise.
37733         (_FP_FRAC_ASSEMBLE_2): Likewise.
37734         (_FP_FRAC_DISASSEMBLE_2): Likewise.
37735         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
37736         (_FP_FRAC_CLZ_4): Likewise.
37737         (_FP_MUL_MEAT_4_wide): Likewise.
37738         (_FP_MUL_MEAT_4_gmp): Likewise.
37739         (_FP_SQRT_MEAT_4): Likewise.
37740         (_FP_FRAC_ASSEMBLE_4): Likewise.
37741         (_FP_FRAC_DISASSEMBLE_4): Likewise.
37742         * soft-fp/op-common.h (_FP_CMP): Likewise.
37743         (_FP_CMP_EQ): Likewise.
37744         (_FP_CMP_UNORD): Likewise.
37745         (_FP_TO_INT): Likewise.
37746         (_FP_FROM_INT): Likewise.
37747         [!__FP_CLZ] (__FP_CLZ): Likewise.
37748         (_FP_DIV_HELP_imm): Likewise.
37749         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
37750         Likewise.
37751         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
37752         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
37753         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
37754         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
37755         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
37756         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37757         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37758         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
37759         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
37760         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
37761         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
37762         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
37763         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
37764         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
37765         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
37766         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
37767         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
37768         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
37769         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
37770         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
37771         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
37772         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
37773         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
37774         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37775         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37776         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
37777         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
37778         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
37779         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
37780         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
37781         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
37782         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
37783         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
37784         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
37785         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
37786         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
37787         (FP_UNPACK_RAW_SP): Likewise.
37788         (FP_PACK_RAW_S): Likewise.
37789         (FP_PACK_RAW_SP): Likewise.
37790         (FP_UNPACK_S): Likewise.
37791         (FP_UNPACK_SP): Likewise.
37792         (FP_UNPACK_SEMIRAW_S): Likewise.
37793         (FP_UNPACK_SEMIRAW_SP): Likewise.
37794         (FP_PACK_S): Likewise.
37795         (FP_PACK_SP): Likewise.
37796         (FP_PACK_SEMIRAW_S): Likewise.
37797         (FP_PACK_SEMIRAW_SP): Likewise.
37798         (_FP_SQRT_MEAT_S): Likewise.
37799         (FP_CMP_S): Likewise.
37800         (FP_CMP_EQ_S): Likewise.
37801         (FP_CMP_UNORD_S): Likewise.
37802         (FP_TO_INT_S): Likewise.
37803         (FP_FROM_INT_S): Likewise.
37805         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
37807         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
37808         (FP_EX_INVALID_IMZ): Likewise.
37809         (FP_EX_INVALID_IMZ_FMA): Likewise.
37810         (FP_EX_INVALID_ISI): Likewise.
37811         (FP_EX_INVALID_ZDZ): Likewise.
37812         (FP_EX_INVALID_IDI): Likewise.
37813         (FP_EX_INVALID_SQRT): Likewise.
37814         (FP_EX_INVALID_CVI): Likewise.
37815         (FP_EX_INVALID_VC): Likewise.
37816         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
37817         "invalid" exceptions.
37818         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
37819         (_FP_ADD_INTERNAL): Likewise.
37820         (_FP_MUL): Likewise.
37821         (_FP_FMA): Likewise.
37822         (_FP_DIV): Likewise.
37823         (_FP_CMP_CHECK_NAN): Likewise.
37824         (_FP_SQRT): Likewise.
37825         (_FP_TO_INT): Likewise.
37826         (FP_EXTEND): Likewise.
37828 2014-10-09  Allan McRae  <allan@archlinux.org>
37830         * po/fr.po: Update French translation from translation project.
37832 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
37834         [BZ #14132]
37835         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
37836         of INTDEF.
37837         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
37838         (__cxa_atexit): Use libc_hidden_proto.
37839         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
37841         [BZ #14132]
37842         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
37843         declaration.
37844         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
37845         [!_ISOMAC] (__iswspace_l_internal): Likewise.
37846         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
37847         [!_ISOMAC] (__iswctype_internal): Likewise.
37848         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
37849         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
37850         alias.
37851         (fcntl): Remove __fcntl_internal alias.
37852         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
37853         __connect_internal alias.
37854         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
37855         Likewise.
37857         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
37858         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
37859         FP_DENORM_ZERO.
37860         (_FP_CHECK_FLUSH_ZERO): New macro.
37861         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
37862         (_FP_CMP): Likewise.
37863         (_FP_CMP_EQ): Likewise.
37864         (_FP_TO_INT): Do not set inexact for subnormal arguments if
37865         FP_DENORM_ZERO.
37866         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
37867         (FP_TRUNC): Likewise.
37869         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
37870         treated as invalid conversion, not as normal exponent.
37872         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
37873         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
37874         (_FP_CMP_EQ): Likewise.
37875         (_FP_CMP_UNORD): Likewise.
37876         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
37877         (FP_CMP_EQ_D): Likewise.
37878         (FP_CMP_UNORD_D): Likewise.
37879         * soft-fp/extended.h (FP_CMP_E): Likewise.
37880         (FP_CMP_EQ_E): Likewise.
37881         (FP_CMP_UNORD_E): Likewise.
37882         * soft-fp/quad.h (FP_CMP_Q): Likewise.
37883         (FP_CMP_EQ_Q): Likewise.
37884         (FP_CMP_UNORD_Q): Likewise.
37885         * soft-fp/single.h (FP_CMP_S): Likewise.
37886         (FP_CMP_EQ_S): Likewise.
37887         (FP_CMP_UNORD_S): Likewise.
37888         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
37889         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
37890         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
37891         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
37892         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
37893         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
37894         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
37895         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
37896         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
37897         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
37898         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
37899         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
37900         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
37901         to FP_CMP_Q.
37902         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
37903         FP_CMP_Q.
37904         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
37905         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
37906         FP_CMP_EQ_Q.
37907         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
37908         FP_CMP_Q.
37909         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
37910         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
37911         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
37912         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
37913         FP_CMP_EQ_Q.
37914         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
37915         FP_CMP_Q.
37916         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
37917         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
37918         FP_CMP_EQ_Q.
37919         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
37920         FP_CMP_Q.
37921         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
37922         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
37923         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
37924         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
37925         FP_CMP_EQ_Q.
37927         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
37928         a subnormal result, set the underflow exception if trapping on
37929         underflow is enabled.
37930         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
37931         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
37932         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
37933         redefine to 0.
37934         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
37935         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
37936         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
37937         * soft-fp/extendxftf2.c (__extendxftf2): Use
37938         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
37940         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
37941         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
37942         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37943         FP_HANDLE_EXCEPTIONS.
37944         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
37945         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37946         FP_HANDLE_EXCEPTIONS.
37947         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
37948         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37949         FP_HANDLE_EXCEPTIONS.
37950         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
37951         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
37952         FP_HANDLE_EXCEPTIONS.
37954 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
37956         [BZ #14132]
37957         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
37958         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
37959         use INTUSE.
37960         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
37961         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
37962         Remove alias.
37963         (__adjtimex): Define using libc_hidden_ver.
37964         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
37965         Remove declaration.
37966         (ntp_gettime): Call __adjtimex directly.
37967         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
37968         Remove declaration.
37969         (ntp_gettimex): Call __adjtimex directly.
37970         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
37971         __adjtimex_internal alias.
37973 2014-10-08  Roland McGrath  <roland@hack.frob.com>
37975         [BZ #17460]
37976         * nscd/nscd.c (more_help): Rewrite list of tables collection
37977         using xstrdup and asprintf.
37979         * nscd/nscd_conf.c: Remove local xstrdup declaration.
37981 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37982             Roland McGrath  <roland@hack.frob.com>
37984         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
37985         (do_lookup_unique): ... local function 'enter' here; update callers.
37987 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
37989         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
37990         compat_symbol calls on [SHARED].
37991         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
37992         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
37993         Remove.
37994         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37995         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
37996         (oldsetrlimit): Remove.
37997         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
37998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
37999         (lchown): New syscall entry.
38000         (oldsetrlimit): Remove.
38001         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38002         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
38003         (oldsetrlimit): Remove.
38004         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38006         [BZ #14138]
38007         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
38008         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
38009         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
38010         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
38011         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38012         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
38013         (fchown): Likewise.
38014         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
38015         (fchown): Likewise.
38016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
38017         Likewise.
38019 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38021         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
38022         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
38023         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
38024         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
38025         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
38026         Likewise.
38027         (__old_sem_post): Likewise.
38029 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
38031         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
38032         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
38033         HAVE_CLOCK_GETTIME_VSYSCALL macros.
38034         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
38035         Use INLINE_VSYSCALL macro.
38036         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
38037         __vdso_clock_gettime.
38038         * sysdeps/unix/sysv/linux/tile/init-first.c
38039         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
38040         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
38041         __vdso_clock_gettime.
38043         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
38044         to set up frame more cleanly.
38046         * sysdeps/tile/memcmp.c: New file.
38048         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
38050         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
38051         * sysdeps/tile/tilegx/strcasestr.c: New file.
38052         * sysdeps/tile/tilegx/strnlen.c: New file.
38053         * sysdeps/tile/tilegx/strstr.c: New file.
38055         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
38057 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
38059         * nptl/tst-setuid3.c: Write errors to stdout.
38061 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38063         * elf/dl-deps.c
38064         (preload): New functions broken out of _dl_map_object_deps.
38065         (_dl_map_object_deps):  Remove a nested function. Update call sites.
38067 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
38069         [BZ #14138]
38070         * sysdeps/unix/sysv/linux/execve.c: Remove file.
38071         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
38073 2014-10-01  Steve Ellcey  <sellcey@mips.com>
38075         * sysdeps/mips/strcmp.S: New.
38077 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
38079         [BZ #14138]
38080         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
38081         (linkat): Likewise.
38082         (mkdirat): Likewise.
38083         (readlinkat): Likewise.
38084         (renameat): Likewise.
38085         (symlinkat): Likewise.
38086         (unlinkat): Likewise.
38087         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
38088         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
38089         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
38090         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
38091         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
38092         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
38093         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
38095 2014-09-30  Will Newton  <will.newton@linaro.org>
38097         * math/math.h: Define long double math functions if
38098         _LIBC_TEST is defined.
38099         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
38101         * localedata/Makefile: Move assignment to tests-special
38102         into an ifdef testing run-built-tests.
38103         * timezone/Makefile: Likewise.
38105 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
38107         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
38108         with $(BASH) not $(SHELL).
38110 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
38111             Matthew LeGendre  <legendre1@llnl.gov>
38113         [BZ #17411]
38114         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
38115         l_reloc_result.
38117 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38119         * stdio-common/printf_fp.c
38120         (hack_digit): New function, broken out of ...
38121         (__printf_fp): ... local function here.  Update call sites.
38122         hack_digit now takes an additional parameter that is a pointer
38123         to a struct of the referenced locals.  Those locals moved inside
38124         the struct and references updated.
38126 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
38128         * aclocal.m4: Require autoconf 2.69.
38129         * configure: Regenerated.
38130         * sysdeps/aarch64/configure: Likewise.
38131         * sysdeps/alpha/configure: Likewise.
38132         * sysdeps/arm/armv7/configure: Likewise.
38133         * sysdeps/arm/configure: Likewise.
38134         * sysdeps/ia64/configure: Likewise.
38135         * sysdeps/mach/configure: Likewise.
38136         * sysdeps/mips/configure: Likewise.
38137         * sysdeps/s390/configure: Likewise.
38138         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
38139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
38141         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
38142         file.
38143         * sysdeps/ia64/configure.ac: Likewise.
38145 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
38147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
38148         specify symbol version for ld.so.  Do not include entry for
38149         libpthread.
38150         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38151         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38152         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38154         [BZ #14171]
38155         * Makeconfig [$(build-shared) = yes]
38156         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
38157         makefiles.
38158         [$(build-shared) = yes && $(soversions.mk-done) = t]
38159         ($(common-objpfx)gnu/lib-names.h): Remove rule.
38160         [$(build-shared) = yes && $(soversions.mk-done) = t]
38161         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
38162         to Makerules.
38163         [$(build-shared) = yes && $(soversions.mk-done) = t]
38164         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
38165         here.
38166         [$(build-shared) = yes && $(soversions.mk-done) = t]
38167         (common-generated): Don't append gnu/lib-names.h and
38168         gnu/lib-names.stmp here.
38169         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
38170         (lib-names-h-abi): New variable.
38171         [$(build-shared) = yes && $(soversions.mk-done) = t]
38172         (lib-names-stmp-abi): Likewise.
38173         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38174         abi-variants] (before-compile): Append
38175         $(common-objpfx)$(lib-names-h-abi).
38176         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38177         abi-variants] (common-generated): Append gnu/lib-names.h.
38178         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38179         abi-variants] (install-others-nosubdir): Depend on
38180         $(inst_includedir)/$(lib-names-h-abi).
38181         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38182         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
38183         [$(build-shared) = yes && $(soversions.mk-done) = t]
38184         ($(common-objpfx)$(lib-names-h-abi)): New rule.
38185         [$(build-shared) = yes && $(soversions.mk-done) = t]
38186         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
38187         [$(build-shared) = yes && $(soversions.mk-done) = t]
38188         (common-generated): Append $(lib-names-h-abi) and
38189         $(lib-names-stmp-abi).
38190         * scripts/lib-names.awk: Do not handle multi being set.
38191         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
38192         Remove variable.
38193         (abi-lp64_be-ld-soname): Likewise.
38194         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
38195         Likewise.
38196         (abi-hard-ld-soname): Likewise.
38197         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
38198         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
38199         Remove variable.
38200         (abi-o32_hard-ld-soname): Likewise.
38201         (abi-o32_soft_2008-ld-soname): Likewise.
38202         (abi-o32_hard_2008-ld-soname): Likewise.
38203         (abi-n32_soft-ld-soname): Likewise.
38204         (abi-n32_hard-ld-soname): Likewise.
38205         (abi-n32_soft_2008-ld-soname): Likewise.
38206         (abi-n32_hard_2008-ld-soname): Likewise.
38207         (abi-n64_soft-ld-soname): Likewise.
38208         (abi-n64_hard-ld-soname): Likewise.
38209         (abi-n64_soft_2008-ld-soname): Likewise.
38210         (abi-n64_hard_2008-ld-soname): Likewise.
38211         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
38212         Likewise.
38213         (abi-64-v2-ld-soname): Likewise.
38214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
38215         ld.so entries.
38216         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
38217         variable.
38218         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
38219         entry.
38220         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
38221         variable.
38222         (abi-64-ld-soname): Likewise.
38223         (abi-x32-ld-soname): Likewise.
38224         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
38225         entry.
38226         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38228 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
38230         [BZ #14138]
38231         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
38232         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
38233         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
38234         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
38235         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
38236         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
38237         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
38238         syscall entry for GLIBC_2.2 symbol version.
38239         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
38240         Likewise.
38241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38242         (setrlimit): Likewise.
38243         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
38244         Likewise.
38246 2014-09-23  Will Newton  <will.newton@linaro.org>
38248         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
38249         _LINUX_ARM_SYSDEP_H include guard too.
38250         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
38251         define.
38253 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38255         * sysdeps/unix/sysv/linux/eventfd.c:
38256         Make first argument unsigned.
38257         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
38258         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
38260 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
38262         [BZ #16852]
38263         * socket/recvmmsg.c (recvmmsg): Drop const argument.
38264         * socket/sys/socket.h: Likewise.
38265         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
38267 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38269         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
38271 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
38273         * time/tst-ftime.c: New test.
38274         * time/Makefile (tests): Add tst-ftime.
38276 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
38278         * soft-fp/extended.h: Fix comment formatting.
38279         * soft-fp/op-1.h: Likewise.
38280         * soft-fp/op-2.h: Likewise.
38281         * soft-fp/op-4.h: Likewise.
38282         * soft-fp/op-8.h: Likewise.
38283         * soft-fp/op-common.h: Likewise.
38284         * soft-fp/soft-fp.h: Likewise.
38286         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
38288 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
38290         [BZ #6652]
38291         * Makeconfig (soversions-default-setname): Remove variable.
38292         ($(common-objpfx)soversions.i): Don't pass default_setname to
38293         soversions.awk.
38294         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
38295         oldest_abi to abi-versions.awk.
38296         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
38297         * config.make.in (oldest-abi): Remove variable.
38298         * configure.ac (--enable-oldest-abi): Remove configure option.
38299         * configure: Regenerated.
38300         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
38301         text.
38302         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
38303         * scripts/soversions.awk: Do not handle default_setname variable.
38304         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
38305         variable.
38306         * sysdeps/mach/hurd/configure: Regenerated.
38307         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
38308         variable.
38309         * sysdeps/unix/sysv/linux/configure: Regenerated.
38311 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38313         * elf/Makefile (CFLAGS-interp.c): Remove.
38314         ($(elf-objpfx)runtime-linker.h): Generate header with linker
38315         path string.
38316         * elf/interp.c: Include generated runtime-linker.h
38318         * Makerules (lib%.so): Don't include $(+interp) in
38319         prerequisites.
38320         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
38321         * dlfcn/eval.c: Remove file.
38323         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
38324         macros.
38326         [BZ #17266]
38327         * misc/sys/cdefs.h: Define __extern_always_inline for clang
38328         4.2 and newer.
38330         [BZ #17370]
38331         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
38333 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38334             Jakub Jelinek  <jakub@redhat.com>
38336         [BZ #17266]
38337         * libio/stdio.h: Check definition of __fortify_function
38338         instead of __extern_always_inline to include bits/stdio2.h.
38339         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
38340         check if __extern_always_inline is defined.
38341         [__USE_MISC || __USE_XOPEN]: Likewise.
38342         [__USE_ISOC99] Likewise.
38343         * misc/sys/cdefs.h (__fortify_function): Define only if
38344         __extern_always_inline is defined.
38345         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
38346         __extern_always_inline and __extern_inline only for g++-4.3
38347         and newer or a compatible gcc.
38349 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
38351         [BZ #17371]
38352         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38353         last change to handle zero prefix length.
38355 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38357         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
38358         _SC_REGEX_VERSION.
38360         * posix/getconf.c (vars): Add _POSIX_IPV6 and
38361         _POSIX_RAW_SOCKETS.
38363 2014-09-13  Allan McRae  <allan@archlinux.org>
38365         * po/ru.po: Update Russian translation from translation project.
38367 2014-09-12  Roland McGrath  <roland@hack.frob.com>
38369         * locale/programs/locale.c (show_locale_vars): Inline local function
38370         into its sole call site.  Clean up some style nits.
38371         (print_item): New function, broken out of ...
38372         (show_info): ... local function here.  Clean up style nits.
38374         * locale/programs/ld-ctype.c (set_one_default): New function, broken
38375         out of ...
38376         (set_class_defaults): ... local function set_default here.
38377         Define set_default as a macro locally to pass constant parameters.
38378         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
38379         rather than a shared local.
38381         * stdlib/rpmatch.c (try): New function, broken out of ...
38382         (rpmatch): ... local function here.  Also, prototypify definition.
38384 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
38386         * scripts/soversions.awk: Do not handle configuration names.
38387         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
38388         vendor and os variables to soversions.awk.
38389         * configure.ac: Do not modify gnu-* host_os.
38390         * configure: Regenerated
38391         * shlib-versions: Remove first column with configuration names.
38392         * nptl/shlib-versions: Likewise.
38393         * nptl_db/shlib-versions: Likewise.
38394         * sysdeps/hppa/shlib-versions: Likewise.
38395         * sysdeps/m68k/shlib-versions: Likewise.
38396         * sysdeps/mach/hurd/shlib-versions: Likewise.
38397         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
38398         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
38399         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
38400         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
38401         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
38402         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
38403         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
38404         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
38405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38406         Likewise.
38407         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38408         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38409         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38410         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38411         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38412         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
38413         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38414         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38417         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
38418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
38419         Regenerated.
38420         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
38421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38422         Condition symbol version definitions on [HAVE_ELFV2_ABI].
38424         * shlib-versions: Remove OS-specific entries.  Moved to files in
38425         sysdeps.
38426         * sysdeps/mach/hurd/shlib-versions: New file.
38427         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38429         * nptl/shlib-versions: Remove architecture-specific entries.
38430         Moved to files in sysdeps.
38431         * shlib-versions: Likewise.
38432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
38433         file.
38434         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38435         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38436         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38437         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38439         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
38440         (UDP_NO_CHECK6_RX): Likewise.
38442 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38444         * sysdeps/posix/sysconf.c (__sysconf): Spell
38445         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
38447 2014-08-12  Florian Weimer  <fweimer@redhat.com>
38449         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
38450         loading.
38451         * iconv/Versions (__gconv_transliterate): Export for use from
38452         gconv modules.
38453         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
38454         (struct __gconv_trans_data, __gconv_trans_fct,
38455         __gconv_trans_context_fct, __gconv_trans_query_fct,
38456         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
38457         definitions.
38458         (struct __gconv_step_data): Remove __trans member.
38459         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
38460         longer hidden.  Remove unused trans_data argument.
38461         * iconv/gconv_int.h (struct trans_struct): Remove definition.
38462         (__gconv_translit_find): Remove declaration.
38463         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
38464         prototype.
38465         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
38466         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
38467         trans_data argument.  Add hidden definition.
38468         (__gconv_translit_find): Remove.
38469         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
38470         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
38471         * iconv/skeleton.c: Remove transliteration initialization.
38472         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
38473         __gconv_step_data initialization.
38474         * libio/iofwide.c (__libio_translit_): Remove.
38475         (_IO_fwide): Adjust struct __gconv_step_data initialization.
38476         * wcsmbs/btowc.c (__btowc): Likewise.
38477         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38478         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38479         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
38480         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
38481         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
38482         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
38483         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
38484         * wcsmbs/wctob.c (wctob): Likewise.
38486 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38488         [BZ #16194]
38489         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
38490         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
38491         register usage.
38492         * sysdeps/x86/Makefile: Adjust.
38494 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38495             Roland McGrath  <roland@hack.frob.com>
38497         * locale/weight.h: Add include guard.
38498         (findidx): Make static rather than auto; take new parameters
38499         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
38500         * locale/weightwc.h: Likewise.
38501         * posix/fnmatch_loop.c
38502         (FCT): Change type of EXTRA from int32_t to wint_t.
38503         Don't include either header inside the function.
38504         Call FINDIDX rather than findidx, and pass new arguments.
38505         #undef FINDIDX at the end of the file.
38506         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
38507         FINDIDX before including fnmatch_loop.c for the non-wide version.
38508         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
38509         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
38510         for the wide version.
38511         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
38512         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
38513         Pass new arguments to findidx.
38514         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
38515         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
38516         Don't #include it inside the function.  Pass new arguments to findidx.
38517         * posix/regex_internal.h
38518         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
38519         (re_string_elem_size_at): Don't #include it inside the function.
38520         Pass new arguments to findidx.
38521         * string/strcoll_l.c: #include WEIGHT_H at top level.
38522         (get_next_seq): Don't #include it inside the function.
38523         Pass new arguments to findidx.
38524         (get_next_seq_nocache): Likewise.
38525         * string/strxfrm_l.c: #include WEIGHT_H at top level.
38526         (STRXFRM): Don't #include it inside the function.
38527         Pass new arguments to findidx.
38529 2014-09-11  Florian Weimer  <fweimer@redhat.com>
38531         [BZ #17344]
38532         * malloc/malloc.c (unlink): Turn asserts into a call to
38533         malloc_printerr.
38535 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
38537         [BZ #17370]
38538         * libio/wfileops (do_ftell_wide): Free OUT.
38540 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
38542         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
38544 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38546         [BZ #17363]
38547         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
38548         group if the current group is empty.
38550 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38552         * benchtests/bench-memset.c (test_main): Add more test from size
38553         from 32 to 512 bytes.
38554         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38555         Add POWER8 memset object.
38556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38557         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
38558         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
38559         implementation.
38560         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
38561         Likewise.
38562         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
38563         multiarch POWER8 memset optimization.
38564         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
38565         POWER8 memset optimization.
38567         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38568         Remove bzero multiarch objects.
38569         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
38570         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
38571         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
38572         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
38573         Remove define.
38574         [__bzero]: Redefine to specific name.
38575         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
38576         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
38577         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
38578         define.
38579         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38580         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
38582 2014-09-10  Florian Weimer  <fweimer@redhat.com>
38584         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
38585         warnings into errors.
38587         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
38588         __cxa_thread_atexit_impl prototype.
38590 2014-09-09  Steve Ellcey  <sellcey@mips.com>
38592         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
38593         Fix capitalization of error message.
38595 2014-09-09  Steve Ellcey  <sellcey@mips.com>
38597         * sysdeps/mips/preconfigure: Modify ABI tests.
38599 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
38601         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
38603 2014-09-07  Roland McGrath  <roland@hack.frob.com>
38604             Carlos O'Donell  <carlos@systemhalted.org>
38606         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
38607         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
38608         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
38609         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
38610         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
38611         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
38612         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
38613         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
38614         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
38615         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
38616         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
38617         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
38618         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
38619         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
38620         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
38621         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
38622         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
38623         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
38624         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
38625         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
38626         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
38627         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
38628         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
38629         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
38630         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
38631         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
38632         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
38633         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
38634         Deconditionalize the code that was previously under [RESET_PID].
38635         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
38636         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
38637         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
38638         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
38639         include sysdep.h.
38641 2014-09-08  Allan McRae  <allan@archlinux.org>
38643         * version.h (RELEASE): Set to "development".
38644         (VERSION): Set to "2.20.90"
38646 2014-09-07  Allan McRae  <allan@archlinux.org
38648         * version.h (RELEASE): Set to "stable".
38649         (VERSION): Set to "2.20"
38650         * include/features.h (__GLIBC_MINOR__): Set to 20.
38652         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
38653         Liebler.
38655         * po/ko.po: Update Korean translation from translation project.
38657 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
38659         [BZ #17354]
38660         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
38661         macro for handling signed relocations.
38663 2014-09-03  Florian Weimer  <fweimer@redhat.com>
38665         [BZ #17325]
38666         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
38667         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
38668         assert.
38669         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
38670         * iconvdata/ibm935.c (BODY): Likewise.
38671         * iconvdata/ibm937.c (BODY): Likewise.
38672         * iconvdata/ibm939.c (BODY): Likewise.
38673         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
38674         assert.
38675         * iconvdata/Makefile (iconv-test.out): Pass module list to test
38676         script.
38677         * iconvdata/run-iconv-test.sh: New test loop for checking for
38678         decoder crashers.
38680 2014-09-02  Khem Raj  <raj.khem@gmail.com>
38682         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
38683         libm_hidden_ver.
38685 2014-09-01  Allan McRae  <allan@archlinux.org>
38687         * po/eo.po: Update Esperanto translation from translation project.
38689         * po/ca.po: Update Catalan translation from translation project.
38691 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38693         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
38694         __proc_dostop call.
38696 2014-08-27  Mark Wielaard  <mjw@redhat.com>
38698         [BZ #17319]
38699         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
38700         to call set_thread_area instead of hand written asm.
38701         (__NR_set_thread_area): Removed define.
38702         (TLS_FLAG_WRITABLE): Likewise.
38703         (__ASSUME_SET_THREAD_AREA): Remove check.
38704         (TLS_EBX_ARG): Remove define.
38705         (TLS_LOAD_EBX): Likewise.
38707 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38709         Simplify atomicity of socket creation in bind.
38711         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
38712         looking up the name after linking the file.
38714 2014-08-27  Allan McRae  <allan@archlinux.org>
38716         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38718 2014-08-26  Florian Weimer  <fweimer@redhat.com>
38720         [BZ #17187]
38721         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
38722         trans_compare, open_translit, __gconv_translit_find):
38723         Remove module loading code.
38725 2014-08-26  Allan McRae  <allan@archlinux.org>
38727         * po/vi.po: Update Vietnamese translation from translation project.
38729         * po/uk.po: Update Ukrainian translation from translation project.
38731         * po/fr.po: Update French translation from translation project.
38733         * po/ru.po: Update Russian translation from translation project.
38735         * po/pl.po: Update Polish translation from translation project.
38737         * po/cs.po: Update Czech translation from translation project.
38739         * po/de.po: Update German translation from translation project.
38741         * po/bg.po: Update Bulgarian translation from translation project.
38743         * po/sv.po: Update Sweedish translation from translation project.
38745         * po/nl.po: Update Dutch translation from translation project.
38747         * po/es.po: Update Spanish translation from translation project.
38749 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38751         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
38753         * catgets/Makefile (CPPFLAGS-gencat): Remove.
38754         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
38755         (CPPFLAGS-iconvconfig): Likewise.
38756         * timezone/Makefile (CPPFLAGS-zic): Likewise.
38758         * include/libc-symbols.h: Remove unnecessary check for
38759         NOT_IN_libc.
38760         * nptl/pthreadP.h: Likewise.
38761         * sysdeps/aarch64/setjmp.S: Likewise.
38762         * sysdeps/alpha/setjmp.S: Likewise.
38763         * sysdeps/arm/sysdep.h: Likewise.
38764         * sysdeps/i386/setjmp.S: Likewise.
38765         * sysdeps/m68k/setjmp.c: Likewise.
38766         * sysdeps/posix/getcwd.c: Likewise.
38767         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38768         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
38769         * sysdeps/s390/s390-32/setjmp.S: Likewise.
38770         * sysdeps/s390/s390-64/setjmp.S: Likewise.
38771         * sysdeps/sh/sh3/setjmp.S: Likewise.
38772         * sysdeps/sh/sh4/setjmp.S: Likewise.
38773         * sysdeps/unix/alpha/sysdep.h: Likewise.
38774         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38775         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38776         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
38777         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38780         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38781         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38782         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38783         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38784         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38785         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38786         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38787         * sysdeps/x86_64/setjmp.S: Likewise.
38789 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
38791         [BZ #17263]
38792         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
38793         <stdint.h>.
38794         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
38795         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
38797 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38799         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
38801         [BZ #17262]
38802         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
38803         and __x86_64__ when disabling x87 inline functions.
38805 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38807         [BZ #17259]
38808         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
38809         asm statement with __cpuid_count.
38811 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
38813         * configure.ac: Change __ehdr_start code to dereference the struct.
38814         Run readelf on the output to look for relocations.
38815         * configure: Regenerated.
38817 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
38819         [BZ #17261]
38820         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
38821         value to 0.
38822         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
38824 2014-08-12  Roland McGrath  <roland@hack.frob.com>
38826         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
38828 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
38830         [BZ #16892]
38831         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
38832         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
38834 2014-08-12  Sean Anderson  <seanga2@gmail.com>
38836         * malloc/malloc.c: Fix typo in comment.
38838 2014-08-09  Allan McRae  <allan@archlinux.org>
38840         * Regenerate libc.po.
38842 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
38844         * intl/tst-gettext2.sh: Check every lang file for creation.
38846 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
38848         * sysdeps/aarch64/fpu/math_private.h
38849         (libc_feholdsetround_noex_aarch64_ctx): New function.
38851 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
38853         * sysdeps/arm/armv6/strcpy.S (strcpy):
38854         Fix performance issue in misaligned cases.
38856 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38858         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
38859         Move definition from termios.h.
38860         (struct termio): Likewise.
38861         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38862         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
38863         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
38864         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
38865         Likewise.
38866         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
38867         Move definition to ioctl-types.h
38868         (struct termio): Likewise.
38869         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38870         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
38871         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
38872         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
38873         Likewise.
38875 2014-08-05  Richard Henderson  <rth@redhat.com>
38877         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
38878         exceptions.
38879         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
38880         Add fraiseexcpt.
38881         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
38882         Use __feraiseexcept.
38883         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
38884         Protect libm symbols with IS_IN_libm.
38886         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
38888 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
38890         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
38892 2014-08-04  Will Newton  <will.newton@linaro.org>
38894         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
38895         file.
38897 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
38899         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
38900         variants for each function.
38902 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38904         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
38905         appended ...
38906         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
38907         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
38908         appended ...
38909         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
38910         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
38911         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
38912         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
38913         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
38914         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
38915         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
38916         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
38917         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
38918         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
38919         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
38920         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
38921         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
38922         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
38923         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
38924         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
38925         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
38926         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
38927         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
38928         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
38929         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
38930         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
38931         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
38932         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
38933         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
38934         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
38935         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
38936         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
38937         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
38938         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
38939         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
38940         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
38941         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
38942         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
38943         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
38944         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
38945         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
38946         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
38947         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
38948         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
38949         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
38950         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
38951         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
38952         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
38953         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
38954         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
38955         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
38956         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
38957         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
38958         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
38959         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
38960         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
38961         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
38962         Update #include.
38963         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
38964         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
38966 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38968         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
38969         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
38970         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
38971         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
38972         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
38973         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
38975 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38977         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
38978         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
38979         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
38980         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
38982 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38984         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
38985         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
38986         (__libc_vfork): Define function under this name.
38987         (__vfork): Define as an alias.
38988         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
38989         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
38991 2014-08-04  Roland McGrath  <roland@hack.frob.com>
38993         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
38994         that was previously under [RESET_PID].
38995         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
38997 2014-08-04  Andreas Schwab  <schwab@suse.de>
38999         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
39001 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
39003         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
39004         (main): Likewise.
39006 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39008         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
39010 2014-08-01  Richard Henderon  <rth@redhat.com>
39012         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
39013         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
39014         typo in exact zero test.
39015         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39016         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39017         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39019 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39021         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
39022         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
39023         * sysdeps/arm/sysdep.h: ... here.
39024         [!__ASSEMBLER__]: Include <stdint.h>.
39026 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39028         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
39029         (HAVE_WCTYPE_H): Likewise.
39030         (HAVE_ISWCTYPE): Likewise.
39031         (ENABLE_NLS): Likewise.
39032         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
39033         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
39035         * posix/regex_internal.c: Check if DEBUG is defined and is
39036         set.
39038         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
39039         (HAVE_MBSRTOWCS): Likewise.
39040         * posix/fnmatch.c: Include string.h unconditionally.
39042 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
39044         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
39045         reversal.
39047 2014-07-31  Roland McGrath  <roland@hack.frob.com>
39049         * sysdeps/generic/safe-fatal.h: New file.
39050         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
39051         * nptl/forward.c: Include it.
39052         (__pthread_unwind): Use __safe_fatal as default action, rather
39053         than a bogus use of INTERNAL_SYSCALL that could never work.
39055         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
39056         * configure.ac (libc_cv_builtin_trap): New test.
39057         * configure: Regenerated.
39058         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
39059         (ABORT_INSTRUCTION): Define using __builtin_trap.
39061         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
39062         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
39063         * sysdeps/nptl/nptl-signals.h: New file.
39064         * nptl/pthreadP.h: Include <nptl-signals.h>.
39066 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39068         * sysdeps/s390/s390-64/utf16-utf32-z9.c
39069         (ONE_DIRECTION): Define.
39070         * sysdeps/s390/s390-64/utf8-utf16-z9.c
39071         (ONE_DIRECTION): Define.
39072         * sysdeps/s390/s390-64/utf8-utf32-z9.c
39073         (ONE_DIRECTION): Define.
39075 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39077         * sysdeps/s390/Makefile: Delete file.
39078         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
39079         * sysdeps/s390/__longjmp.c: Delete file.
39080         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
39081         Remove fields __flags and __reserved.
39082         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
39083         and add versioning.
39084         * sysdeps/s390/rtld-__longjmp.c: Delete file.
39085         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
39086         * sysdeps/s390/rtld-setjmp.S: Likewise.
39087         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
39088         * sysdeps/s390/s390-32/__longjmp.c: ... here.
39089         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
39090         * sysdeps/s390/s390-32/setjmp.S: ... here.
39091         Add versioning.
39092         (__sigsetjmp): Remove setting __flags field.
39093         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
39094         * sysdeps/s390/s390-64/__longjmp.c: ... here.
39095         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
39096         * sysdeps/s390/s390-64/setjmp.S: ... here.
39097         Add versioning.
39098         (__sigsetjmp): Remove setting __flags field.
39099         * sysdeps/s390/setjmp.S: Delete file.
39100         * sysdeps/s390/sigjmp.c: Likewise.
39101         * sysdeps/s390/v1-longjmp.c: Likewise.
39102         * sysdeps/s390/v1-setjmp.h: Likewise.
39103         * sysdeps/s390/v1-sigjmp.c: Likewise.
39104         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
39105         Remove v1-longjmp_chk.
39106         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
39107         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
39108         Include debug/longjmp_chk.c and add versioning.
39109         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
39110         Include nptl/pt-longjmp.c and add versioning.
39111         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
39112         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
39113         Include __longjmp.c.
39114         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39115         Move to ...
39116         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
39117         (__getcontext): Remove setting __flags field.
39118         Add versioning.
39119         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39120         Don't restore upper high grps.
39121         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
39122         Likewise.
39123         (__swapcontext): Remove setting uc_flags field.
39124         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
39125         Delete file.
39126         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39127         Include __longjmp.c.
39128         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39129         Move to ...
39130         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
39131         (__getcontext): Remove setting __flags field.
39132         Add versioning.
39133         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
39134         (__swapcontext): Remove setting uc_flags field.
39135         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
39136         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
39137         Remove fields uc_high_gprs and __reserved.
39138         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
39139         New file with reverted content.
39140         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
39141         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
39142         Regenerated.
39143         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
39144         Regenerated.
39146 2014-07-31  Andreas Schwab  <schwab@suse.de>
39148         * config.h.in (HAVE_IFUNC): Define to 0.
39149         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
39150         definedness.
39152 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
39154         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39155         memmove-avx-unaligned, memcpy-avx-unaligned and
39156         mempcpy-avx-unaligned.
39157         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39158         Add tests for AVX memcpy functions.
39159         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
39160         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
39161         memcpy_chk.
39162         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
39163         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
39164         memmove_chk.
39165         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
39166         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
39167         mempcpy_chk.
39168         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
39169         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
39170         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
39172 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39174         [BZ #17213]
39175         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
39176         powerpc64le.
39178 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
39180         [BZ #16839]
39181         * manual/llio.texi: Add section about open file description locks.
39182         * manual/examples/ofdlocks.c: Example of open file description
39183         lock usage.
39184         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
39185         F_OFD_SETLK, and F_OFD_SETLKW.
39187 2014-07-23  Allan McRae  <allan@archlinux.org>
39189         * po/es.po: Update Spanish translation from translation project.
39191 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
39193         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
39195 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
39197         [BZ #17078]
39198         * sysdeps/arm/dl-machine.h (elf_machine_rela)
39199         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
39200         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
39202 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
39204         [BZ #17088]
39205         * math/fesetenv.c (__fesetenv)
39206         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
39207         * math/feupdateenv.c (__feupdateenv)
39208         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
39210         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
39211         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39212         (__ASSUME_SOCKETCALL): Do not define.
39214         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
39215         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
39216         (__ASSUME_SOCKETCALL): Do not define.
39217         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
39218         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39219         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39220         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39221         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39222         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
39223         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39224         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39226         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
39227         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
39228         (__ASSUME_SOCKETCALL): Do not define.
39229         (__ASSUME_IPC64): Define unconditionally.
39230         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39231         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39232         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39233         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39234         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
39235         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39236         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
39237         Likewise.
39239         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
39240         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
39241         (__ASSUME_SOCKETCALL): Do not define.
39242         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
39243         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39244         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39245         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39246         (__ASSUME_REQUEUE_PI): Define unconditionally.
39247         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
39248         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
39249         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39250         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
39251         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39252         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39254         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
39255         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
39256         (__ASSUME_SOCKETCALL): Do not define.
39257         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
39258         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39259         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39260         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
39261         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39262         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39264         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
39265         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
39266         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39267         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
39268         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39269         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
39270         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39271         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
39272         (__ASSUME_GETCPU_SYSCALL): Likewise.
39274         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
39275         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
39276         cases for individual architectures.
39277         * sysdeps/gnu/configure: Regenerated.
39278         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
39279         LIBC_SLIBDIR_RTLDDIR.
39280         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
39281         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
39282         LIBC_SLIBDIR_RTLDDIR.
39283         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
39284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
39285         LIBC_SLIBDIR_RTLDDIR.
39286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39287         Regenerated.
39288         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
39289         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
39290         file.
39291         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
39292         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
39293         file.
39294         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
39295         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
39296         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
39297         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
39299         * sysdeps/aarch64/shlib-versions: Move to ...
39300         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
39301         * sysdeps/alpha/shlib-versions: Move to ...
39302         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
39303         * sysdeps/arm/shlib-versions: Move to ...
39304         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
39305         * sysdeps/hppa/shlib-versions: Move all contents except for
39306         libgcc_s entry to ...
39307         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
39308         entry from ...
39309         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
39310         * sysdeps/ia64/shlib-versions: Move to ...
39311         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
39312         entry from ...
39313         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
39314         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
39315         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
39316         * sysdeps/microblaze/shlib-versions: Move to ...
39317         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
39318         * sysdeps/mips/shlib-versions: Move to ...
39319         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
39320         entry from ...
39321         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
39322         * sysdeps/tile/shlib-versions: Move to ...
39323         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
39324         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
39325         from ...
39326         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
39327         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
39328         entry from ...
39329         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
39331 2014-07-17  Will Newton  <will.newton@linaro.org>
39333         * sysdeps/arm/bits/atomic.h
39334         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
39335         (__arch_compare_and_exchange_bool_16_int): Likewise.
39336         (__arch_compare_and_exchange_bool_64_int): Likewise.
39338         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
39339         into an #else block.
39341 2014-07-16  Roland McGrath  <roland@hack.frob.com>
39343         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
39344         just Linux configurations.  Test empirically that the compiler sets
39345         __ARM_EABI__, rather than using the tuple to decide.
39346         * sysdeps/arm/preconfigure: Regenerated.
39347         * sysdeps/unix/sysv/linux/arm/configure: File removed.
39348         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
39349         contents appended ...
39350         * sysdeps/arm/configure.ac: ... here.
39351         * sysdeps/arm/configure: Regenerated.
39353 2014-07-15  Roland McGrath  <roland@hack.frob.com>
39355         * nptl/pthread_kill.c: New file.
39356         * nptl/pthread_sigmask.c: New file.
39357         * nptl/pthread_sigqueue.c: New file.
39359         * sysdeps/nptl/lowlevellock.h: New file.
39360         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
39361         * sysdeps/nptl/lowlevellock-futex.h: New file.
39363         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
39364         Remove dead declarations.
39366 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
39368         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
39369         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
39370         config-cflags-avx2.
39371         * sysdeps/x86_64/configure.ac: Likewise.
39372         * sysdeps/i386/configure: Regenerated.
39373         * sysdeps/x86_64/configure: Likewise.
39374         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39375         memset-avx2 only if config-cflags-avx2 is yes.
39376         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39377         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
39378         defined.
39379         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
39380         only if HAVE_AVX2_SUPPORT is defined.
39381         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39383 2014-07-14  Alan Modra  <amodra@gmail.com>
39385         [BZ #17153]
39386         * elf/elf.h (DT_PPC64_NUM): Correct value.
39387         * NEWS: Add to fixed bug list.
39389 2014-07-13  Jim Meyering  <meyering@fb.com>
39391         [BZ 17150]
39392         regex: don't deref NULL upon heap allocation failure
39393         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
39394         failure in one more place.
39395         To trigger the segfault, configure grep -with-included-regex,
39396         build it, and run these commands:
39397         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
39399 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
39401         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39403 2014-07-11  Richard Henderson  <rth@redhat.com>
39405         * sysdeps/aarch64/libm-test-ulps: Update.
39407 2014-07-10  Florian Weimer  <fweimer@redhat.com>
39409         [BZ #17135]
39410         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
39411         * nptl/allocatestack.c (__nptl_setxid_error): New function.
39412         (__nptl_setxid): Initialize error member.  Call
39413         __nptl_setxid_error.
39414         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
39415         * nptl/descr.h (struct xid_command): Add error member.
39416         * nptl/tst-setuid3.c: New file.
39417         * nptl/Makefile (tests): Add it.
39419 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39421         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
39422         New define.
39423         (__lll_trylock): Use __lll_base_trylock.
39424         (__lll_cond_trylock): Likewise.
39426 2014-07-10  Roland McGrath  <roland@hack.frob.com>
39428         * nptl/pthread_create.c (start_thread): Use atomic_or and
39429         lll_futex_wake directly rather than lll_robust_dead.
39430         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39431         (lll_robust_dead): Macro removed.
39432         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
39433         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
39434         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
39435         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39436         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39437         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
39438         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
39439         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39440         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39441         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39442         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39443         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39444         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39445         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39446         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39448         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
39449         Use atomic_compare_and_exchange_val_acq directly rather than
39450         lll_robust_trylock.
39451         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39452         (__lll_robust_trylock, lll_robust_trylock): Removed.
39453         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
39454         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
39455         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39456         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39457         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
39458         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
39459         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39460         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39461         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39462         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39463         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39464         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39465         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39466         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39468 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39470         * manual/locale.texi (Locale Names): New section documenting
39471         locale name syntax.  Adjust menu and node chaining accordingly.
39472         (Choosing Locale): Reference Locale Names, Locale Categories.
39473         Mention setting LC_ALL=C.  Reflect that name syntax is now
39474         documented.
39475         (Locale Categories): New section title.  Reference Locale Names.
39476         LC_ALL is an environment variable, but not a category.
39477         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
39478         description, now in Locale Name.  Reference that section.  Locale
39479         name syntax is now documented.
39481 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39483         [BZ #17137]
39484         * locale/findlocale.c (name_present, valid_locale_name): New
39485         functions.
39486         (_nl_find_locale): Use the loc_name variable to store name
39487         candidates.  Call name_present and valid_locale_name to check and
39488         validate locale names.  Return an error if the locale is invalid.
39490 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39492         * locale/setlocale.c (setlocale): Use strdup for allocating
39493         composite name copy.
39495 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39497         Sync up with gnulib.
39498         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
39499         [!_LIBC && ENABLE_NLS]: Include gettext.h.
39500         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
39501         and _GL_ARG_NONNULL.
39502         [USE_UNLOCKED_IO]: Include unlocked-io.h.
39503         [!_LIBC]: Include code for Windows and Cygwin.
39504         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
39505         Include prototype for int strerror_r.
39506         [!_LIBC] (is_open): New function.
39507         (flush_stdout): New function.
39508         (print_errno_message): Use it.
39509         (error): Likewise.
39510         (error_at_line): Likewise.
39511         (error_tail) Add function attribute macros.  Use
39512         __builtin_expect.
39514         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
39516         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
39518         * io/ftw.c: Include sys/param.h unconditionally.
39520         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
39522         [BZ #17125]
39523         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
39524         libc_freeres_ptr.
39525         (freecache): New function to free CACHE on exit.
39527         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
39528         initialization.
39530 2014-07-09  David S. Miller  <davem@davemloft.net>
39532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39534         * sysdeps/sparc/nptl/internaltypes.h: Delete.
39535         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
39536         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
39537         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
39538         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
39539         * sysdeps/sparc/nptl/sem_init.c: Likewise.
39540         * sysdeps/sparc/nptl/sem_post.c: Likewise.
39541         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
39542         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
39543         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
39544         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
39545         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
39546         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
39548 2014-07-09  Andreas Schwab  <schwab@suse.de>
39550         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
39551         output.
39552         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
39553         (do_test): Likewise.
39555         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39557 2014-07-09  Will Newton  <will.newton@linaro.org>
39559         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
39560         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
39561         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
39562         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
39563         * sysdeps/hppa/start.S (_start): Likewise.
39565 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39567         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
39569         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
39570         defined.
39572 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39574         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
39575         after checking that it is non-NULL.
39577         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
39579 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39581         * sysdeps/powerpc/memmove.c: Remove file.
39582         * sysdeps/powerpc/powerpc32/power4/memcopy.h
39583         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
39584         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39585         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
39586         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
39587         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
39588         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
39589         string memmove instead of removed powerpc one.
39591         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
39592         [weak_alias]: Fix compiler warning due trailing data.
39593         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
39594         [weak_alias]: Likewise.
39595         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
39596         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
39598         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39599         (__libc_ifunc_impl_list): Add memmove functions.
39601 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39603         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
39604         Remove code.
39605         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
39606         Likewise.
39607         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
39608         Likewise.
39609         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
39610         Likewise.
39611         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
39612         Likewise.
39613         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
39614         Likewise.
39615         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
39616         Likewise.
39617         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
39618         Likewise.
39619         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
39620         Likewise.
39621         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
39622         Likewise.
39623         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
39624         Likewise.
39625         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
39626         Likewise.
39627         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
39628         Likewise.
39629         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
39630         Likewise.
39631         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
39632         Likewise.
39633         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
39634         Likewise.
39635         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
39636         Likewise.
39638 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39640         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
39641         to avoid alignment traps in non-cacheable memory.
39642         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
39644         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
39645         multiarch objects.
39646         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
39647         file: multiarch power7 memmove.
39648         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
39649         multiarch default memmove.
39650         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
39651         multiarch memove for powerpc32/power4.
39653         * string/bcopy.c: Use full path to include memmove.c.
39654         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
39655         multiarch objects.
39656         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
39657         bcopy for powerpc64.
39658         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
39659         bcopy for powerpc64.
39660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
39661         and memmove implementations.
39662         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
39663         optimized multiarch memmove for POWER7/powerpc64.
39664         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
39665         default multiarch memmove for powerpc64.
39666         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
39667         multiarch for powerpc64.
39668         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
39669         for POWER7/powerpc64.
39670         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
39671         memmove for POWER7/powerpc64.
39673         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
39674         glibc default one.
39676         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
39677         __ELF_NATIVE_CLASS equal to 64.
39679 2014-07-07  Roland McGrath  <roland@hack.frob.com>
39681         * sysdeps/nptl/lowlevellock.h: File removed.
39683         * NEWS: NPTL is no longer an add-on!
39684         * nptl/internaltypes.h: Moved ...
39685         * sysdeps/nptl/internaltypes.h: ... here.
39686         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
39687         * sysdeps/nptl/fork.c: Likewise.
39688         * sysdeps/nptl/gai_misc.h: Likewise.
39689         * sysdeps/nptl/librt-cancellation.c: Likewise.
39690         * sysdeps/nptl/jmp-unwind.c: Likewise.
39691         * sysdeps/nptl/setxid.h: Likewise.
39692         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
39693         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
39694         * sysdeps/unix/sysv/linux/arm/Implies: New file.
39695         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
39696         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
39697         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
39698         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
39699         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
39700         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
39701         * sysdeps/unix/sysv/linux/mips/Implies: New file.
39702         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
39703         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
39704         * sysdeps/unix/sysv/linux/sh/Implies: New file.
39705         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
39706         * sysdeps/unix/sysv/linux/tile/Implies: New file.
39707         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
39708         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
39709         * nptl/Makeconfig: Moved ...
39710         * sysdeps/nptl/Makeconfig: ... here.
39711         * nptl/configure: File removed.
39712         * nptl/ANNOUNCE: File removed.
39713         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
39714         * sysdeps/unix/sysv/linux/configure: Regenerated.
39716         * nptl/Makefile (routines): Add libc_pthread_init,
39717         libc_multiple_threads, register-atfork and unregister-atfork.
39718         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
39719         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
39720         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
39721         pthread-pi-defines.sym, structsem.sym.
39722         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
39723         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
39724         [$(subdir) = nptl] (tests): Add tst-setgetname.
39725         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
39726         * sysdeps/unix/sysv/linux/sigaction.c: Just include
39727         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
39728         [!LIBC_SIGACTION]: Remove aliases.
39729         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
39730         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
39731         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
39732         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
39733         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
39734         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
39735         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39736         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39737         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
39738         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
39739         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
39740         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
39741         __libc_allocate_rtsig_private.
39742         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
39743         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
39744         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
39745         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
39746         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
39747         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
39748         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
39749         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
39750         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
39751         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
39752         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
39753         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
39754         * nptl/internaltypes.h: ... here.
39755         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
39756         * sysdeps/nptl/jmp-unwind.c: ... here.
39757         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
39758         * nptl/libc-lowlevellock.c: ... here.
39759         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
39760         * nptl/libc_multiple_threads.c: ... here.
39761         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
39762         * nptl/libc_pthread_init.c: ... here.
39763         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
39764         * nptl/lowlevelbarrier.sym: ... here.
39765         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
39766         * nptl/lowlevelcond.sym: ... here.
39767         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
39768         * nptl/lowlevellock.c: ... here.
39769         * nptl/lowlevellock.h: Moved ...
39770         * sysdeps/nptl/lowlevellock.h: ... here.
39771         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
39772         * nptl/lowlevelrobustlock.c: ... here.
39773         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
39774         * nptl/lowlevelrobustlock.sym: ... here.
39775         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
39776         * nptl/lowlevelrwlock.sym: ... here.
39777         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
39778         * nptl/pt-fork.c: ... here.
39779         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
39780         * nptl/pthread-pi-defines.sym: ... here.
39781         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
39782         * nptl/pthread_attr_getaffinity.c: ... here.
39783         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
39784         * nptl/pthread_attr_setaffinity.c: ... here.
39785         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
39786         * nptl/pthread_mutex_cond_lock.c: ... here.
39787         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39788         Update #include.
39789         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
39790         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
39791         * nptl/pthread_once.c: ... here, replacing old file.
39792         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
39793         * nptl/pthread_yield.c: ... here.
39794         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
39795         * nptl/register-atfork.c: ... here.
39796         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
39797         * nptl/sem_post.c: ... here.
39798         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
39799         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
39800         * nptl/sem_timedwait.c: ... here.
39801         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
39802         * nptl/sem_trywait.c: ... here.
39803         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
39804         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
39805         * nptl/sem_wait.c: ... here.
39806         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
39807         * nptl/structsem.sym: ... here.
39808         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
39809         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
39810         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
39811         * nptl/unregister-atfork.c: ... here.
39812         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
39813         * nptl/unwindbuf.sym: ... here.
39814         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
39815         * sysdeps/nptl/fork.c: ... here.
39816         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
39817         * sysdeps/nptl/fork.h: ... here.
39818         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
39819         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
39820         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
39821         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
39822         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
39823         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
39824         * sysdeps/unix/sysv/linux/getpid.c: ... here.
39825         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
39826         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
39827         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
39828         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
39829         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
39830         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
39831         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
39832         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
39833         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
39834         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
39835         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
39836         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
39837         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
39838         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
39839         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
39840         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
39841         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
39842         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
39843         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
39844         * sysdeps/unix/sysv/linux/raise.c: ... here.
39845         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
39846         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
39847         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
39848         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
39849         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
39850         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
39851         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
39852         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
39853         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
39854         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
39855         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
39856         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
39857         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
39858         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
39859         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
39861 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39863         * sysdeps/generic/memcopy.h: Add comment for
39864         MEMCPY_OK_FOR_FWD_MEMMOVE.
39866 2014-07-04  Will Newton  <will.newton@linaro.org>
39868         * string/memchr.c: Merge from gnulib.
39869         [_LIBC]: Remove conditionals.
39870         (__ptr_t): Remove define.
39871         (LONG_MAX_32_BITS): Likewise.
39872         (LONG_MAX): Likewise.
39873         (MEMCHR): Use ANSI prototype and optimize algorithm.
39875         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
39877 2014-07-03  Roland McGrath  <roland@hack.frob.com>
39879         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
39880         (lll_futex_timed_wait_bitset): Fix syscall argument count.
39882         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
39883         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
39884         in a bare environment with no <stdlib.h> installed.
39885         * sysdeps/nptl/configure: Regenerated.
39887         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
39889         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
39890         AC_EGREP_CPP for kernel header checks, so they only succeed if
39891         including <linux/version.h> actually works right.
39892         * sysdeps/unix/sysv/linux/configure: Regenerated.
39894         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
39895         value so it's not diagnosed as unused.
39897         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
39898         thing) with "ifeq ($(subdir),rt)".
39900 2014-07-03  Richard Henderson  <rth@redhat.com>
39902         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
39903         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
39904         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
39906         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
39907         (math_force_eval): New.
39909         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
39910         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
39912         * sysdeps/alpha/fpu/s_round.c: Remove file.
39913         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
39915         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
39916         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
39917         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
39918         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
39919         (_dl_start, print_statistics): Likewise.
39920         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
39921         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
39923         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39924         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39925         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39926         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39927         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39928         (HP_SMALL_TIMING_AVAIL): Define.
39929         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39930         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
39931         (HP_SMALL_TIMING_AVAIL): Define.
39932         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39933         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
39935         * sysdeps/aarch64/hp-timing.h: New file.
39937         * sysdeps/generic/hp-timing.h: Remove dead comment.
39938         * sysdeps/generic/hp-timing-common.h: New file.
39939         * sysdeps/alpha/hp-timing.h: Include it.
39940         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
39941         * sysdeps/i386/i686/hp-timing.h: Likewise.
39942         * sysdeps/ia64/hp-timing.h: Likewise.
39943         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39944         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39945         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39946         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39947         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
39948         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
39949         (hp_timing_t): New.
39951         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
39952         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
39953         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
39954         * elf/rtld.c (_dl_start_final): Likewise.
39955         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
39956         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39957         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39958         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39959         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39960         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39961         (HP_TIMING_DIFF_INIT): Remove.
39962         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39963         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
39964         (HP_TIMING_DIFF_INIT): Remove.
39965         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
39966         * sysdeps/i386/i686/hp-timing.c: Remove file.
39967         * sysdeps/x86_64/hp-timing.c: Remove file.
39968         * sysdeps/ia64/hp-timing.c: Remove file.
39969         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
39970         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
39971         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
39972         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
39974         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
39975         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
39976         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
39977         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39978         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
39979         (HP_TIMING_ACCUM): Remove.
39980         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39981         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
39982         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
39984         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
39985         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
39986         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
39987         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
39988         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
39989         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
39990         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
39991         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
39993         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
39995 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
39997         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
39999 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40001         Sync up with gettext.
40002         * intl/loadmsgcat.c: Define O_BINARY if not defined.
40003         [_MSC_VER]: Include malloc.h
40004         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
40005         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
40006         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
40007         TEMP_FAILURE_RETRY.  Cast return of alloca.
40008         [!_LIBC] Call gl_rwlock_init.
40009         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
40011 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40013         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
40014         before checking its value.
40016 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40018         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
40020         * debug/memcpy_chk.c: Don't include pagecopy.h.
40021         * debug/mempcpy_chk.c: Likewise.
40022         * string/memcpy.c: Likewise.
40023         * string/memmove.c: Likewise.
40024         * sysdeps/powerpc/memmove.c: Likewise.
40025         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
40026         definition of PAGE_COPY_FWD_MAYBE here...
40027         * sysdeps/generic/pagecopy.h: ... from here.
40028         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
40030 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40031             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40033         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
40034         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
40035         optimizations.
40036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40037         (__libc_ifunc_impl_list): Likewise.
40038         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
40039         multiarch strcat for PPC64.
40040         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
40041         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
40043 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40045         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
40047 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40049         * intl/loadmsgcat.c: Remove declaration of
40050         get_sysdep_segment_value.
40051         (get_sysdep_segment_value): Use ISO C style.
40052         (_nl_load_domain): Use ISO C style.  Get rid of redundant
40053         semicolon.  Fix typo and formatting in comment.
40054         (_nl_unload_domain): Use ISO C style.
40056         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
40058 2014-07-02  Will Newton  <will.newton@linaro.org>
40060         * malloc/obstack.c: Merge from gnulib master.
40061         [HAVE_CONFIG_H]: Remove conditional code.
40062         [!_LIBC]: Include config.h.
40063         [!ELIDE_CODE]: Don't include inttypes.h, include
40064         stdint.h unconditionally.
40065         (print_and_abort): Mark as _Noreturn.
40066         (_obstack_allocated_p): Mark as __attribute_pure__.
40067         (obstack_free): Rename to __obstack_free.
40068         [!__attribute__]: Remove conditional code.
40069         * malloc/obstack.h: Merge from gnulib master.
40070         [__cplusplus]: Move conditional down.
40071         [!__attribute_pure__]: Define __attribute_pure__ here
40072         if it is not already defined.
40073         (_obstack_memory_used): Mark as __attribute_pure__.
40074         [!__obstack_free]: Define as obstack_free.
40075         [__GNUC__]: Remove check for ancient NeXT gcc.
40077 2014-07-02  Will Newton  <will.newton@linaro.org>
40078             Paul Eggert  <eggert@cs.ucla.edu>
40080         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
40082 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40084         * resolv/gethnamaddr.c: Add comment warning that the file is
40085         not maintained.
40087 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
40089         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
40090         entries.
40092         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
40093         entry for aio_cancel and aio_cancel64.
40094         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
40095         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
40096         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
40097         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
40098         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
40099         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
40100         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
40101         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
40102         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
40103         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
40104         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
40105         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
40106         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
40108 2014-07-01  Roland McGrath  <roland@hack.frob.com>
40110         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
40111         * nptl/pthread_mutex_lock.c: Likewise.
40112         * nptl/pthread_mutex_timedlock.c: Likewise.
40113         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
40115 2014-07-01  Richard henderson  <rth@redhat.com>
40117         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
40118         (__isnan, __isnanl): Remove.
40119         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
40121         * sysdeps/alpha/fpu/libm-test-ulps: Update.
40123 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40125         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40127 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40129         * resolv/nss_dns/dns-host.c (getanswer_r)
40130         [MULTI_PTRS_ARE_ALIASES]: Remove code.
40132 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
40134         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40135         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
40136         undefine.
40137         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
40138         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
40140 2014-07-01  Roland McGrath <roland@hack.frob.com>
40142         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
40143         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
40145         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
40146         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
40148         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
40149         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
40150         ... here.
40151         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
40152         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
40154         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
40155         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
40156         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
40157         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
40159         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
40160         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
40161         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
40162         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
40163         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
40164         Moved ...
40165         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
40166         ... here.
40167         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
40168         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
40169         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
40170         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
40171         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
40172         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
40173         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
40174         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
40175         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
40176         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
40177         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
40178         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
40179         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
40180         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
40181         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
40182         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
40183         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
40184         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
40185         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
40186         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
40187         ... here.
40188         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
40189         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
40190         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
40191         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
40192         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
40193         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
40194         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
40195         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
40197 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
40199         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
40200         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
40201         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
40202         Add sysdep.
40204 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40208 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40210         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
40211         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40213         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40215         * sysdeps/arm/libm-test-ulps: Regenerated.
40217 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40218             Roland McGrath <roland@hack.frob.com>
40220         * test-skeleton.c (signal_handler): Kill the whole process group
40221         before killing the child individually.
40222         (main): Report any failure on `setpgid'.
40224 2014-06-30  Roland McGrath  <roland@hack.frob.com>
40226         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
40227         from _TLS_H to _ARM_NPTL_TLS_H.
40228         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
40229         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
40231 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40233         [BZ #16539]
40234         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
40235         (__expm1l): Return argument unchanged when small but not
40236         subnormal.
40238         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
40239         include macro name.
40240         (_FP_UNPACK_RAW_1_P): Likewise.
40241         (_FP_PACK_RAW_1): Likewise.
40242         (_FP_PACK_RAW_1_P): Likewise.
40243         (_FP_MUL_MEAT_1_wide): Likewise.
40244         (_FP_MUL_MEAT_DW_1_hard): Likewise.
40245         (_FP_MUL_MEAT_1_hard): Likewise.
40246         (_FP_DIV_MEAT_1_imm): Likewise.
40247         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
40248         (_FP_DIV_MEAT_1_udiv): Likewise.
40249         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
40250         (_FP_UNPACK_RAW_2): Likewise.
40251         (_FP_UNPACK_RAW_2_P): Likewise.
40252         (_FP_PACK_RAW_2): Likewise.
40253         (_FP_PACK_RAW_2_P): Likewise.
40254         (_FP_MUL_MEAT_DW_2_wide): Likewise.
40255         (_FP_MUL_MEAT_2_wide): Likewise.
40256         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
40257         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
40258         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
40259         (_FP_MUL_MEAT_2_gmp): Likewise.
40260         (_FP_DIV_MEAT_2_udiv): Likewise.
40261         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
40262         (_FP_FRAC_SRL_4): Likewise.
40263         (_FP_FRAC_SRST_4): Likewise.
40264         (_FP_FRAC_SRS_4): Likewise.
40265         (_FP_UNPACK_RAW_4): Likewise.
40266         (_FP_UNPACK_RAW_4_P): Likewise.
40267         (_FP_PACK_RAW_4): Likewise.
40268         (_FP_PACK_RAW_4_P): Likewise.
40269         (_FP_MUL_MEAT_DW_4_wide): Likewise.
40270         (_FP_MUL_MEAT_4_wide): Likewise.
40271         (_FP_MUL_MEAT_4_gmp): Likewise.
40272         (umul_ppppmnnn): Likewise.
40273         (_FP_DIV_MEAT_4_udiv): Likewise.
40274         (__FP_FRAC_ADD_4): Likewise.
40275         (__FP_FRAC_SUB_3): Likewise.
40276         (__FP_FRAC_SUB_4): Likewise.
40277         (__FP_FRAC_DEC_3): Likewise.
40278         (__FP_FRAC_DEC_4): Likewise.
40279         (__FP_FRAC_ADDI_4): Likewise.
40280         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
40281         (_FP_FRAC_SRL_8): Likewise.
40282         (_FP_FRAC_SRS_8): Likewise.
40284         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
40285         include macro name.
40286         (FP_UNPACK_RAW_EP): Likewise.
40287         (FP_PACK_RAW_E): Likewise.
40288         (FP_PACK_RAW_EP): Likewise.
40289         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
40290         (_FP_ISSIGNAN): Likewise.
40291         (_FP_ADD_INTERNAL): Likewise.
40292         (_FP_FMA): Likewise.
40293         (_FP_CMP): Likewise.
40294         (_FP_SQRT): Likewise.
40295         (_FP_TO_INT): Likewise.
40296         (_FP_FROM_INT): Likewise.
40297         (FP_EXTEND): Likewise.
40298         (_FP_DIV_MEAT_N_loop): Likewise.
40300 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40302         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
40303         throughout.
40305 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
40307         [BZ #17097]
40308         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
40309         result with correct sign in case of exponents that produce
40310         overflow except for X very close to 1.
40312 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
40314         mktime: merge #if/#ifdef usage from glibc
40315         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
40316         as that works with both Glibc's and Gnulib's style.
40317         See thread starting at Siddhesh Poyarekar's bug report at:
40318         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
40320 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40322         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
40323         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
40324         * sysdeps/tile/tilegx/memmove.c: Remove file.
40326 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
40328         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
40329         abi-name definition.
40330         * scripts/soversions.awk: Do not handle or generate ABI lines.
40331         * shlib-versions: Remove ABI entries.
40332         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
40333         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
40335 2014-06-27  Roland McGrath  <roland@hack.frob.com>
40337         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
40338         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
40339         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
40340         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
40341         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
40342         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
40343         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
40344         Moved ...
40345         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
40346         ... here.
40347         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
40348         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
40349         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
40350         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
40351         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
40352         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
40353         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
40354         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
40355         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
40356         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
40357         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
40358         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
40359         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
40360         Moved ...
40361         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
40362         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
40363         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
40364         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
40365         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
40366         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
40367         Moved ...
40368         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
40369         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
40370         Moved ...
40371         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
40372         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
40373         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
40374         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
40375         Moved ...
40376         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
40377         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
40378         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
40379         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
40380         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
40381         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
40382         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
40383         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
40384         Moved ...
40385         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
40386         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
40387         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
40388         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
40389         Moved ...
40390         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
40391         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
40392         Moved ...
40393         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
40394         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
40395         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
40396         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
40397         Moved ...
40398         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
40399         ... here.
40400         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
40401         Identical file removed.
40402         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
40403         Moved ...
40404         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
40405         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
40406         Identical file removed.
40407         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
40408         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
40409         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
40410         Moved ...
40411         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
40412         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
40413         Identical file removed.
40414         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
40415         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
40416         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
40417         Identical file removed.
40418         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
40419         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
40420         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
40421         Identical file removed.
40422         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
40423         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
40424         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
40425         Identical file removed.
40426         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
40427         Moved ...
40428         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
40429         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
40430         Identical file removed.
40431         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
40432         Moved ...
40433         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
40434         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
40435         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
40436         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
40437         Identical file removed.
40438         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
40439         Moved ...
40440         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
40441         ... here.
40442         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
40443         Identical file removed.
40444         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
40445         Moved ...
40446         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
40447         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
40448         Identical file removed.
40449         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
40450         Moved ...
40451         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
40452         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
40453         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
40454         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
40455         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
40456         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
40457         Moved ...
40458         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
40459         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
40460         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
40462         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
40463         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
40464         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
40465         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
40466         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
40468 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
40470         [BZ #17092]
40471         * nscd/nscd.c (monitor_child): Return exit status of child
40472         instead of return value from wait syscall.
40474 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
40476         * configure.ac (libc_commonpagesize): Remove variable.
40477         (libc_relro_required): Likewise.
40478         (libc_cv_z_relro): Remove configure test.
40479         * configure: Regenerated.
40480         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
40481         variable.
40482         (libc_relro_required): Likewise.
40483         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
40484         (libc_relro_required): Likewise.
40485         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
40486         (libc_relro_required): Likewise.
40487         * sysdeps/arm/preconfigure: Regenerated.
40488         * sysdeps/ia64/preconfigure: Remove file.
40489         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
40490         variable.
40491         (libc_relro_required): Likewise.
40493         [BZ #16561]
40494         [BZ #16562]
40495         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
40496         (__ieee754_yn): Set FE_TONEAREST mode internally and then
40497         recompute overflowing results in original rounding mode.
40498         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
40499         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
40500         recompute overflowing results in original rounding mode.
40501         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
40502         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40503         recompute overflowing results in original rounding mode.
40504         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
40505         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40506         recompute overflowing results in original rounding mode.
40507         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
40508         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40509         recompute overflowing results in original rounding mode.
40510         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
40511         (libc_feholdsetround_ctx): New macro.
40512         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
40513         * sysdeps/i386/fpu/libm-test-ulps: Update.
40514         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
40516 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40518         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
40519         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
40520         corresponding .cpsetup call.
40522 2014-06-26  Roland McGrath  <roland@hack.frob.com>
40524         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
40525         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
40526         * sysdeps/arm/Makefile [$(subdir) = csu]
40527         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
40528         (static-only-routines): Add aeabi_read_tp here.
40529         (shared-only-routines): Add libc-aeabi_read_tp here.
40530         (CFLAGS-libc-start.c): Add -fexceptions here.
40531         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
40532         (sysdep_routines, static-only-routines, shared-only-routines):
40533         Don't add to these here.
40534         (CFLAGS-libc-start.c): Likewise.
40536         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
40537         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
40538         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
40539         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
40540         * sysdeps/arm/Makefile [$(subdir) = rt]
40541         (librt-sysdep_routines, librt-shared-only-routines):
40542         Append rt-aeabi_unwind_cpp_pr1 here.
40543         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
40544         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
40545         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
40546         (libpthread-sysdep_routines, libpthread-shared-only-routines):
40547         Append nptl-aeabi_unwind_cpp_pr1 here.
40548         (tests): Filter out tst-cleanupx4 here.
40549         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
40550         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
40551         Don't do those here.
40553 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40555         * scripts/list-sources.sh: Do not handle ports specially.
40557 2014-06-26  Roland McGrath  <roland@hack.frob.com>
40559         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
40560         * sysdeps/arm/feupdateenv.c: Likewise.
40562         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
40564 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40566         * manual/texinfo.tex: Update to version 2014-05-05.10 with
40567         trailing whitespace removed.
40568         * scripts/config.guess: Update to version 2014-03-23.
40569         * scripts/config.sub: Update to version 2014-05-01
40570         * scripts/install-sh: Update to version 2013-12-25.23.
40571         * scripts/move-if-change: Update from gnulib.
40573 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40575         * debug/memmove_chk.c: Remove pagecopy.h include.
40577 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
40579         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
40580         identical to gnulib mktime.
40582 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40584         * configure.ac: Do not test for machine being rs6000.  Do not test
40585         for powerpc*-*soft.
40586         * configure: Regenerated.
40588         [BZ #11505]
40589         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
40590         test.
40591         * configure: Regenerated.
40592         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
40593         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
40594         Remove configure test.
40595         * sysdeps/arm/configure: Regenerated.
40596         * sysdeps/nptl/configure.ac: Do not check
40597         libc_cv_asm_cfi_directives.
40598         * sysdeps/nptl/configure: Regenerated.
40599         * sysdeps/x86_64/nptl/configure.ac: Remove file.
40600         * sysdeps/x86_64/nptl/configure: Remove generated file.
40601         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
40602         unconditional.
40603         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
40605 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40607         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
40608         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
40609         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
40610         it is defined.
40612         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
40613         instead of whether it is defined.
40614         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
40615         * sysdeps/hppa/dl-machine.h: Likewise.
40616         * sysdeps/ia64/dl-machine.h: Likewise.
40617         * sysdeps/m68k/dl-machine.h: Likewise.
40618         * sysdeps/microblaze/dl-machine.h: Likewise.
40619         * sysdeps/mips/dl-machine.: Likewise.
40620         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40621         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40622         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40623         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40624         * sysdeps/sh/dl-machine.h: Likewise.
40625         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40626         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40627         * sysdeps/tile/dl-machine.h: Likewise.
40628         * sysdeps/x86_64/dl-machine.h: Likewise.
40630         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
40631         code.
40632         (verify_persistent_db): Likewise.
40634 2014-06-26  Roland McGrath  <roland@hack.frob.com>
40636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
40637         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
40638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
40639         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
40640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40641         Moved ...
40642         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
40643         ... here.
40644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
40645         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
40646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
40647         Identical file removed.
40648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
40649         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
40650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
40651         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
40652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
40653         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
40654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
40655         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
40656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
40657         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
40658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40659         Moved ...
40660         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
40661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
40662         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
40663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
40664         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
40665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40666         Moved ...
40667         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
40668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
40669         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
40670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
40671         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
40672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40673         Identical file removed.
40674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
40675         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
40676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
40677         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
40678         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40679         Moved ...
40680         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
40681         ... here.
40682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
40683         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
40684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
40685         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
40686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
40687         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
40688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
40689         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
40690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
40691         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
40692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40693         Moved ...
40694         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
40695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
40696         Moved ...
40697         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
40698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
40699         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
40700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40701         Moved ...
40702         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
40703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
40704         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
40706         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
40707         folded into ...
40708         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
40709         * sysdeps/unix/sysv/linux/s390/Versions
40710         (libpthread: GLIBC_2.19): New version set.
40711         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
40712         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
40713         (librt: GLIBC_2.3.3): New version set.
40714         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
40715         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
40716         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
40717         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
40718         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
40719         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
40720         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
40721         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
40722         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
40723         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
40724         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
40725         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
40726         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
40727         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
40728         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
40729         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
40730         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
40731         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
40732         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
40733         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
40734         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
40735         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
40736         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
40737         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
40738         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
40739         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
40740         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
40741         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
40742         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
40743         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
40744         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
40745         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
40746         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
40747         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
40748         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
40749         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
40750         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
40751         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
40752         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
40753         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
40754         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
40755         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
40756         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
40757         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
40758         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
40760         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
40761         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
40762         (__libc_vfork): Define the function under this name.
40763         [!NOT_IN_libc] (__vfork): Make this an alias.
40764         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40765         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
40766         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
40767         (__libc_vfork): Define the function under this name.
40768         [!NOT_IN_libc] (__vfork): Make this an alias.
40769         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40770         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
40771         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
40772         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
40773         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
40774         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40776         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
40777         code that was previously under [RESET_PID].
40778         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
40779         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
40780         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
40782         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
40783         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
40784         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
40785         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
40786         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
40787         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
40788         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
40789         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
40790         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
40791         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
40792         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
40793         Moved ...
40794         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
40795         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
40796         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
40797         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
40798         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
40799         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
40800         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
40801         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
40802         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
40803         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
40804         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
40805         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
40806         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
40807         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
40808         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
40809         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
40810         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
40811         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
40812         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
40813         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
40814         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
40815         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
40816         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
40817         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
40818         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
40819         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
40820         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
40821         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
40822         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
40824 2014-06-25  Roland McGrath  <roland@hack.frob.com>
40826         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
40827         that was previously under [RESET_PID].
40828         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
40830 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
40832         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
40833         not undefine and redefine.
40834         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
40835         [O_CLOEXEC]: Make code unconditional.
40836         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
40837         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
40838         <kernel-features.h>.
40839         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
40840         conditional variable definition.
40841         (shm_open) [O_CLOEXEC]: Make code unconditional.
40842         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
40843         code.
40845         * configure.ac (USE_REGPARMS): Don't define here.
40846         * configure: Regenerated.
40847         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
40848         * sysdeps/i386/configure: Regenerated.
40850         * nptl/createthread.c: Don't include kernel-features.h.
40851         * nptl/pthread_cancel.c: Likewise.
40852         * nptl/pthread_condattr_setclock.c: Likewise.
40853         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
40854         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
40855         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
40856         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
40857         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
40858         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
40859         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
40860         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
40861         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
40862         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
40863         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
40864         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
40865         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
40866         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
40867         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
40868         * nscd/gai.c: Likewise.
40869         * nss/nss_db/db-open.c: Likewise.
40870         * sysdeps/generic/ldsodefs.h: Likewise.
40871         * sysdeps/sh/nptl/tls.h: Likewise.
40872         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40873         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
40874         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
40875         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
40876         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
40877         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40878         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
40879         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40880         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40881         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
40882         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
40883         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40884         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
40885         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
40886         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
40887         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
40888         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
40889         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
40890         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
40891         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
40892         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
40893         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
40894         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
40895         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
40896         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
40897         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
40898         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
40899         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
40900         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
40901         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
40902         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
40903         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
40904         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
40905         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40906         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40907         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40908         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40909         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
40910         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
40911         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
40912         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40913         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
40914         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
40915         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40916         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
40917         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
40918         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
40919         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
40920         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
40921         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
40922         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
40923         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
40924         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
40925         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40926         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
40927         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
40928         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
40929         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
40930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
40932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
40933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
40934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
40935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
40936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
40937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
40938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
40939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
40940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
40941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
40942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
40943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
40944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
40945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
40950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
40951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
40952         * sysdeps/unix/sysv/linux/pread.c: Likewise.
40953         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
40954         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
40955         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
40956         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
40957         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
40958         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
40959         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
40960         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
40961         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
40962         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
40963         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
40964         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
40965         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
40966         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
40967         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
40968         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40969         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
40970         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
40971         * sysdeps/unix/sysv/linux/system.c: Likewise.
40972         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
40973         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
40974         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40975         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40976         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40977         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40978         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40980         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
40981         * configure: Regenerated.
40982         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
40984         * configure.ac (base_machine): Do not set specially for particular
40985         machines here.
40986         * configure: Regenerated.
40987         * sysdeps/powerpc/preconfigure: Move machine and base_machine
40988         settings from configure.ac.
40989         * sysdeps/i386/preconfigure: New file.
40990         * sysdeps/s390/preconfigure: Likewise.
40991         * sysdeps/sh/preconfigure: Likewise.
40992         * sysdeps/sparc/preconfigure: Likewise.
40994 2014-06-25  Roland McGrath  <roland@hack.frob.com>
40996         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
40997         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
40998         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
40999         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
41000         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
41001         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
41002         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
41003         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
41004         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
41005         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
41006         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
41007         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
41008         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
41009         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
41010         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
41011         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
41012         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
41013         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
41014         * sysdeps/sparc/sparc64/Makefile: ... appended here.
41016         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
41017         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
41018         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
41019         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
41020         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
41021         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
41022         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
41023         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
41024         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
41025         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
41026         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
41027         * sysdeps/sparc/sparc32/sem_post.c: ... here.
41028         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
41029         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
41030         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
41031         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
41032         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
41033         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
41034         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
41035         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
41036         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
41037         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
41038         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
41039         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
41040         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
41041         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
41042         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
41043         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
41044         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
41045         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
41046         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
41047         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
41048         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
41049         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
41050         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
41051         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
41052         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
41053         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
41055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
41056         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
41057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
41058         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
41059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41060         Moved ...
41061         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
41062         ... here.
41063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
41064         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
41065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
41066         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
41067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
41068         Moved ...
41069         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
41070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
41071         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
41072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
41073         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
41074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
41075         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
41076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41077         Moved ...
41078         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
41079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41080         Moved ...
41081         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
41082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
41083         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
41084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41085         Moved ...
41086         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
41087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
41088         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
41089         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
41090         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
41091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
41092         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
41093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
41094         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
41095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41096         Moved ...
41097         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
41098         ... here.
41099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
41100         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
41101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
41102         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
41103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
41104         Moved ...
41105         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
41106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
41107         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
41108         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
41109         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
41110         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
41111         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
41112         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41113         Moved ...
41114         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
41115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41116         Moved ...
41117         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
41118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
41119         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
41120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41121         Moved ...
41122         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
41123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
41124         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
41125         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
41126         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
41128 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41130         * timezone/checktab.awk: Update from tzcode 2014e.
41131         * timezone/private.h: Likewise.
41132         * timezone/tzfile.h: Likewise.
41133         * timezone/zdump.c: Likewise.
41134         * timezone/zic.c: Likewise.
41136         * sysdeps/unix/sysv/linux/kernel-features.h
41137         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
41138         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
41139         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
41140         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41141         Remove conditional code.
41143 2014-06-25  Will Newton  <will.newton@linaro.org>
41145         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
41146         (_dl_arm_cap_flags): Add HWCAP2 values.
41147         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
41148         (_DL_HWCAP_COUNT): Increase to 37.
41149         (_DL_HWCAP_LAST): New define.
41150         (_DL_HWCAP2_LAST): New define.
41151         (_dl_procinfo): Add support for printing
41152         AT_HWCAP2 entries.
41153         (_dl_string_hwcap): Use _dl_hwcap_string.
41155 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41159 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41161         * README: Do not mention ports directory.
41163         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
41164         Remove macro.
41165         * sysdeps/unix/sysv/linux/futimes.c: Do not include
41166         <kernel-features.h>.
41167         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
41168         conditional variable definition.
41169         (__futimes): Update comment.
41170         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
41171         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
41173         [BZ #16560]
41174         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
41175         arguments close to 0.
41176         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
41177         Likewise.
41178         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
41179         Likewise.
41180         * math/auto-libm-test-in: Add more tests of exp10.
41181         * math/auto-libm-test-out: Regenerated.
41182         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41184         * sysdeps/unix/sysv/linux/kernel-features.h
41185         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
41186         * sysdeps/unix/sysv/linux/readv.c: Do not include
41187         <kernel-features.h>.
41188         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41189         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41190         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41191         unconditional.
41192         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41193         conditional code.
41194         * sysdeps/unix/sysv/linux/writev.c: Do not include
41195         <kernel-features.h>.
41196         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41197         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41198         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41199         unconditional.
41200         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41201         conditional code.
41203 2014-06-25  Will Newton  <will.newton@linaro.org>
41205         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
41206         comment changes throughout the file.  Remove checks
41207         for HAVE_*_H definitions that are not required.
41208         (__gen_tempname): Call abort if an unknown kind value is
41209         passed.
41211 2014-06-25  Andreas Schwab  <schwab@suse.de>
41213         [BZ #17086]
41214         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
41215         scalbln, scalblnf, scalblnl in libc.
41217 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41219         [BZ #17086]
41220         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
41221         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41222         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
41224 2014-06-24  Roland McGrath  <roland@hack.frob.com>
41226         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
41227         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
41228         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
41229         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
41230         Update #include.
41231         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
41232         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
41233         Update #include.
41234         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
41235         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
41236         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
41237         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
41238         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
41239         * sysdeps/x86/bits/pthreadtypes.h: ... here.
41240         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
41241         * sysdeps/x86/bits/semaphore.h: ... here.
41242         * sysdeps/x86/nptl/elide.h: Moved ...
41243         * sysdeps/x86/elide.h: ... here.
41244         * sysdeps/x86_64/nptl/Implies: File removed.
41245         * sysdeps/i386/nptl/Implies: File removed.
41247 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
41249         [BZ #16539]
41250         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
41251         return the argument for normal arguments with exponent below -64.
41252         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41253         Likewise.
41254         * math/auto-libm-test-in: Add another test of expm1.
41255         * math/auto-libm-test-out: Regenerated.
41257         [BZ #16287]
41258         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
41259         calling __erfcl for arguments at least 16.
41260         * math/auto-libm-test-in: Add more tests of erf.
41261         * math/auto-libm-test-out: Regenerated.
41263         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
41264         individual architectures.
41265         * sysdeps/unix/sysv/linux/configure: Regenerated.
41266         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
41267         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
41268         * sysdeps/unix/sysv/linux/powerpc/configure.ac
41269         (ldd_rewrite_script): Define variable.
41270         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
41272         file.
41273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
41274         generated file.
41275         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
41276         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
41277         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
41278         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
41279         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
41280         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
41281         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
41282         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
41284 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41286         [BZ #17084]
41287         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
41288         Rename member __data.d to __data.__elision_data.
41290 2014-06-24  Wilco  <wdijkstr@arm.com>
41292         * NEWS: Add 16918 to fixed bug list.
41294 2014-06-24  Wilco  <wdijkstr@arm.com>
41296         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
41298 2014-06-24  Wilco  <wdijkstr@arm.com>
41300         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
41301         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
41302         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
41303         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
41304         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
41305         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
41306         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
41307         Use _FPU_MASK_RM.
41309 2014-06-24  Wilco  <wdijkstr@arm.com>
41311         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
41313 2014-06-24  Wilco  <wdijkstr@arm.com>
41315         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
41316         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
41317         * sysdeps/arm/fesetround.c (fesetround): Remove space.
41318         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
41320 2014-06-24  Wilco  <wdijkstr@arm.com>
41322         [BZ #16918]
41323         * sysdeps/arm/feupdateenv.c (feupdateenv):
41324         Rewrite to reduce FPSCR accesses and fix return value.
41326 2014-06-24  Wilco  <wdijkstr@arm.com>
41328         * sysdeps/arm/fclrexcpt.c (feclearexcept):
41329         Optimize to avoid unnecessary FPSCR writes.
41330         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
41331         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
41332         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
41333         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
41335 2014-06-24  Wilco  <wdijkstr@arm.com>
41337         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
41338         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
41339         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
41340         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
41341         Call libc_fetestexcept_vfp.
41342         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
41343         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
41344         __SOFTFP__ ifdef so that they can be built for softfp.
41346 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41348         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
41349         argument type signed char.
41351         * Makerules (check-abi): Dump diff of symlist if the test
41352         fails.
41354 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41356         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
41357         using abort.
41359         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
41360         Remove unused variable ST.
41362 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
41364         [BZ #16354]
41365         [BZ #17061]
41366         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
41367         small arguments before calling __expm1.
41368         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
41369         small arguments before calling __expm1f.
41370         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
41371         small arguments before calling __expm1l.
41372         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41373         Likewise.
41374         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
41375         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
41376         spurious underflow for some cosh tests.
41377         * math/auto-libm-test-out: Regenerated.
41378         * sysdeps/i386/fpu/libm-test-ulps: Update.
41380         [BZ #17050]
41381         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
41382         (__ieee754_y1): Set errno if return value overflows.
41383         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
41384         (__ieee754_y1f): Set errno if return value overflows.
41385         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
41386         (__ieee754_y1l): Set errno if return value overflows.
41387         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
41388         (__ieee754_y1l): Set errno if return value overflows.
41389         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
41390         * math/auto-libm-test-out: Regenerated.
41392         * math/gen-auto-libm-tests.c: Document use of
41393         ignore-zero-inf-sign.
41394         (input_flag_type): Add value flag_ignore_zero_inf_sign.
41395         (input_flags): Add ignore-zero-inf-sign.
41396         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
41397         * math/gen-libm-test.pl (generate_testfile): Handle
41398         ignore-zero-inf-sign.
41399         * math/auto-libm-test-in: Mark some cpow tests with
41400         ignore-zero-inf-sign and some with xfail-rounding.
41401         * math/auto-libm-test-out: Regenerated.
41402         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
41403         * sysdeps/i386/fpu/libm-test-ulps: Update.
41404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41406         [BZ #16315]
41407         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
41408         overflowing or underflowing operations take place with sign of
41409         result.
41410         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41411         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41412         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
41413         (__ieee754_pow): Recompute overflowing and underflowing results in
41414         original rounding mode.
41415         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
41416         (__powl_helper): Allow negative argument X and scale negated value
41417         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
41418         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
41419         overflowing or underflowing operations take place with sign of
41420         result.
41421         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
41422         Include <math.h>.
41423         * math/auto-libm-test-in: Add more tests of pow.
41424         * math/auto-libm-test-out: Regenerated.
41425         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
41426         (pow_tonearest_test_data): Remove.
41427         (pow_test_tonearest): Likewise.
41428         (pow_towardzero_test_data): Likewise.
41429         (pow_test_towardzero): Likewise.
41430         (pow_downward_test_data): Likewise.
41431         (pow_test_downward): Likewise.
41432         (pow_upward_test_data): Likewise.
41433         (pow_test_upward): Likewise.
41434         (main): Don't call removed functions.
41435         * sysdeps/i386/fpu/libm-test-ulps: Update.
41436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41438 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
41441         Moved ...
41442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
41443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41444         Moved ...
41445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
41446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41447         Moved ...
41448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
41449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41450         Moved ...
41451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
41452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41453         File removed.
41454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41455         File removed.
41456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
41457         File removed.
41458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
41459         File removed.
41460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
41461         File removed.
41462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
41463         File removed.
41464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
41465         File removed.
41466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41467         File removed.
41468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
41469         File removed.
41470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41471         File removed.
41472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
41473         File removed.
41474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
41475         File removed.
41476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
41477         Moved ...
41478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
41479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
41480         Moved ...
41481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
41482         ... here.
41483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
41484         Moved ...
41485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
41486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
41487         Moved ...
41488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
41489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
41490         Moved ...
41491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
41492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
41493         Moved ...
41494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
41495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
41496         Moved ...
41497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
41498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
41499         Moved ...
41500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
41501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
41502         Moved ...
41503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
41504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
41505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
41506         ... here.
41507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
41508         Moved ...
41509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
41510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41511         Moved ...
41512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
41513         ... here.
41514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
41515         Moved ...
41516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
41517         ... here.
41518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41519         Moved ...
41520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
41521         ... here.
41522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41523         Moved ...
41524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
41525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41526         Moved ...
41527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
41528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
41529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
41530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41531         Moved ...
41532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
41533         ... here.
41534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41535         Moved ...
41536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
41537         ... here.
41538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41539         Moved ...
41540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
41541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41542         Moved ...
41543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
41544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41545         Moved ...
41546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
41547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41548         Moved ...
41549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
41550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41551         Moved ...
41552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
41553         ... here.
41554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41555         Moved ...
41556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
41557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41558         Moved ...
41559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
41560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41561         Moved ...
41562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
41563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41564         Moved ...
41565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
41566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
41567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
41568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41569         Moved ...
41570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
41571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41572         Moved ...
41573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
41574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41575         Moved ...
41576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
41577         ... here.
41578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41579         Moved ...
41580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
41581         ... here.
41582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41583         Moved ...
41584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
41585         ... here.
41586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41587         Moved ...
41588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
41589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41590         Moved ...
41591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
41592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41593         Moved ...
41594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
41595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41596         Moved ...
41597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
41598         ... here.
41599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41600         Moved ...
41601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
41602         ... here.
41603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41604         Moved ...
41605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
41606         ... here.
41607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41608         Moved ...
41609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
41610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41611         Moved ...
41612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
41614 2014-06-23  Will Newton  <will.newton@linaro.org>
41615             Wilco  <wdijkstr@arm.com>
41617         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
41618         implementation.  Include get-rounding-mode.h.
41619         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
41620         [!libc_feholdsetround_noex_ctx]: Define
41621         libc_feholdsetround_noex_ctx.
41622         [!libc_feholdsetround_noexf_ctx]: Define
41623         libc_feholdsetround_noexf_ctx.
41624         [!libc_feholdsetround_noexl_ctx]: Define
41625         libc_feholdsetround_noexl_ctx.
41626         (libc_feholdsetround_ctx): New function.
41627         (libc_feresetround_ctx): New function.
41628         (libc_feholdsetround_noex_ctx): New function.
41629         (libc_feresetround_noex_ctx): New function.
41631 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41633         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
41634         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
41635         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
41636         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
41637         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
41638         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
41640         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
41641         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
41642         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
41643         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
41644         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
41645         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
41646         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
41647         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
41648         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
41649         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
41650         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
41651         Moved ...
41652         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
41653         ... here.
41654         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
41655         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
41656         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
41657         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
41658         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
41659         Moved ...
41660         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
41661         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
41662         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
41663         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
41664         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
41665         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
41666         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
41667         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
41668         Moved ...
41669         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
41670         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
41671         Moved ...
41672         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
41673         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
41674         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
41675         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
41676         Moved ...
41677         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
41678         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
41679         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
41680         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
41681         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
41682         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
41683         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
41684         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
41685         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
41686         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
41687         Moved ...
41688         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
41689         ... here.
41690         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
41691         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
41692         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
41693         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
41694         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
41695         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
41696         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
41697         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
41698         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
41699         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
41700         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
41701         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
41702         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
41703         Moved ...
41704         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
41705         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
41706         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
41707         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
41708         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
41709         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
41710         Moved ...
41711         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
41712         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
41713         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
41714         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
41715         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
41717         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
41718         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
41719         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
41720         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
41721         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
41722         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
41723         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
41724         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
41725         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
41726         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
41727         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
41728         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
41729         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
41730         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
41731         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
41732         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
41733         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
41734         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
41735         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
41736         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
41737         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
41738         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
41739         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
41740         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
41741         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
41742         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
41743         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
41744         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
41746 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
41748         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
41749         (FALLOC_FL_COLLAPSE_RANGE): New macro.
41750         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
41751         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
41752         (IPV6_PMTUDISC_INTERFACE): Likewise.
41753         (IPV6_PMTUDISC_OMIT): Likewise.
41755 2014-06-23  Andreas Schwab  <schwab@suse.de>
41757         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
41758         Remove unused errout label.
41760 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41762         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
41763         macro: hardware supports Vector Crypto instructions.
41765 2014-06-23  Will Newton  <will.newton@linaro.org>
41767         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
41768         rather than __builtin_expect.
41770         * elf/dl-lookup.c (undefined_msg): Remove variable.
41771         (_dl_lookup_symbol_x): Replace undefined_msg with string
41772         literal.
41774         * elf/dl-lookup.c (do_lookup_unique): New function.
41775         (do_lookup_x): Move STB_GNU_UNIQUE handling code
41776         to a separate function.
41778 2014-06-23  Andreas Schwab  <schwab@suse.de>
41780         [BZ #17079]
41781         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
41782         before reading the next line.
41784 2014-06-23  Will Newton  <will.newton@linaro.org>
41786         * test-skeleton.c (signal_handler): Use printf and %m
41787         rather than perror.  Use printf rather than fprintf to
41788         stderr.  Use puts rather than fputs to stderr.
41789         (main): Likewise.
41791 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
41793         * nscd/nscd.c (thread_info_t): Remove typedef.
41794         (thread_info): Remove variable.
41796 2014-06-21  Allan McRae  <allan@archlinux.org>
41798         * NEWS: Mention CVE-2014-4043.
41800 2014-06-20  Roland McGrath  <roland@hack.frob.com>
41802         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
41803         * nptl/smp.h: ... here.
41805         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
41807         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
41808         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
41809         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
41810         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
41812         * nptl/allocatestack.c: Include <stack-aliasing.h>.
41813         * nptl/stack-aliasing.h: New file.
41814         * sysdeps/i386/i686/stack-aliasing.h: New file.
41815         * sysdeps/i386/i686/nptl/Makefile: File removed.
41816         * sysdeps/x86_64/stack-aliasing.h: New file.
41817         * sysdeps/x86_64/nptl/Makefile
41818         (CFLAGS-pthread_create.c): Variable removed.
41820         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
41821         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
41822         old file.
41823         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
41824         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
41825         old file.
41827 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
41829         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41830         (__ASSUME_SIGFRAME_V2): Remove macro.
41831         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
41832         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
41833         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
41834         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
41835         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
41836         Declare as function.  Remove conditional macro definitions.
41837         (__default_rt_sa_restorer): Likewise.
41838         (__default_sa_restorer_v1): Remove declaration.
41839         (__default_sa_restorer_v2): Likewise.
41840         (__default_rt_sa_restorer_v1): Likewise.
41841         (__default_rt_sa_restorer_v2): Likewise.
41842         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
41843         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
41844         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
41846 2014-06-20  Roland McGrath  <roland@hack.frob.com>
41848         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
41849         (libpthread-routines): Add sysdep.
41850         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
41851         * sysdeps/unix/sysv/linux/sparc/Versions
41852         (libpthread: GLIBC_2.3.3): New version set.
41853         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
41854         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
41855         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
41856         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
41857         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
41858         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
41859         Moved ...
41860         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
41861         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
41862         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
41863         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
41864         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
41865         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
41866         * sysdeps/sparc/nptl/sem_init.c: ... here.
41867         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
41868         * sysdeps/sparc/nptl/sem_post.c: ... here.
41869         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
41870         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
41871         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
41872         * sysdeps/sparc/nptl/sem_wait.c: ... here.
41873         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
41874         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
41875         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
41876         (libpthread-routines): Add cpu_relax.
41877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
41878         File removed.
41879         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
41880         (librt: GLIBC_2.3.3): New version set.
41881         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
41882         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
41883         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
41884         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
41885         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
41886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
41887         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
41888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
41889         Moved ...
41890         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
41891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
41892         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
41893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
41894         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
41895         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
41896         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
41897         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
41898         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
41899         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
41900         Moved ...
41901         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
41902         Update #include.
41903         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
41904         Moved ...
41905         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
41906         Update #include.
41907         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
41908         Moved ...
41909         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
41910         Update #include.
41911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
41912         Moved ...
41913         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
41914         Update #include.
41915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
41916         Moved ...
41917         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
41918         Update #include.
41919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
41920         Moved ...
41921         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
41922         Update #include.
41923         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
41924         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
41925         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
41926         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
41927         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
41928         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
41929         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
41930         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
41931         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
41932         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
41933         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41934         Moved ...
41935         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
41936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
41937         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
41938         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
41939         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
41941 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41943         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
41944         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
41945         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
41946         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
41947         * nscd/nscd.c: Likewise.
41948         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
41949         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
41950         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
41951         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
41953         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
41954         <kernel-features.h>.
41955         (init_mq_netlink): Remove conditional have_sock_cloexec
41956         definitions.  Remove code conditional on have_sock_cloexec < 0.
41957         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
41958         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
41959         * sysdeps/unix/sysv/linux/opensock.c: Do not include
41960         <kernel-features.h>.
41961         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
41962         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
41964 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
41966         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41967         Add tests for memset_chk and memset.
41969         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
41970         with AVX2_Usable.
41972 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
41974         [BZ #16046]
41975         * elf/tst-dl-iter-static.c: New file.
41976         * elf/Makefile (tests-static): Add tst-dl-iter-static.
41978         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
41979         error.
41981 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
41983         * sysdeps/unix/sysv/linux/kernel-features.h
41984         (__ASSUME_F_GETOWN_EX): Remove macro.
41985         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
41986         <kernel-features.h>.
41987         (miss_F_GETOWN_EX): Remove variable or macro.
41988         (do_fcntl): Do not check miss_F_GETOWN_EX.
41989         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
41991         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
41992         Remove macro.
41993         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
41994         [!__ASSUME_AT_RANDOM]: Remove conditional code.
41995         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
41997         * sysdeps/unix/sysv/linux/kernel-features.h
41998         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
41999         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
42000         [ADJ_OFFSET_SS_READ]: Make code unconditional.
42001         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
42003 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42005         [BZ #17075]
42006         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
42007         Fix calculation of the symbol's value.
42008         * sysdeps/arm/tst-armtlsdescloc.c: New file.
42009         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
42010         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
42011         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
42012         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
42013         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
42014         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
42015         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
42016         (modules-names): Add `tst-armtlsdescmod',
42017         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
42018         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
42019         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42020         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
42021         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
42022         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42023         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
42024         ($(objpfx)tst-armtlsdescloc): New dependency.
42025         ($(objpfx)tst-armtlsdescextnow): Likewise.
42026         ($(objpfx)tst-armtlsdescextlazy): Likewise.
42027         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
42028         TLS scheme support.
42029         * sysdeps/arm/configure: Regenerate.
42031 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42033         * include/fcntl.h (__atfct_seterrno): Remove prototype.
42034         (__atfct_seterrno_2): Likewise.
42035         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
42036         <kernel-features.h>.
42037         (__ASSUME_ATFCTS): Do not undefine and redefine.
42038         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
42039         (__have_atfcts): Remove conditional definition.
42040         (__fxstatat([__NR_fstatat64]: Make code unconditional.
42041         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
42042         unreachable if [__ASSUME_ATFCTS].
42043         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
42044         not undefine and redefine.
42045         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
42046         <kernel-features.h>.
42047         (faccessat) [__NR_faccessat]: Make code unconditional.
42048         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
42049         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
42050         <kernel-features.h>.
42051         (fchmodat) [__NR_fchmodat]: Make code unconditional.
42052         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42053         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
42054         <kernel-features.h>.
42055         (fchownat) [__NR_fchownat]: Make code unconditional.
42056         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
42057         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
42058         <kernel-features.h>.
42059         (futimesat) [__NR_futimesat]: Make code unconditional.
42060         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
42061         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
42062         <kernel-features.h>.
42063         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42064         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42065         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
42066         <kernel-features.h>.
42067         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
42068         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42069         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
42070         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
42071         <kernel-features.h>.
42072         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
42073         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42074         * sysdeps/unix/sysv/linux/linkat.c: Do not include
42075         <kernel-features.h>.
42076         (linkat) [__NR_linkat]: Make code unconditional.
42077         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42078         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
42079         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
42080         <kernel-features.h>.
42081         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
42082         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42083         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
42084         <kernel-features.h>.
42085         (mkdirat) [__NR_mkdirat]: Make code unconditional.
42086         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
42087         * sysdeps/unix/sysv/linux/openat.c: Do not include
42088         <kernel-features.h>.
42089         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
42090         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
42091         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
42092         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
42093         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
42094         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
42095         <kernel-features.h>.
42096         (readlinkat) [__NR_readlinkat]: Make code unconditional.
42097         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
42098         result of INLINE_SYSCALL directly, not via int variable.
42099         * sysdeps/unix/sysv/linux/renameat.c: Do not include
42100         <kernel-features.h>.
42101         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
42102         (renameat) [__NR_renameat]: Make code unconditional.
42103         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
42104         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
42105         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
42106         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
42107         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
42108         (__ASSUME_ATFCTS): Do not undefine and redefine.
42109         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
42110         <kernel-features.h>.
42111         (symlinkat) [__NR_symlinkat]: Make code unconditional.
42112         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42113         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
42114         <kernel-features.h>.
42115         (unlinkat) [__NR_unlinkat]: Make code unconditional.
42116         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42117         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
42118         (__ASSUME_ATFCTS): Do not undefine and redefine.
42119         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
42120         <kernel-features.h>.
42121         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42122         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42123         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
42124         <kernel-features.h>.
42125         (__xmknodat) [__NR_mknodat]: Make code unconditional.
42126         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42128 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42130         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
42132 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
42134         [BZ #17069]
42135         * posix/regcomp.c (parse_reg_exp): Deallocate partially
42136         constructed tree before returning error.
42137         * posix/bug-regexp36.c: Expand test case.
42139 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
42141         [BZ #6803]
42142         * math/libm-test.inc (scalbln_test_date):
42143         Add errno expectations.
42144         * math/w_scalblnf.c: New File.
42145         Add wrapper which checks for setting errno to ERANGE.
42146         Add weak_alias for corresponding scalbln function.
42147         * math/w_scalbln.c: Likewise.
42148         * math/w_scalblnl.c: Likewise.
42149         * math/Makefile (libm-calls): Add w_scalbln.
42150         * sysdeps/ieee754/flt-32/s_scalblnf.c:
42151         Remove weak_alias for corresponding scalbln function.
42152         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42153         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42154         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42155         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42156         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
42157         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42158         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
42159         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42160         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
42161         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
42162         Remove long_double_symbol for scalblnl function in libm, libc.
42163         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
42164         Add wrapper which checks for setting errno to ERANGE.
42165         Add long_double_symbol for scalblnl function in libm, libc.
42166         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
42167         Remove long_double_symbol for scalblnl in libm.
42168         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
42169         Add wrapper which checks for setting errno to ERANGE.
42170         Add long_double_symbol for scalblnl function in libm.
42171         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
42172         Do not use wrapper because of own implementation.
42174 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
42176         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
42177         3 bytes for __pad1 for x32.
42178         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
42180 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
42181             H.J. Lu  <hongjiu.lu@intel.com>
42183         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
42184         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
42185         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42186         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42187         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
42189 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
42191         [BZ #17069]
42192         * posix/regcomp.c (parse_expression): Deallocate partially
42193         constructed tree before returning error.
42194         * posix/Makefile.c (tests): Add bug-regex36.
42195         (generated): Add bug-regex36.mtrace.
42196         (tests-special): Add $(objpfx)bug-regex36-mem.out
42197         (bug-regex36-ENV): New variable.
42198         ($(objpfx)bug-regex36-mem.out): New rule.
42199         * posix/bug-regex36.c: New file.
42201 2014-06-19  Will Newton  <will.newton@linaro.org>
42203         * malloc/malloc.c (systrim): If extra is zero then return
42204         early.
42206 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42208         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
42210 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
42212         * sysdeps/aarch64/strchr.S: New file.
42214 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42216         [BZ #17022]
42217         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
42218         from arguments -2 or below.
42219         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42220         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
42222 2014-06-18  Andreas Schwab  <schwab@suse.de>
42224         [BZ #17062]
42225         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
42226         of a bracket expr not to run off the end of the string.
42227         * posix/Makefile (tests): Add tst-fnmatch3.
42228         * posix/tst-fnmatch3.c: New file.
42230 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42232         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
42233         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42234         [$(cross-compiling) = no]: Likewise.
42235         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42236         [$(cross-compiling) = no]: Likewise.
42238 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42240         [BZ #17031]
42241         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
42242         double, adjusted for any remainder from the high double.
42243         * math/libm-test.inc (nearbyint): Add tests.
42244         (rint): Likewise.
42246 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42248         * nptl/sysdeps/powerpc/Makefile: Moved ...
42249         * sysdeps/powerpc/nptl/Makefile: ... here.
42250         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
42251         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
42252         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
42253         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
42254         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
42255         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
42256         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
42257         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
42258         * nptl/sysdeps/powerpc/tls.h: Moved ...
42259         * sysdeps/powerpc/nptl/tls.h: ... here.
42261 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
42263         [BZ #16681]
42264         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
42265         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
42266         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
42267         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
42268         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
42269         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
42270         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
42271         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
42272         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
42274 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
42276         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
42278 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
42280         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
42281         defined operator.
42283         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
42284         $TIMEOUTFACTOR.
42286 2014-06-16  Florian Weimer  <fweimer@redhat.com>
42288         [BZ #17058]
42289         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
42290         non-executed part of the test.
42292 2014-06-16  Andreas Schwab  <schwab@suse.de>
42294         * string/bits/string2.h (strdup, strndup): Update feature guard.
42296 2014-06-14  David S. Miller  <davem@davemloft.net>
42298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42300 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
42302         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
42303         that was previously under [RESET_PID].
42304         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
42306         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
42307         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
42308         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
42309         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42310         (__libc_vfork): New strong alias.
42311         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
42313 2014-06-14 Andi Kleen  <ak@linux.intel.com>
42315         * sysdeps/generic/elide.h: New file.
42317 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42319         * Makefile (installed-headers): Adjust path of pthread.h header.
42321 2014-06-13  Roland McGrath  <roland@hack.frob.com>
42323         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
42324         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
42325         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
42326         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
42328         * nptl/sysdeps/s390/Makefile: Moved ...
42329         * sysdeps/s390/nptl/Makefile: ... here.
42330         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
42331         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
42332         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
42333         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
42334         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
42335         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
42336         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
42337         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
42338         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
42339         * sysdeps/s390/nptl/pthreaddef.h: ... here.
42340         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
42341         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
42342         * nptl/sysdeps/s390/tls.h: Moved ...
42343         * sysdeps/s390/nptl/tls.h: ... here.
42345         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
42346         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
42348 2014-06-13  David S. Miller  <davem@davemloft.net>
42350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
42351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
42352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
42353         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
42354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
42355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
42356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
42357         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
42358         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
42359         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
42360         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
42361         Remove RESET_PID cpp guards.
42362         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
42363         Remove RESET_PID cpp guards.
42364         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
42366 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
42368         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
42369         __sp to uintptr_t.
42371 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42373         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
42374         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
42375         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
42376         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
42377         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
42378         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
42379         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
42380         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
42381         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
42382         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
42383         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
42384         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
42385         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
42386         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
42387         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
42388         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
42389         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
42390         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
42391         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
42392         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
42394         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
42395         (pthread_rwlock_rdlock): Add elision.
42396         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
42397         (pthread_rwlock_wrlock): Add elision.
42398         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
42399         (pthread_rwlock_trywrlock): Add elision.
42400         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
42401         (pthread_rwlock_tryrdlock): Add elision.
42402         * nptl/pthread_rwlock_unlock.c: Include elide.h.
42403         (pthread_rwlock_tryrdlock): Add elision unlock.
42404         * nptl/sysdeps/pthread/pthread.h:
42405         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
42406         (PTHREAD_RWLOCK_INITIALIZER,
42407         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
42408         Handle new elision field.
42409         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
42410         * sysdeps/arm/nptl/bits/pthreadtypes.h
42411         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42412         * sysdeps/sh/nptl/bits/pthreadtypes.h
42413         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42414         * sysdeps/tile/nptl/bits/pthreadtypes.h
42415         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42416         * sysdeps/a/nptl/bits/pthreadtypes.h
42417         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42418         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42419         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42420         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42421         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42422         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
42423         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42424         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42425         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42426         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42427         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42428         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42429         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42430         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42431         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42432         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
42433         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42434         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
42435         (elision_init): Set try_xbegin to zero when no RTM.
42436         * sysdeps/x86/nptl/bits/pthreadtypes.h
42437         (pthread_rwlock_t): Change __pad1 to __rwelision.
42438         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42440 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42442         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
42443         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
42444         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
42445         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
42447 2014-06-13  Meador Inge  <meadori@codesourcery.com>
42449         [BZ #16996]
42450         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
42451         that the cached result has been set before returning it.
42453 2014-06-12  Roland McGrath  <roland@hack.frob.com>
42455         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
42456         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
42457         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
42458         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
42459         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
42460         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
42462         * nptl/sysdeps/sparc/Makefile: Moved ...
42463         * sysdeps/sparc/nptl/Makefile: ... here.
42464         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
42465         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
42466         * nptl/sysdeps/sparc/tls.h: Moved ...
42467         * sysdeps/sparc/nptl/tls.h: ... here.
42468         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
42469         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
42470         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
42471         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
42472         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
42473         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
42474         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
42475         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
42476         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
42477         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
42478         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
42479         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
42480         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
42481         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
42482         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
42483         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
42484         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
42485         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
42486         Update #include.
42487         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
42488         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
42489         Update #include.
42490         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
42491         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
42492         Update #include.
42493         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
42494         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
42495         Update #include.
42497         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
42499         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
42500         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
42502         * sysdeps/pthread/posix-timer.h: Include <list.h>.
42503         (struct list_links): Type removed.
42504         (struct thread_node, struct timer_node): Replace struct list_links
42505         with struct list_head.
42506         (list_unlink_ip): Likewise.
42507         * sysdeps/pthread/timer_routines.c
42508         (timer_free_list, thread_free_list, thread_active_list): Likewise.
42509         (list_append, list_insbefore): Likewise.
42510         (list_init): Function removed.
42511         (thread_init, init_module): Use INIT_LIST_HEAD instead.
42512         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
42513         * sysdeps/pthread/Makefile: ... here, new file.
42515         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
42516         * sysdeps/nptl/Implies: ... here.
42517         * sysdeps/unix/sysv/linux/Implies: Add nptl.
42518         * nptl/sysdeps/pthread/list.h: Moved ...
42519         * include/list.h: ... here.
42520         * nptl/sysdeps/pthread/createthread.c: Moved ...
42521         * nptl/createthread.c: ... here.
42522         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
42523         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
42524         * nptl/pt-longjmp.c: ... here.
42525         * nptl/sysdeps/pthread/Makefile: Moved ...
42526         * sysdeps/nptl/Makefile: ... here.
42527         * nptl/sysdeps/pthread/Subdirs: Moved ...
42528         * sysdeps/nptl/Subdirs: ... here.
42529         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
42530         * sysdeps/nptl/aio_misc.h: ... here.
42531         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
42532         * sysdeps/nptl/bits/libc-lock.h: ... here.
42533         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
42534         * sysdeps/nptl/bits/libc-lockP.h: ... here.
42535         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
42536         * sysdeps/nptl/bits/stdio-lock.h: ... here.
42537         * nptl/sysdeps/pthread/configure: Moved ...
42538         * sysdeps/nptl/configure: ... here.
42539         * nptl/sysdeps/pthread/configure.ac: Moved ...
42540         * sysdeps/nptl/configure.ac: ... here.
42541         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
42542         * sysdeps/nptl/gai_misc.h: ... here.
42543         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
42544         * sysdeps/nptl/librt-cancellation.c: ... here.
42545         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
42546         * sysdeps/nptl/malloc-machine.h: ... here.
42547         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
42548         * sysdeps/nptl/pthread-functions.h: ... here.
42549         * nptl/sysdeps/pthread/pthread.h: Moved ...
42550         * sysdeps/nptl/pthread.h: ... here.
42551         * nptl/sysdeps/pthread/setxid.h: Moved ...
42552         * sysdeps/nptl/setxid.h: ... here.
42553         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
42554         * sysdeps/nptl/sigfillset.c: ... here.
42555         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
42556         * sysdeps/nptl/tcb-offsets.h: ... here.
42557         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
42558         * sysdeps/nptl/tst-mqueue8x.c: ... here.
42559         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
42560         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
42561         * nptl/sysdeps/pthread/allocalim.h: Moved ...
42562         * sysdeps/pthread/allocalim.h: ... here.
42563         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
42564         * sysdeps/pthread/bits/sigthread.h: ... here.
42565         * nptl/sysdeps/pthread/flockfile.c: Moved ...
42566         * sysdeps/pthread/flockfile.c: ... here.
42567         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
42568         * sysdeps/pthread/ftrylockfile.c: ... here.
42569         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
42570         * sysdeps/pthread/funlockfile.c: ... here.
42571         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
42572         * sysdeps/pthread/posix-timer.h: ... here.
42573         * nptl/sysdeps/pthread/timer_create.c: Moved ...
42574         * sysdeps/pthread/timer_create.c: ... here.
42575         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
42576         * sysdeps/pthread/timer_delete.c: ... here.
42577         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
42578         * sysdeps/pthread/timer_getoverr.c: ... here.
42579         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
42580         * sysdeps/pthread/timer_gettime.c: ... here.
42581         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
42582         * sysdeps/pthread/timer_routines.c: ... here.
42583         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
42584         * sysdeps/pthread/timer_settime.c: ... here.
42585         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
42586         * sysdeps/pthread/tst-timer.c: ... here.
42587         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
42588         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
42590         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
42591         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
42593         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
42594         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
42595         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
42596         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
42597         Update #include target.
42598         * nptl/sysdeps/i386/i686/Makefile: Moved ...
42599         * sysdeps/i386/i686/nptl/Makefile: ... here.
42600         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
42601         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
42602         Update #include target.
42603         * nptl/sysdeps/i386/i686/tls.h: Moved ...
42604         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
42605         * nptl/sysdeps/i386/Makefile: Moved ...
42606         * sysdeps/i386/nptl/Makefile: ... here.
42607         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
42608         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
42609         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
42610         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
42611         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
42612         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
42613         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
42614         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
42615         * sysdeps/i386/nptl/pthreaddef.h: ... here.
42616         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
42617         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
42618         * nptl/sysdeps/i386/tls.h: Moved ...
42619         * sysdeps/i386/nptl/tls.h: ... here.
42621         * sysdeps/sh/Makefile [$(subdir) = csu]
42622         (gen-as-const-headers): Add tcb-offsets.sym.
42623         * nptl/sysdeps/sh/Makefile: File removed.
42624         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
42625         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
42626         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
42627         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
42628         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
42629         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
42630         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
42631         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
42632         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
42633         * sysdeps/sh/nptl/pthreaddef.h: ... here.
42634         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
42635         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
42636         * nptl/sysdeps/sh/tls.h: Moved ...
42637         * sysdeps/sh/nptl/tls.h: ... here.
42638         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
42639         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
42640         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
42641         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
42642         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
42643         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
42644         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
42645         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
42646         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
42647         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
42648         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
42649         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
42650         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
42651         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
42652         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
42653         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
42654         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
42655         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
42656         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
42657         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
42658         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
42659         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
42660         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
42661         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
42662         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
42663         Moved ...
42664         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
42665         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
42666         Moved ...
42667         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
42668         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
42669         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
42670         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
42671         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
42672         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
42673         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
42674         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
42675         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
42676         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
42677         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
42678         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
42679         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
42680         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
42681         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
42682         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
42683         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
42684         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
42685         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
42687 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42689         * posix/spawn_faction_addopen.c: Include string.h.
42691 2014-06-11  Roland McGrath  <roland@hack.frob.com>
42693         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
42694         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
42695         * nptl/sysdeps/x86_64/Makefile: Moved ...
42696         * sysdeps/x86_64/nptl/Makefile: ... here.
42697         * nptl/sysdeps/x86_64/configure: Moved ...
42698         * sysdeps/x86_64/nptl/configure: ... here.
42699         * nptl/sysdeps/x86_64/configure.ac: Moved ...
42700         * sysdeps/x86_64/nptl/configure.ac: ... here.
42701         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
42702         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
42703         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
42704         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
42705         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
42706         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
42707         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
42708         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
42709         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
42710         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
42711         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
42712         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
42713         * nptl/sysdeps/x86_64/tls.h: Moved ...
42714         * sysdeps/x86_64/nptl/tls.h: ... here.
42715         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
42716         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
42717         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
42718         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
42720         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
42722 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42726 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
42728         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
42729         type.
42730         [POSIX] (off_t): Likewise.
42731         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
42732         [POSIX] (S_ISBLK): Require macro.
42733         [POSIX] (S_ISCHR): Likewise.
42734         [POSIX] (S_ISDIR): Likewise.
42735         [POSIX] (S_ISFIFO): Likewise.
42736         [POSIX] (S_ISREG): Likewise.
42737         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
42738         optional-macro.
42739         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
42740         type.
42741         [POSIX] (time_t): Likewise.
42742         [POSIX] (timer_t): Likewise.
42744 2014-06-11  Florian Weimer  <fweimer@redhat.com>
42746         [BZ #17048]
42747         * posix/spawn_int.h (struct __spawn_action): Make the path string
42748         non-const to support deallocation.
42749         * posix/spawn_faction_addopen.c
42750         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
42751         * posix/spawn_faction_destroy.c
42752         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
42753         path in all spawn_do_open actions.
42754         * posix/tst-spawn.c (do_test): Exercise the copy operation in
42755         posix_spawn_file_actions_addopen.
42757 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
42759         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
42760         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
42761         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
42762         conditional code always true.
42763         (__libc_vfork): New alias.
42765 2014-06-11  Roland McGrath  <roland@hack.frob.com>
42767         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42768         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
42770         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
42772         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42773         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
42775         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
42776         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
42778         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42779         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
42781 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42783         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
42784         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
42785         multiarch strcmp for PPC64.
42786         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
42787         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
42788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
42789         multiarch optimizations.
42790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42791         (__libc_ifunc_impl_list): Likewise.
42793 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42795         * benchtests/scripts/validate_benchout.py: New script.
42796         * benchtests/Makefile (bench-func): Call it.
42797         * benchtests/scripts/benchout.schema.json: New file.
42799 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
42801         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
42802         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
42803         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
42804         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
42805         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
42806         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
42807         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
42808         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
42809         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
42810         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
42811         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
42812         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
42813         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
42814         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
42815         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
42816         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
42817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
42818         Moved ...
42819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
42820         ... here.
42821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
42822         Moved ...
42823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
42824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
42825         Moved ...
42826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
42827         ... here.
42828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
42829         Moved ...
42830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
42831         ... here.
42832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
42833         Moved ...
42834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
42835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
42836         Moved ...
42837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
42838         ... here.
42839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
42840         Moved ...
42841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
42842         ... here.
42843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
42844         Moved ...
42845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
42846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
42847         Moved ...
42848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
42849         ... here.
42850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
42851         Moved ...
42852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
42853         ... here.
42854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
42855         Moved ...
42856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
42857         ... here.
42858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
42859         Moved ...
42860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
42861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
42862         Moved ...
42863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
42864         ... here.
42865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
42866         Moved ...
42867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
42868         ... here.
42869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
42870         Moved ...
42871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
42872         ... here.
42873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
42874         Moved ...
42875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
42876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
42877         Moved ...
42878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
42879         ... here.
42880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
42881         Moved ...
42882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
42883         ... here.
42884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
42885         Moved ...
42886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
42887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
42888         Moved ...
42889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
42890         ... here.
42891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
42892         Moved ...
42893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
42894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
42895         Moved ...
42896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
42897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
42898         Moved ...
42899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
42900         ... here.
42901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
42902         Moved ...
42903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
42904         ... here.
42905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
42906         Moved ...
42907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
42908         ... here.
42909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
42910         Moved ...
42911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
42912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
42913         Moved ...
42914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
42915         ... here.
42916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
42917         Moved ...
42918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
42919         ... here.
42920         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
42921         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
42922         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
42923         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
42924         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
42925         Moved ...
42926         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
42927         ... here.
42928         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
42929         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
42930         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
42931         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
42932         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
42933         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
42934         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
42935         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
42936         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
42937         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
42938         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
42939         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
42940         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
42941         Moved ...
42942         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
42943         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
42944         Moved ...
42945         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
42946         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
42947         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
42948         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
42949         Moved ...
42950         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
42951         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
42952         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
42953         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
42954         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
42955         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
42956         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
42958 2014-06-10  Wilco  <wdijkstr@arm.com>
42960         * math/test-fenv-return.c: New file.
42961         * math/Makefile: Add new test test-fenv-return.
42963 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
42965         [BZ #17042]
42966         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
42967         when x - 1 is zero.
42968         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
42969         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
42970         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
42971         0.0L for an argument of 1.0L.
42972         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
42973         Likewise.
42974         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
42975         value when x - 1 is zero.
42976         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
42977         * sysdeps/i386/fpu/libm-test-ulps: Update.
42978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42980 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
42982         [BZ #15119]
42983         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
42985 2014-06-09  Roland McGrath  <roland@hack.frob.com>
42987         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
42988         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
42990 2014-06-09  Roland McGrath  <roland@hack.frob.com>
42992         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42993         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
42995         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42996         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
42998         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42999         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
43001         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43002         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
43004         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
43005         if not already defined.
43006         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
43007         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
43008         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
43009         (TLS_INIT_TP): Use it.
43010         (TLS_DEFINE_INIT_TP): New macro.
43011         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
43013 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
43015         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
43016         constant.
43017         [POSIX] (IXANY): Likewise.
43018         [POSIX] (OLCUC): Likewise.
43019         [POSIX || POSIX2008] (CBAUD): Do not allow.
43020         [POSIX || POSIX2008] (DEFECHO): Likewise.
43021         [POSIX || POSIX2008] (ECHOCTL): Likewise.
43022         [POSIX || POSIX2008] (ECHOKE): Likewise.
43023         [POSIX || POSIX2008] (ECHOPRT): Likewise.
43024         [POSIX || POSIX2008] (EXTA): Likewise.
43025         [POSIX || POSIX2008] (EXTB): Likewise.
43026         [POSIX || POSIX2008] (FLUSHO): Likewise.
43027         [POSIX || POSIX2008] (LOBLK): Likewise.
43028         [POSIX || POSIX2008] (PENDIN): Likewise.
43029         [POSIX || POSIX2008] (SWTCH): Likewise.
43030         [POSIX || POSIX2008] (VDISCARD): Likewise.
43031         [POSIX || POSIX2008] (VDSUSP): Likewise.
43032         [POSIX || POSIX2008] (VLNEXT): Likewise.
43033         [POSIX || POSIX2008] (VREPRINT): Likewise.
43034         [POSIX || POSIX2008] (VSTATUS): Likewise.
43035         [POSIX || POSIX2008] (VWERASE): Likewise.
43036         (B*): Change to B[0123456789]*.
43037         * conform/data/time.h-data [POSIX || UNIX98]
43038         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
43039         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43040         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
43041         [POSIX] (tm_*): Do not allow.
43043 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
43045         * Makefile (install): Don't set LANGUAGE.
43046         * Makefile.in (install): Likewise.
43047         * assert/Makefile (test-assert-ENV): Remove variable.
43048         (test-assert-perr-ENV): Likewise.
43049         * elf/Makefile (neededtest4-ENV): Likewise.
43050         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43051         [$(cross-compiling) = no]: Don't set LANGUAGE.
43052         * io/ftwtest-sh (LANG): Remove variable.
43053         * libio/Makefile (tst-widetext-ENV): Likewise.
43054         * manual/install.texi (Running make install): Don't refer to
43055         environment settings for make install.
43056         * INSTALL: Regenerated.
43057         * nptl/tst-tls6.sh: Don't set LANG.
43058         * posix/globtest.sh (LANG): Remove variable.
43059         * string/Makefile (tester-ENV): Likewise.
43060         (inl-tester-ENV): Likewise.
43061         (noinl-tester-ENV): Likewise.
43062         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43063         [$(cross-compiling) = no]: Don't set LANGUAGE.
43064         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
43065         without explicit environment settings.
43067 2014-06-06  Roland McGrath  <roland@hack.frob.com>
43069         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
43070         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
43071         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
43072         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
43074 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
43076         * crypt/crypt-private.h [DOS]: Add some includes taken from the
43077         other files in the crypt directory.
43078         * crypt/crypt.c: Remove duplicate includes.
43079         * crypt/crypt-entry.c: Likewise.
43080         * crypt/crypt_util.c: Likewise.
43082 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
43084         * Makeconfig (run-program-env): New variable.
43085         (run-program-prefix-before-env): Likewise.
43086         (run-program-prefix-after-env): Likewise.
43087         (run-program-prefix): Define in terms of new variables.
43088         (built-program-cmd-before-env): New variable.
43089         (built-program-cmd-after-env): Likewise.
43090         (built-program-cmd): Define in terms of new variables.
43091         (test-program-prefix-before-env): New variable.
43092         (test-program-prefix-after-env): Likewise.
43093         (test-program-prefix): Define in terms of new variables.
43094         (test-program-cmd-before-env): New variable.
43095         (test-program-cmd-after-env): Likewise.
43096         (test-program-cmd): Define in terms of new variables.
43097         * Rules (make-test-out): Use $(run-program-env).
43098         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
43099         (help): Do not mention environment variables.  Mention
43100         --timeoutfactor option.
43101         (timeoutfactor): New variable.
43102         (blacklist_exports): Remove function.
43103         (exports): Remove variable.
43104         (command): Do not include ${exports}.
43105         * manual/install.texi (Configuring and compiling): Do not mention
43106         test wrappers preserving environment variables.  Mention that last
43107         assignment to a variable must take precedence.
43108         * INSTALL: Regenerated.
43109         * benchtests/Makefile (run-bench): Use $(run-program-env).
43110         * catgets/Makefile ($(objpfx)test1.cat): Use
43111         $(built-program-cmd-before-env), $(run-program-env) and
43112         $(built-program-cmd-after-env).
43113         ($(objpfx)test2.cat): Do not specify environment variables
43114         explicitly.
43115         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
43116         $(run-program-env) and $(built-program-cmd-after-env).
43117         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
43118         $(run-program-env) and $(test-program-cmd-after-env).
43119         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
43120         explicitly.
43121         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
43122         run_program_env and test_program_cmd_after_env arguments.
43123         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
43124         * elf/tst-pathopt.sh: Use run_program_env argument.
43125         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
43126         $(test-wrapper-env) and $(run-program-env).
43127         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
43128         run_program_env arguments.
43129         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
43130         * intl/Makefile ($(objpfx)tst-gettext.out): Use
43131         $(test-program-prefix-before-env), $(run-program-env) and
43132         $(test-program-prefix-after-env).
43133         ($(objpfx)tst-gettext2.out): Likewise.
43134         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
43135         run_program_env and test_program_prefix_after_env arguments.
43136         * intl/tst-gettext2.sh: Likewise.
43137         * intl/tst-gettext4.sh: Do not set environment variables
43138         explicitly.
43139         * intl/tst-gettext6.sh: Likewise.
43140         * intl/tst-translit.sh: Likewise.
43141         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
43142         $(test-program-prefix-before-env), $(run-program-env) and
43143         $(test-program-prefix-after-env).
43144         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
43145         run_program_env and test_program_prefix_after_env arguments.
43146         * math/Makefile (run-regen-ulps): Use $(run-program-env).
43147         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
43148         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
43149         explicitly with each use of ${test_wrapper_env}.
43150         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
43151         $(test-program-prefix-before-env), $(run-program-env) and
43152         $(test-program-prefix-after-env).
43153         * posix/tst-getconf.sh: Do not set environment variables
43154         explicitly.
43155         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
43156         run_program_env and test_program_prefix_after_env arguments.
43157         * stdio-common/tst-printf.sh: Do not set environment variables
43158         explicitly.
43159         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
43160         $(test-program-prefix-before-env), $(run-program-env) and
43161         $(test-program-prefix-after-env).
43162         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
43163         run_program_env and test_program_prefix_after_env arguments.
43164         Split $test calls into $test_pre and $test.
43165         * timezone/Makefile (build-testdata): Use
43166         $(built-program-cmd-before-env), $(run-program-env) and
43167         $(built-program-cmd-after-env).
43169 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43171         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
43172         strlen for non SHARED builds.
43174 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43176         * nptl/allocatestack.c (check_list): Inlined function...
43177         (__reclaim_stacks): ... here.
43179 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43181         [BZ #15698]
43182         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
43183         memory overrun.
43185 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
43187         * Rules (make-test-out): Include
43188         LOCPATH=$(common-objpfx)localedata in default environment.
43189         * debug/Makefile (tst-chk1-ENV): Remove variable.
43190         (tst-chk2-ENV): Likewise.
43191         (tst-chk3-ENV): Likewise.
43192         (tst-chk4-ENV): Likewise.
43193         (tst-chk5-ENV): Likewise.
43194         (tst-chk6-ENV): Likewise.
43195         (tst-lfschk1-ENV): Likewise.
43196         (tst-lfschk2-ENV): Likewise.
43197         (tst-lfschk3-ENV): Likewise.
43198         (tst-lfschk4-ENV): Likewise.
43199         (tst-lfschk5-ENV): Likewise.
43200         (tst-lfschk6-ENV): Likewise.
43201         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
43202         (tst-iconv7-ENV): Likewise.
43203         * intl/Makefile (LOCPATH-ENV): Likewise.
43204         (tst-codeset-ENV): Likewise.
43205         (tst-gettext3-ENV): Likewise.
43206         (tst-gettext5-ENV): Likewise.
43207         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
43208         (tst-fopenloc-ENV): Likewise.
43209         (tst-fgetws-ENV): Remove variable.
43210         (tst-ungetwc1-ENV): Likewise.
43211         (tst-ungetwc2-ENV): Likewise.
43212         (bug-ungetwc2-ENV): Likewise.
43213         (tst-swscanf-ENV): Likewise.
43214         (bug-ftell-ENV): Likewise.
43215         (tst-fgetwc-ENV): Likewise.
43216         (tst-fseek-ENV): Likewise.
43217         (tst-ftell-partial-wide-ENV): Likewise.
43218         (tst-ftell-active-handler-ENV): Likewise.
43219         (tst-ftell-append-ENV): Likewise.
43220         * posix/Makefile (tst-fnmatch-ENV): Likewise.
43221         (tst-regexloc-ENV): Likewise.
43222         (bug-regex1-ENV): Likewise.
43223         (tst-regex-ENV): Likewise.
43224         (tst-regex2-ENV): Likewise.
43225         (bug-regex5-ENV): Likewise.
43226         (bug-regex6-ENV): Likewise.
43227         (bug-regex17-ENV): Likewise.
43228         (bug-regex18-ENV): Likewise.
43229         (bug-regex19-ENV): Likewise.
43230         (bug-regex20-ENV): Likewise.
43231         (bug-regex22-ENV): Likewise.
43232         (bug-regex23-ENV): Likewise.
43233         (bug-regex25-ENV): Likewise.
43234         (bug-regex26-ENV): Likewise.
43235         (bug-regex30-ENV): Likewise.
43236         (bug-regex32-ENV): Likewise.
43237         (bug-regex33-ENV): Likewise.
43238         (bug-regex34-ENV): Likewise.
43239         (bug-regex35-ENV): Likewise.
43240         (tst-rxspencer-ENV): Likewise.
43241         (tst-rxspencer-no-utf8-ENV): Likewise.
43242         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
43243         (tst-sscanf-ENV): Likewise.
43244         (tst-swprintf-ENV): Likewise.
43245         (tst-swscanf-ENV): Likewise.
43246         (test-vfprintf-ENV): Likewise.
43247         (scanf13-ENV): Likewise.
43248         (bug14-ENV): Likewise.
43249         (tst-grouping-ENV): Likewise.
43250         * stdlib/Makefile (tst-strtod-ENV): Likewise.
43251         (tst-strtod3-ENV): Likewise.
43252         (tst-strtod4-ENV): Likewise.
43253         (tst-strtod5-ENV): Likewise.
43254         (testmb2-ENV): Likewise./
43255         * string/Makefile (tst-strxfrm-ENV): Likewise.
43256         (tst-strxfrm2-ENV): Likewise.
43257         (bug-strcoll1-ENV): Likewise.
43258         (test-strcasecmp-ENV): Likewise.
43259         (test-strncasecmp-ENV): Likewise.
43260         * time/Makefile (tst-strptime-ENV): Likewise.
43261         (tst-ftime_l-ENV): Likewise.
43262         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
43263         (tst-mbrtowc-ENV): Likewise.
43264         (tst-wcrtomb-ENV): Likewise.
43265         (tst-mbrtowc2-ENV): Likewise.
43266         (tst-c16c32-1-ENV): Likewise.
43267         (tst-mbsnrtowcs-ENV): Likewise.
43269 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43271         * manual/resource.texi (How to get information about the memory
43272         subsystem?): Fix typo.
43273         Reported by Peon de la Parra Ivan <peon@keba.com>
43275 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
43277         [BZ #16882]
43278         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
43279         (pthread_spin_lock): Branch out of spin loop to proper location.
43280         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
43281         (pthread_spin_lock): Likewise.
43283         * nptl/tst-spin4.c: New test.
43284         * nptl/Makefile (tests): Add tst-spin4.
43286 2014-06-03  Andreas Schwab  <schwab@suse.de>
43288         [BZ #15946]
43289         * resolv/res_send.c (send_dg): Reload file descriptor after
43290         calling reopen.
43292 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
43294         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43296 2014-06-03  Richard Henderson  <rth@redhat.com>
43298         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
43299         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
43300         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
43301         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
43302         in the SAVE_PID block.
43303         (__libc_vfork): New alias.
43304         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
43306         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
43307         child in registers, not on the stack.  Remove RESET_PID conditionals.
43308         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
43310 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43312         * sysdeps/aarch64/libm-test-ulps: Regenerate.
43314 2014-06-03  Wilco  <wdijkstr@arm.com>
43316         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
43317         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
43318         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43319         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
43320         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
43321         Likewise.
43323 2014-06-03  Wilco  <wdijkstr@arm.com>
43325         * sysdeps/aarch64/fpu/math_private.h
43326         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
43327         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
43328         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
43329         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43330         Fix declarations.
43332 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43334         * crypt/crypt-private.h: Include ufc-crypt.h.
43335         (__b64_from_24bit): Declare extern.
43336         * crypt/crypt_util.c(__b64_from_24bit): New function.
43337         (b64t): New static const variable.
43338         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
43339         (b64t): Remove variable.
43340         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
43341         * crypt/sha256-crypt.c: Include crypt-private.h.
43342         (b64t): Remove variable.
43343         (__sha256_crypt_r): Remove b64_from_24bit and replace
43344         with __b64_from_24bit.
43345         * crypt/sha512-crypt.c: Likewise.
43347 2014-06-02  Roland McGrath  <roland@hack.frob.com>
43349         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
43350         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
43351         Label the code __libc_vfork rather than __vfork.
43352         [!NOT_IN_libc] (vfork): Define as weak alias.
43353         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
43354         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
43355         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
43357 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43359         * malloc/malloc.c (malloc_info): Fix format specifier for
43360         n_mmaps.
43362 2014-06-02  Wilco  <wdijkstr@arm.com>
43364         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
43365         FPCR write.
43367 2014-06-02  Wilco  <wdijkstr@arm.com>
43369         [BZ #17009]
43370         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
43371         Rewrite to reduce FPCR/FPSR accesses.
43373 2014-06-01  David S. Miller  <davem@davemloft.net>
43375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43377 2014-05-31  David S. Miller  <davem@davemloft.net>
43379         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
43380         to occur in round to nearest mode when |x| >= 2.0
43382 2014-05-30  Richard Henderson  <rth@twiddle.net>
43384         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
43385         (PSEUDO_RET_NOERRNO): Remove.
43386         (ret): Don't redefine.
43387         (ret_NOERRNO): Define in terms of ret.
43388         (ret_ERRVAL): Likewise.
43390         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
43391         use of PSEUDO_RET; perform the error check directly.
43393 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
43395         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
43396         with __int128_t.
43398 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43400         * malloc/malloc (malloc_info): Fix formatting.
43402 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43403             Roland McGrath  <roland@hack.frob.com>
43405         * malloc/malloc (malloc_info): Also print mmapped statistics.
43407 2014-05-30  Roland McGrath  <roland@hack.frob.com>
43409         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
43410         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
43412 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
43414         * malloc/malloc.c (malloc_info): Inline mi_arena.
43416 2014-05-29  Richard Henderson  <rth@twiddle.net>
43418         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
43419         Remove comma before expanding ASM_ARGS_##nr.
43420         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
43421         Make _x0 a strict output; make _x8 a strict input; adjust expansion
43422         of ASM_ARGS_##nr.
43423         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
43424         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
43425         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
43426         (ASM_ARGS_1): Add leading comma.
43428         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
43429         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
43430         to __errno_location.
43431         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
43432         Remove the expected plt for __errno_location.
43434         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43435         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
43436         call to __read_tp.
43438         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43439         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
43440         it and break it down.
43441         (DOCARGS_0, DOCARGS_1): Do nothing.
43442         (DOCARGS_2): Update to store into the new stack frame.
43443         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
43444         (UNDOCARGS_1): Update to restore from the new stack frame.
43445         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
43446         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
43448         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43449         (SINGLE_THREAD_P): New parameter for result regno.
43450         (PSEUDO): Update to match; use cbz instead of beq.
43452         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43453         Use ENTRY to define the _nocancel entry point.  Share the syscall
43454         and syscall error check paths with the cancel path.
43455         (PSEUDO_END): New.
43457         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
43458         whitespace; tabs before and after asm mnemonics.
43460 2014-05-29  Eric Wong  <normalperson@yhbt.net>
43462         [BZ #15132]
43463         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43464         Call fstat64 or stat64 internally, depending on arguments passed.
43465         Replace stat buffer argument with file descriptor argument.
43466         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
43467         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43468         Pass fd to __internal_statvfs instead of calling fstat64.
43469         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
43470         Pass fd to __internal_statvfs64 instead of calling fstat64.
43471         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
43472         Pass -1 to __internal_statvfs instead of calling stat64.
43473         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
43474         Pass -1 to __internal_statvfs64 instead of calling stat64.
43476 2014-05-28  Roland McGrath  <roland@hack.frob.com>
43478         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
43479         that was previously under [RESET_PID].
43480         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
43482         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
43483         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
43485 2014-05-27  Roland McGrath  <roland@hack.frob.com>
43487         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
43489         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
43490         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
43492 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
43494         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
43496 2014-05-27  Andreas Schwab  <schwab@suse.de>
43498         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
43499         TLS_INIT_TP macro.
43500         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
43501         * elf/rtld.c (init_tls, dl_main): Likewise.
43502         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
43503         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
43504         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
43505         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
43506         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
43507         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
43508         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
43509         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
43510         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
43511         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
43512         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
43513         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
43514         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
43515         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
43516         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
43517         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
43518         * sysdeps/generic/tls.h: Update description.
43520 2014-05-27  Will Newton  <will.newton@linaro.org>
43522         [BZ #16990]
43523         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
43524         and restore r2 rather than just restoring.
43526 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43528         [BZ #16724]
43529         * libio/tst-ftell-append.c: New test case.
43530         * libio/Makefile (tests): Add test case.
43531         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
43532         append mode.
43533         * libio/wfileops.c (do_ftell_wide): Likewise.
43535 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43539         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
43540         ...
43541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
43542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
43543         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
43544         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
43545         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
43546         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
43547         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
43548         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
43549         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43550         Moved ...
43551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
43552         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43553         Moved ...
43554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
43555         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
43556         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
43557         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
43558         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
43559         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
43560         ...
43561         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
43562         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
43563         Moved ...
43564         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
43565         here.
43566         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
43567         ...
43568         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
43569         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
43570         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
43572         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
43573         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
43574         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
43575         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
43577         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
43578         merge into ...
43579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
43580         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
43581         ...
43582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
43583         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
43584         ...
43585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
43586         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
43587         Moved ...
43588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
43589         here.
43590         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
43591         Moved ...
43592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
43593         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
43594         Moved ...
43595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
43597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
43598         conditional [RESET_PID].
43599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
43600         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
43601         removed.
43602         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
43603         removed.
43605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
43606         <tcb-offsets.h>.
43607         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43608         (__libc_vfork): New strong alias.
43609         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
43610         removed.
43611         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
43612         Removed.
43614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
43615         <tcb-offsets.h>.
43616         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
43617         (__libc_vfork): New strong alias.
43618         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
43619         removed.
43620         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
43621         removed.
43623 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
43625         * malloc/malloc.c (mi_arena): New function.
43626         (malloc_info): Remove nested function mi_arena. Call non-nosted
43627         function mi_arena.
43629 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43631         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
43632         by insrwi.
43633         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
43634         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
43635         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
43636         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
43637         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
43638         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
43639         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
43641 2014-05-26  Andreas Schwab  <schwab@suse.de>
43643         [BZ #16984]
43644         * locale/programs/repertoire.c (repertoire_read): Add slash
43645         between I18NPATH element and file name.
43646         * locale/programs/locfile.c (locfile_read): Likewise.
43648 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
43650         * nptl/pthread_mutexattr_settype.c
43651         (__pthread_mutexattr_settype):
43652         Disable lock elision for PTHREAD_MUTEX_NORMAL.
43654 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
43656         * nptl/tst-mutex5 (do_test):
43657         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
43659 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43661         * benchtests/README: Document 'init' directive.
43662         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
43663         BENCH_INIT.
43664         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
43665         (parse_file): Recognize 'init' directive.
43667 2014-05-26  Kyle McMartin  <kyle@redhat.com>
43669         [BZ #16796]
43670         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
43671         alignment of struct pthread.
43673 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43675         [BZ #16878]
43676         * nscd/netgroupcache.c (addgetnetgrentX): Look for
43677         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
43678         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
43679         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
43681 2014-05-25  Richard Henderson  <rth@twiddle.net>
43683         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43684         (SINGLE_THREAD_P_PIC): Remove.
43685         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
43686         (SINGLE_THREAD_P_PIC): Remove.
43688         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
43689         branch to syscall error ...
43690         (PSEUDO): ... here.
43691         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
43692         from __local_syscall_error to .Lsyscall_error.
43693         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
43694         (SYSCALL_ERROR): Update label name.
43696         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43697         Do not use DOARGS/UNDOARGS.
43698         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
43699         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
43700         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
43701         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
43702         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
43704         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
43705         block comment.
43707         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
43708         define if !NOT_IN_libc.
43709         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
43710         define with non-default symbol versions.
43712 2014-05-23  Richard Henderson  <rth@twiddle.net>
43714         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
43715         (vfork, __vfork): Define via compat_symbol.
43717         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
43718         [!HAVE_IFUNC] (vfork_compat): Remove.
43719         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
43721 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
43723         [BZ #16978]
43724         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
43725         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
43726         variable.
43728 2014-05-23  Richard Henderson  <rth@twiddle.net>
43730         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
43731         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
43732         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
43733         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
43735         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
43736         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
43737         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
43738         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
43739         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
43740         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
43741         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
43742         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
43743         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
43744         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
43745         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
43746         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
43747         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
43748         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
43749         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
43750         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
43751         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
43752         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
43753         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
43754         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
43755         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
43756         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
43757         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
43758         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
43759         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
43760         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
43761         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
43762         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
43763         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
43764         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
43765         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
43766         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
43767         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
43768         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
43769         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
43770         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
43771         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
43772         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
43773         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
43774         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
43775         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
43776         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
43777         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
43778         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
43779         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
43780         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
43781         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
43782         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
43783         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
43784         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
43785         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
43786         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
43787         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
43788         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
43789         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
43790         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
43792         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
43793         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
43794         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
43795         before exiting on error.
43796         (__libc_vfork): New strong alias.
43797         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
43798         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
43800         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
43801         that was previously under [RESET_PID].
43802         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
43804         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
43806 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
43808         [BZ #16977]
43809         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
43810         value when x - 1 is zero.
43811         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
43812         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
43813         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
43814         0.0L for an argument of 1.0L.
43815         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
43816         Likewise.
43817         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
43818         value when x - 1 is zero.
43819         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
43820         * sysdeps/i386/fpu/libm-test-ulps: Update.
43821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43823 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
43825         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
43826         alphasort and versionsort.
43828 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43830         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
43831         macro.
43832         [copysignf]: Likewise.
43834 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43836         * crypt/md5-crypt.c: Fix formatting.
43838 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43840         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
43841         (b64_from_24bit): New function.
43843 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43845         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
43846         libc_hidden_builtin_def to ifunc.
43847         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
43848         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
43850 2014-05-21  Roland McGrath  <roland@hack.frob.com>
43852         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
43853         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
43855 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
43857         * nscd/Depend (linuxthreads): Remove.
43858         (nptl): Add.
43859         * resolv/Depend (linuxthreads): Remove.
43860         * rt/Depend (linuxthreads): Remove.
43862         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
43863         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
43864         $(common-objpfx)elf/.
43865         (link-libc-before-gnulib): Likewise.
43866         (elfobjdir): Remove variable.
43867         * Makefile (install): Use $(elf-objpfx) instead of
43868         $(common-objpfx)elf/.
43869         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
43870         $(elfobjdir)/.
43871         (link-libc-deps): Likewise.
43872         ($(common-objpfx)libc.so): Likewise.
43873         ($(common-objpfx)linkobj/libc.so): Likewise.
43874         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
43875         instead of $(common-objpfx)elf/.
43876         (symbolic-link-list): Likewise.
43877         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43878         [$(cross-compiling) = no]: Likewise.
43879         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
43880         $(elfobjdir)/.
43881         (static-gnulib-arch): Likewise.
43882         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43883         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
43884         $(common-objpfx)elf/.
43886 2014-05-21  Richard Henderson  <rth@redhat.com>
43888         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43889         (SINGLE_THREAD_P): Use the correct width load.  Fold
43890         into the ldr offset.
43892         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
43893         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
43895 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
43897         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
43898         (libgcc_s_resume): Use __attribute_used__.
43899         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
43900         Likewise.
43902 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43904         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
43905         optimization when used with float constants.
43907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43909 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
43911         [BZ #16915]
43912         * locale/nl_langinfo_l.c: Make direct reference to every
43913         _nl_current_CATEGORY symbol.
43914         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
43915         (tests-static): Add tst-langinfo-static.
43916         (tests-special): Add tst-langinfo-static.out.
43917         ($(objpfx)tst-langinfo.out): Redirect output.
43918         ($(objpfx)tst-langinfo-static.out): New.
43919         * localedata/tst-langinfo.sh: Send output to stdout.
43920         * localedata/tst-langinfo-static.c: New file.
43922         [BZ #16965]
43923         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
43924         when the shift amount is modulo the limb size.
43926 2014-05-20  Richard Henderson  <rth@redhat.com>
43928         [BZ #16967]
43929         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
43930         Change type of sa_flags from unsigned int to int.
43932         [BZ #16966]
43933         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
43935         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
43937 2014-05-20  Will Newton  <will.newton@linaro.org>
43939         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43940         Test the return value of the system call in the nocancel case.
43942 2014-05-20  Will Newton  <will.newton@linaro.org>
43943             Yvan Roux  <yvan.roux@linaro.org>
43945         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
43946         #include of asm/ptrace.h.
43947         (PTRACE_GET_THREAD_AREA): Remove #undef.
43948         (PTRACE_GETHBPREGS): Likewise.
43949         (PTRACE_SETHBPREGS): Likewise.
43950         (struct user_regs_struct): New structure.
43951         (struct user_fpsimd_struct): New structure.
43952         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
43953         #include of asm/ptrace.h and second #include of sys/user.h.
43954         (PTRACE_GET_THREAD_AREA): Remove #undef.
43955         (PTRACE_GETHBPREGS): Likewise.
43956         (PTRACE_SETHBPREGS): Likewise.
43957         (ELF_NGREG): Use new struct user_regs_struct.
43958         (elf_fpregset_t): Use new struct user_fpsimd_struct.
43960 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43962         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
43963         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
43965 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
43967         [BZ #16958]
43968         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
43969         membar to avoid block loads/stores to overlap previous stores.
43971 2014-05-17  Richard Henderson  <rth@redhat.com>
43973         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
43974         Create the __##syscall_name##_nocancel entry point.
43975         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
43976         Remove; let the sysdep-cancel.h code create it.
43978 2014-05-17  David S. Miller  <davem@davemloft.net>
43980         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
43981         Protect with __USE_GNU.
43982         (TIOCSET_TEMPT): Likewise.
43983         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43984         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
43985         these are already provided in bits/ioctl-types.h
43987 2014-05-16  Roland McGrath  <roland@hack.frob.com>
43989         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
43990         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
43992         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
43993         Use wait4 regardless of [__NR_waitpid].
43995 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43997         PR libgcc/60166
43998         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43999         (_FP_NANSIGN_Q): Set the quiet bit.
44001 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
44003         * benchtests/Makefile
44004         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
44005         not $(common-objpfx)math/libm.so.
44006         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
44007         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
44008         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
44009         $(common-objpfx)dlfcn/libdl.so.
44010         ($(objpfx)tst-audit8): Depend on $(libm), not
44011         $(common-objpfx)math/libm.so.
44012         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
44013         not $(common-objpfx)dlfcn/libdl.so.
44014         * math/Makefile
44015         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44016         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
44017         [$(build-shared) = yes].
44018         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
44019         $(common-objpfx)nptl/libpthread.so.
44020         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
44021         $(common-objpfx)math/libm.so$(libm.so-version) or
44022         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
44023         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
44024         $(common-objpfx)dlfcn/libdl.so.
44025         * setjmp/Makefile (link-libm): Remove variable.
44026         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
44027         * stdio-common/Makefile (link-libm): Remove variable.
44028         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
44029         * stdlib/Makefile (link-libm): Remove variable.
44030         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
44031         ($(objpfx)tst-strtod-round): Likewise.
44032         ($(objpfx)tst-tininess): Likewise.
44033         ($(objpfx)tst-strtod-underflow): Likewise.
44034         ($(objpfx)tst-strtod6): Likewise.
44035         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
44036         $(libdl), not $(common-objpfx)nptl/libpthread.so and
44037         $(common-objpfx)dlfcn/libdl.so.
44039 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44041         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
44042         BSD terminal modes definitions.
44044 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44046         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
44047         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
44049         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
44050         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
44051         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
44052         Don't do #include_next.
44053         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
44054         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
44055         Don't do #include_next.
44056         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
44057         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
44058         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
44059         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
44061 2014-05-16  Allan McRae  <allan@archlinux.org>
44063         * po/sv.po: Update Swedish translation from translation project.
44065         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
44066         in sed expression.
44068 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
44070         [BZ #16917]
44071         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
44072         errno if the TIOCGPTN ioctl fails with an error different than
44073         EINVAL.
44074         * login/tst-ptsname.c: New file.
44075         * login/Makefile (tests): Add tst-ptsname.
44077         [BZ #16943]
44078         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
44079         and prlimit64.
44081 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44083         [BZ #16849]
44084         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
44085         herrno to return EAI_AGAIN.
44087 2014-05-14  Roland McGrath  <roland@hack.frob.com>
44089         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
44090         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
44091         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
44092         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
44093         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
44094         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
44095         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
44096         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
44097         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
44098         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
44099         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
44100         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
44101         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
44102         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
44103         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
44104         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
44105         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
44106         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
44107         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
44108         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
44109         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
44110         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
44111         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
44112         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
44113         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
44114         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
44115         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
44116         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
44117         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
44118         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
44119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
44120         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
44121         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
44122         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
44123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44124         Moved ...
44125         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
44126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
44127         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
44128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
44129         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
44130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
44131         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
44132         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
44133         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
44134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
44135         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
44136         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
44137         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
44138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
44139         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
44140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
44141         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
44142         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
44143         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
44144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
44145         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
44146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
44147         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
44148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
44149         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
44150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
44151         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
44152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44153         Moved ...
44154         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
44155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
44156         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
44157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
44158         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
44159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
44160         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
44161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
44162         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
44163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
44164         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
44165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
44166         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
44167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
44168         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
44169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
44170         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
44171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
44172         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
44173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44174         Moved ...
44175         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
44176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
44177         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
44179         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
44180         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
44181         (libpthread-sysdep_routines): Add elision-related stuff here instead.
44182         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
44183         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
44184         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
44185         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
44186         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
44187         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
44188         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
44189         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
44190         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
44191         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
44192         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
44193         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
44194         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
44195         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
44196         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
44197         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
44198         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
44199         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
44200         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
44201         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
44202         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
44203         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
44204         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
44205         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
44206         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
44207         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
44208         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
44209         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
44211         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
44212         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
44214         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
44215         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
44216         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
44217         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
44218         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
44219         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
44220         Moved ...
44221         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
44222         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
44223         Moved ...
44224         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
44225         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
44226         Moved ...
44227         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
44228         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
44229         Moved ...
44230         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
44231         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
44232         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
44233         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
44234         Moved ...
44235         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
44236         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
44237         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
44238         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
44239         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
44240         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
44241         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
44242         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
44243         Moved ...
44244         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
44245         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44246         Moved ...
44247         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44248         ... here.
44249         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
44250         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
44251         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
44252         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
44253         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44254         Moved ...
44255         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44256         ... here.
44257         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
44258         Moved ...
44259         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
44260         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
44261         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
44262         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
44263         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
44264         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
44265         Moved ...
44266         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
44267         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
44268         Moved ...
44269         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
44270         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
44271         Moved ...
44272         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
44273         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
44274         Moved ...
44275         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
44276         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
44277         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
44278         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
44279         Moved ...
44280         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
44281         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
44282         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
44283         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
44284         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
44285         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
44286         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
44287         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
44288         Moved ...
44289         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
44290         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44291         Moved ...
44292         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44293         ... here.
44294         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
44295         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
44296         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
44297         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
44298         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44299         Moved ...
44300         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44301         ... here.
44302         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
44303         Moved ...
44304         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
44305         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
44306         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
44307         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
44308         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
44309         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
44310         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
44311         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
44312         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
44313         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
44314         Moved ...
44315         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
44316         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
44317         Moved ...
44318         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
44319         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
44320         Moved ...
44321         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
44322         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
44323         Moved ...
44324         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
44325         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
44326         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
44327         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
44328         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
44329         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
44330         Moved ...
44331         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
44332         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
44333         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
44334         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
44335         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
44336         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
44337         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
44338         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
44339         Moved ...
44340         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
44341         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44342         Moved ...
44343         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44344         ... here.
44345         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
44346         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
44347         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
44348         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
44349         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44350         Moved ...
44351         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44352         ... here.
44353         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
44354         Moved ...
44355         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
44356         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
44357         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
44358         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
44359         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
44360         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
44361         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
44362         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
44363         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
44364         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
44365         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
44367         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
44368         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
44370         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
44371         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
44373         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
44374         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
44375         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
44376         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
44377         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
44378         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
44379         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
44380         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
44381         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
44382         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
44383         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
44384         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
44385         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
44386         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
44387         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
44388         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
44389         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
44390         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
44391         Moved ...
44392         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
44393         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
44394         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
44395         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
44396         Moved ...
44397         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
44398         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
44399         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
44400         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
44401         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
44402         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
44403         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
44404         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
44405         Moved ...
44406         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
44407         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
44408         Moved ...
44409         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
44410         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
44411         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
44412         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
44413         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
44414         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
44415         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
44416         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
44417         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
44418         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
44419         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
44420         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
44421         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
44422         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
44423         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
44424         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
44425         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
44427         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
44428         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
44429         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
44430         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
44431         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
44433         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
44434         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
44435         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
44436         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
44437         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
44438         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
44439         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
44440         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
44441         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
44442         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
44444         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
44445         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
44447         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
44448         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
44449         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
44450         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
44451         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
44452         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
44453         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
44454         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
44455         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
44456         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
44457         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
44458         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
44459         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
44460         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
44461         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
44462         Update #include.
44463         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
44464         Likewise.
44465         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44466         Likewise.
44467         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44468         Likewise.
44469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44470         Likewise.
44471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
44472         Likewise.
44473         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
44474         Likewise.
44475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
44476         Likewise.
44477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
44478         Likewise.
44479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
44480         Likewise.
44481         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
44482         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
44483         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
44484         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
44485         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
44486         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
44487         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
44488         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
44489         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
44490         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
44491         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
44492         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
44493         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
44494         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
44495         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
44497         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
44498         that was previously under [RESET_PID].
44499         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44500         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
44501         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
44503         * sysdeps/i386/nptl/Implies: New file.
44504         * sysdeps/x86_64/nptl/Implies: New file.
44505         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
44506         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
44507         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
44508         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
44510         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
44511         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44512         (__libc_vfork): New strong alias.
44513         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
44514         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
44516         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
44517         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44518         (__libc_vfork): New strong alias.
44519         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
44520         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
44522         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
44523         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44524         (__libc_vfork): New strong alias.
44525         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
44526         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
44527         * nptl/pt-vfork.c: New file.
44528         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
44529         (libpthread: GLIBC_2.20): New version set (empty).
44531 2014-05-14  Will Newton  <will.newton@linaro.org>
44533         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
44534         rather than #if.
44536 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
44538         [BZ #16564]
44539         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
44540         arguments with exponent 65 or above.
44541         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
44542         arguments 0x1p113L or above.
44543         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
44544         to arguments 0x1p107L or above.
44545         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
44546         positive arguments with exponent 65 or above.
44547         * math/auto-libm-test-in: Add more tests of log1p.
44548         * math/auto-libm-test-out: Regenerated.
44550         [BZ #16928]
44551         * math/s_cacos.c (__cacos): Ensure zero real part of result from
44552         non-finite arguments is +0.
44553         * math/s_cacosf.c (__cacosf): Likewise.
44554         * math/s_cacosl.c (__cacosl): Likewise.
44555         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
44556         * sysdeps/i386/fpu/libm-test-ulps: Update.
44557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44559         [BZ #16927]
44560         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
44561         value.
44562         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
44563         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
44564         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
44565         for explicit high bit of mantissa when testing for argument equal
44566         to 1.
44567         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
44568         * sysdeps/i386/fpu/libm-test-ulps: Update.
44569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44571         [BZ #16516]
44572         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
44573         (__erf): Scale by 16 instead of 8 in potentially underflowing
44574         case.  Ensure exception if result actually underflows.
44575         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
44576         (__erff): Scale by 16 instead of 8 in potentially underflowing
44577         case.  Ensure exception if result actually underflows.
44578         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
44579         (efx8): Remove variable.
44580         (__erfl): Scale by 16 instead of 8 in potentially underflowing
44581         case.  Ensure exception if result actually underflows.
44582         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
44583         (efx8): Remove variable.
44584         (__erfl): Scale by 16 instead of 8 in potentially underflowing
44585         case.  Ensure exception if result actually underflows.
44586         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
44587         (efx8): Remove variable.
44588         (__erfl): Scale by 16 instead of 8 in potentially underflowing
44589         case.  Ensure exception if result actually underflows.
44590         * math/auto-libm-test-in: Add more tests of erf.
44591         * math/auto-libm-test-out: Regenerated.
44593 2014-05-14  Andreas Schwab  <schwab@suse.de>
44595         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
44596         Remove code conditionalized on USE___THREAD.
44598         * config.h.in (HAVE_PT_CHOWN): Define as 0.
44599         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
44600         not definedness.
44602 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
44604         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
44605         Define unconditionally.
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/aarch64/kernel-features.h
44614         (__ASSUME_DUP3): Do not define.
44615         (__ASSUME_EVENTFD2): Likewise.
44616         (__ASSUME_IN_NONBLOCK): Likewise.
44617         (__ASSUME_O_CLOEXEC): Likewise.
44618         (__ASSUME_PIPE2): Likewise.
44619         (__ASSUME_SIGNALFD4): Likewise.
44620         (__ASSUME_SOCK_CLOEXEC): Likewise.
44621         (__ASSUME_UTIMES): Undefine.
44622         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44623         (__ASSUME_UTIMES): Do not define.
44624         (__ASSUME_O_CLOEXEC): Likewise.
44625         (__ASSUME_SOCK_CLOEXEC): Likewise.
44626         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
44627         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
44628         0x020621].
44629         (__ASSUME_PIPE2): Likewise.
44630         (__ASSUME_EVENTFD2): Likewise.
44631         (__ASSUME_SIGNALFD4): Likewise.
44632         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
44633         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
44634         Do not define.
44635         (__ASSUME_EVENTFD2): Likewise.
44636         (__ASSUME_SIGNALFD4): Likewise.
44637         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
44638         (__ASSUME_32BITUIDS): Likewise.
44639         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44640         (__ASSUME_IPC64): Likewise.
44641         (__ASSUME_ST_INO_64_BIT): Likewise.
44642         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
44643         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
44644         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44645         (__ASSUME_UTIMES): Do not define.
44646         (__ASSUME_PSELECT): Likewise.
44647         (__ASSUME_PPOLL): Likewise.
44648         (__ASSUME_O_CLOEXEC): Likewise.
44649         (__ASSUME_SOCK_CLOEXEC): Likewise.
44650         (__ASSUME_IN_NONBLOCK): Likewise.
44651         (__ASSUME_PIPE2): Likewise.
44652         (__ASSUME_EVENTFD2): Likewise.
44653         (__ASSUME_SIGNALFD4): Likewise.
44654         (__ASSUME_DUP3): Likewise.
44655         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44656         (__ASSUME_UTIMES): Likewise.
44657         (__ASSUME_O_CLOEXEC): Likewise.
44658         (__ASSUME_SOCK_CLOEXEC): Likewise.
44659         (__ASSUME_IN_NONBLOCK): Likewise.
44660         (__ASSUME_PIPE2): Likewise.
44661         (__ASSUME_EVENTFD2): Likewise.
44662         (__ASSUME_SIGNALFD4): Likewise.
44663         (__ASSUME_DUP3): Likewise.
44664         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44665         (__ASSUME_UTIMES): Likewise.
44666         (__ASSUME_O_CLOEXEC): Likewise.
44667         (__ASSUME_SOCK_CLOEXEC): Likewise.
44668         (__ASSUME_IN_NONBLOCK): Likewise.
44669         (__ASSUME_PIPE2): Likewise.
44670         (__ASSUME_EVENTFD2): Likewise.
44671         (__ASSUME_SIGNALFD4): Likewise.
44672         (__ASSUME_DUP3): Likewise.
44673         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
44674         Likewise.
44675         (__ASSUME_UTIMES): Likewise.
44676         (__ASSUME_EVENTFD2): Likewise.
44677         (__ASSUME_SIGNALFD4): Likewise.
44678         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44679         (__ASSUME_O_CLOEXEC): Likewise.
44680         (__ASSUME_SOCK_CLOEXEC): Likewise.
44681         (__ASSUME_IN_NONBLOCK): Likewise.
44682         (__ASSUME_PIPE2): Likewise.
44683         (__ASSUME_EVENTFD2): Likewise.
44684         (__ASSUME_SIGNALFD4): Likewise.
44685         (__ASSUME_DUP3): Likewise.
44686         (__ASSUME_UTIMES): Undefine.
44688         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
44689         feclearexcept.  Remove symbol versioning code.
44690         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
44691         symbol versioning code.
44692         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
44693         symbol versioning code.
44694         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
44695         feupdateenv.  Remove symbol versioning code.
44696         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
44697         fegetexceptflag.  Remove symbol versioning code.
44698         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
44699         fesetexceptflag.  Remove symbol versioning code.
44700         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
44701         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
44702         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
44703         (__posix_fadvise64_l32): Remove prototype.
44704         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
44705         code.
44707 2014-05-13  Roland McGrath  <roland@hack.frob.com>
44709         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
44710         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
44711         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
44712         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
44714 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
44716         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
44717         current working directory
44719 2014-05-13  Roland McGrath  <roland@hack.frob.com>
44721         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
44722         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
44723         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
44724         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
44725         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
44726         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
44727         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
44728         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
44729         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
44730         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
44731         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
44732         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
44733         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
44734         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
44735         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
44736         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
44737         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
44738         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
44739         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
44740         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
44741         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
44742         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
44743         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
44744         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
44745         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
44746         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
44747         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
44748         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
44749         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
44750         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
44751         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
44752         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
44753         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
44754         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
44755         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
44756         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
44757         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
44758         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
44759         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
44760         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
44761         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
44762         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
44764         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
44765         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
44767         * sysdeps/unix/sysv/linux/arm/Makefile
44768         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
44769         Add rt-aeabi_unwind_cpp_pr1.
44770         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
44771         Add nptl-aeabi_unwind_cpp_pr1.
44772         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
44773         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
44774         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
44775         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
44776         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
44777         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
44779         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
44780         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
44781         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
44782         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
44784         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
44785         Deconditionalize the code that was previously under [RESET_PID].
44786         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
44788         * sysdeps/generic/exit-thread.h: New file.
44789         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
44790         * include/unistd.h (__exit_thread): Remove declaration.
44791         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
44792         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
44793         * csu/libc-start.c: Include <exit-thread.h>.
44794         (LIBC_START_MAIN): Pass no argument to __exit_thread.
44795         * nptl/pthread_create.c: Include <exit-thread.h>.
44796         (start_thread): Call __exit_thread in place of __exit_thread_inline.
44797         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
44798         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
44799         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
44800         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
44801         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
44802         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
44803         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
44804         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
44805         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
44806         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
44807         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
44808         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
44809         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
44810         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
44811         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
44812         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
44814 2014-05-13  Andreas Schwab  <schwab@suse.de>
44816         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
44818 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
44820         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
44821         (__ASSUME_UTIMES): Do not condition on kernel version.
44822         (__ASSUME_PSELECT): Define unconditionally.
44823         (__ASSUME_PPOLL): Likewise.
44824         (__ASSUME_ATFCTS): Likewise.
44825         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
44826         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
44827         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
44828         (__ASSUME_UTIMENSAT): Define unconditionally.
44829         (__ASSUME_PRIVATE_FUTEX): Likewise.
44830         (__ASSUME_FALLOCATE): Likewise.
44831         (__ASSUME_O_CLOEXEC): Likewise.
44832         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
44833         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
44834         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
44835         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
44836         (__ASSUME_IN_NONBLOCK): Likewise.
44837         (__ASSUME_PIPE2): Likewise.
44838         (__ASSUME_EVENTFD2): Likewise.
44839         (__ASSUME_SIGNALFD4): Likewise.
44840         (__ASSUME_DUP3): Likewise.
44841         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44842         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
44843         (__ASSUME_AT_RANDOM): Likewise.
44844         (__ASSUME_PREADV): Likewise.
44845         (__ASSUME_PWRITEV): Likewise.
44846         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
44847         (__ASSUME_F_GETOWN_EX): Define unconditionally.
44848         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
44849         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44850         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
44851         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44852         (__ASSUME_O_CLOEXEC): Define unconditionally.
44853         (__ASSUME_PSELECT): Do not undefine conditionally.
44854         (__ASSUME_PPOLL): Likewise.
44855         (__ASSUME_ATFCTS): Likewise.
44856         (__ASSUME_SET_ROBUST_LIST): Likewise.
44857         (__ASSUME_UTIMENSAT): Likewise.
44858         (__ASSUME_FDATASYNC): Define unconditionally.
44859         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44860         (__ASSUME_SIGFRAME_V2): Likewise.
44861         )__ASSUME_EVENTFD2): Likewise.
44862         (__ASSUME_SIGNALFD4): Likewise.
44863         (__ASSUME_PSELECT): Do not undefine conditionally.
44864         (__ASSUME_PPOLL): Likewise.
44865         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44866         (__ASSUME_PSELECT): Define unconditionally.
44867         (__ASSUME_PPOLL): Likewise.
44868         (__ASSUME_O_CLOEXEC): Likewise.
44869         (__ASSUME_SOCK_CLOEXEC): Likewise.
44870         (__ASSUME_IN_NONBLOCK): Likewise.
44871         (__ASSUME_PIPE2): Likewise.
44872         (__ASSUME_EVENTFD2): Likewise.
44873         (__ASSUME_SIGNALFD4): Likewise.
44874         (__ASSUME_DUP3): Likewise.
44875         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44876         (__ASSUME_O_CLOEXEC): Likewise.
44877         (__ASSUME_SOCK_CLOEXEC): Likewise.
44878         (__ASSUME_IN_NONBLOCK): Likewise.
44879         (__ASSUME_PIPE2): Likewise.
44880         (__ASSUME_EVENTFD2): Likewise.
44881         (__ASSUME_SIGNALFD4): Likewise.
44882         (__ASSUME_DUP3): Likewise.
44883         * sysdeps/unix/sysv/linux/mips/kernel-features.h
44884         (__ASSUME_EVENTFD2): Likewise.
44885         (__ASSUME_SIGNALFD4): Likewise.
44886         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
44888 2014-05-12  Andreas Schwab  <schwab@suse.de>
44890         [BZ #16932]
44891         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
44892         (_nss_nis_gethostbyname4_r): Return error if item length is larger
44893         than maximum RPC packet size.
44894         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
44895         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
44896         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
44897         (_nss_nis_getservbyport_r): Likewise.
44899 2014-05-12  Will Newton  <will.newton@linaro.org>
44901         * malloc/Makefile (tests): Add tst-mallopt.
44902         * malloc/tst-mallopt.c: New file.
44904 2014-05-09  Roland McGrath  <roland@hack.frob.com>
44906         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
44907         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
44909 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44911         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
44912         (tst-tlsmod6.so): Likewise.
44914 2014-05-09  Roland McGrath  <roland@hack.frob.com>
44916         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
44918 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
44920         [BZ #16064]
44921         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
44922         and <dl-procinfo.h>.
44923         (__fegetenv): Save SSE state in envp->__eip if supported.
44924         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
44925         envp->__eip if supported.
44926         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
44927         and <dl-procinfo.h>.
44928         (__fesetenv): Always set __eip, __cs_selector, __opcode,
44929         __data_offset and __data_selector in environment to 0.  Set SSE
44930         state if supported.
44931         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
44932         test-fenv-sse.
44933         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
44934         -mfpmath=sse.
44935         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
44937 2014-05-09  Will Newton  <will.newton@linaro.org>
44939         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
44940         and libc_relro_required for ARM.
44941         * sysdeps/arm/preconfigure: Regenerate.
44943 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
44944             Stefan Liebler  <stli@linux.vnet.ibm.com>
44946         * config.make.in (enable-lock-elision): New Makefile variable.
44947         * configure.ac: Likewise.
44948         * configure: Regenerate.
44949         * sysdeps/s390/configure.ac:
44950         Add check for gcc transactions support.
44951         * sysdeps/s390/configure: Regenerate.
44952         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
44953         Build elision files if enabled.
44954         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
44955         Add lock elision support for s390.
44956         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
44957         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
44958         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
44959         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
44960         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
44961         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
44962         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
44963         Likewise.
44964         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
44965         Likewise.
44966         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
44967         Likewise.
44968         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
44969         Likewise.
44970         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
44971         (__lll_timedlock_elision, __lll_lock_elision)
44972         (__lll_unlock_elision, __lll_trylock_elision)
44973         (lll_timedlock_elision, lll_lock_elision)
44974         (lll_unlock_elision, lll_trylock_elision): Add.
44975         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
44976         (pthread_mutex_t): Add lock elision support for s390.
44978 2014-05-14  Wilco  <wdijkstr@arm.com>
44980         * sysdeps/arm/fclrexcpt.c: Cleanup.
44981         * sysdeps/arm/fedisblxcpt.c: Cleanup.
44982         * sysdeps/arm/feenablxcpt.c: Cleanup.
44983         * sysdeps/arm/fegetenv.c: Cleanup.
44984         * sysdeps/arm/fegetexcept.c: Cleanup.
44985         * sysdeps/arm/fegetround.c: Cleanup.
44986         * sysdeps/arm/feholdexcpt.c: Cleanup.
44987         * sysdeps/arm/fesetenv.c: Cleanup.
44988         * sysdeps/arm/fesetround.c: Cleanup.
44989         * sysdeps/arm/feupdateenv.c: Cleanup.
44990         * sysdeps/arm/fgetexcptflg.c: Cleanup.
44991         * sysdeps/arm/fraiseexcpt.c: Cleanup.
44992         * sysdeps/arm/fsetexcptflg.c: Cleanup.
44993         * sysdeps/arm/ftestexcept.c: Cleanup.
44994         * sysdeps/arm/get-rounding-mode.h: Cleanup.
44995         * sysdeps/arm/setfpucw.c: Cleanup.
44997 2014-05-09  Will Newton  <will.newton@linaro.org>
44999         * sysdeps/arm/armv7/strcmp.S: New file.
45000         * NEWS: Mention addition of ARMv7 optimized strcmp.
45002 2014-05-08  Roland McGrath  <roland@hack.frob.com>
45004         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
45005         look for %.ac rather than %.in.
45007         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
45008         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
45009         * sysdeps/mach/hurd/configure: Regenerated.
45010         * sysdeps/unix/sysv/linux/configure: Regenerated.
45012         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
45014 2014-05-07  Steve Ellcey  <sellcey@mips.com>
45016         [BZ# 16922]
45017         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
45018         (LONG_SUB): Ditto.
45019         (PTR_SUB): Ditto.
45021 2014-05-07  Andreas Schwab  <schwab@suse.de>
45023         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
45024         when skipping over non-matching result from nscd.
45026 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
45028         [BZ #16876]
45029         * nptl/sockperf.c (client): Check socket return value.
45031         [BZ #16877]
45032         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
45033         nscd security class.
45035 2014-05-06  Roland McGrath  <roland@hack.frob.com>
45037         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
45038         * sysdeps/arm/unwind.h: ... here.
45040 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
45042         [BZ# 16916]
45043         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
45044         Define.
45046 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45048         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
45049         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
45050         multiarch strncpy for PPC64.
45051         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
45052         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
45053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
45054         multiarch optimizations.
45055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45056         (__libc_ifunc_impl_list): Likewise.
45057         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
45058         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
45059         multiarch stpncpy for PPC64.
45060         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
45061         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
45063 2014-05-06  Andreas Schwab  <schwab@suse.de>
45065         [BZ #16912]
45066         * gmon/mcount.c (_MCOUNT_DECL): Use
45067         atomic_compare_and_exchange_bool_acq instead of
45068         catomic_compare_and_exchange_bool_acq.
45070 2014-05-05  Roland McGrath  <roland@hack.frob.com>
45072         * elf/Makefile (others, install-bin): Remove pldd.
45073         (pldd-modules): Variable removed.
45074         ($(objpfx)pldd): Target removed.
45075         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
45076         (others, install-bin): Append pldd here.
45077         ($(objpfx)pldd): New target.
45079         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
45080         to 0, so the first #if test emitted later doesn't see it undefined.
45081         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
45082         * sysdeps/gnu/errlist.c: Regenerated.
45084 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45086         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45087         [libc_hidden_builtin_def]: Define to empty value.
45088         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
45089         [libc_hidden_builtin_def]: Likewise.
45090         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
45091         [libc_hidden_builtin_def]: Likewise.
45092         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
45093         [libc_hidden_builtin_def]: Likewise.
45094         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
45095         __redirect_memcpy and define ifunc as default hidden symbol.
45096         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
45097         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
45099 2014-05-04  Adam Conrad  <adconrad@0c3.net>
45101         * locale/iso-4217.def: Reintroduce XDR currency.
45103 2014-05-04  Allan McRae  <allan@archlinux.org>
45105         * po/eo.po: Update Esperanto translation from translation project.
45107 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
45109         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
45110         and FEATURE_INDEX_MAX to 1.
45111         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
45113 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45115         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
45116         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
45117         * iconvdata/big5.c (ONE_DIRECTION): Define.
45118         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
45119         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
45120         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
45121         * iconvdata/cp932.c (ONE_DIRECTION): Define.
45122         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
45123         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
45124         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
45125         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
45126         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
45127         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
45128         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
45129         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
45130         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
45131         * iconvdata/gbk.c (ONE_DIRECTION): Define.
45132         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
45133         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
45134         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
45135         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
45136         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
45137         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
45138         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
45139         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
45140         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
45141         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
45142         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
45143         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
45144         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
45145         * iconvdata/iso646.c (ONE_DIRECTION): Define.
45146         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
45147         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
45148         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
45149         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
45150         * iconvdata/johab.c (ONE_DIRECTION): Define.
45151         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
45152         * iconvdata/sjis.c (ONE_DIRECTION): Define.
45153         * iconvdata/t.61.c (ONE_DIRECTION): Define.
45154         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
45155         * iconvdata/tscii.c (ONE_DIRECTION): Define.
45156         * iconvdata/uhc.c (ONE_DIRECTION): Define.
45157         * iconvdata/unicode.c (ONE_DIRECTION): Define.
45158         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
45159         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
45160         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
45162 2014-05-01  Roland McGrath  <roland@hack.frob.com>
45164         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
45165         (_IO_JUMPS_OFFSET): Define to 0.
45167         * nptl/sysdeps/pthread/bits/libc-lock.h
45168         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45169         (__libc_lock_define_initialized_recursive): Always define using
45170         initializer.  Modern compilers treat uninitialized (implicit zero) and
45171         explicit zero initializers the same (i.e. put the datum in bss).
45173 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45175         * nscd/nscd-client.h: Include <string.h>.
45177 2014-05-01  David S. Miller  <davem@davemloft.net>
45179         [BZ #16885]
45180         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
45181         multiple zero bytes exist at the end of a string.
45182         Reported by Aurelien Jarno <aurelien@aurel32.net>
45184         * string/test-strcmp.c (check): Add explicit test for situations where
45185         there are multiple zero bytes after the first.
45187 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45189         [BZ #16890]
45190         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
45191         when compiling wprintf.
45192         * stdio-common/tstdiomisc.c (t3): New function.
45193         (main): Call it.
45195 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45197         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
45198         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
45199         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
45200         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
45202 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45204         * stdlib/longlong.h: Updated from GCC.
45206 2014-05-01  Will Newton  <will.newton@linaro.org>
45207             Bernard Ogden  <bernie.ogden@linaro.org>
45209         * NEWS: Update fixed bug list.
45211         [BZ #15119]
45212         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
45214 2014-04-30  David S. Miller  <davem@davemloft.net>
45216         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
45217         (libc_feholdexcept_setround_sparc_ctx): New function.
45218         (libc_fesetenv_sparc_ctx): Likewise.
45219         (libc_feupdateenv_sparc_ctx): Likewise.
45220         (libc_feholdsetround_sparc_ctx): Likewise.
45221         (libc_feholdexcept_setround_ctx): Define.
45222         (libc_feholdexcept_setroundf_ctx): Likewise.
45223         (libc_feholdexcept_setroundl_ctx): Likewise.
45224         (libc_fesetenv_ctx): Likewise.
45225         (libc_fesetenvf_ctx): Likewise.
45226         (libc_fesetenvl_ctx): Likewise.
45227         (libc_feupdateenv_ctx): Likewise.
45228         (libc_feupdateenvf_ctx): Likewise.
45229         (libc_feupdateenvl_ctx): Likewise.
45230         (libc_feresetround_ctx): Likewise.
45231         (libc_feresetroundf_ctx): Likewise.
45232         (libc_feresetroundl_ctx): Likewise.
45233         (libc_feholdsetround_ctx): Likewise.
45234         (libc_feholdsetroundf_ctx): Likewise.
45235         (libc_feholdsetroundl_ctx): Likewise.
45237         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45238         with __USE_GNU instead of XOPEN cpp guards.
45240         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
45241         0.
45243         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45244         with XOPEN cpp guards.
45246 2014-04-30  Julian Brown  <julian@codesourcery.com>
45248         [BZ #16888]
45249         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
45250         handling.
45252 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
45254         [BZ #9894]
45255         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
45256         Change to 2.6.32.
45257         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
45258         * sysdeps/unix/sysv/linux/configure: Regenerated.
45259         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
45260         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
45261         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
45262         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
45263         * README: Update reference to required Linux kernel version.
45264         * manual/install.texi (Linux): Update reference to required Linux
45265         kernel headers version.
45266         * INSTALL: Regenerated.
45268         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
45269         header inclusion.
45270         [POSIX] (limits.h): Likewise.
45271         [POSIX] (math.h): Likewise.
45272         [POSIX] (sys/wait.h): Likewise.
45273         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
45274         function.
45275         [POSIX] (stddef.h): Do not allow header inclusion.
45277 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45279         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
45281 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
45283         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
45284         Return immediately after lll_futex_wake.
45286 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45288         [BZ #16791]
45289         * nscd/nscd-client.h (datahead_init_common): Initialize entire
45290         structure.
45291         (datahead_init_pos): Call datahead_init_common early.
45292         (datahead_init_neg): Likewise.
45294         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
45295         datahead_init_neg): New functions.
45296         * nscd/aicache.c (addhstaiX): Use them.
45297         * nscd/grpcache.c (cache_addgr): Likewise.
45298         * nscd/hstcache.c (cache_addhst): Likewise.
45299         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45300         * nscd/netgroupcache.c (do_notfound): Likewise.
45301         (addgetnetgrentX): Likewise.
45302         (addinnetgrX): Likewise.
45303         * nscd/pwdcache.c (cache_addpw): Likewise.
45304         * nscd/servicescache.c (cache_addserv): Likewise.
45306 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45307             Atsushi Onoe  <atsushi@onoe.org>
45309         [BZ #14308]
45310         [BZ #12994]
45311         [BZ #13651]
45312         * resolv/res_query.c (__libc_res_nsearch): Return if at least
45313         one response is valid.
45314         * resolv/res_send.c (send_dg): Check for validity of other
45315         response if the current response is a referral.
45317 2014-04-29  Steve Ellcey  <sellcey@mips.com>
45319         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
45321 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
45323         [BZ #16823]
45324         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
45325         Always divide by positive zero when computing -Inf result.
45326         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
45327         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
45329 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45331         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
45332         FPSCR if value do not change.
45333         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45334         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
45335         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
45336         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45337         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
45338         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
45339         function.
45341 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
45343         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
45344         * sysdeps/unix/sysv/linux/hppa: Move directory from
45345         ports/systeps/unix/sysv/linux/hppa.
45346         * README: Update listing for hppa-*-linux-gnu.
45348 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
45350         [BZ #16754]
45351         * manual/stdio.texi (Hook functions): Fix types of stream hook
45352         functions.
45353         [BZ #16854]
45354         * socket/sys/socket.h: Fix typo in comment.
45356 2014-04-28  Wilco  <wdijkstr@arm.com>
45358         * sysdeps/arm/fenv_private.h: New file.
45359         * sysdeps/arm/math_private.h: New file.
45360         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
45362 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
45364         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
45365         with __int128_t.
45366         (La_x86_64_retval): Likewise.
45368 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
45370         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
45371         fpsr if value didn't change.
45372         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
45373         to fpcr if value didn't change.
45374         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
45375         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
45376         fpsr or fpcr if value didn't change.
45377         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
45378         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
45379         fpcr if value didn't change.
45380         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
45381         to fpsr if value didn't change.
45383 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45385         * nptl/tst-sem3.c: Use test-skeleton.c
45386         (main): Rename to do_test.  Use return instead of
45387         exit.
45388         * nptl/tst-sem4.c: Use test-skeleton.c
45389         (main): Rename to do_test.
45391 2014-04-22  David S. Miller  <davem@davemloft.net>
45393         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
45394         (struct sigaction): New struct member __glibc_reserved0, change
45395         type of sa_flags to int.
45397 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
45399         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
45400         (COUNT_LEADING_ZEROS_0): Define for AArch64.
45402 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45404         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
45405         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
45407 2014-04-22  Will Newton  <will.newton@linaro.org>
45408             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
45410         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
45411         (__longjmp): Add longjmp and longjmp_target SystemTap
45412         probes.
45413         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
45414         (__sigsetjmp): Add setjmp SystemTap probe.
45416 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
45418         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
45419         match manual order.
45421 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45423         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
45425         * sysdeps/powerpc/fpu/fenv_private.h
45426         (libc_feholdexcept_setroundl_ctx): Define to
45427         libc_feholdexcept_setround_ppc_ctx.
45428         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
45429         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
45430         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
45431         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
45433 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45435         * sysdeps/aarch64/math-tests.h: New file.
45437 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
45439         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
45440         New.
45441         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45442         Check and set bit_AVX2_Usable.
45443         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
45444         macro.
45445         (bit_AVX2): Likewise.
45446         (index_AVX2_Usable): Likewise.
45447         (CPUID_AVX2): Likewise.
45448         (HAS_AVX2): Likewise.
45450 2014-04-17  Will Newton  <will.newton@linaro.org>
45452         * manual/setjmp.texi (System V contexts): Add note that
45453         calling setcontext on a context created by a call to a
45454         signal handler is undefined.  Update text to note that
45455         setcontext from a signal handler is possible but not
45456         recommended.
45458         [BZ #16629]
45459         * stdlib/tst-setcontext.c: Include signal.h.
45460         (main): Check that the signal stack before and
45461         after swapcontext is the same.
45463         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
45464         Re-implement to restore registers in user code and avoid
45465         rt_sigreturn system call.
45467 2014-04-17  Wilco  <wdijkstr@arm.com>
45469         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
45470         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
45471         * math/test-fenv.c: Skip exception trap tests on targets which only
45472         support non-stop mode.
45474 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45475             Wilco Dijkstra  <wilco.dijkstra@arm.com>
45477         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
45478         (libc_feholdsetround_aarch64_ctx)
45479         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
45480         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
45481         (libc_feresetround_ctx, libc_feresetroundf_ctx)
45482         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
45483         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
45484         (libc_feresetround_noexl_ctx): Define.
45486 2014-04-16  Richard Henderson  <rth@redhat.com>
45488         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
45490         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
45491         unwind tables.
45493         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
45494         const from the non-libc, non-ldso copy.
45496         * sysdeps/alpha/libm-test-ulps: Regenerate.
45498 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
45499             Wilco Dijkstra  <wilco.dijkstra@arm.com>
45501         * sysdeps/aarch64/fpu/math_private.h: New file.
45503 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45505         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45507 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
45509         [BZ #16275]
45510         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
45511         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
45512         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
45513         Intel MPX bound registers before _dl_profile_fixup.
45514         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
45515         registers after _dl_profile_fixup.  Save and restore bound
45516         registers bnd0/bnd1 when calling _dl_call_pltexit.
45517         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
45518         (LR_BND_OFFSET): Likewise.
45519         (LRV_BND0_OFFSET): Likewise.
45520         (LRV_BND1_OFFSET): Likewise.
45522 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45524         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
45525         to...
45526         * sysdeps/mach/hurd/i386/tls.h: ... here.
45527         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
45528         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
45529         fields.
45531 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45533         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
45535 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
45537         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45539 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
45541         [BZ #14770]
45542         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
45543         * sysdeps/s390/configure: Regenerate.
45545         [BZ #16824]
45546         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
45547         Set round-to-nearest internally to reduce error accumulation.
45549 2014-04-16  Alan Modra  <amodra@gmail.com>
45551         [BZ #16740]
45552         [BZ #16619]
45553         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
45554         * math/libm-test.inc (frexp_test_data): Add tests.
45555         * NEWS: Update fixed bug list.
45557 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45559         * benchtests/Makefile: Depend on libraries in build directory.
45560         (bench-math): Separate out math tests.
45561         (bench-pthread): Separate out pthread tests.
45562         (bench): Include math and pthread tests.
45564 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
45566         [BZ #16831]
45567         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
45568         _dl_debug_initialize.
45570         * configure.ac: Remove SELinux header check.
45571         * configure: Regenerate.
45572         * nscd/selinux.c (perms): Array of const char* to permission names.
45573         (nscd_request_avc_has_perm): Call security_deny_unknown to find
45574         default policy. Call string_to_security_class and string_to_av_perm to
45575         translate strings. Enforce default policy and call avs_has_perm with
45576         results of translated strings.
45578 2014-04-13  David S. Miller  <davem@davemloft.net>
45580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45582 2014-04-12  Allan McRae  <allan@archlinux.org>
45584         [BZ #16838]
45585         * manual/string.texi (Collation Functions): Fix qsort argument
45586         order in example.
45587         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
45589 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
45591         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
45592         Make the test a no-op if there are no exceptions defined.
45594 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
45596         * elf/Makefile (tests): make tst-dlopen-aout conditional on
45597         enable-hardcoded-path-in-tests
45599 2014-04-11  Will Newton  <will.newton@linaro.org>
45601         * benchtests/Makefile (extra-objs): Add json-lib.o.
45602         (bench-func): Tidy up JSON output.
45603         * benchtests/bench-skeleton.c: Include json-lib.h.
45604         (main): Use JSON library functions to do output of
45605         benchmark results.
45606         * benchtests/bench-timing-type.c (main): Output the
45607         timing type simply, leaving formatting to the user.
45608         * benchtests/json-lib.c: New file.
45609         * benchtests/json-lib.h: Likewise.
45611 2014-04-11  Torvald Riegel  <triegel@redhat.com>
45613         [BZ #15215]
45614         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
45615         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
45616         memory barriers.  Add comments.
45617         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
45618         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
45619         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
45620         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
45621         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
45622         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
45624 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
45626         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
45627         * sysdeps/s390/s390-64/configure.ac: ... this ...
45628         * sysdeps/s390/configure.ac: ... to here.
45629         * sysdeps/s390/s390-32/configure: Delete file.
45630         * sysdeps/s390/s390-64/configure: Delete file.
45631         * sysdeps/s390/configure: Regenerate.
45633 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
45635         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
45637 2014-04-11  Will Newton  <will.newton@linaro.org>
45639         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
45640         to zero if it is not defined elsewhere.  (mtrim): Test
45641         the value of MALLOC_DEBUG with #if rather than #ifdef.
45643 2014-04-10 Torvald Riegel  <triegel@redhat.com>
45645         * benchtests/pthread_once-inputs: New file.
45646         * benchtests/pthread_once-source.c: New file.
45647         * benchtests/README: Update documentation.
45649 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
45650             H.J. Lu  <hongjiu.lu@intel.com>
45652         [BZ #16275]
45653         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
45654         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
45655         * sysdeps/x86_64/configure: Regenerated.
45656         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
45657         macro.
45658         (REGISTER_SAVE_RAX): Likewise.
45659         (REGISTER_SAVE_RCX): Likewise.
45660         (REGISTER_SAVE_RDX): Likewise.
45661         (REGISTER_SAVE_RSI): Likewise.
45662         (REGISTER_SAVE_RDI): Likewise.
45663         (REGISTER_SAVE_R8): Likewise.
45664         (REGISTER_SAVE_R9): Likewise.
45665         (REGISTER_SAVE_BND0): Likewise.
45666         (REGISTER_SAVE_BND1): Likewise.
45667         (REGISTER_SAVE_BND2): Likewise.
45668         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
45669         bound registers when calling _dl_fixup.
45671 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45673         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
45674         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
45675         of its definition.
45676         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
45677         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
45678         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
45679         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
45680         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
45681         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
45682         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
45684 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
45686         [BZ #15514]
45687         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
45688         pathconf(_PC_NAME_MAX).
45690 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45692         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
45693         Remove macro usage.
45694         (__PTHREAD_SPINS): Move definition to ...
45695         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
45696         (__PTHREAD_SPINS): ... here.
45697         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45698         (__PTHREAD_SPIN): Likewise.
45699         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
45700         (__PTHREAD_SPIN): Likewise.
45701         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
45702         (__PTHREAD_SPIN): Likewise.
45703         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
45704         (__PTHREAD_SPIN): Likewise.
45705         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
45706         (__PTHREAD_SPIN): Likewise.
45707         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
45708         (__PTHREAD_SPIN): Likewise.
45709         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
45710         (__PTHREAD_SPIN): Likewise.
45711         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
45712         (__PTHREAD_SPIN): Likewise.
45713         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
45714         (__PTHREAD_SPIN): Likewise.
45715         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
45716         (__PTHREAD_SPIN): Likewise.
45717         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
45718         (__PTHREAD_SPIN): Likewise.
45719         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
45720         (__PTHREAD_SPIN): Likewise.
45722         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
45723         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
45724         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
45725         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
45726         imply folder.
45727         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
45728         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
45729         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
45730         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
45731         correct imply path.
45732         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
45733         strlen symbol for non multi-arch builds.
45734         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
45735         missing hidden_def and weak_alias.
45737 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
45739         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
45741 2014-04-07  Will Newton  <will.newton@linaro.org>
45743         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
45744         and contents.  [!_LIBC] Remove #ifndef and contents.
45745         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
45746         * string/memccpy.c (__memccpy): Use ANSI prototype.
45747         * string/memfrob.c (memfrob): Likewise.
45748         * string/strcoll.c (STRCOLL): Likewise.
45749         * string/strlen.c (strlen): Likewise.
45750         * string/strtok.c (STRTOK): Likewise.
45751         * string/strcat.c: Remove unused #include of memcopy.h.
45752         (strcat): Use ANSI prototype.
45753         * string/strchr.c: Remove unused #include of memcopy.h.
45754         (strchr): Use ANSI prototype.
45755         * string/strcmp.c: Remove unused #include of memcopy.h.
45756         (strcmp): Use ANSI prototype.
45757         * string/strcpy.c: Remove unused #include of memcopy.h.
45758         (strcpy): Use ANSI prototype.
45760 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45762         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
45763         * config.make.in (config-extra-cppflags): Set it from
45764         libc_extra_cppflags.
45765         * configure.ac (libc_extra_cflags): Make it accumulate over
45766         configure fragments.
45767         (libc_extra_cppflags): New flag.
45768         * configure. Regenerate.
45769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
45770         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
45771         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
45772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
45774         [BZ #16815]
45775         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
45776         result for FE_DOWNWARD rounding mode.
45777         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
45778         Likewise.
45779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45781 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
45783         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
45784         in function argument name.
45786 2014-04-03  David Svoboda  <svoboda@cert.org>
45788         [BZ #5666]
45789         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
45790         explicitly.
45792 2014-04-03  Roland McGrath  <roland@hack.frob.com>
45794         * elf/dl-unmap-segments.h: New file.
45795         * sysdeps/generic/ldsodefs.h
45796         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
45797         * elf/dl-close.c: Include <dl-unmap-segments.h>.
45798         * elf/dl-fptr.c: Likewise.
45799         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
45800         * sysdeps/aarch64/tlsdesc.c: Likewise.
45801         * sysdeps/arm/tlsdesc.c: Likewise.
45802         * sysdeps/i386/tlsdesc.c: Likewise.
45803         * sysdeps/tile/dl-runtime.c: Likewise.
45804         * sysdeps/x86_64/tlsdesc.c: Likewise.
45805         * elf/dl-load.h: New file.
45806         * elf/dl-load.c: Include it.
45807         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
45808         Macros moved to dl-load.h.
45809         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
45810         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
45811         Use _dl_unmap_segments in place of __munmap.
45812         Break out segment-mapping loop into ...
45813         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
45815 2014-04-03  Will Newton  <will.newton@linaro.org>
45817         * elf/dl-lookup.c (do_lookup_x): Remove comment
45818         referring to nested function and move variable
45819         declarations down to before first use.
45821 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
45823         [BZ #16799]
45824         [BZ #16800]
45825         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
45826         with 0 numerator.
45827         * math/s_catanf.c (__catanf): Likewise.
45828         * math/s_catanh.c (__catanh): Likewise.
45829         * math/s_catanhf.c (__catanhf): Likewise.
45830         * math/s_catanhl.c (__catanhl): Likewise.
45831         * math/s_catanl.c (__catanl): Likewise.
45832         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
45833         by positive zero when computing -Inf result.
45834         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
45835         (catanh_test): Likewise.
45836         * sysdeps/i386/fpu/libm-test-ulps: Update.
45837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45839         [BZ #16789]
45840         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
45841         instead of using underflowing value in computing result.
45842         * math/s_clog10.c (__clog10): Likewise.
45843         * math/s_clog10f.c (__clog10f): Likewise.
45844         * math/s_clog10l.c (__clog10l): Likewise.
45845         * math/s_clogf.c (__clogf): Likewise.
45846         * math/s_clogl.c (__clogl): Likewise.
45847         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
45848         (clog10_test): Likewise.
45849         * sysdeps/i386/fpu/libm-test-ulps: Update.
45850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45852 2014-04-02  Alan Modra  <amodra@gmail.com>
45854         [BZ #16739]
45855         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
45856         output when value is near a power of two.  Use int64_t for lx and
45857         remove casts.  Use decimal rather than hex exponent constants.
45858         Don't use long double multiplication when double will suffice.
45859         * math/libm-test.inc (nextafter_test_data): Add tests.
45860         * NEWS: Add 16739 and 16786 to bug list.
45862         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
45864         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
45866 2014-04-01  Will Newton  <will.newton@linaro.org>
45868         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
45869         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
45871 2014-04-01  Florian Weimer  <fweimer@redhat.com>
45873         [BZ #13347]
45874         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
45875         * nptl/tst-setuid2.c: New file.
45876         * nptl/Makefile (xtests): Add tst-setuid2.
45878 2014-04-01  Alan Modra  <amodra@gmail.com>
45880         [BZ #16786]
45881         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
45883 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
45885         [BZ #6803]
45886         [BZ #6804]
45887         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
45888         set errno as appropriate.
45889         * math/w_scalbf.c (__scalbf): Likewise.
45890         * math/w_scalbl.c (__scalbl): Likewise.
45891         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
45892         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
45893         * math/libm-test.inc (scalb_test_data): Add errno expectations.
45894         Add more NaN tests.
45896         [BZ #16349]
45897         * math/w_atan2.c: Include <errno.h>.
45898         (__atan2): Set errno for result underflowing to zero.
45899         * math/w_atan2f.c: Include <errno.h>.
45900         (__atan2f): Set errno for result underflowing to zero.
45901         * math/w_atan2l.c: Include <errno.h>.
45902         (__atan2l): Set errno for result underflowing to zero.
45903         * math/auto-libm-test-in: Don't allow missing errno for some atan2
45904         tests.
45905         * math/auto-libm-test-out: Regenerated.
45907 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45909         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
45910         Encode instruction correctly in little endian.
45911         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
45912         Likewise.
45913         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
45914         Likewise.
45915         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
45916         Likewise.
45917         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
45918         Likewise.
45920 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
45922         [BZ #9894]
45923         * sysdeps/unix/sysv/linux/kernel-features.h
45924         [__sparc__ && !__arch64__ && !__sparc_v9__]
45925         (__ASSUME_SET_ROBUST_LIST): Do not define.
45926         [__sparc__ && !__arch64__ && !__sparc_v9__]
45927         (__ASSUME_FUTEX_LOCK_PI): Likewise.
45928         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
45929         Likewise.
45930         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45931         (__ASSUME_FUTEX_LOCK_PI): Undefine.
45932         (__ASSUME_REQUEUE_PI): Likewise.
45933         (__ASSUME_SET_ROBUST_LIST): Likewise.
45934         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45935         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
45936         Undefine.
45937         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45938         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
45939         Likewise.
45940         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
45941         Likewise.
45942         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
45943         Likewise.
45944         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45945         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
45946         Undefine.
45947         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
45948         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
45949         Likewise.
45951         [BZ #16648]
45952         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45953         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
45954         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
45956 2014-03-31  Will Newton  <will.newton@linaro.org>
45958         * benchtests/Makefile (bench): Add ffs and ffsll to list
45959         of tests.
45960         * benchtests/ffs-inputs: New file.
45961         * benchtests/ffsll-inputs: Likewise.
45963 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
45965         [BZ #16770]
45966         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
45967         too large before casting to int.
45968         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
45969         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
45970         * math/libm-test.inc (scalb_test_data): Add more tests.
45972 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45974         * benchtests/Makefile (DETAILED_OPT): New make option.
45975         (bench-func): Run benchmark program with -d if DETAILED_OPT is
45976         set.
45977         * benchtests/bench-skeleton.c: Include stdbool.h.
45978         (main): Store and print timings per input.
45979         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
45980         member to each argument value.
45981         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
45982         (_print_arg_data): Initialize per-input timing to 0.
45984         * benchtests/Makefile (timing-type): New binary.
45985         (bench-clean): Also remove bench-timing-type.
45986         (bench): New target for timing-type.
45987         (bench-func): Print output in JSON format.
45988         * benchtests/bench-skeleton.c (main): Print output in JSON
45989         format.
45990         * benchtests/bench-timing-type.c: New file.
45991         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
45992         (TIMING_PRINT_STATS): Remove.
45993         * benchtests/scripts/bench.py (_print_arg_data): Store variant
45994         name separately.
45996         * benchtests/bench-modf.c: Remove.
45997         * benchtests/modf-inputs: New inputs file.
45999 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
46001         [BZ #16362]
46002         * math/s_clog10.c (M_PI_LOG10E): New macro.
46003         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
46004         imaginary parts are 0.
46005         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
46006         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
46007         imaginary parts are 0.
46008         * math/s_clog10l.c (M_PI_LOG10El): New macro.
46009         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
46010         imaginary parts are 0.
46011         * math/libm-test.inc (clog10_test_data): Update expected results
46012         for when real and imaginary parts are 0.
46014 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
46016         * elf/dl-load.c: Finish conversion of __builtin_expect into
46017         __glibc_{un}likely.
46019 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
46021         [BZ #16348]
46022         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
46023         1+x for argument with exponent below -67.
46024         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
46025         Likewise.
46026         * math/auto-libm-test-in: Add more tests of exp.
46027         * math/auto-libm-test-out: Regenerated.
46029 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46031         [BZ #16759]
46032         * inet/getnetgrent_r.c (get_nonempty_val): New function.
46033         (nscd_getnetgrent): Use it.
46035         [BZ #16760]
46036         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
46037         of stpcpy.
46039 2014-03-27  Andi Kleen  <ak@linux.intel.com>
46041         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
46042         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46043         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46044         (lll_robust_unlock): Remove out of line section. Use cfi
46045         intrinsics.
46046         (LLL_STUB_UNWIND_INFO*): Remove.
46047         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
46048         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46049         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46050         (lll_robust_unlock): Remove out of line section. Use cfi
46051         intrinsics.
46052         (LLL_STUB_UNWIND_INFO*): Remove.
46054 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46056         [BZ #16758]
46057         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
46058         blank values.
46060 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
46062         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
46064 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
46066         [BZ #16198]
46067         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
46068         fnstenv.
46069         * math/test-fenv-preserve.c: New file.
46070         * math/Makefile (tests): Add test-fenv-preserve.
46072 2014-03-26  Will Newton <will.newton@linaro.org>
46074         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
46076 2014-03-25  Roland McGrath  <roland@hack.frob.com>
46078         * scripts/versionlist.awk: Partition the version sets and emit all
46079         GLIBC_* (sorted) before all others (sorted).
46081 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46083         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
46084         GLIBC_2.2.5 version.
46086 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46088         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
46089         calls.
46091         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
46092         previous change.
46094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46096 2014-03-25  Andreas Schwab  <schwab@suse.de>
46098         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
46099         label to be used after in6ailist is initialized.
46101 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46103         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46104         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46106 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46108         [BZ #16357]
46109         [BZ #16599]
46110         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
46111         min_plus_half.
46112         (fp_formats): Update initializers.
46113         (init_fp_formats): Initialize new field.
46114         (output_for_one_input_case): Allow underflow for results up to
46115         min_plus_half.
46116         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
46117         * math/auto-libm-test-in: Don't mark some underflows from asin and
46118         atanh as spurious.
46119         * math/auto-libm-test-out: Regenerated.
46120         * sysdeps/i386/fpu/libm-test-ulps: Update.
46121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46123 2014-03-25  Andreas Schwab  <schwab@suse.de>
46125         * libio/Makefile (tst-ftell-partial-wide-ENV)
46126         (tst-ftell-active-handler-ENV): Define.
46128 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
46130         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
46132 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46134         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
46136 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46138         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
46139         * sysdeps/x86_64/fpu/multiarch/e_exp.c
46140         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
46142 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46144         [BZ #16634]
46145         * elf/dl-load.c (open_verify): Add mode parameter.
46146         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
46147         (open_path): Change from boolean 'secure' to complete flag 'mode'
46148         (_dl_map_object): Adjust.
46149         * elf/Makefile (tests): Add tst-dlopen-aout.
46150         * elf/tst-dlopen-aout.c: New test.
46152 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
46154         [BZ #16714]
46155         * sysdeps/unix/sysv/linux/s390/bits/stat.h
46156         (struct stat): Rename member pad0 to __glibc_reserved0.
46158         [BZ #16712]
46159         * sysdeps/s390/s390-32/bits/wordsize.h
46160         (__WORDSIZE32_SIZE_ULONG): New define.
46161         * sysdeps/s390/s390-64/bits/wordsize.h
46162         (__WORDSIZE32_SIZE_ULONG): Likewise.
46163         * sysdeps/generic/stdint.h (SIZE_MAX):
46164         Define as UL if __WORDSIZE32_SIZE_ULONG.
46166         [BZ #16713]
46167         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
46168         (__glibc_reserved0): New variable.
46169         (sa_flags): Change type to int.
46171         * posix/Makefile (before-compile): Use += before-compile instead
46172         of a :=.
46174         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46175         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46177 2014-03-20  Andreas Schwab  <schwab@suse.de>
46179         [BZ #16743]
46180         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
46181         non-matching result from nscd.
46183 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46185         * scripts/bench.py: Moved to ...
46186         * benchtests/scripts/bench.py: ... here.
46187         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
46189 2014-03-24  Andreas Schwab  <schwab@suse.de>
46191         [BZ #16002]
46192         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
46193         alloca_account and account alloca use for struct in6ailist.
46195 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46197         [BZ #16284]
46198         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
46199         rounding mode to recompute results that overflow to infinity or
46200         underflow to zero.
46201         * math/auto-libm-test-in: Don't mark tests as expected to fail for
46202         bug 16284.
46203         * math/auto-libm-test-out: Regenerated.
46204         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
46205         (ccosh_test): Likewise.
46206         (csin_test_data): Use plus_oflow.
46207         (csin_test): Use ALL_RM_TEST.
46208         (csinh_test_data): Use plus_oflow.
46209         (csinh_test): Use ALL_RM_TEST.
46210         * sysdeps/i386/fpu/libm-test-ulps: Update.
46211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46213 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
46215         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
46216         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
46217         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
46219         [BZ #16731]
46220         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
46221         when x - 1 is zero.
46222         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
46223         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
46224         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
46225         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
46226         argument is 1.
46227         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
46228         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
46229         zero.
46230         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
46231         * sysdeps/i386/fpu/libm-test-ulps: Update.
46232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46234 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46236         * scripts/bench.pl: Remove file.
46237         * scripts/bench.py: New benchmark script.
46238         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
46239         * benchtests/README: Mention python dependency.
46240         * scripts/pylintrc: New file.
46241         * scripts/pylint: New file.
46243         * bits/mathdef.h: Use #ifdef instead of #if.
46244         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
46245         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46246         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
46247         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46248         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
46249         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46251 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46252             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46254         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
46255         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
46256         and strpbrk-ppc64 objects.
46257         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46258         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
46259         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
46260         multiarch strpbrk for POWER7.
46261         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
46262         multiarch strpbrk for PPC64.
46263         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
46264         ifunc selector.
46265         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
46266         strpbrk for POWER7.
46268 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46270         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
46271         (atan_test): Likewise.
46272         (atanh_test_data): Use NO_TEST_INLINE for two tests.
46273         (atanh_test): Use ALL_RM_TEST.
46274         (atan2_test_data): Likewise.
46275         (cabs_test): Likewise.
46276         (cacosh_test): Likewise.
46277         (carg_test): Likewise.
46278         (casin_test): Likewise.
46279         (casinh_test): Likewise.
46280         (cbrt_test): Likewise.
46281         (csqrt_test): Likewise.
46282         (erf_test): Likewise.
46283         (erfc_test): Likewise.
46284         (pow10_test): Likewise.
46285         (exp2_test): Likewise.
46286         (hypot_test): Likewise.
46287         (j0_test): Likewise.
46288         (j1_test): Likewise.
46289         (lgamma_test): Likewise.
46290         (gamma_test): Likewise.
46291         (sincos_test): Likewise.
46292         (tanh_test): Likewise.
46293         (y0_test): Likewise.
46294         (y1_test): Likewise.
46295         * sysdeps/i386/fpu/libm-test-ulps: Update.
46296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46298 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46300         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
46301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
46302         and strcspn-ppc64 objects.
46303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46304         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
46305         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
46306         multiarch strcspn for POWER7.
46307         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
46308         multiarch strcspn for PPC64.
46309         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
46310         ifunc selector.
46311         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
46312         strcspn for POWER7.
46314 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46316         * math/gen-libm-test.pl (generate_testfile): Expect only function
46317         name as argument to AUTO_TESTS_* and pass results for all rounding
46318         modes to parse_args.
46319         (parse_auto_input): Separate inputs of automatic tests from
46320         outputs before storing in %auto_tests.
46321         * math/libm-test.inc (acos_test_data): Update call to
46322         AUTO_TESTS_f_f.
46323         (acos_test): Use ALL_RM_TEST.
46324         (acos_tonearest_test_data): Remove.
46325         (acos_test_tonearest): Likewise.
46326         (acos_towardzero_test_data): Likewise.
46327         (acos_test_towardzero): Likewise.
46328         (acos_downward_test_data): Likewise.
46329         (acos_test_downward): Likewise.
46330         (acos_upward_test_data): Likewise.
46331         (acos_test_upward): Likewise.
46332         (acosh_test_data): Update call to AUTO_TESTS_f_f.
46333         (asin_test_data): Likewise.
46334         (asin_test): Use ALL_RM_TEST.
46335         (asin_tonearest_test_data): Remove.
46336         (asin_test_tonearest): Likewise.
46337         (asin_towardzero_test_data): Likewise.
46338         (asin_test_towardzero): Likewise.
46339         (asin_downward_test_data): Likewise.
46340         (asin_test_downward): Likewise.
46341         (asin_upward_test_data): Likewise.
46342         (asin_test_upward): Likewise.
46343         (asinh_test_data): Update call to AUTO_TESTS_f_f.
46344         (atan_test_data): Likewise.
46345         (atanh_test_data): Likewise.
46346         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
46347         (cabs_test_data): Update call to AUTO_TESTS_c_f.
46348         (carg_test_data): Likewise.
46349         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
46350         (ccos_test_data): Update call to AUTO_TESTS_c_c.
46351         (ccosh_test_data): Likewise.
46352         (cexp_test_data): Likewise.
46353         (clog_test_data): Likewise.
46354         (clog10_test_data): Likewise.
46355         (cos_test_data): Update call to AUTO_TESTS_f_f.
46356         (cos_test): Use ALL_RM_TEST.
46357         (cos_tonearest_test_data): Remove.
46358         (cos_test_tonearest): Likewise.
46359         (cos_towardzero_test_data): Likewise.
46360         (cos_test_towardzero): Likewise.
46361         (cos_downward_test_data): Likewise.
46362         (cos_test_downward): Likewise.
46363         (cos_upward_test_data): Likewise.
46364         (cos_test_upward): Likewise.
46365         (cosh_test_data): Update call to AUTO_TESTS_f_f.
46366         (cosh_test): Use ALL_RM_TEST.
46367         (cosh_tonearest_test_data): Remove.
46368         (cosh_test_tonearest): Likewise.
46369         (cosh_towardzero_test_data): Likewise.
46370         (cosh_test_towardzero): Likewise.
46371         (cosh_downward_test_data): Likewise.
46372         (cosh_test_downward): Likewise.
46373         (cosh_upward_test_data): Likewise.
46374         (cosh_test_upward): Likewise.
46375         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
46376         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
46377         (ctan_test_data): Likewise.
46378         (ctan_test): Use ALL_RM_TEST.
46379         (ctan_tonearest_test_data): Remove.
46380         (ctan_test_tonearest): Likewise.
46381         (ctan_towardzero_test_data): Likewise.
46382         (ctan_test_towardzero): Likewise.
46383         (ctan_downward_test_data): Likewise.
46384         (ctan_test_downward): Likewise.
46385         (ctan_upward_test_data): Likewise.
46386         (ctan_test_upward): Likewise.
46387         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
46388         (ctanh_test): Use ALL_RM_TEST.
46389         (ctanh_tonearest_test_data): Remove.
46390         (ctanh_test_tonearest): Likewise.
46391         (ctanh_towardzero_test_data): Likewise.
46392         (ctanh_test_towardzero): Likewise.
46393         (ctanh_downward_test_data): Likewise.
46394         (ctanh_test_downward): Likewise.
46395         (ctanh_upward_test_data): Likewise.
46396         (ctanh_test_upward): Likewise.
46397         (erf_test_data): Update call to AUTO_TESTS_f_f.
46398         (erfc_test_data): Likewise.
46399         (exp_test_data): Likewise.
46400         (exp_test): Use ALL_RM_TEST.
46401         (exp_tonearest_test_data): Remove.
46402         (exp_test_tonearest): Likewise.
46403         (exp_towardzero_test_data): Likewise.
46404         (exp_test_towardzero): Likewise.
46405         (exp_downward_test_data): Likewise.
46406         (exp_test_downward): Likewise.
46407         (exp_upward_test_data): Likewise.
46408         (exp_test_upward): Likewise.
46409         (exp10_test_data): Update call to AUTO_TESTS_f_f.
46410         (exp10_test): Use ALL_RM_TEST.
46411         (exp10_tonearest_test_data): Remove.
46412         (exp10_test_tonearest): Likewise.
46413         (exp10_towardzero_test_data): Likewise.
46414         (exp10_test_towardzero): Likewise.
46415         (exp10_downward_test_data): Likewise.
46416         (exp10_test_downward): Likewise.
46417         (exp10_upward_test_data): Likewise.
46418         (exp10_test_upward): Likewise.
46419         (exp2_test_data): Update call to AUTO_TESTS_f_f.
46420         (expm1_test_data): Likewise.
46421         (expm1_test): Use ALL_RM_TEST.
46422         (expm1_tonearest_test_data): Remove.
46423         (expm1_test_tonearest): Likewise.
46424         (expm1_towardzero_test_data): Likewise.
46425         (expm1_test_towardzero): Likewise.
46426         (expm1_downward_test_data): Likewise.
46427         (expm1_test_downward): Likewise.
46428         (expm1_upward_test_data): Likewise.
46429         (expm1_test_upward): Likewise.
46430         (fma_test_data): Update call to AUTO_TESTS_fff_f.
46431         (fma_test): Use ALL_RM_TEST.
46432         (fma_towardzero_test_data): Remove.
46433         (fma_test_towardzero): Likewise.
46434         (fma_downward_test_data): Likewise.
46435         (fma_test_downward): Likewise.
46436         (fma_upward_test_data): Likewise.
46437         (fma_test_upward): Likewise.
46438         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
46439         (j0_test_data): Update call to AUTO_TESTS_f_f.
46440         (j1_test_data): Likewise.
46441         (jn_test_data): Update call to AUTO_TESTS_if_f.
46442         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
46443         (log_test_data): Update call to AUTO_TESTS_f_f.
46444         (log10_test_data): Likewise.
46445         (log1p_test_data): Likewise.
46446         (log2_test_data): Likewise.
46447         (pow_test_data): Update call to AUTO_TESTS_ff_f.
46448         (pow_tonearest_test_data): Likewise.
46449         (sin_test_data): Update call to AUTO_TESTS_f_f.
46450         (sin_test): Use ALL_RM_TEST.
46451         (sin_tonearest_test_data): Remove.
46452         (sin_test_tonearest): Likewise.
46453         (sin_towardzero_test_data): Likewise.
46454         (sin_test_towardzero): Likewise.
46455         (sin_downward_test_data): Likewise.
46456         (sin_test_downward): Likewise.
46457         (sin_upward_test_data): Likewise.
46458         (sin_test_upward): Likewise.
46459         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
46460         (sinh_test_data): Update call to AUTO_TESTS_f_f.
46461         (sinh_test): Use ALL_RM_TEST.
46462         (sinh_tonearest_test_data): Remove.
46463         (sinh_test_tonearest): Likewise.
46464         (sinh_towardzero_test_data): Likewise.
46465         (sinh_test_towardzero): Likewise.
46466         (sinh_downward_test_data): Likewise.
46467         (sinh_test_downward): Likewise.
46468         (sinh_upward_test_data): Likewise.
46469         (sinh_test_upward): Likewise.
46470         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
46471         (sqrt_test): Use ALL_RM_TEST.
46472         (sqrt_tonearest_test_data): Remove.
46473         (sqrt_test_tonearest): Likewise.
46474         (sqrt_towardzero_test_data): Likewise.
46475         (sqrt_test_towardzero): Likewise.
46476         (sqrt_downward_test_data): Likewise.
46477         (sqrt_test_downward): Likewise.
46478         (sqrt_upward_test_data): Likewise.
46479         (sqrt_test_upward): Likewise.
46480         (tan_test_data): Update call to AUTO_TESTS_f_f.
46481         (tan_test): Use ALL_RM_TEST.
46482         (tan_tonearest_test_data): Remove.
46483         (tan_test_tonearest): Likewise.
46484         (tan_towardzero_test_data): Likewise.
46485         (tan_test_towardzero): Likewise.
46486         (tan_downward_test_data): Likewise.
46487         (tan_test_downward): Likewise.
46488         (tan_upward_test_data): Likewise.
46489         (tan_test_upward): Likewise.
46490         (tanh_test_data): Update call to AUTO_TESTS_f_f.
46491         (tgamma_test_data): Likewise.
46492         (y0_test_data): Likewise.
46493         (y1_test_data): Likewise.
46494         (yn_test_data): Update call to AUTO_TESTS_if_f.
46495         (main): Do not call removed functions.
46497 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
46499         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
46500         (ldexp_test_data): Remove.
46501         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
46502         scalbn_test_data.
46503         (scalb_test): Use ALL_RM_TEST.
46505 2014-03-19  Andreas Schwab  <schwab@suse.de>
46507         * nscd/nscd.service: Also invalidate netgroup cache on reload.
46509 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
46511         [BZ #16649]
46512         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46513         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
46514         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
46515         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46516         (__ASSUME_PREADV): Undefine.
46517         (__ASSUME_PWRITEV): Likewise.
46519 2014-03-18  Roland McGrath  <roland@hack.frob.com>
46521         * bits/mman-linux.h: Add comment about non-Linux use.
46522         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
46523         bits/mman-linux.h resting place.
46525         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
46526         * bits/mman-linux.h: ... here.
46528 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46530         * conform/conformtest.pl: Add standard definition when calling C
46531         preprocessor on data files.
46532         (checknamespace): Remove unused variable.
46534 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
46536         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
46537         minus_oflow, plus_uflow and minus_uflow in expected results.
46538         * math/libm-test.inc (scalbn_test_data): Add more tests of
46539         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
46540         minus_uflow.
46541         (scalbn_test): Use ALL_RM_TEST.
46542         (scalbln_test_data): Add more tests of negative arguments.  Use
46543         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
46544         (scalbln_test): Use ALL_RM_TEST.
46546 2014-03-18  Roland McGrath  <roland@hack.frob.com>
46548         * scripts/abilist.awk: Ignore symbols marked with .hidden.
46550 2014-03-18  Will Newton  <will.newton@linaro.org>
46552         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
46553         inaccurate comment.
46555 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
46557         * Makerules [!subdir] (check-abi): Exit with error status if a
46558         test failed.
46560 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
46562         * math/libm-test.inc (nearbyint_test_data): Include all tests used
46563         for rint.  Include results for all rounding modes.
46564         (nearbyint_test): Use ALL_RM_TEST.
46565         (rint_test_data): Include all tests used for nearbyint.
46567 2014-03-17  Will Newton  <will.newton@linaro.org>
46569         * nptl/sysdeps/pthread/pthread.h: Revert previous
46570         change.
46572         * sysdeps/generic/ldsodefs.h: Revert previous
46573         change.
46575         * libio/genops.c: Revert previous change.
46576         * libio/libioP.h: Likewise.
46577         * stdio-common/vfprintf.c: Likewise.
46579         * sysdeps/generic/math_private.h: Revert previous
46580         change.
46582         * sysdeps/generic/math_private.h: Check whether
46583         HAVE_RM_CTX is defined with #ifdef rather
46584         than #if.
46586         * argp/argp-fmtstream.h: Check whether
46587         __STRICT_ANSI__ is defined with #ifdef rather
46588         than #if.
46589         * argp/argp.h: Likewise.
46591         * libio/genops.c: Check whether
46592         _IO_JUMPS_OFFSET is defined with #ifdef rather
46593         than #if.
46594         * libio/libioP.h: Likewise.
46595         * stdio-common/vfprintf.c: Likewise.
46597         * sysdeps/generic/ldsodefs.h: Check whether
46598         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
46599         than #if.
46601         * nptl/sysdeps/pthread/pthread.h: Check
46602         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
46603         its value.
46605 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46607         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
46608         setting O_APPEND.
46609         * libio/tst-ftell-active-handler.c (do_append_test): Add a
46610         test case.
46612         [BZ #16680]
46613         * libio/fileops.c (_IO_file_open): Seek to end of file but
46614         don't cache the offset.
46615         (get_file_offset): Remove function.
46616         (do_ftell): Use cached offset when available.
46617         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
46618         don't cache the offset.
46619         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
46620         case.
46621         (do_one_test): Call it.
46622         (do_ftell_test): Fix up expected old offset for a+ mode.
46623         * libio/wfileops.c (do_ftell_wide): Used cached offset when
46624         available.
46626         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
46627         up test status with function return status.
46628         (do_write_test): Likewise.
46629         (do_append_test): Likewise.
46631         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
46632         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
46633         Remove.
46635 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
46637         * math/gen-libm-test.pl (parse_args): Handle results specified for
46638         each rounding mode separately.
46639         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
46640         tests and results from lrint_tonearest_test_data,
46641         lrint_towardzero_test_data, lrint_downward_test_data and
46642         lrint_upward_test_data.
46643         (lrint_test): Use ALL_RM_TEST.
46644         (lrint_tonearest_test_data): Remove.
46645         (lrint_test_tonearest): Likewise.
46646         (lrint_towardzero_test_data): Likewise.
46647         (lrint_test_towardzero): Likewise.
46648         (lrint_downward_test_data): Likewise.
46649         (lrint_test_downward): Likewise.
46650         (lrint_upward_test_data): Likewise.
46651         (lrint_test_upward): Likewise.
46652         (llrint_test_data): Merge in per-rounding-mode tests and results
46653         from llrint_tonearest_test_data, llrint_towardzero_test_data,
46654         llrint_downward_test_data and llrint_upward_test_data.
46655         (llrint_test): Use ALL_RM_TEST.
46656         (llrint_tonearest_test_data): Remove.
46657         (llrint_test_tonearest): Likewise.
46658         (llrint_towardzero_test_data): Likewise.
46659         (llrint_test_towardzero): Likewise.
46660         (llrint_downward_test_data): Likewise.
46661         (llrint_test_downward): Likewise.
46662         (llrint_upward_test_data): Likewise.
46663         (llrint_test_upward): Likewise.
46664         (rint_test_data): Merge in per-rounding-mode tests and results
46665         from rint_tonearest_test_data, rint_towardzero_test_data,
46666         rint_downward_test_data and rint_upward_test_data.  Add
46667         per-rounding-mode results for tests not in those arrays.
46668         (rint_test): Use ALL_RM_TEST.
46669         (rint_tonearest_test_data): Remove.
46670         (rint_test_tonearest): Likewise.
46671         (rint_towardzero_test_data): Likewise.
46672         (rint_test_towardzero): Likewise.
46673         (rint_downward_test_data): Likewise.
46674         (rint_test_downward): Likewise.
46675         (rint_upward_test_data): Likewise.
46676         (rint_test_upward): Likewise.
46677         (main): Don't call removed functions.
46679 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46681         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
46682         "Compiled on ..." crapola.  It is anti-useful.
46684 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
46686         * scripts/evaluate-test.sh: Handle fourth argument to determine
46687         whether test run should stop on failure.
46688         * Makeconfig (stop-on-test-failure): New variable.
46689         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
46690         $(stop-on-test-failure).
46691         * Makefile (tests): Give a summary of results from testing and
46692         exit with failure status if they include an ERROR or FAIL.
46693         (xtests): Likewise.
46694         * manual/install.texi (Configuring and compiling): Mention
46695         stop-on-test-failure=y.
46696         * INSTALL: Regenerated.
46698 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46700         * scripts/versionlist.awk: New file.
46701         * Makerules [$(build-shared) = yes]
46702         (postclean-generated): Add Versions.def, not Versions.def.v and
46703         Versions.def.v.i.
46704         ($(common-objpfx)Versions.def.v.i): Target removed.
46705         ($(common-objpfx)Versions.def): New target.
46706         ($(common-objpfx)Versions.all): Depend on that rather that
46707         $(common-objpfx)Versions.def.v.
46708         * Versions.def: File removed.
46710         * Makeconfig (+gccwarn): Add -Wundef.
46711         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
46712         a dl-sysdep.h breaking its contract.
46713         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
46714         * include/stackinfo.h: New file.
46715         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
46716         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
46717         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
46718         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
46719         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
46720         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
46721         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46722         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46723         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46724         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46725         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46726         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
46727         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46728         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46729         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46731 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46733         [BZ #16707]
46734         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
46735         implementation.
46736         * math/libm-test.inc (round_test_data): Add more tests.
46738         [BZ #16706]
46739         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
46740         implementation.
46741         * math/libm-test.inc (nearbyint_test_data): Add more tests.
46743         [BZ #16701]
46744         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
46745         implementation.
46746         * math/libm-test.inc (ceil_test_data): Add more tests.
46748         * math/libm-test.inc (trunc_test_data): Add more tests related to
46749         BZ#16414.
46751 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46753         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
46754         with #if rather than #ifdef.
46755         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
46757 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
46759         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
46760         first.  Disable AVX-512 GCC support if assembler doesn't support
46761         it.
46762         * sysdeps/x86_64/configure: Regenerated.
46764 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
46766         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
46767         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
46768         (__old_pthread_attr_setstack): Likewise.
46769         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
46770         [!_STACK_GROWS_DOWN]: Likewise.
46772 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
46774         * config.make.in (have-bash2): Delete.
46775         * configure.ac (libc_cv_have_bash2): Delete.
46776         * configure: Regenerate.
46777         * elf/Makefile (common-ldd-rewrite): Rename to ...
46778         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
46779         (sh-ldd-rewrite): Delete.
46780         (bash-ldd-rewrite): Delete.
46781         (have-bash2): Delete checks.
46782         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
46783         ldd-rewrite.
46785         * config.make.in (have-ksh): Delete.
46786         (KSH): Delete.
46787         * configure.ac (libc_cv_have_ksh): Delete.
46788         * configure: Regenerate.
46790         * elf/Makefile: Delete $(have-ksh) check.
46791         ($(objpfx)sotruss): Change KSH to BASH.
46792         * elf/sotruss.ksh: Rename to ...
46793         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
46794         function style to match POSIX.  Drop ksh vim mode setting.
46796         * manual/time.texi (Specifying the Time Zone with TZ): Change
46797         Tuesday to Thursday.
46799         * debug/tst-longjmp_chk2.c: Update header comment.
46800         (stackoverflow_handler): Add comment.  Call assert on pass value.
46802 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
46804         [BZ #16194]
46805         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
46806         (HAVE_AVX512_ASM_SUPPORT): Likewise.
46807         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
46808         (La_x86_64_vector): Add zmm.
46809         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
46810         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
46811         ($(objpfx)tst-audit10): New target.
46812         ($(objpfx)tst-audit10.out): Likewise.
46813         (tst-audit10-ENV): New.
46814         (AVX512-CFLAGS): Likewise.
46815         (CFLAGS-tst-audit10.c): Likewise.
46816         (CFLAGS-tst-auditmod10a.c): Likewise.
46817         (CFLAGS-tst-auditmod10b.c): Likewise.
46818         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
46819         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
46820         * sysdeps/x86_64/configure: Regenerated.
46821         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
46822         AVX-512 zmm register support.
46823         (_dl_x86_64_save_sse): Likewise.
46824         (_dl_x86_64_restore_sse): Likewise.
46825         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
46826         size vector registers.
46827         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
46828         (ZMM_SIZE): Likewise.
46829         * sysdeps/x86_64/tst-audit10.c: New file.
46830         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
46831         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
46833 2014-03-13  Roland McGrath  <roland@hack.frob.com>
46835         * configure.ac (HAVE_EHDR_START): New check.
46836         * configure: Regenerated.
46837         * config.h.in (HAVE_EHDR_START): New #undef.
46838         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
46839         assuming the lowest-addressed segment maps the start of the file.
46841 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
46843         * INSTALL: Regenerated.
46845 2014-03-13  Will Newton  <will.newton@linaro.org>
46847         * manual/setjmp.texi (System V contexts): Improve
46848         clarity and grammar of documentation.
46850 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
46852         [BZ #16381]
46853         * elf/Makefile (tests): Add tst-pie2.
46854         (tests-pie): Add tst-pie2.
46855         * elf/tst-pie2.c: New file.
46856         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
46857         for ET_EXEC.
46858         * elf/rtld.c (map_doit): Load executable as lt_executable.
46859         (dl_main): Likewise.
46861 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
46863         [BZ #16642]
46864         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46865         (__ASSUME_PSELECT): Undefine.
46867 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46869         [BZ #16689]
46870         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
46871         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
46872         static build.
46873         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
46874         selector for static builds.
46876 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46878         [BZ #16695]
46879         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
46880         key in the buffer.
46882 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46884         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
46885         IFUNC selector for static builds.
46887 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
46889         * sysdeps/mips/math_private.h [__mips_hard_float]
46890         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
46891         libc_feresetround_mips_ctx.
46892         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
46893         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
46894         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
46896         [BZ #16677]
46897         * math/s_nextafter.c (__nextafter): Do not return value from
46898         overflowing computation.
46899         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
46900         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
46901         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
46902         Likewise.
46903         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
46904         Likewise.
46905         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
46906         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
46908 2014-03-11  Roland McGrath  <roland@hack.frob.com>
46910         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
46911         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
46912         Move sfi_sp use from the load-multiple (that no longer sets sp) to
46913         the new mov targetting sp.
46915 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46917         [BZ #16683]
46918         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
46919         Define it for static builds as well.
46920         (NO_BZERO_IMPL): Likewise.
46922 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46924         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
46925         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
46926         multiarch strspn for PPC64.
46927         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
46928         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
46929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46930         (__libc_ifunc_impl_list): Likewise.
46931         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
46932         multiarch optimizations
46933         * string/strspn.c (strspn): Using macro to redefine symbol name.
46935 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46936             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46938         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
46939         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
46940         multiarch strncat for PPC64.
46941         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
46942         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
46943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46944         (__libc_ifunc_impl_list): Likewise.
46945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
46946         multiarch optimizations
46948 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46950         [BZ #16639]
46951         * nscd/nscd.service: Make service type forking.
46953 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46955         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
46956         sign in non default rounding modes.
46957         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
46959 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
46961         * math/libm-test.inc (ALL_RM_TEST): New macro.
46962         (ceil_test): Use ALL_RM_TEST.
46963         (cimag_test): Likewise.
46964         (conj_test): Likewise.
46965         (copysign_test): Likewise.
46966         (cproj_test): Likewise.
46967         (creal_test): Likewise.
46968         (fabs_test): Likewise.
46969         (floor_test): Likewise.
46970         (fmax_test): Likewise.
46971         (fmin_test): Likewise.
46972         (fmod_test): Likewise.
46973         (fpclassify_test): Likewise.
46974         (frexp_test): Likewise.
46975         (ilogb_test): Likewise.
46976         (isfinite_test): Likewise.
46977         (finite_test): Likewise.
46978         (isgreater_test): Likewise.
46979         (isgreaterequal_test): Likewise.
46980         (isinf_test): Likewise.
46981         (isless_test): Likewise.
46982         (islessequal_test): Likewise.
46983         (islessgreater_test): Likewise.
46984         (isnan_test): Likewise.
46985         (isnormal_test): Likewise.
46986         (issignaling_test): Likewise.
46987         (isunordered_test): Likewise.
46988         (logb_test): Likewise.
46989         (logb_downward_test_data): Remove.
46990         (logb_test_downward): Likewise.
46991         (lround_test): Use ALL_RM_TEST.
46992         (llround_test): Likewise.
46993         (modf_test): Likewise.
46994         (nexttoward_test): Likewise.
46995         (remainder_test): Likewise.
46996         (drem_test): Likewise.
46997         (remainder_tonearest_test_data): Likewise.
46998         (remainder_test_tonearest): Likewise.
46999         (drem_test_tonearest): Likewise.
47000         (remainder_towardzero_test_data): Likewise.
47001         (remainder_test_towardzero): Likewise.
47002         (drem_test_towardzero): Likewise.
47003         (remainder_downward_test_data): Likewise.
47004         (remainder_test_downward): Likewise.
47005         (drem_test_downward): Likewise.
47006         (remainder_upward_test_data): Likewise.
47007         (remainder_test_upward): Likewise.
47008         (drem_test_upward): Likewise.
47009         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
47010         (round_test): Use ALL_RM_TEST.
47011         (signbit_test): Likewise.
47012         (trunc_test): Likewise.
47013         (significand_test): Likewise.
47014         (main): Don't call removed functions.
47016 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47018         [BZ #16674]
47019         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
47020         || __USE_XOPEN2K8].
47021         (ILL_ILLOPN): Likewise.
47022         (ILL_ILLADR): Likewise.
47023         (ILL_ILLTRP): Likewise.
47024         (ILL_PRVOPC): Likewise.
47025         (ILL_PRVREG): Likewise.
47026         (ILL_COPROC): Likewise.
47027         (ILL_BADSTK): Likewise.
47028         (FPE_INTDIV): Likewise.
47029         (FPE_INTOVF): Likewise.
47030         (FPE_FLTDIV): Likewise.
47031         (FPE_FLTOVF): Likewise.
47032         (FPE_FLTUND): Likewise.
47033         (FPE_FLTRES): Likewise.
47034         (FPE_FLTINV): Likewise.
47035         (FPE_FLTSUB): Likewise.
47036         (SEGV_MAPERR): Likewise.
47037         (SEGV_ACCERR): Likewise.
47038         (BUS_ADRALN): Likewise.
47039         (BUS_ADRERR): Likewise.
47040         (BUS_OBJERR): Likewise.
47041         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47042         (TRAP_TRACE): Likewise.
47043         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47044         __USE_XOPEN2K8].
47045         (CLD_KILLED): Likewise.
47046         (CLD_DUMPED): Likewise.
47047         (CLD_TRAPPED): Likewise.
47048         (CLD_STOPPED): Likewise.
47049         (CLD_CONTINUED): Likewise.
47050         (POLL_IN): Likewise.
47051         (POLL_OUT): Likewise.
47052         (POLL_MSG): Likewise.
47053         (POLL_ERR): Likewise.
47054         (POLL_PRI): Likewise.
47055         (POLL_HUP): Likewise.
47056         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
47057         Likewise.
47058         (ILL_ILLOPN): Likewise.
47059         (ILL_ILLADR): Likewise.
47060         (ILL_ILLTRP): Likewise.
47061         (ILL_PRVOPC): Likewise.
47062         (ILL_PRVREG): Likewise.
47063         (ILL_COPROC): Likewise.
47064         (ILL_BADSTK): Likewise.
47065         (FPE_INTDIV): Likewise.
47066         (FPE_INTOVF): Likewise.
47067         (FPE_FLTDIV): Likewise.
47068         (FPE_FLTOVF): Likewise.
47069         (FPE_FLTUND): Likewise.
47070         (FPE_FLTRES): Likewise.
47071         (FPE_FLTINV): Likewise.
47072         (FPE_FLTSUB): Likewise.
47073         (SEGV_MAPERR): Likewise.
47074         (SEGV_ACCERR): Likewise.
47075         (BUS_ADRALN): Likewise.
47076         (BUS_ADRERR): Likewise.
47077         (BUS_OBJERR): Likewise.
47078         (BUS_MCEERR_AR): Likewise.
47079         (BUS_MCEERR_AO): Likewise.
47080         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47081         (TRAP_TRACE): Likewise.
47082         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47083         __USE_XOPEN2K8].
47084         (CLD_KILLED): Likewise.
47085         (CLD_DUMPED): Likewise.
47086         (CLD_TRAPPED): Likewise.
47087         (CLD_STOPPED): Likewise.
47088         (CLD_CONTINUED): Likewise.
47089         (POLL_IN): Likewise.
47090         (POLL_OUT): Likewise.
47091         (POLL_MSG): Likewise.
47092         (POLL_ERR): Likewise.
47093         (POLL_PRI): Likewise.
47094         (POLL_HUP): Likewise.
47095         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
47096         (ILL_ILLOPN): Likewise.
47097         (ILL_ILLADR): Likewise.
47098         (ILL_ILLTRP): Likewise.
47099         (ILL_PRVOPC): Likewise.
47100         (ILL_PRVREG): Likewise.
47101         (ILL_COPROC): Likewise.
47102         (ILL_BADSTK): Likewise.
47103         (FPE_INTDIV): Likewise.
47104         (FPE_INTOVF): Likewise.
47105         (FPE_FLTDIV): Likewise.
47106         (FPE_FLTOVF): Likewise.
47107         (FPE_FLTUND): Likewise.
47108         (FPE_FLTRES): Likewise.
47109         (FPE_FLTINV): Likewise.
47110         (FPE_FLTSUB): Likewise.
47111         (SEGV_MAPERR): Likewise.
47112         (SEGV_ACCERR): Likewise.
47113         (BUS_ADRALN): Likewise.
47114         (BUS_ADRERR): Likewise.
47115         (BUS_OBJERR): Likewise.
47116         (BUS_MCEERR_AR): Likewise.
47117         (BUS_MCEERR_AO): Likewise.
47118         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47119         (TRAP_TRACE): Likewise.
47120         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47121         __USE_XOPEN2K8].
47122         (CLD_KILLED): Likewise.
47123         (CLD_DUMPED): Likewise.
47124         (CLD_TRAPPED): Likewise.
47125         (CLD_STOPPED): Likewise.
47126         (CLD_CONTINUED): Likewise.
47127         (POLL_IN): Likewise.
47128         (POLL_OUT): Likewise.
47129         (POLL_MSG): Likewise.
47130         (POLL_ERR): Likewise.
47131         (POLL_PRI): Likewise.
47132         (POLL_HUP): Likewise.
47133         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
47134         Likewise.
47135         (ILL_ILLOPN): Likewise.
47136         (ILL_ILLADR): Likewise.
47137         (ILL_ILLTRP): Likewise.
47138         (ILL_PRVOPC): Likewise.
47139         (ILL_PRVREG): Likewise.
47140         (ILL_COPROC): Likewise.
47141         (ILL_BADSTK): Likewise.
47142         (ILL_BADIADDR): Likewise.
47143         (ILL_BREAK): Likewise.
47144         (FPE_INTDIV): Likewise.
47145         (FPE_INTOVF): Likewise.
47146         (FPE_FLTDIV): Likewise.
47147         (FPE_FLTOVF): Likewise.
47148         (FPE_FLTUND): Likewise.
47149         (FPE_FLTRES): Likewise.
47150         (FPE_FLTINV): Likewise.
47151         (FPE_FLTSUB): Likewise.
47152         (FPE_DECOVF): Likewise.
47153         (FPE_DECDIV): Likewise.
47154         (FPE_DECERR): Likewise.
47155         (FPE_INVASC): Likewise.
47156         (FPE_INVDEC): Likewise.
47157         (SEGV_MAPERR): Likewise.
47158         (SEGV_ACCERR): Likewise.
47159         (SEGV_PSTKOVF): Likewise.
47160         (BUS_ADRALN): Likewise.
47161         (BUS_ADRERR): Likewise.
47162         (BUS_OBJERR): Likewise.
47163         (BUS_MCEERR_AR): Likewise.
47164         (BUS_MCEERR_AO): Likewise.
47165         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47166         (TRAP_TRACE): Likewise.
47167         (TRAP_BRANCH): Likewise.
47168         (TRAP_HWBKPT): Likewise.
47169         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47170         __USE_XOPEN2K8].
47171         (CLD_KILLED): Likewise.
47172         (CLD_DUMPED): Likewise.
47173         (CLD_TRAPPED): Likewise.
47174         (CLD_STOPPED): Likewise.
47175         (CLD_CONTINUED): Likewise.
47176         (POLL_IN): Likewise.
47177         (POLL_OUT): Likewise.
47178         (POLL_MSG): Likewise.
47179         (POLL_ERR): Likewise.
47180         (POLL_PRI): Likewise.
47181         (POLL_HUP): Likewise.
47182         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
47183         (ILL_ILLOPN): Likewise.
47184         (ILL_ILLADR): Likewise.
47185         (ILL_ILLTRP): Likewise.
47186         (ILL_PRVOPC): Likewise.
47187         (ILL_PRVREG): Likewise.
47188         (ILL_COPROC): Likewise.
47189         (ILL_BADSTK): Likewise.
47190         (FPE_INTDIV): Likewise.
47191         (FPE_INTOVF): Likewise.
47192         (FPE_FLTDIV): Likewise.
47193         (FPE_FLTOVF): Likewise.
47194         (FPE_FLTUND): Likewise.
47195         (FPE_FLTRES): Likewise.
47196         (FPE_FLTINV): Likewise.
47197         (FPE_FLTSUB): Likewise.
47198         (SEGV_MAPERR): Likewise.
47199         (SEGV_ACCERR): Likewise.
47200         (BUS_ADRALN): Likewise.
47201         (BUS_ADRERR): Likewise.
47202         (BUS_OBJERR): Likewise.
47203         (BUS_MCEERR_AR): Likewise.
47204         (BUS_MCEERR_AO): Likewise.
47205         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47206         (TRAP_TRACE): Likewise.
47207         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47208         __USE_XOPEN2K8].
47209         (CLD_KILLED): Likewise.
47210         (CLD_DUMPED): Likewise.
47211         (CLD_TRAPPED): Likewise.
47212         (CLD_STOPPED): Likewise.
47213         (CLD_CONTINUED): Likewise.
47214         (POLL_IN): Likewise.
47215         (POLL_OUT): Likewise.
47216         (POLL_MSG): Likewise.
47217         (POLL_ERR): Likewise.
47218         (POLL_PRI): Likewise.
47219         (POLL_HUP): Likewise.
47220         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
47221         (ILL_ILLOPN): Likewise.
47222         (ILL_ILLADR): Likewise.
47223         (ILL_ILLTRP): Likewise.
47224         (ILL_PRVOPC): Likewise.
47225         (ILL_PRVREG): Likewise.
47226         (ILL_COPROC): Likewise.
47227         (ILL_BADSTK): Likewise.
47228         (FPE_INTDIV): Likewise.
47229         (FPE_INTOVF): Likewise.
47230         (FPE_FLTDIV): Likewise.
47231         (FPE_FLTOVF): Likewise.
47232         (FPE_FLTUND): Likewise.
47233         (FPE_FLTRES): Likewise.
47234         (FPE_FLTINV): Likewise.
47235         (FPE_FLTSUB): Likewise.
47236         (SEGV_MAPERR): Likewise.
47237         (SEGV_ACCERR): Likewise.
47238         (BUS_ADRALN): Likewise.
47239         (BUS_ADRERR): Likewise.
47240         (BUS_OBJERR): Likewise.
47241         (BUS_MCEERR_AR): Likewise.
47242         (BUS_MCEERR_AO): Likewise.
47243         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47244         (TRAP_TRACE): Likewise.
47245         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47246         __USE_XOPEN2K8].
47247         (CLD_KILLED): Likewise.
47248         (CLD_DUMPED): Likewise.
47249         (CLD_TRAPPED): Likewise.
47250         (CLD_STOPPED): Likewise.
47251         (CLD_CONTINUED): Likewise.
47252         (POLL_IN): Likewise.
47253         (POLL_OUT): Likewise.
47254         (POLL_MSG): Likewise.
47255         (POLL_ERR): Likewise.
47256         (POLL_PRI): Likewise.
47257         (POLL_HUP): Likewise.
47258         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
47259         (ILL_ILLOPN): Likewise.
47260         (ILL_ILLADR): Likewise.
47261         (ILL_ILLTRP): Likewise.
47262         (ILL_PRVOPC): Likewise.
47263         (ILL_PRVREG): Likewise.
47264         (ILL_COPROC): Likewise.
47265         (ILL_BADSTK): Likewise.
47266         (FPE_INTDIV): Likewise.
47267         (FPE_INTOVF): Likewise.
47268         (FPE_FLTDIV): Likewise.
47269         (FPE_FLTOVF): Likewise.
47270         (FPE_FLTUND): Likewise.
47271         (FPE_FLTRES): Likewise.
47272         (FPE_FLTINV): Likewise.
47273         (FPE_FLTSUB): Likewise.
47274         (SEGV_MAPERR): Likewise.
47275         (SEGV_ACCERR): Likewise.
47276         (BUS_ADRALN): Likewise.
47277         (BUS_ADRERR): Likewise.
47278         (BUS_OBJERR): Likewise.
47279         (BUS_MCEERR_AR): Likewise.
47280         (BUS_MCEERR_AO): Likewise.
47281         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47282         (TRAP_TRACE): Likewise.
47283         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47284         __USE_XOPEN2K8].
47285         (CLD_KILLED): Likewise.
47286         (CLD_DUMPED): Likewise.
47287         (CLD_TRAPPED): Likewise.
47288         (CLD_STOPPED): Likewise.
47289         (CLD_CONTINUED): Likewise.
47290         (POLL_IN): Likewise.
47291         (POLL_OUT): Likewise.
47292         (POLL_MSG): Likewise.
47293         (POLL_ERR): Likewise.
47294         (POLL_PRI): Likewise.
47295         (POLL_HUP): Likewise.
47296         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
47297         (ILL_ILLOPN): Likewise.
47298         (ILL_ILLADR): Likewise.
47299         (ILL_ILLTRP): Likewise.
47300         (ILL_PRVOPC): Likewise.
47301         (ILL_PRVREG): Likewise.
47302         (ILL_COPROC): Likewise.
47303         (ILL_BADSTK): Likewise.
47304         (ILL_DBLFLT): Likewise.
47305         (ILL_HARDWALL): Likewise.
47306         (FPE_INTDIV): Likewise.
47307         (FPE_INTOVF): Likewise.
47308         (FPE_FLTDIV): Likewise.
47309         (FPE_FLTOVF): Likewise.
47310         (FPE_FLTUND): Likewise.
47311         (FPE_FLTRES): Likewise.
47312         (FPE_FLTINV): Likewise.
47313         (FPE_FLTSUB): Likewise.
47314         (SEGV_MAPERR): Likewise.
47315         (SEGV_ACCERR): Likewise.
47316         (BUS_ADRALN): Likewise.
47317         (BUS_ADRERR): Likewise.
47318         (BUS_OBJERR): Likewise.
47319         (BUS_MCEERR_AR): Likewise.
47320         (BUS_MCEERR_AO): Likewise.
47321         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47322         (TRAP_TRACE): Likewise.
47323         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47324         __USE_XOPEN2K8].
47325         (CLD_KILLED): Likewise.
47326         (CLD_DUMPED): Likewise.
47327         (CLD_TRAPPED): Likewise.
47328         (CLD_STOPPED): Likewise.
47329         (CLD_CONTINUED): Likewise.
47330         (POLL_IN): Likewise.
47331         (POLL_OUT): Likewise.
47332         (POLL_MSG): Likewise.
47333         (POLL_ERR): Likewise.
47334         (POLL_PRI): Likewise.
47335         (POLL_HUP): Likewise.
47336         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
47337         (ILL_ILLOPN): Likewise.
47338         (ILL_ILLADR): Likewise.
47339         (ILL_ILLTRP): Likewise.
47340         (ILL_PRVOPC): Likewise.
47341         (ILL_PRVREG): Likewise.
47342         (ILL_COPROC): Likewise.
47343         (ILL_BADSTK): Likewise.
47344         (FPE_INTDIV): Likewise.
47345         (FPE_INTOVF): Likewise.
47346         (FPE_FLTDIV): Likewise.
47347         (FPE_FLTOVF): Likewise.
47348         (FPE_FLTUND): Likewise.
47349         (FPE_FLTRES): Likewise.
47350         (FPE_FLTINV): Likewise.
47351         (FPE_FLTSUB): Likewise.
47352         (SEGV_MAPERR): Likewise.
47353         (SEGV_ACCERR): Likewise.
47354         (BUS_ADRALN): Likewise.
47355         (BUS_ADRERR): Likewise.
47356         (BUS_OBJERR): Likewise.
47357         (BUS_MCEERR_AR): Likewise.
47358         (BUS_MCEERR_AO): Likewise.
47359         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47360         (TRAP_TRACE): Likewise.
47361         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47362         __USE_XOPEN2K8].
47363         (CLD_KILLED): Likewise.
47364         (CLD_DUMPED): Likewise.
47365         (CLD_TRAPPED): Likewise.
47366         (CLD_STOPPED): Likewise.
47367         (CLD_CONTINUED): Likewise.
47368         (POLL_IN): Likewise.
47369         (POLL_OUT): Likewise.
47370         (POLL_MSG): Likewise.
47371         (POLL_ERR): Likewise.
47372         (POLL_PRI): Likewise.
47373         (POLL_HUP): Likewise.
47374         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
47375         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
47377         [BZ #16670]
47378         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
47379         before #include of <time.h>.
47380         [!__USE_XOPEN2K] (__need_timespec): Likewise.
47381         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
47382         (test-xfail-UNIX98/sched.h/conform): Likewise.
47384 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47386         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
47387         error absence of trapping exception support.
47388         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47390 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47392         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
47393         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
47394         * timezone/Makefile (testdata): Move definition above include of
47395         Rules.
47396         (test-zones): New variable.
47397         (tests-special): Add zone files.
47398         (build-testdata): Use $(evaluate-test).
47400         * elf/Makefile (tests-special): Rename tests to end with .out.
47401         ($(objpfx)noload-mem): Likewise.
47402         ($(objpfx)tst-leaks1-mem): Likewise.
47403         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
47404         * iconv/Makefile (xtests-special): Change test-iconvconfig to
47405         $(objpfx)test-iconvconfig.out.
47406         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
47407         set -e inside subshell and redirect output to file.
47408         * iconvdata/Makefile (generated): Rename tests to end with .out.
47409         Correct type.
47410         (tests-special): Rename tests to end with .out.
47411         ($(objpfx)mtrace-tst-loading): Likewise.
47412         * intl/Makefile (generated): Likewise.
47413         (tests-special): Likewise.
47414         ($(objpfx)mtrace-tst-gettext): Likewise.
47415         * misc/Makefile (generated): Likewise.
47416         (tests-special): Likewise.
47417         ($(objpfx)tst-error1-mem): Likewise.
47418         * nptl/Makefile (tests-special): Likewise.
47419         ($(objpfx)tst-stack3-mem): Likewise.
47420         (generated): Likewise.
47421         * posix/Makefile (generated): Likewise.
47422         (tests-special): Likewise.
47423         (xtests-special): Likewise.
47424         ($(objpfx)tst-fnmatch-mem): Likewise.
47425         ($(objpfx)bug-regex2-mem): Likewise.
47426         ($(objpfx)bug-regex14-mem): Likewise.
47427         ($(objpfx)bug-regex21-mem): Likewise.
47428         ($(objpfx)bug-regex31-mem): Likewise.
47429         ($(objpfx)tst-vfork3-mem): Likewise.
47430         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47431         ($(objpfx)tst-pcre-mem): Likewise.
47432         ($(objpfx)tst-boost-mem): Likewise.
47433         ($(objpfx)bug-ga2-mem): Likewise.
47434         ($(objpfx)bug-glob2-mem): Likewise.
47435         * resolv/Makefile (generate): Likewise.
47436         (tests-special): Likewise.
47437         (xtests-special): Likewise.
47438         (generated): Likewise.
47439         ($(objpfx)mtrace-tst-leaks): Likewise.
47440         ($(objpfx)mtrace-tst-leaks2): Likewise.
47442         * scripts/merge-test-results.sh: New file.
47443         * Makefile (tests-special-notdir): New variable.
47444         (tests): Run merge-test-results.sh.
47445         (xtests): Likewise.
47446         * Rules (tests-special-notdir): New variable.
47447         (xtests-special-notdir): Likewise.
47448         (tests): Run merge-test-results.sh
47449         (xtests): Likewise.
47451         * Makeconfig (test-xfail-name): New variable.
47452         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
47453         compute variable name for expected failures.
47454         * conform/Makefile (conformtest-headers-data): New variable.
47455         (conformtest-standards): Likewise.
47456         (conformtest-headers-ISO): Likewise.
47457         (conformtest-headers-ISO99): Likewise.
47458         (conformtest-headers-ISO11): Likewise.
47459         (conformtest-headers-POSIX): Likewise.
47460         (conformtest-headers-XPG3): Likewise.
47461         (conformtest-headers-XPG4): Likewise.
47462         (conformtest-headers-UNIX98): Likewise.
47463         (conformtest-headers-XOPEN2K): Likewise.
47464         (conformtest-headers-POSIX2008): Likewise.
47465         (conformtest-headers-XOPEN2K8): Likewise.
47466         (conformtest-header-list-base): Likewise.
47467         (conformtest-header-list-tests): Likewise.
47468         (conformtest-header-base): Likewise.
47469         (conformtest-header-tests): Likewise.
47470         (tests-special): Add $(conformtest-header-list-tests).  If
47471         [$(fast-check) && !$(cross-compiling)], add
47472         $(conformtest-header-tests) instead of
47473         $(objpfx)run-conformtest.out.
47474         (generated): Add $(conformtest-header-list-base).  If
47475         [$(fast-check) && !$(cross-compiling)], add
47476         $(conformtest-header-base).  Remove previous setting.
47477         ($(conformtest-header-list-tests)): New target.
47478         (test-xfail-run-conformtest): Remove variable.
47479         ($(objpfx)run-conformtest.out): Remove target.
47480         (test-xfail-ISO11/complex.h/conform): New variable.
47481         (test-xfail-ISO11/stdalign.h/conform): Likewise.
47482         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
47483         (test-xfail-XPG3/varargs.h/conform): Likewise.
47484         (test-xfail-XPG4/varargs.h/conform): Likewise.
47485         (test-xfail-UNIX98/varargs.h/conform): Likewise.
47486         (test-xfail-XPG4/ndbm.h/conform): Likewise.
47487         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
47488         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
47489         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
47490         (test-xfail-XPG3/fcntl.h/conform): Likewise.
47491         (test-xfail-XPG3/ftw.h/conform): Likewise.
47492         (test-xfail-XPG3/grp.h/conform): Likewise.
47493         (test-xfail-XPG3/langinfo.h/conform): Likewise.
47494         (test-xfail-XPG3/limits.h/conform): Likewise.
47495         (test-xfail-XPG3/pwd.h/conform): Likewise.
47496         (test-xfail-XPG3/search.h/conform): Likewise.
47497         (test-xfail-XPG3/signal.h/conform): Likewise.
47498         (test-xfail-XPG3/stdio.h/conform): Likewise.
47499         (test-xfail-XPG3/stdlib.h/conform): Likewise.
47500         (test-xfail-XPG3/string.h/conform): Likewise.
47501         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
47502         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
47503         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
47504         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
47505         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
47506         (test-xfail-XPG3/sys/types.h/conform): Likewise.
47507         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
47508         (test-xfail-XPG3/termios.h/conform): Likewise.
47509         (test-xfail-XPG3/time.h/conform): Likewise.
47510         (test-xfail-XPG3/unistd.h/conform): Likewise.
47511         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
47512         (test-xfail-XPG4/fcntl.h/conform): Likewise.
47513         (test-xfail-XPG4/langinfo.h/conform): Likewise.
47514         (test-xfail-XPG4/netdb.h/conform): Likewise.
47515         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
47516         (test-xfail-XPG4/signal.h/conform): Likewise.
47517         (test-xfail-XPG4/stdio.h/conform): Likewise.
47518         (test-xfail-XPG4/stdlib.h/conform): Likewise.
47519         (test-xfail-XPG4/stropts.h/conform): Likewise.
47520         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
47521         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
47522         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
47523         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
47524         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
47525         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
47526         (test-xfail-XPG4/sys/time.h/conform): Likewise.
47527         (test-xfail-XPG4/sys/types.h/conform): Likewise.
47528         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
47529         (test-xfail-XPG4/termios.h/conform): Likewise.
47530         (test-xfail-XPG4/ucontext.h/conform): Likewise.
47531         (test-xfail-XPG4/unistd.h/conform): Likewise.
47532         (test-xfail-XPG4/utmpx.h/conform): Likewise.
47533         (test-xfail-POSIX/sched.h/conform): Likewise.
47534         (test-xfail-POSIX/signal.h/conform): Likewise.
47535         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
47536         (test-xfail-POSIX/tar.h/conform): Likewise.
47537         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
47538         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
47539         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
47540         (test-xfail-UNIX98/netdb.h/conform): Likewise.
47541         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
47542         (test-xfail-UNIX98/sched.h/conform): Likewise.
47543         (test-xfail-UNIX98/signal.h/conform): Likewise.
47544         (test-xfail-UNIX98/stdio.h/conform): Likewise.
47545         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
47546         (test-xfail-UNIX98/stropts.h/conform): Likewise.
47547         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
47548         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
47549         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
47550         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
47551         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
47552         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
47553         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
47554         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
47555         (test-xfail-UNIX98/unistd.h/conform): Likewise.
47556         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
47557         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
47558         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
47559         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
47560         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
47561         (test-xfail-XOPEN2K/math.h/conform): Likewise.
47562         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
47563         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
47564         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
47565         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
47566         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
47567         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
47568         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
47569         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
47570         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
47571         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
47572         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
47573         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
47574         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
47575         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
47576         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
47577         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
47578         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
47579         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
47580         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
47581         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
47582         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
47583         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
47584         (test-xfail-POSIX2008/signal.h/conform): Likewise.
47585         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
47586         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
47587         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
47588         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
47589         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
47590         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
47591         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
47592         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
47593         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
47594         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
47595         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
47596         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
47597         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
47598         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
47599         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
47600         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
47601         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
47602         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
47603         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
47604         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
47605         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
47606         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
47607         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
47608         (conformtest-cc-flags): Likewise.
47609         ($(conformtest-header-tests): New target.
47610         * conform/check-header-lists.sh: New file.
47611         * conform/run-conformtest.sh: Remove.
47613         * conform/conformtest.pl: Allow ' and \ in values given for
47614         constants.
47615         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
47616         inclusion.
47617         [POSIX] (sys/types.h): Likewise.
47618         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
47619         inclusion.
47620         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
47621         inclusion.
47622         * conform/data/signal.h-data (SIGIO): Remove expectation.
47623         [XPG3] (SIGBUS): Do not expect.
47624         [POSIX || XPG3] (SIGPOLL): Likewise.
47625         [POSIX || XPG3] (SIGPROF): Likewise.
47626         [POSIX || XPG3] (SIGSYS): Likewise.
47627         [XPG3] (SIGTRAP): Likewise.
47628         [POSIX || XPG3] (SIGURG): Likewise.
47629         [POSIX || XPG3] (SIGVTALRM): Likewise.
47630         [POSIX || XPG3] (SIGXCPU): Likewise.
47631         [POSIX || XPG3] (SIGXFSZ): Likewise.
47632         [POSIX] (SA_SIGINFO): Expect.
47633         [XPG3] (siginfo_t): Do not expect type or contents.
47634         [POSIX] (si_pid): Do not expect element.
47635         [POSIX] (si_uid): Likewise.
47636         [POSIX] (si_addr): Likewise.
47637         [POSIX] (si_status): Likewise.
47638         [POSIX] (si_band): Likewise.
47639         [XPG4] (si_value): Likewise.
47640         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
47641         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
47642         [POSIX || XPG3] (ILL_ILLADR): Likewise.
47643         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
47644         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
47645         [POSIX || XPG3] (ILL_PRVREG): Likewise.
47646         [POSIX || XPG3] (ILL_COPROC): Likewise.
47647         [POSIX || XPG3] (ILL_BADSTK): Likewise.
47648         [POSIX || XPG3] (FPE_INTDIV): Likewise.
47649         [POSIX || XPG3] (FPE_INTOVF): Likewise.
47650         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
47651         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
47652         [POSIX || XPG3] (FPE_FLTUND): Likewise.
47653         [POSIX || XPG3] (FPE_FLTRES): Likewise.
47654         [POSIX || XPG3] (FPE_FLTINV): Likewise.
47655         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
47656         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
47657         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
47658         [POSIX || XPG3] (BUS_ADRALN): Likewise.
47659         [POSIX || XPG3] (BUS_ADRERR): Likewise.
47660         [POSIX || XPG3] (BUS_OBJERR): Likewise.
47661         [POSIX || XPG3] (CLD_EXITED): Likewise.
47662         [POSIX || XPG3] (CLD_KILLED): Likewise.
47663         [POSIX || XPG3] (CLD_DUMPED): Likewise.
47664         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
47665         [POSIX || XPG3] (CLD_STOPPED): Likewise.
47666         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
47667         [POSIX || XPG3] (POLL_IN): Likewise.
47668         [POSIX || XPG3] (POLL_OUT): Likewise.
47669         [POSIX || XPG3] (POLL_MSG): Likewise.
47670         [POSIX || XPG3] (POLL_ERR): Likewise.
47671         [POSIX || XPG3] (POLL_PRI): Likewise.
47672         [POSIX || XPG3] (POLL_HUP): Likewise.
47673         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
47674         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
47675         (SIG*): Do not allow.
47676         [XPG3] (si_*): Likewise.
47677         [XPG3] (SI_*): Likewise.
47678         [XPG3 || XPG4] (sigev_*): Likewise.
47679         [XPG3 || XPG4] (SIGEV_*): Likewise.
47680         [XPG3 || XPG4] (sival_*): Likewise.
47681         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
47682         [POSIX || XPG3] (BUS_*): Likewise.
47683         [POSIX || XPG3] (CLD_*): Likewise.
47684         [POSIX || XPG3] (FPE_*): Likewise.
47685         [POSIX || XPG3] (ILL_*): Likewise.
47686         [POSIX || XPG3] (POLL_*): Likewise.
47687         [POSIX || XPG3] (SEGV_*): Likewise.
47688         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
47689         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
47690         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
47691         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
47692         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
47693         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
47694         Specify type and value.
47695         (TVERSLEN): Likewise.
47696         (REGTYPE): Likewise.
47697         (AREGTYPE): Likewise.
47698         (LNKTYPE): Likewise.
47699         (SYMTYPE): Likewise.
47700         (CHRTYPE): Likewise.
47701         (BLKTYPE): Likewise.
47702         (DIRTYPE): Likewise.
47703         (FIFOTYPE): Likewise.
47704         (CONTTYPE): Likewise.
47705         (TSUID): Likewise.
47706         (TSGID): Likewise.
47707         (TSVTX): Likewise.
47708         (TUREAD): Likewise.
47709         (TUWRITE): Likewise.
47710         (TUEXEC): Likewise.
47711         (TGREAD): Likewise.
47712         (TGWRITE): Likewise.
47713         (TGEXEC): Likewise.
47714         (TOREAD): Likewise.
47715         (TOWRITE): Likewise.
47716         (TOEXEC): Likewise.
47717         [POSIX] (TSVTX): Expect constant.
47719 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
47721         * Makefile (tests): Change dependencies to ....
47722         (tests-special): ... additions to this variable.
47723         (tests): Depend on $(tests-special).
47724         * Makerules (check-abi-list): New variable.
47725         (check-abi): Depend on $(check-abi-list).
47726         [$(subdir) = elf] (tests-special): Add
47727         $(objpfx)check-abi-libc.out.
47728         [$(build-shared) = yes && subdir] (tests-special): Add
47729         $(check-abi-list).
47730         [$(build-shared) = yes && subdir] (tests): Do not depend on
47731         check-abi.
47732         * Rules (tests): Depend on $(tests-special).
47733         (xtests): Depend on $(xtests-special).
47734         * catgets/Makefile (tests): Change dependencies to ....
47735         (tests-special): ... additions to this variable.
47736         * conform/Makefile (tests): Change dependencies to ....
47737         (tests-special): ... additions to this variable.
47738         * elf/Makefile (tests): Change dependencies to ....
47739         (tests-special): ... additions to this variable.
47740         * grp/Makefile (tests): Change dependencies to ....
47741         (tests-special): ... additions to this variable.
47742         * iconv/Makefile (xtests): Change dependencies to ....
47743         (xtests-special): ... additions to this variable.
47744         * iconvdata/Makefile (tests): Change dependencies to ....
47745         (tests-special): ... additions to this variable.
47746         * intl/Makefile (tests): Change dependencies to ....
47747         (tests-special): ... additions to this variable.  Also add
47748         $(objpfx)tst-gettext.out.
47749         * io/Makefile (tests): Change dependencies to ....
47750         (tests-special): ... additions to this variable.
47751         * libio/Makefile (tests): Change dependencies to ....
47752         (tests-special): ... additions to this variable.
47753         * malloc/Makefile (tests): Change dependencies to ....
47754         (tests-special): ... additions to this variable.
47755         * misc/Makefile (tests): Change dependencies to ....
47756         (tests-special): ... additions to this variable.
47757         * nptl/Makefile (tests): Change dependencies to ....
47758         (tests-special): ... additions to this variable.
47759         * nptl_db/Makefile (tests): Change dependencies to ....
47760         (tests-special): ... additions to this variable.
47761         * posix/Makefile (tests): Change dependencies to ....
47762         (tests-special): ... additions to this variable.
47763         (xtests): Change dependencies to ....
47764         (xtests-special): ... additions to this variable.
47765         * resolv/Makefile (tests): Change dependencies to ....
47766         (tests-special): ... additions to this variable.
47767         (xtests): Change dependencies to ....
47768         (xtests-special): ... additions to this variable.
47769         * stdio-common/Makefile (tests): Change dependencies to ....
47770         (tests-special): ... additions to this variable.
47771         (do-tst-unbputc): Remove target.
47772         (do-tst-printf): Likewise.
47773         * stdlib/Makefile (tests): Change dependencies to ....
47774         (tests-special): ... additions to this variable.
47775         * string/Makefile (tests): Change dependencies to ....
47776         (tests-special): ... additions to this variable.
47777         * sysdeps/x86/Makefile (tests): Change dependencies to ....
47778         (tests-special): ... additions to this variable.
47780         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
47781         whole file.
47782         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
47783         whole file.
47784         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
47785         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
47787         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
47788         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
47789         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
47790         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
47791         * conform/data/libgen.h-data [XPG3]: Likewise.
47792         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
47793         * conform/data/ndbm.h-data [XPG3]: Likewise.
47794         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
47795         * conform/data/netdb.h-data [XPG3]: Likewise.
47796         * conform/data/netinet/in.h-data [XPG3]: Likewise.
47797         * conform/data/poll.h-data [XPG3]: Likewise.
47798         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
47799         * conform/data/strings.h-data [XPG3]: Likewise.
47800         * conform/data/stropts.h-data [XPG3]: Likewise.
47801         * conform/data/sys/mman.h-data [XPG3]: Likewise.
47802         * conform/data/sys/resource.h-data [XPG3]: Likewise.
47803         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
47804         Likewise.
47805         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
47806         * conform/data/sys/time.h-data [XPG3]: Likewise.
47807         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
47808         * conform/data/sys/uio.h-data [XPG3]: Likewise.
47809         * conform/data/sys/un.h-data [XPG3]: Likewise.
47810         * conform/data/syslog.h-data [XPG3]: Likewise.
47811         * conform/data/ucontext.h-data [XPG3]: Likewise.
47812         * conform/data/utmpx.h-data [XPG3]: Likewise.
47813         * conform/data/varargs.h-data [UNIX98]: Enable file.
47815         * manual/Makefile (INSTALL_INFO): Remove variable setting.
47817         * math/libm-test.inc (struct test_f_f_data): Move expected results
47818         into structure for each rounding mode.
47819         (struct test_ff_f_data): Likewise.
47820         (struct test_ff_f_data_nexttoward): Likewise.
47821         (struct test_fi_f_data): Likewise.
47822         (struct test_fl_f_data): Likewise.
47823         (struct test_if_f_data): Likewise.
47824         (struct test_fff_f_data): Likewise.
47825         (struct test_c_f_data): Likewise.
47826         (struct test_f_f1_data): Likewise.
47827         (struct test_fF_f1_data): Likewise.
47828         (struct test_ffI_f1_data): Likewise.
47829         (struct test_c_c_data): Likewise.
47830         (struct test_cc_c_data): Likewise.
47831         (struct test_f_i_data): Likewise.
47832         (struct test_ff_i_data): Likewise.
47833         (struct test_f_l_data): Likewise.
47834         (struct test_f_L_data): Likewise.
47835         (struct test_fFF_11_data): Likewise.
47836         (RM_): New macro.
47837         (RM_FE_DOWNWARD): Likewise.
47838         (RM_FE_TONEAREST): Likewise.
47839         (RM_FE_TOWARDZERO): Likewise.
47840         (RM_FE_UPWARD): Likewise.
47841         (RUN_TEST_LOOP_f_f): Update references to expected results.
47842         (RUN_TEST_LOOP_2_f): Likewise.
47843         (RUN_TEST_LOOP_fff_f): Likewise.
47844         (RUN_TEST_LOOP_c_f): Likewise.
47845         (RUN_TEST_LOOP_f_f1): Likewise.
47846         (RUN_TEST_LOOP_fF_f1): Likewise.
47847         (RUN_TEST_LOOP_fI_f1): Likewise.
47848         (RUN_TEST_LOOP_ffI_f1): Likewise.
47849         (RUN_TEST_LOOP_c_c): Likewise.
47850         (RUN_TEST_LOOP_cc_c): Likewise.
47851         (RUN_TEST_LOOP_f_i): Likewise.
47852         (RUN_TEST_LOOP_f_i_tg): Likewise.
47853         (RUN_TEST_LOOP_ff_i_tg): Likewise.
47854         (RUN_TEST_LOOP_f_b): Likewise.
47855         (RUN_TEST_LOOP_f_b_tg): Likewise.
47856         (RUN_TEST_LOOP_f_l): Likewise.
47857         (RUN_TEST_LOOP_f_L): Likewise.
47858         (RUN_TEST_LOOP_fFF_11): Likewise.
47859         * math/gen-libm-test.pl (parse_args): Output four copies of
47860         expected results for each test.
47862         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
47863         (__ASSUME_UTIMES): Remove.
47864         * sysdeps/unix/sysv/linux/tile/kernel-features.h
47865         (__ASSUME_UTIMES): Likewise.
47867         * math/gen-auto-libm-tests.c: Update comment on output format.
47868         (output_for_one_input_case): Generate before-rounding and
47869         after-rounding information as conditions on output flags not
47870         floating-point format.
47871         * math/auto-libm-test-out: Regenerated.
47872         * math/gen-libm-test.pl (cond_value): New function.
47873         (or_cond_value): Use cond_value.
47874         (generate_testfile): Handle conditional exceptions.
47876 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
47878         * math/libm-test.inc (max_valid_error): New variable.
47879         (init_max_error): Take new argument specifying whether function
47880         results are exactly determined.  Set max_valid_error and bound
47881         other variables for errors based on this argument.
47882         (set_max_error): Do not record results above max_valid_error.
47883         (check_float_internal): Only accept errors of up to 0.5ulps if
47884         also at most max_valid_error.
47885         (START): Take new argument EXACT and pass it to init_max_error.
47886         (acos_test): Update call to START.
47887         (acos_test_tonearest): Likewise.
47888         (acos_test_towardzero): Likewise.
47889         (acos_test_downward): Likewise.
47890         (acos_test_upward): Likewise.
47891         (acosh_test): Likewise.
47892         (asin_test): Likewise.
47893         (asin_test_tonearest): Likewise.
47894         (asin_test_towardzero): Likewise.
47895         (asin_test_downward): Likewise.
47896         (asin_test_upward): Likewise.
47897         (asinh_test): Likewise.
47898         (atan_test): Likewise.
47899         (atanh_test): Likewise.
47900         (atan2_test): Likewise.
47901         (cabs_test): Likewise.
47902         (cacos_test): Likewise.
47903         (cacosh_test): Likewise.
47904         (carg_test): Likewise.
47905         (casin_test): Likewise.
47906         (casinh_test): Likewise.
47907         (catan_test): Likewise.
47908         (catanh_test): Likewise.
47909         (cbrt_test): Likewise.
47910         (ccos_test): Likewise.
47911         (ccosh_test): Likewise.
47912         (ceil_test): Likewise.
47913         (cexp_test): Likewise.
47914         (cimag_test): Likewise.
47915         (clog_test): Likewise.
47916         (clog10_test): Likewise.
47917         (conj_test): Likewise.
47918         (copysign_test): Likewise.
47919         (cos_test): Likewise.
47920         (cos_test_tonearest): Likewise.
47921         (cos_test_towardzero): Likewise.
47922         (cos_test_downward): Likewise.
47923         (cos_test_upward): Likewise.
47924         (cosh_test): Likewise.
47925         (cosh_test_tonearest): Likewise.
47926         (cosh_test_towardzero): Likewise.
47927         (cosh_test_downward): Likewise.
47928         (cosh_test_upward): Likewise.
47929         (cpow_test): Likewise.
47930         (cproj_test): Likewise.
47931         (creal_test): Likewise.
47932         (csin_test): Likewise.
47933         (csinh_test): Likewise.
47934         (csqrt_test): Likewise.
47935         (ctan_test): Likewise.
47936         (ctan_test_tonearest): Likewise.
47937         (ctan_test_towardzero): Likewise.
47938         (ctan_test_downward): Likewise.
47939         (ctan_test_upward): Likewise.
47940         (ctanh_test): Likewise.
47941         (ctanh_test_tonearest): Likewise.
47942         (ctanh_test_towardzero): Likewise.
47943         (ctanh_test_downward): Likewise.
47944         (ctanh_test_upward): Likewise.
47945         (erf_test): Likewise.
47946         (erfc_test): Likewise.
47947         (exp_test): Likewise.
47948         (exp_test_tonearest): Likewise.
47949         (exp_test_towardzero): Likewise.
47950         (exp_test_downward): Likewise.
47951         (exp_test_upward): Likewise.
47952         (exp10_test): Likewise.
47953         (exp10_test_tonearest): Likewise.
47954         (exp10_test_towardzero): Likewise.
47955         (exp10_test_downward): Likewise.
47956         (exp10_test_upward): Likewise.
47957         (pow10_test): Likewise.
47958         (exp2_test): Likewise.
47959         (expm1_test): Likewise.
47960         (expm1_test_tonearest): Likewise.
47961         (expm1_test_towardzero): Likewise.
47962         (expm1_test_downward): Likewise.
47963         (expm1_test_upward): Likewise.
47964         (fabs_test): Likewise.
47965         (fdim_test): Likewise.
47966         (floor_test): Likewise.
47967         (fma_test): Likewise.
47968         (fma_test_towardzero): Likewise.
47969         (fma_test_downward): Likewise.
47970         (fma_test_upward): Likewise.
47971         (fmax_test): Likewise.
47972         (fmin_test): Likewise.
47973         (fmod_test): Likewise.
47974         (fpclassify_test): Likewise.
47975         (frexp_test): Likewise.
47976         (hypot_test): Likewise.
47977         (ilogb_test): Likewise.
47978         (isfinite_test): Likewise.
47979         (finite_test): Likewise.
47980         (isgreater_test): Likewise.
47981         (isgreaterequal_test): Likewise.
47982         (isinf_test): Likewise.
47983         (isless_test): Likewise.
47984         (islessequal_test): Likewise.
47985         (islessgreater_test): Likewise.
47986         (isnan_test): Likewise.
47987         (isnormal_test): Likewise.
47988         (issignaling_test): Likewise.
47989         (isunordered_test): Likewise.
47990         (j0_test): Likewise.
47991         (j1_test): Likewise.
47992         (jn_test): Likewise.
47993         (ldexp_test): Likewise.
47994         (lgamma_test): Likewise.
47995         (gamma_test): Likewise.
47996         (lrint_test): Likewise.
47997         (lrint_test_tonearest): Likewise.
47998         (lrint_test_towardzero): Likewise.
47999         (lrint_test_downward): Likewise.
48000         (lrint_test_upward): Likewise.
48001         (llrint_test): Likewise.
48002         (llrint_test_tonearest): Likewise.
48003         (llrint_test_towardzero): Likewise.
48004         (llrint_test_downward): Likewise.
48005         (llrint_test_upward): Likewise.
48006         (log_test): Likewise.
48007         (log10_test): Likewise.
48008         (log1p_test): Likewise.
48009         (log2_test): Likewise.
48010         (logb_test): Likewise.
48011         (logb_test_downward): Likewise.
48012         (lround_test): Likewise.
48013         (llround_test): Likewise.
48014         (modf_test): Likewise.
48015         (nearbyint_test): Likewise.
48016         (nextafter_test): Likewise.
48017         (nexttoward_test): Likewise.
48018         (pow_test): Likewise.
48019         (pow_test_tonearest): Likewise.
48020         (pow_test_towardzero): Likewise.
48021         (pow_test_downward): Likewise.
48022         (pow_test_upward): Likewise.
48023         (remainder_test): Likewise.
48024         (drem_test): Likewise.
48025         (remainder_test_tonearest): Likewise.
48026         (drem_test_tonearest): Likewise.
48027         (remainder_test_towardzero): Likewise.
48028         (drem_test_towardzero): Likewise.
48029         (remainder_test_downward): Likewise.
48030         (drem_test_downward): Likewise.
48031         (remainder_test_upward): Likewise.
48032         (drem_test_upward): Likewise.
48033         (remquo_test): Likewise.
48034         (rint_test): Likewise.
48035         (rint_test_tonearest): Likewise.
48036         (rint_test_towardzero): Likewise.
48037         (rint_test_downward): Likewise.
48038         (rint_test_upward): Likewise.
48039         (round_test): Likewise.
48040         (scalb_test): Likewise.
48041         (scalbn_test): Likewise.
48042         (scalbln_test): Likewise.
48043         (signbit_test): Likewise.
48044         (sin_test): Likewise.
48045         (sin_test_tonearest): Likewise.
48046         (sin_test_towardzero): Likewise.
48047         (sin_test_downward): Likewise.
48048         (sin_test_upward): Likewise.
48049         (sincos_test): Likewise.
48050         (sinh_test): Likewise.
48051         (sinh_test_tonearest): Likewise.
48052         (sinh_test_towardzero): Likewise.
48053         (sinh_test_downward): Likewise.
48054         (sinh_test_upward): Likewise.
48055         (sqrt_test): Likewise.
48056         (sqrt_test_tonearest): Likewise.
48057         (sqrt_test_towardzero): Likewise.
48058         (sqrt_test_downward): Likewise.
48059         (sqrt_test_upward): Likewise.
48060         (tan_test): Likewise.
48061         (tan_test_tonearest): Likewise.
48062         (tan_test_towardzero): Likewise.
48063         (tan_test_downward): Likewise.
48064         (tan_test_upward): Likewise.
48065         (tanh_test): Likewise.
48066         (tgamma_test): Likewise.
48067         (trunc_test): Likewise.
48068         (y0_test): Likewise.
48069         (y1_test): Likewise.
48070         (yn_test): Likewise.
48071         (significand_test): Likewise.
48073         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
48074         individual tests in comment.
48075         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
48076         (prev_max_error): New variable.
48077         (prev_real_max_error): Likewise.
48078         (prev_imag_max_error): Likewise.
48079         (compare_ulp_data): Don't refer to test names in comment.
48080         (find_test_ulps): Remove function.
48081         (find_function_ulps): Likewise.
48082         (find_complex_function_ulps): Likewise.
48083         (init_max_error): Take function name as argument.  Look up ulps
48084         for that function.
48085         (print_ulps): Remove function.
48086         (print_max_error): Use prev_max_error instead of calling
48087         find_function_ulps.
48088         (print_complex_max_error): Use prev_real_max_error and
48089         prev_imag_max_error instead of calling find_complex_function_ulps.
48090         (check_float_internal): Take max_ulp parameter instead of calling
48091         find_test_ulps.  Don't call print_ulps.
48092         (check_float): Update call to check_float_internal.
48093         (check_complex): Update calls to check_float_internal.
48094         (START): Pass argument to init_max_error.
48095         * math/gen-libm-test.pl (%results): Don't include "kind"
48096         information.
48097         (parse_ulps): Don't handle ulps of individual tests.
48098         (print_ulps_file): Likewise.
48099         (output_ulps): Likewise.
48100         * math/README.libm-test: Update.
48101         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
48102         individual tests.
48103         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
48104         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
48105         * sysdeps/arm/libm-test-ulps: Likewise.
48106         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
48107         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
48108         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
48109         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
48110         * sysdeps/microblaze/libm-test-ulps: Likewise.
48111         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
48112         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48113         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48114         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
48115         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48116         * sysdeps/sh/libm-test-ulps: Likewise.
48117         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48118         * sysdeps/tile/libm-test-ulps: Likewise.
48119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48121 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
48123         * math/libm-test.inc (print_complex_max_error): Check separately
48124         whether real and imaginary errors are within allowed range and
48125         pass 0 to print_complex_function_ulps instead of value within
48126         allowed range.
48128 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48130         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
48131         formatting.
48132         (get_handles_fopen): Likewise.
48133         (do_write_test): Likewise.
48135         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
48137         * libio/fileops.c (do_ftell): Use cached offset when
48138         available.
48139         * libio/iofwide.c (do_ftell_wide): Likewise.
48140         * libio/iofdopen.c (_IO_new_fdopen): Don't use
48141         _IO_file_attach.
48142         * libio/wfileops.c (_IO_fwide): Don't cache offset.
48144         [BZ #16532]
48145         * libio/libioP.h (get_file_offset): New function.
48146         * libio/fileops.c (get_file_offset): Likewise.
48147         (do_ftell): Likewise.
48148         (_IO_new_file_seekoff): Split out ftell logic.
48149         * libio/wfileops.c (do_ftell_wide): Likewise.
48150         (_IO_wfile_seekoff): Split out ftell logic.
48151         * libio/tst-ftell-active-handler.c: New test case.
48152         * libio/Makefile (tests): Add it.
48154 2014-03-03  Roland McGrath  <roland@hack.frob.com>
48156         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
48157         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
48159 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48161         [BZ #16639]
48162         * nscd/connections.c (nscd_init): Call do_exit.
48163         (start_threads): Call do_exit and notify_parent.
48164         (begin_drop_privileges): Call do_exit.
48165         (finish_drop_privileges): Likewise.
48166         * nscd/selinux.c (preserve_capabilities): Likewise.
48167         (install_real_capabilities): Likewise.
48168         (nscd_selinux_enabled): Likewise.
48169         (avc_create_thread): Likewise.
48170         (avc_alloc_lock): Likewise.
48171         (nscd_avc_init): Likewise.
48172         * nscd/nscd.c (parent_fd): New static variable.
48173         (main): Create a pipe between parent and child processes.
48174         Skip closing parent_fd.
48175         (monitor_child): New function.
48176         (do_exit): Likewise.
48177         (notify_parent): Likewise.
48178         * nscd/nscd.h (notify_parent): Likewise.
48179         (do_exit): Likewise.
48181 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
48183         * malloc/malloc.c (__libc_calloc): Revert last change.
48185 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48189 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48191         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
48192         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
48193         implementation.
48194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48195         (__libc_ifunc_impl_list): Likewise.
48196         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
48197         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
48198         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
48199         * string/strrchr.c: Define STRRCHR.
48201 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
48203         * benchtest/bench-strtok.c (simple_strtok): Delete.
48204         (strtok_string): Use as benchmark.
48205         * string/strtok (STRTOK): New macro.
48207 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
48209         * manual/threads.texi: Add header and standard comments to all
48210         functions.
48212         * elf/dl-lookup.c (check_match): New function.
48213         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
48214         (do_lookup_x): Remove nested function check_match. Use non-nested
48215         function check_match.
48217 2014-02-28  Roland McGrath  <roland@hack.frob.com>
48219         * csu/Makefile (generated, before-compile): Use += rather than =.
48220         * catgets/Makefile (generated, generated-dirs): Likewise.
48221         * debug/Makefile (generated): Likewise.
48222         * dlfcn/Makefile (generated): Likewise.
48223         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
48224         * iconvdata/Makefile (before-compile, generated): Likewise.
48225         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
48226         * libio/Makefile (generated): Likewise.
48227         * malloc/Makefile (generated): Likewise.
48228         * manual/Makefile (generated, generated-dirs): Likewise.
48229         * misc/Makefile (generated): Likewise.
48230         * posix/Makefile (generated): Likewise.
48231         * resolv/Makefile (generated): Likewise.
48232         * sunrpc/Makefile (generated, generated-dirs): Likewise.
48233         * timezone/Makefile (generated, generated-dirs): Likewise.
48235         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
48237 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48239         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48240         power8 implementation.
48241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
48242         file: POWER8 llround ifunc implementation.
48243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
48244         (__lllround): Add POWER8 implementation.
48245         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
48246         POWER8 llround implementation.
48248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
48249         power8 implementation.
48250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
48251         file: POWER8 llrint ifunc implementation.
48252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
48253         Add POWER8 implementation.
48254         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
48255         POWER8 llrint implementation.
48257         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
48258         power8 implementation.
48259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
48260         file: POWER8 finite ifunc implementation.
48261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
48262         Add POWER8 implementation.
48263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
48264         Likewise.
48265         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
48266         POWER8 finite implementation.
48267         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
48269         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
48270         power8 implementation.
48271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
48272         file: POWER8 isinf ifunc implementation.
48273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
48274         POWER8 implementation.
48275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
48276         Likewise.
48277         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
48278         isinf implementation.
48279         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
48281         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
48282         (INIT_ARCH): Add hwcap2 initialization.
48283         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48284         power8 implementation.
48285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
48286         file: POWER8 isnan ifunc implementation.
48287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
48288         POWER8 implementation.
48289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
48290         Likewise.
48291         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
48292         isnan implementation.
48293         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
48295 2014-02-27  Joey Ye  <joey.ye@arm.com>
48297         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48298         (_FP_NANFRAC_Q): Set to zero.
48300 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48302         [BZ #16623]
48303         * math/auto-libm-test-in: New test inputs.
48304         * math/auto-libm-test-out: Regenerate.
48305         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
48306         and DA.
48307         (__cos): Likewise.
48308         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48310 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
48312         * scripts/evaluate-test.sh: Take new argument indicating whether
48313         failure is expected.
48314         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
48315         indicating whether failure is expected.
48316         * conform/Makefile (test-xfail-run-conformtest): New variable.
48317         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
48318         level.
48319         * posix/Makefile (test-xfail-annexc): New variable.
48320         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
48322 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
48324         * argp/Makefile: Include Makeconfig immediately after defining
48325         subdir.
48326         * assert/Makefile: Likewise.
48327         * benchtests/Makefile: Likewise.
48328         * catgets/Makefile: Likewise.
48329         * conform/Makefile: Likewise.
48330         * crypt/Makefile: Likewise.
48331         * csu/Makefile: Likewise.
48332         (all): Remove target.
48333         * ctype/Makefile: Include Makeconfig immediately after defining
48334         subdir.
48335         * debug/Makefile: Likewise.
48336         * dirent/Makefile: Likewise.
48337         * dlfcn/Makefile: Likewise.
48338         * gmon/Makefile: Likewise.
48339         * gnulib/Makefile: Likewise.
48340         * grp/Makefile: Likewise.
48341         * gshadow/Makefile: Likewise.
48342         * hesiod/Makefile: Likewise.
48343         * hurd/Makefile: Likewise.
48344         (all): Remove target.
48345         * iconvdata/Makefile: Include Makeconfig immediately after
48346         defining subdir.
48347         * inet/Makefile: Likewise.
48348         * intl/Makefile: Likewise.
48349         * io/Makefile: Likewise.
48350         * libio/Makefile: Likewise.
48351         (all): Remove target.
48352         * locale/Makefile: Include Makeconfig immediately after defining
48353         subdir.
48354         * login/Makefile: Likewise.
48355         * mach/Makefile: Likewise.
48356         (all): Remove target.
48357         * malloc/Makefile: Include Makeconfig immediately after defining
48358         subdir.
48359         (all): Remove target.
48360         * manual/Makefile: Include Makeconfig immediately after defining
48361         subdir.
48362         * math/Makefile: Likewise.
48363         * misc/Makefile: Likewise.
48364         * nis/Makefile: Likewise.
48365         * nss/Makefile: Likewise.
48366         * po/Makefile: Likewise.
48367         (all): Remove target.
48368         * posix/Makefile: Include Makeconfig immediately after defining
48369         subdir.
48370         * pwd/Makefile: Likewise.
48371         * resolv/Makefile: Likewise.
48372         * resource/Makefile: Likewise.
48373         * rt/Makefile: Likewise.
48374         * setjmp/Makefile: Likewise.
48375         * shadow/Makefile: Likewise.
48376         * signal/Makefile: Likewise.
48377         * socket/Makefile: Likewise.
48378         * soft-fp/Makefile: Likewise.
48379         * stdio-common/Makefile: Likewise.
48380         * stdlib/Makefile: Likewise.
48381         * streams/Makefile: Likewise.
48382         * string/Makefile: Likewise.
48383         * sunrpc/Makefile: Likewise.
48384         (all): Remove target.
48385         * sysvipc/Makefile: Include Makeconfig immediately after defining
48386         subdir.
48387         * termios/Makefile: Likewise.
48388         * time/Makefile: Likewise.
48389         * timezone/Makefile: Likewise.
48390         (all): Remove target.
48391         * wcsmbs/Makefile: Include Makeconfig immediately after defining
48392         subdir.
48393         * wctype/Makefile: Likewise.
48395 2014-02-26  Steve Ellcey  <sellcey@mips.com>
48397         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
48398         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
48399         (libc_feholdexcept_setround_mips): Ditto.
48400         (libc_feholdsetround): New.
48401         (libc_feholdsetroundf): New.
48402         (libc_feholdsetroundl): New.
48403         (libc_feupdateenv_test_mips): New.
48404         (libc_feupdateenv_test): New.
48405         (libc_feupdateenv_testf): New.
48406         (libc_feupdateenv_testl): New.
48407         (libc_feresetround): New.
48408         (libc_feresetroundf): New.
48409         (libc_feresetroundl): New.
48410         (libc_fetestexcept_mips): New.
48411         (libc_fetestexcept): New.
48412         (libc_fetestexceptf): New.
48413         (libc_fetestexceptl): New.
48414         (HAVE_RM_CTX): New.
48415         (libc_feholdexcept_setround_mips_ctx): New.
48416         (libc_feholdexcept_setround_ctx): New.
48417         (libc_feholdexcept_setroundf_ctx): New.
48418         (libc_feholdexcept_setroundl_ctx): New.
48419         (libc_fesetenv_mips_ctx): New.
48420         (libc_fesetenv_ctx): New.
48421         (libc_fesetenv_ctxf): New.
48422         (libc_fesetenv_ctxl): New.
48423         (libc_feupdateenv_mips_ctx): New.
48424         (libc_feupdateenv_ctx): New.
48425         (libc_feupdateenvf_ctx): New.
48426         (libc_feupdateenvl_ctx): New.
48427         (libc_feholdsetround_mips_ctx): New.
48428         (libc_feholdsetround_ctx): New.
48429         (libc_feholdsetroundf_ctx): New.
48430         (libc_feholdsetroundl_ctx): New.
48431         (libc_feresetround_mips_ctx): New.
48432         (libc_feresetround_ctx): New.
48433         (libc_feresetroundf_ctx): New.
48434         (libc_feresetroundl_ctx): New.
48436 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
48438         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
48440         * manual/ipc.texi: New file.
48441         * manual/Makefile (chapters): Add ipc.
48442         * manual/job.texi: Add "Inter-Process Communication" to next.
48443         * manual/process.texi: Add "Inter-Process Communication" to prev.
48445 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48449 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
48451         * malloc/malloc.c (__libc_calloc): Simplify implementation.
48453         * manual/arith.texi: Fix spaces after sentences.
48454         * manual/charset.texi: Likewise.
48455         * manual/errno.texi: Likewise.
48456         * manual/install.texi: Likewise.
48457         * manual/llio.texi: Likewise.
48458         * manual/locale.texi: Likewise.
48459         * manual/maint.texi: Likewise.
48460         * manual/math.texi: Likewise.
48461         * manual/memory.texi: Likewise.
48462         * manual/message.texi: Likewise.
48463         * manual/probes.texi: Likewise.
48464         * manual/resource.texi: Likewise.
48465         * manual/signal.texi: Likewise.
48466         * manual/socket.texi: Likewise.
48467         * manual/stdio.texi: Likewise.
48468         * manual/string.texi: Likewise.
48469         * manual/time.texi: Likewise.
48470         * manual/users.texi: Likewise.
48472 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
48474         [BZ #16632]
48475         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
48476         _DEFAULT_SOURCE is defined.
48478 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
48479             Carlos O'Donell  <carlos@redhat.com>
48481         [BZ #16613]
48482         * elf/dl-tls.c (_dl_count_modids): New function.
48483         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
48484         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
48485         audit library and increment generation counter.
48486         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
48487         * elf/tst-audit9.c: New file.
48488         * elf/tst-auditmod9a.c: New file.
48489         * elf/tst-auditmod9b.c: New file.
48490         * elf/Makefile: Add rules to build and run tst-audit9.
48492 2014-02-25  Florian Weimer  <fweimer@redhat.com>
48494         [BZ #15347]
48495         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
48497 2014-02-25  Will Newton  <will.newton@linaro.org>
48499         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
48500         (__longjmp): Restore sp and lr before restoring callee
48501         saved registers.  Add longjmp and longjmp_target
48502         SystemTap probe point.
48503         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
48504         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
48505         Define to zero to match jmpbuf layout.
48506         * sysdeps/arm/setjmp.S: Include stap-probe.h.
48507         (__sigsetjmp): Save sp and lr before saving callee
48508         saved registers.  Add setjmp SystemTap probe point.
48510 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
48512         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48514 2014-02-24  Andreas Schwab  <schwab@suse.de>
48516         [BZ #15804]
48517         * elf/pldd.c (wait_for_ptrace_stop): New function.
48518         (main): Call it after attaching.
48520 2014-02-22  Roland McGrath  <roland@hack.frob.com>
48522         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
48523         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
48524         Versions files is now verboten.
48525         * hurd/Versions (libc: GLIBC_2.0):
48526         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
48527         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
48528         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
48529         * mach/Versions: Likewise.
48531         * csu/Versions: Remove unused %include.
48532         * resolv/Versions: Likewise.
48534 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
48536         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
48537         ($(objpfx)check-local-headers.out): Likewise.
48538         ($(objpfx)begin-end-check.out): Likewise.
48539         * Makerules (check-abi-%.out): Likewise.
48540         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
48541         ($(objpfx)test2.cat): Likewise.
48542         ($(objpfx)de/libc.cat): Likewise.
48543         ($(objpfx)test-gencat.out): Likewise.
48544         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
48545         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
48546         ($(objpfx)noload-mem): Likewise.
48547         ($(objpfx)tst-pathopt.out): Likewise.
48548         ($(objpfx)tst-rtld-load-self.out): Likewise.
48549         ($(objpfx)tst-array1-cmp.out): Likewise.
48550         ($(objpfx)tst-array1-static-cmp.out): Likewise.
48551         ($(objpfx)tst-array2-cmp.out): Likewise.
48552         ($(objpfx)tst-array3-cmp.out): Likewise.
48553         ($(objpfx)tst-array4-cmp.out): Likewise.
48554         ($(objpfx)tst-array5-cmp.out): Likewise.
48555         ($(objpfx)tst-array5-static-cmp.out): Likewise.
48556         ($(objpfx)check-textrel.out): Likewise.
48557         ($(objpfx)check-execstack.out): Likewise.
48558         ($(objpfx)check-localplt.out): Likewise.
48559         ($(objpfx)order2-cmp.out): Likewise.
48560         ($(objpfx)tst-leaks1-mem): Likewise.
48561         ($(objpfx)tst-leaks1-static-mem): Likewise.
48562         ($(objpfx)tst-initorder-cmp.out): Likewise.
48563         ($(objpfx)tst-initorder2-cmp.out): Likewise.
48564         ($(objpfx)tst-unused-dep.out): Likewise.
48565         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
48566         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
48567         * iconv/Makefile (test-iconvconfig): Likewise.
48568         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
48569         ($(objpfx)iconv-test.out): Likewise.
48570         ($(objpfx)tst-tables.out): Likewise.
48571         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
48572         ($(objpfx)tst-gettext.out): Likewise.
48573         ($(objpfx)tst-translit.out): Likewise.
48574         ($(objpfx)tst-gettext2.out): Likewise.
48575         ($(objpfx)tst-gettext4.out): Likewise.
48576         ($(objpfx)tst-gettext6.out): Likewise.
48577         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
48578         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
48579         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
48580         ($(objpfx)tst-fopenloc-mem.out): Likewise.
48581         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
48582         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
48583         * posix/Makefile ($(objpfx)globtest.out): Likewise.
48584         ($(objpfx)wordexp-tst.out): Likewise.
48585         ($(objpfx)annexc.out): Likewise.
48586         ($(objpfx)tst-fnmatch-mem): Likewise.
48587         ($(objpfx)bug-regex2-mem): Likewise.
48588         ($(objpfx)bug-regex14-mem): Likewise.
48589         ($(objpfx)bug-regex21-mem): Likewise.
48590         ($(objpfx)bug-regex31-mem): Likewise.
48591         ($(objpfx)tst-vfork3-mem): Likewise.
48592         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
48593         ($(objpfx)tst-pcre-mem): Likewise.
48594         ($(objpfx)tst-boost-mem): Likewise.
48595         ($(objpfx)tst-getconf.out): Likewise.
48596         ($(objpfx)bug-ga2-mem): Likewise.
48597         ($(objpfx)bug-glob2-mem): Likewise.
48598         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
48599         ($(objpfx)mtrace-tst-leaks2): Likewise.
48600         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
48601         ($(objpfx)tst-printf.out): Likewise.
48602         ($(objpfx)tst-setvbuf1.out): Likewise.
48603         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
48604         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
48605         ($(objpfx)tst-fmtmsg.out): Likewise.
48606         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
48607         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
48609         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
48610         * bits/sigaction.h [__USE_MISC]: Likewise.
48611         * bits/waitstatus.h: Update #endif comments.
48612         * ctype/ctype.h: Likewise.
48613         * dirent/dirent.h: Likewise.
48614         [__USE_MISC]: Remove redundant conditionals.
48615         * grp/grp.h: Update #endif comments.
48616         [__USE_GNU]: Remove redundant conditionals.
48617         [__USE_MISC]: Likewise.
48618         * inet/netinet/in.h [__USE_GNU]: Likewise.
48619         * io/sys/stat.h [__USE_MISC]: Likewise.
48620         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
48621         * libio/bits/stdio.h: Update #endif comments.
48622         [__USE_MISC]: Remove redundant conditionals.
48623         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
48624         * libio/stdio.h: Update #endif comments.
48625         [__USE_MISC]: Remove redundant conditionals.
48626         * math/bits/math-finite.h [__USE_MISC]: Likewise.
48627         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
48628         * math/math.h: Update #else and #endif comments.
48629         [__USE_MISC]: Remove redundant conditionals.
48630         * misc/sys/uio.h: Update #endif comments.
48631         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
48632         * posix/glob.h [__USE_MISC]: Likewise.
48633         * posix/sys/types.h: Update #endif comments.
48634         [__USE_MISC]: Remove redundant conditionals.
48635         * posix/sys/wait.h: Update #endif comments.
48636         [__USE_MISC]: Remove redundant conditionals.
48637         * posix/unistd.h: Update #endif comments.
48638         [__USE_MISC]: Remove redundant conditionals.
48639         * pwd/pwd.h [__USE_GNU]: Likewise.
48640         [__USE_MISC]: Likewise.
48641         * resolv/netdb.h [__USE_GNU]: Likewise.
48642         * signal/signal.h: Update #endif comments.
48643         [__USE_MISC]: Remove redundant conditionals.
48644         * stdlib/stdlib.h: Update #else and #endif comments.
48645         [__USE_MISC]: Remove redundant conditionals.
48646         [__USE_GNU]: Likewise.
48647         * string/bits/string2.h [__USE_MISC]: Likewise.
48648         * string/string.h: Update #endif comments.
48649         [__USE_MISC]: Remove redundant conditionals.
48650         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
48651         Likewise.
48652         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
48653         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
48654         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
48655         Likewise.
48656         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
48657         Likewise.
48658         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
48659         comments.
48660         [__USE_MISC]: Remove redundant conditionals.
48661         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
48662         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
48663         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
48664         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
48665         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
48666         Likewise.
48667         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
48668         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
48669         Likewise.
48670         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
48671         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
48672         Likewise.
48673         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
48674         Likewise.
48675         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
48676         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
48677         Likewise.
48678         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
48679         Likewise.
48680         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
48681         * sysdeps/x86/bits/string.h: Update #endif comments.
48682         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
48683         conditionals.
48684         * time/sys/time.h: Update #endif comments.
48685         * time/time.h: Likewise.
48686         [__USE_MISC]: Remove redundant conditionals.
48688 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
48690         [BZ #16600]
48691         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
48693 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
48695         * Versions.def (librt): Add GLIBC_2.17.
48697 2014-02-21  Adam Conrad  <adconrad@0c3.net>
48699         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
48700         synonym for _SYS_AUXV_H to allow direct inclusion.
48701         * sysdeps/sparc/bits/hwcap.h: Likewise.
48702         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
48703         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
48704         * sysdeps/sparc/sysdep.h: Likewise.
48706 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48708         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
48710 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48712         * benchtests/bench-strrchr.c: Print length instead of position.
48714 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
48716         [BZ #16611]
48717         * sysdeps/unix/sysv/linux/kernel-features.h
48718         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
48719         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
48720         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
48721         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
48722         Likewise.
48723         [__i386__ || __powerpc__ || __sh__ || __sparc__]
48724         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48725         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
48726         (__ASSUME_SENDMMSG): Define instead of using previous
48727         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
48728         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48729         (__ASSUME_SENDMMSG_SYSCALL): Define.
48730         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48731         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
48732         Likewise.
48733         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48734         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48735         Likewise.
48736         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48737         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48738         Likewise.
48739         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
48740         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
48741         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
48742         [__ASSUME_SENDMMSG]: Change conditionals to
48743         [__ASSUME_SENDMMSG_SOCKETCALL].
48744         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48745         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
48746         Define.
48747         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48748         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
48749         Likewise.
48750         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
48751         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
48752         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
48753         [!__ASSUME_SENDMMSG]: Change conditional to
48754         [!__ASSUME_SENDMMSG_SOCKETCALL].
48755         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48756         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48757         Define.
48759         [BZ #16610]
48760         * sysdeps/unix/sysv/linux/kernel-features.h
48761         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
48762         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
48763         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
48764         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
48765         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
48766         [__i386__ || __sparc__]
48767         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48768         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
48769         (__ASSUME_RECVMMSG): Define instead of using previous
48770         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
48771         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48772         (__ASSUME_RECVMMSG_SYSCALL): Define.
48773         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48774         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48775         Likewise.
48776         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48777         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48778         Likewise.
48779         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48780         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48781         Likewise.
48782         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
48783         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
48784         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
48785         [__ASSUME_RECVMMSG]: Change condition to
48786         [__ASSUME_RECVMMSG_SOCKETCALL].
48787         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48788         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48789         Define.
48790         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48791         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48792         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48793         Likewise.
48794         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
48795         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
48796         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
48797         [!__ASSUME_RECVMMSG]: Change condition to
48798         [!__ASSUME_RECVMMSG_SOCKETCALL].
48799         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48800         (__ASSUME_RECVMMSG_SYSCALL): Define.
48802         [BZ #16609]
48803         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
48804         __powerpc__ || __s390__ || __sh__ || __sparc__]
48805         (__ASSUME_SOCKETCALL): Define.
48806         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
48807         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
48808         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
48809         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
48810         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
48811         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
48812         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
48813         (__ASSUME_ACCEPT4): Define instead of using previous
48814         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
48815         __powerpc__ || __sparc__ || __s390__)] condition.
48816         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48817         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
48818         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
48819         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
48820         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
48821         [!__ASSUME_ACCEPT4]: Change condition to
48822         [!__ASSUME_ACCEPT4_SOCKETCALL].
48823         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48824         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
48825         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
48826         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48827         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
48828         __ASSUME_ACCEPT4_SYSCALL.
48829         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
48830         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
48831         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48832         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
48833         __ASSUME_ACCEPT4_SYSCALL.
48834         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
48835         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
48836         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
48837         [__ASSUME_ACCEPT4]: Change condition to
48838         [__ASSUME_ACCEPT4_SOCKETCALL].
48839         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48840         (__ASSUME_SOCKETCALL): Define.
48841         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
48842         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48843         (__ASSUME_SOCKETCALL): Define.
48844         (__ASSUME_ACCEPT4): Remove.
48845         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
48846         Define.
48847         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48848         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
48849         Likewise.
48850         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48851         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
48853         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
48854         macro.
48855         (HWCAP_ARM_LPAE): Likewise.
48856         (HWCAP_ARM_EVTSTRM): Likewise.
48857         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
48858         Add vpfd32, lpae and evtstrm.
48859         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
48860         Increase to 22.
48862 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
48864         * math/auto-libm-test-in: Add tests of clog10.
48865         * math/auto-libm-test-out: Regenerated.
48866         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
48867         * sysdeps/i386/fpu/libm-test-ulps: Update.
48868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48870 2014-02-18  Andreas Schwab  <schwab@suse.de>
48872         [BZ #16574]
48873         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
48874         Store non-zero if the second buffer was newly allocated.
48875         (send_dg): Likewise.
48876         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
48877         to send_vc and send_dg.
48878         (res_nsend): Pass NULL for ansp2_malloced.
48879         * resolv/res_query.c (__libc_res_nquery): Add parameter
48880         answerp2_malloced and pass it down to __libc_res_nsend.
48881         (res_nquery): Pass additional NULL to __libc_res_nquery.
48882         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
48883         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
48884         second answer buffer if answerp2_malloced was set.
48885         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
48886         (__libc_res_nquerydomain): Add parameter
48887         answerp2_malloced and pass it down to __libc_res_nquery.
48888         (res_nquerydomain): Pass additional NULL to
48889         __libc_res_nquerydomain.
48890         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
48891         additional NULL to __libc_res_nsend and __libc_res_nquery.
48892         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
48893         additional NULL to __libc_res_nsearch.
48894         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
48895         parameter of __libc_res_nsearch to check for separately allocated
48896         second buffer.
48897         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
48898         __libc_res_nquery.
48899         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
48900         additional NULL to __libc_res_nquery.
48901         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
48902         __libc_res_nsearch.
48903         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
48904         * include/resolv.h: Update prototypes of __libc_res_nquery,
48905         __libc_res_nsearch, __libc_res_nsend.
48907 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
48909         * math/auto-libm-test-in: Add tests of fma.
48910         * math/auto-libm-test-out: Regenerated.
48911         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
48912         (fma_towardzero_test_data): Likewise.
48913         (fma_downward_test_data): Likewise.
48914         (fma_upward_test_data): Likewise.
48915         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
48916         mpc_mode.
48917         (rounding_modes): Add values for new field.
48918         (func_calc_method): Add value mpfr_fff_f.
48919         (func_calc_desc): Add mpfr_fff_f union field.
48920         (test_function): Add field exact_args.
48921         (FUNC): Add macro argument EXACT_ARGS.
48922         (FUNC_mpfr_f_f): Update call to FUNC.
48923         (FUNC_mpfr_f_f): Likewise.
48924         (FUNC_mpfr_ff_f): Likewise.
48925         (FUNC_mpfr_if_f): Likewise.
48926         (FUNC_mpc_c_f): Likewise.
48927         (FUNC_mpc_c_c): Likewise.
48928         (test_functions): Add fma.  Update calls to FUNC.
48929         (handle_input_arg): Add argument exact_args.
48930         (add_test): Update call to handle_input_arg.
48931         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
48932         (output_for_one_input_case): Update call to calc_generic_results.
48933         Recalculate exact zero results in each rounding mode.
48935         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
48936         non-negative before setting low bit.
48937         * math/auto-libm-test-in: Mark one asin test possibly having
48938         spurious underflow.
48939         * math/auto-libm-test-out: Regenerated.
48940         * sysdeps/i386/fpu/libm-test-ulps: Update.
48941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48943 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
48945         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
48946         * sysdeps/unix/sysv/linux/microblaze: Move directory from
48947         ports/sysdeps/unix/sysv/linux/microblaze.
48948         * README: Add missing listing for microblaze*-*-linux-gnu.
48950 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
48952         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
48953         duplicate code
48955 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
48957         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
48958         * sysdeps/unix/sysv/linux/ia64: Move directory from
48959         ports/sysdeps/unix/sysv/linux/ia64.
48960         * README: Update listing for ia64-*-linux-gnu.
48962 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
48963             Joseph Myers  <joseph@codesourcery.com>
48965         * Makeconfig (test-name): New variable.
48966         (evaluate-test): Likewise.
48967         * Makerules (do-test-clean): Remove .test-result files.
48968         (common-mostlyclean): Likewise.
48969         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
48970         * scripts/evaluate-test.sh: New file.
48972 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
48974         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
48975         separate $(objpfx)tst-fopenloc-cmp.out and
48976         $(objpfx)tst-fopenloc-mem.out targets.
48977         (tests): Update dependencies.
48978         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
48979         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
48980         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
48981         (tst-rxspencer-no-utf8-ARGS): New variable.
48982         (tst-rxspencer-no-utf8-ENV): Likewise.
48983         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
48984         instead of $(objpfx)tst-rxspencer-mem.
48985         ($(objpfx)tst-rxspencer-mem): Change target to
48986         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
48987         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
48988         * posix/tst-rxspencer-no-utf8.c: New file.
48990         * elf/Makefile ($(objpfx)order.out): Remove rule.
48991         [$(run-built-tests) = yes] (tests): Depend on
48992         $(objpfx)order-cmp.out.
48993         ($(objpfx)order-cmp.out): New rule.
48994         [$(run-built-tests) = yes] (tests): Depend on
48995         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
48996         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
48997         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
48998         $(objpfx)tst-array5-static-cmp.out.
48999         ($(objpfx)tst-array1.out): Remove rule.
49000         ($(objpfx)tst-array1-cmp.out): New rule.
49001         ($(objpfx)tst-array1-static.out): Remove rule.
49002         ($(objpfx)tst-array1-static-cmp.out): New rule.
49003         ($(objpfx)tst-array2.out): Remove rule.
49004         ($(objpfx)tst-array2-cmp.out): New rule.
49005         ($(objpfx)tst-array3.out): Remove rule.
49006         ($(objpfx)tst-array3-cmp.out): New rule.
49007         ($(objpfx)tst-array4.out): Remove rule.
49008         ($(objpfx)tst-array4-cmp.out): New rule.
49009         ($(objpfx)tst-array5.out): Remove rule.
49010         ($(objpfx)tst-array5-cmp.out): New rule.
49011         ($(objpfx)tst-array5-static.out): Remove rule.
49012         ($(objpfx)tst-array5-static-cmp.out): New rule.
49013         [$(run-built-tests) = yes] (tests): Depend on
49014         $(objpfx)order2-cmp.out.
49015         ($(objpfx)order2.out): Remove rule.
49016         ($(objpfx)order2-cmp.out): New rule.
49017         ($(objpfx)tst-initorder.out): Remove rule.
49018         [$(run-built-tests) = yes] (tests): Depend on
49019         $(objpfx)tst-initorder-cmp.out.
49020         ($(objpfx)tst-initorder-cmp.out): New rule.
49021         ($(objpfx)tst-initorder2.out): Remove rule.
49022         [$(run-built-tests) = yes] (tests): Depend on
49023         $(objpfx)tst-initorder2-cmp.out.
49024         ($(objpfx)tst-initorder2-cmp.out): New rule.
49025         [$(run-built-tests) = yes] (tests): Depend on
49026         $(objpfx)tst-unused-dep-cmp.out.
49027         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
49028         ($(objpfx)tst-unused-dep-cmp.out): New rule.
49029         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
49030         on $(objpfx)tst-setvbuf1-cmp.out.
49031         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
49032         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
49033         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
49034         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
49035         ($(objpfx)tst-svc.out): Remove rule.
49036         ($(objpfx)tst-svc-cmp.out): New rule.
49038 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
49040         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
49041         * ctype/ctype.h [__USE_MISC]: Likewise.
49042         * dirent/dirent.h [__USE_MISC]: Likewise.
49043         * grp/grp.h [__USE_MISC]: Likewise.
49044         * io/fcntl.h [__USE_MISC]: Likewise.
49045         * io/sys/stat.h [__USE_MISC]: Likewise.
49046         * libio/stdio.h [__USE_MISC]: Likewise.
49047         * posix/unistd.h [__USE_MISC]: Likewise.
49048         * pwd/pwd.h [__USE_MISC]: Likewise.
49049         * stdlib.h [__USE_MISC]: Likewise.
49050         * string/bits/string2.h [__USE_MISC]: Likewise.
49051         * string/string.h [__USE_MISC]: Likewise.
49052         * time/time.h [__USE_MISC]: Likewise.
49054 2014-02-13  Andreas Schwab  <schwab@suse.de>
49056         [BZ #16574]
49057         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
49058         second answer buffer if it was separately allocated.
49060 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
49062         * sysdeps/mips/math-tests.h: Include <features.h>.
49063         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49064         (ROUNDING_TESTS_long_double): Do not define.
49065         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49066         (EXCEPTION_TESTS_long_double): Likewise.
49067         * sysdeps/mips/mips64/libm-test-ulps: Update.
49069         * include/features.h (__USE_BSD): Remove macro definitions.
49070         (__USE_SVID): Likewise.
49071         (_BSD_SOURCE): Likewise.
49072         (_SVID_SOURCE): Likewise.
49073         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
49074         from definition of _DEFAULT_SOURCE.
49075         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
49076         [_DEFAULT_SOURCE].
49077         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
49078         * bits/mman.h [__USE_BSD]: Likewise.
49079         * bits/termios.h [__USE_BSD]: Likewise.
49080         * bits/waitstatus.h [__USE_BSD]: Likewise.
49081         * ctype/ctype.h [__USE_SVID]: Likewise.
49082         * dirent/dirent.h [__USE_BSD]: Likewise.
49083         * grp/grp.h [__USE_SVID]: Likewise.
49084         [__USE_BSD]: Likewise.
49085         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
49086         * io/fcntl.h [__USE_BSD]: Likewise.
49087         * io/ftw.h [__USE_BSD]: Likewise.
49088         * io/sys/stat.h [__USE_BSD]: Likewise.
49089         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
49090         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
49091         * libio/stdio.h [__USE_SVID]: Likewise.
49092         [__USE_BSD]: Likewise.
49093         * math/math.h [__USE_SVID]: Likewise.
49094         [__USE_BSD]: Likewise.
49095         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
49096         * misc/bits/syslog.h [__USE_BSD]: Likewise.
49097         * misc/search.h [__USE_SVID]: Likewise.
49098         * misc/sys/mman.h [__USE_BSD]: Likewise.
49099         * misc/sys/syslog.h [__USE_BSD]: Likewise.
49100         * misc/sys/uio.h [__USE_BSD]: Likewise.
49101         * posix/bits/unistd.h [__USE_BSD]: Likewise.
49102         * posix/glob.h [__USE_BSD]: Likewise.
49103         * posix/regex.h [__USE_BSD]: Likewise.
49104         * posix/sys/types.h [__USE_BSD]: Likewise.
49105         [__USE_SVID]: Likewise.
49106         * posix/sys/utsname.h [__USE_SVID]: Likewise.
49107         * posix/sys/wait.h [__USE_BSD]: Likewise.
49108         [__USE_SVID]: Likewise.
49109         * posix/unistd.h [__USE_BSD]: Likewise.
49110         [__USE_SVID]: Likewise.
49111         * pwd/pwd.h [__USE_SVID]: Likewise.
49112         * resolv/netdb.h [__USE_BSD]: Likewise.
49113         * setjmp/setjmp.h [__USE_BSD]: Likewise.
49114         * signal/signal.h [__USE_BSD]: Likewise.
49115         [__USE_SVID]: Likewise.
49116         * socket/sys/socket.h [__USE_BSD]: Likewise.
49117         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
49118         * stdlib/stdlib.h [__USE_BSD]: Likewise.
49119         [__USE_SVID]: Likewise.
49120         * string/bits/string2.h [__USE_BSD]: Likewise.
49121         [__USE_SVID]: Likewise.
49122         * string/bits/string3.h [__USE_BSD]: Likewise.
49123         * string/endian.h [__USE_BSD]: Likewise.
49124         * string/string.h [__USE_SVID]: Likewise.
49125         [__USE_BSD]: Likewise.
49126         * string/strings.h [__USE_BSD]: Likewise.
49127         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
49128         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
49129         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
49130         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
49131         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
49132         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
49133         Likewise.
49134         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
49135         Likewise.
49136         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
49137         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
49138         Likewise.
49139         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
49140         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
49141         Likewise.
49142         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
49143         Likewise.
49144         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
49145         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
49146         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
49147         Likewise.
49148         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
49149         Likewise.
49150         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
49151         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
49152         * termios/termios.h [__USE_BSD]: Likewise.
49153         * time/sys/time.h [__USE_BSD]: Likewise.
49154         * time/time.h [__USE_BSD]: Likewise.
49155         [__USE_SVID]: Likewise.
49157         * Makefile (subdir_targets): Remove subdir_lint.out.
49159         * stdio-common/Makefile (do-tst-unbputc): Remove target.
49160         (do-tst-printf): Likewise.
49161         (tests): Depend directly on $(objpfx)tst-unbputc.out and
49162         $(objpfx)tst-printf.out.
49164         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
49166         * Makerules (check-abi-%): Change target to
49167         $(objpfx)check-abi-%.out.
49168         (check-abi target): Update dependencies.
49169         (check-abi-pattern variable): Redirect output of diff to $@.
49170         (check-abi variable): Likewise.
49171         * elf/Makefile (check-abi): Update dependencies.
49173         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
49174         unused.
49175         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
49176         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
49177         subnormal range.
49178         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
49179         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
49180         value has largest subnormal exponent.
49181         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
49182         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
49183         * sysdeps/aarch64/soft-fp/sfp-machine.h
49184         (_FP_TININESS_AFTER_ROUNDING): New macro.
49185         * sysdeps/alpha/soft-fp/sfp-machine.h
49186         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49187         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49188         Likewise.
49189         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
49190         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49191         * sysdeps/mips/soft-fp/sfp-machine.h
49192         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49193         * sysdeps/powerpc/soft-fp/sfp-machine.h
49194         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49195         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49196         Likewise.
49197         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49198         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49199         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49200         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49201         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49202         Likewise.
49204 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
49206         [BZ #16545]
49207         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
49208         model 1.
49210 2014-02-12  Richard Henderson  <rth@redhat.com>
49212         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
49213         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
49214         * sysdeps/unix/sysv/linux/alpha: Move directory from
49215         ports/sysdeps/unix/sysv/linux/alpha.
49216         * README: Update listing for alpha-*-linux-gnu.
49218 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
49220         * include/features.h: Update comment documenting feature test
49221         macros.
49222         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
49223         _DEFAULT_SOURCE.
49224         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
49225         (_SVID_SOURCE): Likewise.
49226         (_DEFAULT_SOURCE): Update description of default features.
49227         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
49228         with _GNU_SOURCE.
49229         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
49230         (S_ISVTX): Likewise.
49231         * manual/math.texi (Mathematical Constants): Likewise.
49232         * manual/signal.texi (Interrupted Primitives): Likewise.
49233         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
49234         * math/test-matherr.c (_SVID_SOURCE): Do not define.
49235         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
49236         Don't refer to _SVID_SOURCE in warning text.
49238         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49240         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
49241         already defined.
49242         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
49243         * sysdeps/mips/dl-lookup.c: Remove.
49244         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
49246 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
49248         [BZ #16447]
49249         * math/auto-libm-test-in: Add testcase for expl.
49250         * math/auto-libm-test-out: Regenerate.
49251         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
49252         calculation of unsafe.
49253         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
49255 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49257         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
49258         * sysdeps/unix/sysv/linux/aarch64: Move directory from
49259         ports/sysdeps/unix/sysv/linux/aarch64.
49260         * README: Update listing for aarch64*-*-linux-gnu.
49262 2014-02-11  Will Newton  <will.newton@linaro.org>
49264         * manual/probes.texi (Mathematical Function Probes): Use
49265         "triggered" instead of "hit".
49267         * manual/probes.texi (Internal Probes): Add documentation
49268         of setjmp, longjmp and longjmp_target probes.
49270         * include/stap-probe.h: Add comment about probe argument
49271         format.
49273         * malloc/mtrace.c (attribute_hidden): Remove unused macro
49274         definition.  (tr_where, tr_freehook, tr_mallochook,
49275         tr_reallochook, tr_memalignhook): Use ANSI protoype.
49277 2014-02-11  David S. Miller  <davem@davemloft.net>
49279         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
49280         processing int_tests.
49282 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
49284         * sysdeps/mips: Move directory from ports/sysdeps/mips.
49285         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
49286         * sysdeps/unix/sysv/linux/mips: Move directory from
49287         ports/sysdeps/unix/sysv/linux/mips.
49288         * README: Update listing for mips-*-linux-gnu and
49289         mips64-*-linux-gnu.
49291 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
49293         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
49294         * sysdeps/unix/sysv/linux/m68k: Move directory from
49295         ports/sysdeps/unix/sysv/linux/m68k.
49296         * README: Update listing for m68k-*-linux-gnu.
49298 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
49300         * sysdeps/tile: Move directory from ports/sysdeps/tile.
49301         * sysdeps/unix/sysv/linux/generic: Move directory from
49302         ports/sysdeps/unix/sysv/linux/generic.
49303         * sysdeps/unix/sysv/linux/tile: Move directory from
49304         ports/sysdeps/unix/sysv/linux/tile.
49305         * README: Update listing for tile*-*-linux-gnu.
49307 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
49309         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
49310         __builtin_expect.
49311         * benchtests/bench-memmem.c (simple_memmem): Likewise.
49312         * catgets/open_catalog.c (__open_catalog): Likewise.
49313         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
49314         * debug/confstr_chk.c: Likewise.
49315         * debug/fread_chk.c (__fread_chk): Likewise.
49316         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
49317         * debug/getgroups_chk.c: Likewise.
49318         * debug/mbsnrtowcs_chk.c: Likewise.
49319         * debug/mbsrtowcs_chk.c: Likewise.
49320         * debug/mbstowcs_chk.c: Likewise.
49321         * debug/memcpy_chk.c: Likewise.
49322         * debug/memmove_chk.c: Likewise.
49323         * debug/mempcpy_chk.c: Likewise.
49324         * debug/memset_chk.c: Likewise.
49325         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49326         * debug/strcat_chk.c (__strcat_chk): Likewise.
49327         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
49328         * debug/strncat_chk.c (__strncat_chk): Likewise.
49329         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
49330         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
49331         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
49332         * debug/wcpncpy_chk.c: Likewise.
49333         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49334         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
49335         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
49336         * debug/wcsncpy_chk.c: Likewise.
49337         * debug/wcsnrtombs_chk.c: Likewise.
49338         * debug/wcsrtombs_chk.c: Likewise.
49339         * debug/wcstombs_chk.c: Likewise.
49340         * debug/wmemcpy_chk.c: Likewise.
49341         * debug/wmemmove_chk.c: Likewise.
49342         * debug/wmempcpy_chk.c: Likewise.
49343         * debug/wmemset_chk.c: Likewise.
49344         * dirent/scandirat.c (SCANDIRAT): Likewise.
49345         * dlfcn/dladdr1.c (dladdr1): Likewise.
49346         * dlfcn/dladdr.c (dladdr): Likewise.
49347         * dlfcn/dlclose.c (dlclose_doit): Likewise.
49348         * dlfcn/dlerror.c (__dlerror): Likewise.
49349         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
49350         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
49351         * dlfcn/dlopen.c (dlopen_doit): Likewise.
49352         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
49353         * dlfcn/dlsym.c (dlsym_doit): Likewise.
49354         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
49355         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
49356         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
49357         Likewise.
49358         * elf/dl-conflict.c: Likewise.
49359         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
49360         * elf/dl-dst.h: Likewise.
49361         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
49362         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
49363         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
49364         * elf/dl-init.c (call_init, _dl_init): Likewise.
49365         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
49366         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
49367         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
49368         Likewise.
49369         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
49370         Likewise.
49371         * elf/dl-minimal.c (__libc_memalign): Likewise.
49372         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
49373         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49374         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
49375         * elf/dl-sym.c (do_sym): Likewise.
49376         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
49377         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
49378         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
49379         * elf/dl-writev.h (_dl_writev): Likewise.
49380         * elf/ldconfig.c (search_dir): Likewise.
49381         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
49382         (dl_main): Likewise.
49383         * elf/setup-vdso.h (setup_vdso): Likewise.
49384         * grp/compat-initgroups.c (compat_call): Likewise.
49385         * grp/fgetgrent.c (fgetgrent): Likewise.
49386         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
49387         * grp/putgrent.c (putgrent): Likewise.
49388         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49389         Likewise.
49390         * hurd/hurdinit.c: Likewise.
49391         * iconvdata/8bit-gap.c (struct): Likewise.
49392         * iconvdata/ansi_x3.110.c : Likewise.
49393         * iconvdata/big5.c : Likewise.
49394         * iconvdata/big5hkscs.c : Likewise.
49395         * iconvdata/cp1255.c: Likewise.
49396         * iconvdata/cp1258.c : Likewise.
49397         * iconvdata/cp932.c : Likewise.
49398         * iconvdata/euc-cn.c: Likewise.
49399         * iconvdata/euc-jisx0213.c : Likewise.
49400         * iconvdata/euc-jp.c: Likewise.
49401         * iconvdata/euc-jp-ms.c : Likewise.
49402         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
49403         * iconvdata/gb18030.c : Likewise.
49404         * iconvdata/gbbig5.c (const): Likewise.
49405         * iconvdata/gbgbk.c: Likewise.
49406         * iconvdata/gbk.c : Likewise.
49407         * iconvdata/ibm1364.c : Likewise.
49408         * iconvdata/ibm930.c : Likewise.
49409         * iconvdata/ibm932.c: Likewise.
49410         * iconvdata/ibm933.c : Likewise.
49411         * iconvdata/ibm935.c : Likewise.
49412         * iconvdata/ibm937.c : Likewise.
49413         * iconvdata/ibm939.c : Likewise.
49414         * iconvdata/ibm943.c: Likewise.
49415         * iconvdata/iso_11548-1.c: Likewise.
49416         * iconvdata/iso-2022-cn.c : Likewise.
49417         * iconvdata/iso-2022-cn-ext.c : Likewise.
49418         * iconvdata/iso-2022-jp-3.c: Likewise.
49419         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
49420         * iconvdata/iso-2022-kr.c : Likewise.
49421         * iconvdata/iso646.c (gconv_end): Likewise.
49422         * iconvdata/iso_6937-2.c : Likewise.
49423         * iconvdata/iso_6937.c : Likewise.
49424         * iconvdata/iso8859-1.c: Likewise.
49425         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
49426         * iconvdata/shift_jisx0213.c : Likewise.
49427         * iconvdata/sjis.c : Likewise.
49428         * iconvdata/t.61.c : Likewise.
49429         * iconvdata/tcvn5712-1.c : Likewise.
49430         * iconvdata/tscii.c: Likewise.
49431         * iconvdata/uhc.c : Likewise.
49432         * iconvdata/unicode.c (gconv_end): Likewise.
49433         * iconvdata/utf-16.c (gconv_end): Likewise.
49434         * iconvdata/utf-32.c (gconv_end): Likewise.
49435         * iconvdata/utf-7.c (base64): Likewise.
49436         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
49437         * iconv/gconv_close.c (__gconv_close): Likewise.
49438         * iconv/gconv_open.c (__gconv_open): Likewise.
49439         * iconv/gconv_simple.c (internal_ucs4_loop_single)
49440         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
49441         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
49442         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
49443         (ucs4le_internal_loop_single): Likewise.
49444         * iconv/iconv.c (iconv): Likewise.
49445         * iconv/iconv_close.c: Likewise.
49446         * iconv/loop.c (SINGLE): Likewise.
49447         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
49448         * include/atomic.h: Likewise.
49449         * inet/inet6_option.c (option_alloc): Likewise.
49450         * intl/bindtextdom.c (set_binding_values): Likewise.
49451         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
49452         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
49453         * intl/localealias.c (read_alias_file): Likewise.
49454         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
49455         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
49456         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
49457         * libio/fmemopen.c (fmemopen): Likewise.
49458         * libio/iofgets.c (_IO_fgets): Likewise.
49459         * libio/iofgets_u.c (fgets_unlocked): Likewise.
49460         * libio/iofgetws.c (fgetws): Likewise.
49461         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
49462         * libio/iogetdelim.c (_IO_getdelim): Likewise.
49463         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
49464         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
49465         * locale/findlocale.c (_nl_find_locale): Likewise.
49466         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
49467         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
49468         Likewise.
49469         * locale/setlocale.c (setlocale): Likewise.
49470         * login/programs/pt_chown.c (main): Likewise.
49471         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
49472         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
49473         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
49474         (mmap, mmap64, mremap, munmap): Likewise.
49475         * math/e_exp2l.c: Likewise.
49476         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
49477         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
49478         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
49479         * math/s_catan.c (__catan): Likewise.
49480         * math/s_catanf.c (__catanf): Likewise.
49481         * math/s_catanh.c (__catanh): Likewise.
49482         * math/s_catanhf.c (__catanhf): Likewise.
49483         * math/s_catanhl.c (__catanhl): Likewise.
49484         * math/s_catanl.c (__catanl): Likewise.
49485         * math/s_ccosh.c (__ccosh): Likewise.
49486         * math/s_ccoshf.c (__ccoshf): Likewise.
49487         * math/s_ccoshl.c (__ccoshl): Likewise.
49488         * math/s_cexp.c (__cexp): Likewise.
49489         * math/s_cexpf.c (__cexpf): Likewise.
49490         * math/s_cexpl.c (__cexpl): Likewise.
49491         * math/s_clog10.c (__clog10): Likewise.
49492         * math/s_clog10f.c (__clog10f): Likewise.
49493         * math/s_clog10l.c (__clog10l): Likewise.
49494         * math/s_clog.c (__clog): Likewise.
49495         * math/s_clogf.c (__clogf): Likewise.
49496         * math/s_clogl.c (__clogl): Likewise.
49497         * math/s_csin.c (__csin): Likewise.
49498         * math/s_csinf.c (__csinf): Likewise.
49499         * math/s_csinh.c (__csinh): Likewise.
49500         * math/s_csinhf.c (__csinhf): Likewise.
49501         * math/s_csinhl.c (__csinhl): Likewise.
49502         * math/s_csinl.c (__csinl): Likewise.
49503         * math/s_csqrt.c (__csqrt): Likewise.
49504         * math/s_csqrtf.c (__csqrtf): Likewise.
49505         * math/s_csqrtl.c (__csqrtl): Likewise.
49506         * math/s_ctan.c (__ctan): Likewise.
49507         * math/s_ctanf.c (__ctanf): Likewise.
49508         * math/s_ctanh.c (__ctanh): Likewise.
49509         * math/s_ctanhf.c (__ctanhf): Likewise.
49510         * math/s_ctanhl.c (__ctanhl): Likewise.
49511         * math/s_ctanl.c (__ctanl): Likewise.
49512         * math/w_pow.c: Likewise.
49513         * math/w_powf.c: Likewise.
49514         * math/w_powl.c: Likewise.
49515         * math/w_scalb.c (sysv_scalb): Likewise.
49516         * math/w_scalbf.c (sysv_scalbf): Likewise.
49517         * math/w_scalbl.c (sysv_scalbl): Likewise.
49518         * misc/error.c (error_tail): Likewise.
49519         * misc/pselect.c (__pselect): Likewise.
49520         * nis/nis_callback.c (__nis_create_callback): Likewise.
49521         * nis/nis_call.c (__nisfind_server): Likewise.
49522         * nis/nis_creategroup.c (nis_creategroup): Likewise.
49523         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
49524         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
49525         * nis/nis_getservlist.c (nis_getservlist): Likewise.
49526         * nis/nis_lookup.c (nis_lookup): Likewise.
49527         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
49528         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
49529         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
49530         * nis/nis_xdr.c (xdr_endpoint): Likewise.
49531         * nis/nss_compat/compat-grp.c (getgrent_next_file)
49532         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
49533         * nis/nss_compat/compat-initgroups.c (add_group)
49534         (internal_getgrent_r): Likewise.
49535         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
49536         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
49537         * nis/nss_compat/compat-spwd.c (getspent_next_file)
49538         (internal_getspnam_r): Likewise.
49539         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
49540         (_nss_nis_getaliasbyname_r): Likewise.
49541         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
49542         (_nss_nis_getntohost_r): Likewise.
49543         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
49544         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
49545         (_nss_nis_getgrgid_r): Likewise.
49546         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
49547         (internal_nis_gethostent_r, internal_gethostbyname2_r)
49548         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
49549         (_nss_nis_gethostbyname4_r): Likewise.
49550         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
49551         (initgroups_netid): Likewise.
49552         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
49553         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
49554         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
49555         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
49556         (_nss_nis_getprotobynumber_r): Likewise.
49557         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
49558         (_nss_nis_getsecretkey): Likewise.
49559         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
49560         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
49561         (_nss_nis_getpwuid_r): Likewise.
49562         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
49563         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
49564         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
49565         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
49566         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
49567         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
49568         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
49569         Likewise.
49570         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
49571         (_nss_nisplus_getntohost_r): Likewise.
49572         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
49573         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
49574         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
49575         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
49576         Likewise.
49577         * nis/nss_nisplus/nisplus-initgroups.c
49578         (_nss_nisplus_initgroups_dyn): Likewise.
49579         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
49580         (_nss_nisplus_getnetbyaddr_r): Likewise.
49581         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
49582         (_nss_nisplus_getprotobynumber_r): Likewise.
49583         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
49584         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
49585         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
49586         Likewise.
49587         * nis/nss_nisplus/nisplus-service.c
49588         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
49589         (_nss_nisplus_getservbyport_r): Likewise.
49590         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
49591         (_nss_nisplus_getspnam_r): Likewise.
49592         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
49593         Likewise.
49594         * nscd/aicache.c (addhstaiX): Likewise.
49595         * nscd/cache.c (cache_search, prune_cache): Likewise.
49596         * nscd/connections.c (register_traced_file, send_ro_fd)
49597         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
49598         (main_loop_epoll): Likewise.
49599         * nscd/grpcache.c (addgrbyX): Likewise.
49600         * nscd/hstcache.c (addhstbyX): Likewise.
49601         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49602         * nscd/mem.c (gc, mempool_alloc): Likewise.
49603         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
49604         (addinnetgrX): Likewise.
49605         * nscd/nscd-client.h (__nscd_acquire_maplock)
49606         (__nscd_drop_map_ref): Likewise.
49607         * nscd/nscd_getai.c (__nscd_getai): Likewise.
49608         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
49609         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
49610         Likewise.
49611         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
49612         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49613         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
49614         (__nscd_get_map_ref): Likewise.
49615         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
49616         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
49617         Likewise.
49618         * nscd/pwdcache.c (addpwbyX): Likewise.
49619         * nscd/selinux.c (preserve_capabilities): Likewise.
49620         * nscd/servicescache.c (addservbyX): Likewise.
49621         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
49622         * posix/fnmatch.c (fnmatch): Likewise.
49623         * posix/getopt.c (_getopt_internal_r): Likewise.
49624         * posix/glob.c (glob, glob_in_dir): Likewise.
49625         * posix/wordexp.c (exec_comm_child): Likewise.
49626         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
49627         (getanswer_r, gaih_getanswer_slice): Likewise.
49628         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
49629         * resolv/res_init.c: Likewise.
49630         * resolv/res_mkquery.c (res_nmkquery): Likewise.
49631         * resolv/res_query.c (__libc_res_nquery): Likewise.
49632         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
49633         Likewise.
49634         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
49635         * stdio-common/perror.c (perror): Likewise.
49636         * stdio-common/printf_fp.c (___printf_fp): Likewise.
49637         * stdio-common/tmpnam.c (tmpnam): Likewise.
49638         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49639         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
49640         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
49641         Likewise.
49642         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
49643         * stdlib/putenv.c (putenv): Likewise.
49644         * stdlib/setenv.c (__add_to_environ): Likewise.
49645         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49646         * stdlib/strtol_l.c (INTERNAL): Likewise.
49647         * string/memmem.c (memmem): Likewise.
49648         * string/strerror.c (strerror): Likewise.
49649         * string/strnlen.c (__strnlen): Likewise.
49650         * string/test-memmem.c (simple_memmem): Likewise.
49651         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
49652         * sunrpc/pm_getport.c (__get_socket): Likewise.
49653         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
49654         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
49655         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
49656         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
49657         Likewise.
49658         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
49659         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
49660         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
49661         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
49662         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
49663         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
49664         Likewise.
49665         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
49666         Likewise.
49667         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
49668         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
49669         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49670         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
49671         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
49672         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
49673         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
49674         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
49675         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
49676         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
49677         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49678         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
49679         Likewise.
49680         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
49681         Likewise.
49682         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
49683         Likewise.
49684         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
49685         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49686         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
49687         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
49688         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
49689         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
49690         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49691         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
49692         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
49693         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
49694         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
49695         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49696         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49697         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
49698         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49699         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
49700         Likewise.
49701         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
49702         Likewise.
49703         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
49704         Likewise.
49705         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
49706         Likewise.
49707         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49708         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49709         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
49710         Likewise.
49711         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
49712         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
49713         * sysdeps/posix/opendir.c (__opendirat): Likewise.
49714         * sysdeps/posix/sleep.c: Likewise.
49715         * sysdeps/posix/tempname.c: Likewise.
49716         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
49717         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49718         Likewise.
49719         * sysdeps/powerpc/powerpc32/dl-machine.h
49720         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
49721         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49722         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49723         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
49724         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
49725         Likewise.
49726         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
49727         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
49728         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
49729         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
49730         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
49731         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
49732         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
49733         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
49734         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49735         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
49736         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
49737         (elf_machine_lazy_rel): Likewise.
49738         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49739         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
49740         (elf_machine_lazy_rel): Likewise.
49741         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
49742         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
49743         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
49744         * sysdeps/unix/grantpt.c (grantpt): Likewise.
49745         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
49746         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
49747         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
49748         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49749         Likewise.
49750         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
49751         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
49752         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
49753         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
49754         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
49755         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49756         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
49757         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
49758         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
49759         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49760         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49761         Likewise.
49762         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
49763         (__posix_fallocate64_l64): Likewise.
49764         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
49765         (posix_fallocate): Likewise.
49766         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
49767         Likewise.
49768         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49769         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
49770         (getifaddrs_internal): Likewise.
49771         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
49772         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
49773         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
49774         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
49775         * sysdeps/unix/sysv/linux/posix_fallocate64.c
49776         (__posix_fallocate64_l64): Likewise.
49777         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
49778         Likewise.
49779         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
49780         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
49781         (__get_clockfreq): Likewise.
49782         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
49783         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
49784         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
49785         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49786         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49787         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
49788         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
49789         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
49790         Likewise.
49791         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
49792         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
49793         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
49794         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
49795         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49796         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
49797         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
49798         Likewise.
49799         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49800         (posix_fallocate): Likewise.
49801         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49802         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
49803         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
49804         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
49805         (elf_machine_rela, elf_machine_rela_relative)
49806         (elf_machine_lazy_rel): Likewise.
49807         * time/asctime.c (asctime_internal): Likewise.
49808         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
49809         * time/tzset.c (__tzset_parse_tz): Likewise.
49810         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
49811         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
49812         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
49813         * wcsmbs/wcsmbsload.h: Likewise.
49815         [BZ #15894]
49816         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
49818         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
49819         (arena_get2): Remove THREAD_STATS conditionals.
49820         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
49821         (__malloc_stats, int): Likewise.
49823 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
49825         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
49826         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
49828         * manual/setjmp.texi: Fix typos/grammar errors.
49830         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
49831         Only return early when n is <= 0.  Delete unused return statement.
49833         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
49834         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
49835         * debug/tst-longjmp_chk3.c: New file.
49837         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
49838         (test_main): Replace code with set_fortify_handler call.
49839         * debug/test-strcpy_chk.c: Likewise.
49840         * debug/tst-chk1.c: Likewise.
49841         * debug/tst-longjmp_chk.c: Likewise.
49842         * test-skeleton.c: Include fcntl.h & paths.h
49843         (set_fortify_handler): Define.
49845         * debug/tst-longjmp_chk.c: Add header comment and include
49846         ../test-skeleton.c.
49847         (do_test): Mark static.
49848         (TEST_FUNCTION): Define.
49850         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
49851         (IP_PMTUDISC_INTERFACE): Likewise.
49852         (IP_MULTICAST_IF): Likewise.
49853         (IP_MULTICAST_TTL): Likewise.
49854         (IP_MULTICAST_LOOP): Likewise.
49855         (IP_ADD_MEMBERSHIP): Likewise.
49856         (IP_DROP_MEMBERSHIP): Likewise.
49857         (IP_UNBLOCK_SOURCE): Likewise.
49858         (IP_BLOCK_SOURCE): Likewise.
49859         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
49860         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
49861         (IP_MSFILTER): Likewise.
49862         (MCAST_JOIN_GROUP): Likewise.
49863         (MCAST_BLOCK_SOURCE): Likewise.
49864         (MCAST_UNBLOCK_SOURCE): Likewise.
49865         (MCAST_LEAVE_GROUP): Likewise.
49866         (MCAST_JOIN_SOURCE_GROUP): Likewise.
49867         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
49868         (MCAST_MSFILTER): Likewise.
49869         (IP_MULTICAST_ALL): Likewise.
49870         (IP_UNICAST_IF): Likewise.
49872         * timezone/Makefile: Delete $(have-ksh) check.
49873         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
49874         * timezone/tzselect.ksh: Add +x mode bits.
49876         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
49877         (ANON_INODE_FS_MAGIC): Likewise.
49878         (BDEVFS_MAGIC): Likewise.
49879         (BINFMTFS_MAGIC): Likewise.
49880         (BTRFS_TEST_MAGIC): Likewise.
49881         (CRAMFS_MAGIC_WEND): Likewise.
49882         (DEBUGFS_MAGIC): Likewise.
49883         (ECRYPTFS_SUPER_MAGIC): Likewise.
49884         (EXT3_SUPER_MAGIC): Likewise.
49885         (EXT4_SUPER_MAGIC): Likewise.
49886         (FUTEXFS_SUPER_MAGIC): Likewise.
49887         (HOSTFS_SUPER_MAGIC): Likewise.
49888         (HUGETLBFS_MAGIC): Likewise.
49889         (MINIX3_SUPER_MAGIC): Likewise.
49890         (MTD_INODE_FS_MAGIC): Likewise.
49891         (NILFS_SUPER_MAGIC): Likewise.
49892         (OPENPROM_SUPER_MAGIC): Likewise.
49893         (PIPEFS_MAGIC): Likewise.
49894         (PSTOREFS_MAGIC): Likewise.
49895         (QNX6_SUPER_MAGIC): Likewise.
49896         (RAMFS_MAGIC): Likewise.
49897         (REISERFS_SUPER_MAGIC_STRING): Likewise.
49898         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
49899         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
49900         (SECURITYFS_MAGIC): Likewise.
49901         (SELINUX_MAGIC): Likewise.
49902         (SMACK_MAGIC): Likewise.
49903         (SOCKFS_MAGIC): Likewise.
49904         (SQUASHFS_MAGIC): Likewise.
49905         (STACK_END_MAGIC): Likewise.
49906         (TMPFS_MAGIC): Likewise.
49907         (USBDEVICE_SUPER_MAGIC): Likewise.
49908         (V9FS_MAGIC): Likewise.
49909         (XENFS_SUPER_MAGIC): Likewise.
49910         (CRAMFS_MAGIC): Fix typo in comment.
49911         (EXT2_SUPER_MAGIC): Update comment.
49912         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
49914 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
49916         * sysdeps/arm: Move directory from ports/sysdeps/arm.
49917         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
49918         * sysdeps/unix/sysv/linux/arm: Move directory from
49919         ports/sysdeps/unix/sysv/linux/arm.
49920         * README: Update listing for arm-*-linux-gnueabi.
49922         * README: Remove mention of am33.
49924 2014-02-07  Roland McGrath  <roland@hack.frob.com>
49926         * bits/sigset.h (__sigemptyset): Use a statement expression rather
49927         than the comma operator, to avoid "rhs of comma has no effect"
49928         compiler warnings.
49929         (__sigfillset, __sigandset, __sigorset): Likewise.
49930         * include/signal.h (__sigemptyset): Likewise.
49931         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
49933 2014-02-07  Allan McRae  <allan@archlinux.org>
49935         * version.h (RELEASE): Set to "development".
49936         (VERSION): Set to "2.19.90"
49937         * NEWS: Add 2.20 section.
49939 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
49941         [BZ #16529]
49942         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
49944 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49946         * manual/contrib.texi: Update entry for Carlos O'Donell,
49947         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
49949 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
49951         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
49953         * sysdeps/unix/sysv/linux/kernel-features.h
49954         [__LINUX_KERNEL_VERSION >= 0x020621]
49955         (__ASSUME_PROC_PID_TASK_COMM): Define.
49957 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49959         [BZ #16398]
49960         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
49961         conversion when destination buffer does not have enough space.
49962         * libio/tst-ftell-partial-wide.c: New test case.
49963         * libio/Makefile (tests): Add tst-ftell-partial-wide.
49965         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
49966         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
49967         Leonard and Allan McRae.
49969 2014-02-04  David S. Miller  <davem@davemloft.net>
49971         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
49972         32-bit.
49974 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49977         New file
49978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49979         New file
49980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49981         New file.
49982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49983         New file.
49984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49985         New file.
49986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49987         New file.
49988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49989         New file.
49990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49991         New file.
49992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49993         New file.
49994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49995         New file.
49996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49997         New file.
49998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49999         New file.
50000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
50001         New file.
50003 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50005         * nptl/shlib-versions: Change powerpc*le start to 2.17.
50006         * shlib-versions: Likewise.
50008 2014-02-04  Roland McGrath  <roland@hack.frob.com>
50009             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50011         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
50012         (abilist-pattern): New variable, set to %-le.abilist.
50014         * Makerules (abilist-pattern): New variable.
50015         (vpath): Use $(abilist-pattern) in place of %.abilist.
50016         (check-abi-% pattern rule): Likewise.
50017         (check-abi, update-abi): Likewise.
50019 2014-02-04  Eric Wong  <normalperson@yhbt.net>
50021         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50023 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
50025         * manual/startup.texi: Add next, previous, and top entries for
50026         the `Program Arguments' and `Environment Variables' nodes.
50028 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
50030         * manual/macros.texi: Add comments before MTASC-safety macros.
50032         * manual/users.texi: Document MTASC-safety properties.
50034         * manual/threads.texi (pthread_key_create, pthread_key_delete)
50035         (pthread_getspecific, pthread_setspecific): Format with
50036         @deftypefun, and add @safety note.
50037         * manual/signal.texi: Move comments that analyze the above
50038         functions to their home place.
50040 2014-02-03  Allan McRae  <allan@archlinux.org>
50042         * po/sl.po: Update Slovenian translation from translation project.
50044 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
50046         * manual/time.texi (timegm): Add missing blank after @c.
50047         Reported by Joseph Myers <joseph@codesourcery.com>.
50049 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
50051         * manual/check-safety.sh: New.
50052         * manual/Makefile ($(objpfx)stamp-summary): Run it.
50054         * manual/terminal.texi: Document MTASC-safety properties.
50056         * manual/filesys.texi: Document MTASC-safety properties.
50058         * manual/errno.texi: Document MTASC-safety properties.
50060         * manual/intro.texi: Document safety identifiers and
50061         conditionals.
50063         * manual/string.texi (wcstok): Fix prototype.
50064         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
50066         * manual/time.texi: Document MTASC-safety properties.
50068         * manual/string.texi: Document MTASC-safety properties.
50070         * manual/threads.texi: Document MTASC-safety properties.
50072         * manual/stdio.texi: Document MTASC-safety properties.
50074         * manual/syslog.texi: Document MTASC-safety properties.
50076         * manual/sysinfo.texi: Document MTASC-safety properties.
50078         * manual/startup.texi: Document MTASC-safety properties.
50080         * manual/socket.texi: Document MTASC-safety properties.
50082         * manual/signal.texi: Document MTASC-safety properties.
50084 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
50086         * manual/setjmp.texi: Document MTASC-safety properties.
50088         * manual/search.texi: Document MTASC-safety properties.
50090         * manual/resource.texi: Document MTASC-safety properties.
50092         * manual/process.texi: Document MTASC-safety properties.
50094         * manual/platform.texi: Document MTASC-safety properties.
50096         * manual/pipe.texi: Document MTASC-safety properties.
50098         * manual/pattern.texi: Document MTASC-safety properties.
50100         * manual/message.texi: Document MTASC-safety properties.
50102         [BZ #12751]
50103         * manual/memory.texi: Document MTASC-safety properties.
50105         * manual/math.texi: Document MTASC-safety properties.
50107         * manual/locale.texi: Document MTASC-safety properties.
50109         * manual/llio.texi: Document MTASC-safety properties.
50111         * manual/libdl.texi: New.
50113         * manual/lang.texi: Document MTASC-safety properties.
50115         * manual/job.texi: Document MTASC-safety properties.
50117         * manual/getopt.texi: Document MTASC-safety properties.
50119         * manual/ctype.texi: Document MTASC-safety properties.
50121 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
50123         [BZ #16046]
50124         * csu/libc-tls.c (static_map): Remove variable.
50125         (__libc_setup_tls): Use main executable's link map for TLS data.
50126         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
50127         casing for LM_ID_BASE and GL(dl_nns).
50128         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
50129         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
50130         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
50131         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
50132         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
50133         member.
50134         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
50135         l_phnum members.
50137 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
50139         * manual/debug.texi: Document MTASC-safety properties.
50141 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
50143         [BZ #16510]
50144         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
50145         of __x86_64__ when disabling x87 inline functions.
50147 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
50149         * manual/charset.texi: Document MTASC-safety properties.
50151         * manual/crypt.texi: Document MTASC-safety properties.
50153         * manual/conf.texi: Document MTASC-safety properties.
50155         * manual/arith.texi: Document MTASC-safety properties.
50157         * manual/argp.texi: Document MTASC-safety properties.
50159         * manual/macros.texi: Introduce macros to document multi
50160         thread, asynchronous signal and asynchronous cancellation
50161         safety properties.
50162         * manual/intro.texi: Introduce the properties themselves.
50164 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50166         * sysdeps/sh/sh4/Makefile: New file.
50168 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
50170         * math/gen-libm-test.pl ($srcdir): New variable.
50171         ($auto_input): Use it.
50173 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50175         [BZ #16506]
50176         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
50177         access beyond array bounds when parsing netgroups file.
50179         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
50180         the old buffer before realloc.
50182 2014-01-27  Allan McRae  <allan@archlinux.org>
50184         * po/fr.po: Update French translation from translation project.
50186 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50188         * sysdeps/sh/libm-test-ulps: Regenerate.
50190 2014-01-24  David S. Miller  <davem@davemloft.net>
50192         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
50194 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50196         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
50197         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
50199 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50201         [BZ #16474]
50202         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
50203         string pointers after reallocation.
50205 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50207         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
50208         __SH4A__ instead of __SH_FPU_ANY__.
50210 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50212         * sysdeps/sh/fpu_control.h: New file.
50213         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
50214         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
50215         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
50216         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
50217         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
50218         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
50219         * sysdeps/sh/sys/ucontext.h: Remove.
50220         * sysdeps/sh/sys: Remove directory.
50222 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50224         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
50225         s390/sys/ucontext.h.
50226         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
50227         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
50229 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
50231         [BZ #15605]
50232         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
50234 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50236         [BZ#16431]
50237         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50238         Adjust the vDSO correctly for internal calls.
50239         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
50241 2014-01-20  Allan McRae  <allan@archlinux.org>
50243         * po/ca.po: Update Catalan translation from translation project.
50245 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
50247         * sysdeps/s390/sotruss-lib.c: New file.
50249 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50251         [BZ#16430]
50252         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
50253         (__GI___gettimeofday): Alias for a different internal symbol to avoid
50254         local calls issues by not having a PLT stub required for IFUNC calls.
50255         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
50257 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
50259         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
50260         * math/test-fpucw-static.c: Likewise.
50262 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50264         [BZ #16453]
50265         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
50267 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50269         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
50270         implementation for powerpc.
50272 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
50274         [BZ #14782]
50275         * sysdeps/posix/system.c (__libc_system): Do not enable
50276         asynchronous cancellation.
50278 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50280         [BZ #16427]
50281         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
50282         handling only for numbers special also in the IEEE case.
50284 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50286         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50288 2014-01-11  Allan McRae  <allan@archlinux.org>
50290         * po/bg.po: Update Bulgarian translation from translation project.
50292         * po/de.po: Update German translation from translation project.
50294 2014-01-10  Roland McGrath  <roland@hack.frob.com>
50296         * sysdeps/generic/gcc-compat.h: New file.
50298 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50300         * benchtests/asin-inputs: Correct slow inputs.
50301         * benchtests/acos-inputs: Likewise.
50303 2014-01-10  Allan McRae  <allan@archlinux.org>
50305         * po:sv.po: Update Swedish translation from translation project.
50307         * po/vi.po: Update Vietnamese translation from translation project.
50309         * po/eo.po: Update Esperanto translation from translation project.
50311         * po/cs.po: Update Czech translation from translation project.
50313         * po/nl.po: Update Dutch translation from translation project.
50315         * po/pl.po: Update Polish translation from translation project.
50317         * po/ru.po: Update Russian translation from translation project.
50319         * po/uk.po: Update Ukrainian translation from translation project.
50321 2014-01-08  Brooks Moses  <bmoses@google.com>
50323         * elf/dl-load.c: Fix comment typo.
50325 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
50327         * po/header.pot: Rename to...
50328         * po/pot.header: ... this.
50329         * po/Makefile: Use pot.header.
50331 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
50332             Maxim Kuvyrkov  <maxim@kugelworks.com>
50334         [BZ #16394]
50335         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
50336         SRC and DEST against LEN.
50338 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50340         [BZ #16414]
50341         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
50342         implementation.
50343         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
50345 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50349 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
50351         [BZ #16408]
50352         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
50353         for large positive arguments.
50355 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
50357         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
50359         * math/auto-libm-test-in: Mark various tests with
50360         xfail-rounding:ldbl-128ibm.
50361         * math/auto-libm-test-out: Regenerated.
50363         [BZ #16407]
50364         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
50365         Increase overflow threshold.
50367 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
50369         [BZ #14286]
50370         * stdio-common/vfprintf.c: Check for integer overflow.
50372 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50374         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
50375         the first argument and return value of __tls_get_addr_internal.
50377 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50379         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
50380         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
50382 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50384         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
50385         * sysdeps/s390/rtld-global-offsets.sym: New file.
50386         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
50387         GLIBC_2.19 symbol.
50388         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
50389         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
50390         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
50391         ... this.
50392         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
50393         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
50394         ... this.
50395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50396         Regenerate.
50397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50398         Regenerate.
50399         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
50400         halfs of GPRs for high_gprs contexts.
50401         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
50402         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
50403         field.
50404         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
50405         uc_flags field.
50406         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
50407         64 bit versions:
50408         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
50409         for high GPRs (uc_high_gprs) and for future extensions
50410         (__reserved).
50411         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
50412         for future extensions (__reserved).
50413         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
50414         64 bit versions:
50415         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
50416         SC_HIGHGPRS offset definition.
50417         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
50418         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
50420         * Versions.def: Add GLIBC_2.19 for libpthread.
50421         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
50422         siglongjmp for libpthread with GLIBC_2.19 symver.
50423         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
50424         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
50425         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
50426         * sysdeps/s390/__longjmp.c: New file.
50427         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
50428         * sysdeps/s390/longjmp.c: New file.
50429         * sysdeps/s390/setjmp.S: New file.
50430         * sysdeps/s390/sigjmp.S: New file.
50431         * sysdeps/s390/v1-longjmp.c: New file.
50432         * sysdeps/s390/v1-setjmp.h: New file.
50433         * sysdeps/s390/v1-sigjmp.c: New file.
50434         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
50435         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
50436         GLIBC_2.19 version.
50437         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
50438         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
50439         versioned symbols for ____longjmp_chk.
50440         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
50441         Likewise.
50442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50443         Regenerate.
50444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50445         Regenerate.
50446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50447         Regenerate.
50448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50449         Regenerate.
50450         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
50451         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
50452         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
50453         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
50454         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
50455         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
50456         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
50457         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
50458         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
50459         * sysdeps/s390/rtld-__longjmp.c: New file.
50460         * sysdeps/s390/rtld-setjmp.S: New file.
50462 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
50464         [BZ #16400]
50465         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
50466         Return -__logl (x) for small positive arguments without evaluating
50467         a polynomial.
50469 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
50471         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
50472         Rename to ...
50473         (__ptrace_peeksiginfo_args): ... this.
50474         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50475         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50476         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50478 2014-01-06  Allan McRae  <allan@archlinux.org>
50480         * inet/netinet/in.h: Fix typo in comment.
50482 2014-01-05  Andreas Jaeger  <aj@suse.de>
50484         * sysdeps/i386/fpu/libm-test-ulps: Update.
50486 2014-01-05  Allan McRae  <allan@archlinux.org>
50488         * po/libc.pot: Regenerated.
50490         * malloc/memusagestat.c: Fix gettext call formatting.
50492 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
50494         * nscd/nscd.c: Improve usage() output.
50496 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
50498         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
50499         * sysdeps/unix/sysv/linux/configure: Regenerated.
50500         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
50501         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
50503 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
50505         [BZ #16390]
50506         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
50507         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
50509 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50511         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
50512         extra tokens at end of #undef directive.
50513         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
50514         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
50515         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
50517 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
50519         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
50521         * math/auto-libm-test-in: Mark various tests with
50522         xfail-rounding:ldbl-128ibm.
50523         * math/auto-libm-test-out: Regenerated.
50525 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
50527         [BZ #16386]
50528         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
50529         numbers with subnormal high part when calculating exponent.
50531         [BZ #16385]
50532         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
50533         fabs.
50535         [BZ #16384]
50536         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
50537         M_LN2l.
50538         (__ieee754_acoshl): Use __log1pl not __log1p.
50540 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
50542         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
50543         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
50544         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
50545         (grow_heap, heap_trim, _int_new_arena, get_free_list)
50546         (reused_arena, arena_get2): Convert to GNU style.
50547         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
50548         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
50549         (memalign_check, __malloc_set_state): Likewise.
50550         * malloc/mallocbug.c (main): Likewise.
50551         * malloc/malloc.c (__malloc_assert, malloc_init_state)
50552         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
50553         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
50554         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
50555         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
50556         (__posix_memalign, malloc_info): Likewise.
50557         * malloc/malloc.h: Likewise.
50558         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
50559         (mallochook, memalignhook, reallochook, mabort): Likewise.
50560         * malloc/mcheck.h: Likewise.
50561         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
50562         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
50563         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
50564         * malloc/morecore.c (__default_morecore): Likewise.
50565         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
50566         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
50567         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
50568         (print_and_abort): Likewise.
50569         * malloc/obstack.h: Likewise.
50570         * malloc/set-freeres.c (__libc_freeres): Likewise.
50571         * malloc/tst-mallocstate.c (main): Likewise.
50572         * malloc/tst-mtrace.c (main): Likewise.
50573         * malloc/tst-realloc.c (do_test): Likewise.
50575 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50577         [BZ #16366]
50578         * nscd/netgroupcache.c (do_notfound): New function.
50579         (addgetnetgrentX): Use it.
50581         [BZ # 16365]
50582         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
50583         NSS_STATUS_NOTFOUND.
50585 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
50587         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
50588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50590 2014-01-01  Allan McRae  <allan@archlinux.org>
50592         * scripts/update-copyrights: Update configure input file suffix.
50594         * NEWS: Update copyright year.
50595         * catgets/gencat.c: Likewise.
50596         * csu/version.c: Likewise.
50597         * debug/catchsegv.sh: Likewise.
50598         * debug/pcprofiledump.c: Likewise.
50599         * debug/xtrace.sh: Likewise.
50600         * elf/ldconfig.c: Likewise.
50601         * elf/ldd.bash.in: Likewise.
50602         * elf/pldd.c: Likewise.
50603         * elf/sotruss.ksh: Likewise.
50604         * elf/sprof.c: Likewise.
50605         * iconv/iconv_prog.c: Likewise.
50606         * iconv/iconvconfig.c: Likewise.
50607         * locale/programs/locale.c: Likewise.
50608         * locale/programs/localedef.c: Likewise.
50609         * login/programs/pt_chown.c: Likewise.
50610         * malloc/memusage.sh: Likewise.
50611         * malloc/memusagestat.c: Likewise.
50612         * malloc/mtrace.pl: Likewise.
50613         * manual/libc.texinfo: Likewise.
50614         * nscd/nscd.c: Likewise.
50615         * nss/getent.c: Likewise.
50616         * nss/makedb.c: Likewise.
50617         * posix/getconf.c: Likewise.
50618         * scripts/test-installation.pl: Likewise.
50620         * All files with FSF copyright notices: Update copyright dates
50621         using scripts/update-copyrights.
50622         * intl/plural.c: Regenerated.
50623         * locale/programs/charmap-kw.h: Likewise.
50624         * locale/programs/locfile-kw.h: Likewise.
50626 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
50628         * sysdeps/unix/sysv/linux/configure: Regenerated.
50629         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
50630         the linux/fanotify.h header.
50631         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
50632         HAVE_LINUX_FANOTIFY_H is defined.
50634 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50636         * benchtests/cos-inputs: New inputs.
50637         * benchtests/sin-inputs: Likewise.
50639         * benchtests/atan-inputs: New inputs. Fix name of multiple
50640         precision fallback inputs.
50642         * benchtests/atanh-inputs: New inputs.
50643         * benchtests/tanh-inputs: Likewise.
50645         * benchtests/acosh-inputs: New inputs.
50646         * benchtests/asinh-inputs: Likewise.
50648         * benchtests/cosh-inputs: New inputs.
50649         * benchtests/sinh-inputs: Likewise.
50651         * benchtests/acos-inputs: Add more inputs.
50652         * benchtests/asin-inputs: Likewise.
50654 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
50656         [BZ #16375]
50657         * manual/arith.texi: Fix spelling.
50658         * manual/charset.texi: Likewise.
50659         * manual/errno.texi: Likewise.
50660         * manual/filesys.texi: Likewise.
50661         * manual/lang.texi: Likewise.
50662         * manual/llio.texi: Likewise.
50663         * manual/locale.texi: Likewise.
50664         * manual/message.texi: Likewise.
50665         * manual/resource.texi: Likewise.
50666         * manual/search.texi: Likewise.
50667         * manual/setjmp.texi: Likewise.
50668         * manual/stdio.texi: Likewise.
50669         * manual/string.texi: Likewise.
50670         * manual/sysinfo.texi: Likewise.
50671         * manual/time.texi: Likewise.
50673 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
50675         * po/sl.po: New file.
50677 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
50679         * .gitignore: Add core/.gdbinit/.gdb_history.
50681 2013-12-27  Allan McRae  <allan@archlinux.org>
50683         [BZ #16369]
50684         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
50685         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
50687 2013-12-24  Brooks Moses  <bmoses@google.com>
50689         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
50690         all compilers that claim C++98 compliance, not just GCC.
50691         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
50692         Likewise.
50694 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
50696         * NEWS: Restore accidentally deleted bug-fix entries.
50698 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
50699             Ondřej Bílka  <neleai@seznam.cz>
50701         [BZ #15073]
50702         * malloc/malloc.c (_int_free): Perform sanity check only if we
50703         have_lock.
50705 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
50707         [BZ #12986]
50708         * manual/stdio.texi (String Input Conversions): Clarify that character
50709         classes are not supported.
50711 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50715 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
50717         [BZ #16337]
50718         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
50719         Calculate results for small negative arguments directly rather
50720         than using reflection formula with special underflow handling.
50722         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
50723         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
50724         sysdeps/unix/bsd/bsd4.4/syscalls.list.
50725         (fchflags): Likewise.
50726         (revoke): Likewise.
50727         (setlogin): Likewise.
50728         (sigaltstack): Likewise.
50729         (wait4): Likewise.
50730         (sigblock): Remove.
50731         (sigsetmask): Likewise.
50732         (wait3): Likewise.
50733         (waitpid): Likewise.
50734         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
50735         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
50736         file.
50737         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
50738         * sysdeps/unix/bsd/Makefile: ... here.
50739         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
50740         * sysdeps/unix/bsd/Versions: ... here.
50741         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
50742         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
50743         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
50744         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
50745         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
50746         * sysdeps/unix/bsd/sigblock.c: ... here.
50747         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
50748         * sysdeps/unix/bsd/sigsetmask.c: ... here.
50749         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
50750         * sysdeps/unix/bsd/sigvec.c: ... here.
50751         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
50752         * sysdeps/unix/bsd/tcdrain.c: ... here.
50753         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
50754         * sysdeps/unix/bsd/tcgetattr.c: ... here.
50755         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
50756         * sysdeps/unix/bsd/tcsetattr.c: ... here.
50757         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
50758         * sysdeps/unix/bsd/wait.c: ... here.
50759         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
50760         * sysdeps/unix/bsd/wait3.c: ... here.
50761         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
50762         * sysdeps/unix/bsd/waitpid.c: ... here.
50764 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
50766         [BZ #16356]
50767         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
50768         round-to-nearest for [!USE_AS_EXPM1L].
50769         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
50770         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
50771         more tests of exp and exp10.  Expect some exp10 tests to miss
50772         exceptions or fail in directed rounding modes.
50773         * math/auto-libm-test-out: Regenerated.
50774         * math/libm-test.inc (exp10_tonearest_test_data): New array.
50775         (exp10_test_tonearest): New function.
50776         (exp10_towardzero_test_data): New array.
50777         (exp10_test_towardzero): New function.
50778         (exp10_downward_test_data): New array.
50779         (exp10_test_downward): New function.
50780         (exp10_upward_test_data): New array.
50781         (exp10_test_upward): New function.
50782         (main): Call the new functions.
50783         * sysdeps/i386/fpu/libm-test-ulps: Update.
50784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50786 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
50788         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
50789         asinh, atan, atan2, atanh, cbrt, cos and cosh.
50790         * math/auto-libm-test-out: Regenerated.
50791         * math/libm-test.inc (acosh_test_data): Add more tests.
50792         (atanh_test_data): Likewise.
50793         (ceil_test_data): Likewise.
50794         (copysign_test_data): Likewise.
50795         * sysdeps/i386/fpu/libm-test-ulps: Update.
50796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50798         * timezone/checktab.awk: Update from tzcode 2013i.
50799         * timezone/private.h: Likewise.
50800         * timezone/scheck.c: Likewise.
50801         * timezone/tzfile.h: Likewise.
50802         * timezone/tzselect.ksh: Likewise.
50803         * timezone/zdump.c: Likewise.
50804         * timezone/zic.c: Likewise.
50806         * math/auto-libm-test-in: Add tests of cpow.
50807         * math/auto-libm-test-out: Regenerated.
50808         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
50809         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50810         mpc_cc_c.
50811         (func_calc_desc): Add mpc_cc_c union field.
50812         (test_functions): Add cpow.
50813         (special_fill_2pi): New function.
50814         (special_real_inputs): Add 2pi.
50815         (calc_generic_results): Handle mpc_cc_c.
50816         * sysdeps/i386/fpu/libm-test-ulps: Update.
50817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50819         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
50820         csqrt, ctan and ctanh.
50821         * math/auto-libm-test-out: Regenerated.
50822         * math/libm-test.inc (TEST_COND_x86_64): New macro.
50823         (TEST_COND_x86): Likewise.
50824         (ccos_test_data): Use AUTO_TESTS_c_c.
50825         (ccosh_test_data): Likewise.
50826         (cexp_test_data): Likewise.
50827         (clog_test_data): Likewise.
50828         (csqrt_test_data): Likewise.
50829         (ctan_test_data): Likewise.
50830         (ctan_tonearest_test_data): Likewise.
50831         (ctan_towardzero_test_data): Likewise.
50832         (ctan_downward_test_data): Likewise.
50833         (ctan_upward_test_data): Likewise.
50834         (ctanh_test_data): Likewise.
50835         (ctanh_tonearest_test_data): Likewise.
50836         (ctanh_towardzero_test_data): Likewise.
50837         (ctanh_downward_test_data): Likewise.
50838         (ctanh_upward_test_data): Likewise.
50839         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50840         mpc_c_c.
50841         (func_calc_desc): Add mpc_c_c union field.
50842         (FUNC_mpc_c_c): New macro.
50843         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
50844         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
50845         ctanh.
50846         (special_fill_min_subnorm_p120): New function.
50847         (special_real_inputs): Add min_subnorm_p120.
50848         (calc_generic_results): Handle mpc_c_c.
50849         * sysdeps/i386/fpu/libm-test-ulps: Update.
50850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50852 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50854         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
50855         (do_sin_slow): New functions.
50856         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
50857         (cslow2, csloww1, csloww2): Use the new functions.
50859         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
50860         Use M to change sign of result instead of X.  Assume X is
50861         positive.
50862         (csloww1): Likewise.
50863         (__sin): Adjust.
50864         (__cos): Adjust.
50866         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
50867         arguments A and DA.
50868         (__sin): Adjust.
50869         (__cos): Likewise.
50871         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
50872         (__cos): Likewise.
50873         (sloww1): Don't adjust sign of DX.
50874         (csloww1): Likewise.
50875         (sloww2): Use X directly and don't adjust sign of DX.
50876         (csloww2): Likewise.
50878 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50880         * math/auto-libm-test-in: Add tests of cabs and carg.
50881         * math/auto-libm-test-out: Regenerated.
50882         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
50883         (carg_test_data): Likewise.
50884         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50885         mpc_c_f.
50886         (func_calc_desc): Add mpc_c_f union field.
50887         (test_functions): Add cabs and carg.
50888         (calc_generic_results): Handle mpc_c_f.
50890         * sysdeps/powerpc/powerpc32/libgcc-compat.S
50891         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
50892         as a macro and a compat symbol.
50893         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
50894         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
50895         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
50896         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
50897         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
50898         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
50899         not use .hidden.
50900         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
50901         Likewise.
50902         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
50903         Likewise.
50904         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
50905         Likewise.
50906         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
50907         Likewise.
50908         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
50909         Likewise.
50910         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
50911         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
50912         from GLIBC_2.3.2.
50914 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50918 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50920         * manual/texinfo.tex: Update to version 2013-11-26.10 with
50921         trailing whitespace removed.
50922         * scripts/config.guess: Update to version 2013-11-29.
50923         * scripts/config.sub: Update to version 2013-10-01.
50925         * math/auto-libm-test-in: Add tests of sincos.
50926         * math/auto-libm-test-out: Regenerated.
50927         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
50928         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50929         mpfr_f_11.
50930         (func_calc_desc): Add mpfr_f_11 union field.
50931         (test_functions): Add sincos.
50932         (calc_generic_results): Handle mpfr_f_11.
50933         * sysdeps/i386/fpu/libm-test-ulps: Update.
50934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50936 2013-12-19  Andreas Schwab  <schwab@suse.de>
50938         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
50939         CALL_MCOUNT.
50940         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
50941         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
50942         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
50944 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
50946         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
50947         * sysdeps/i386/fpu/libm-test-ulps: Update.
50948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50950         [BZ #16293]
50951         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
50952         round-to-nearest mode when using frndint.
50953         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
50954         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
50955         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
50956         Likewise.
50957         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
50958         sinh test to fail.
50959         * math/auto-libm-test-out: Regenerated.
50960         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
50961         (TEST_COND_x86): Likewise.
50962         (expm1_tonearest_test_data): New array.
50963         (expm1_test_tonearest): New function.
50964         (expm1_towardzero_test_data): New array.
50965         (expm1_test_towardzero): New function.
50966         (expm1_downward_test_data): New array.
50967         (expm1_test_downward): New function.
50968         (expm1_upward_test_data): New array.
50969         (expm1_test_upward): New function.
50970         (main): Run the new test functions.
50971         * sysdeps/i386/fpu/libm-test-ulps: Update.
50972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50974         * include/features.h: Update comment documenting feature test
50975         macros.  Mention _DEFAULT_SOURCE in comment.
50976         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
50977         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
50978         _BSD_SOURCE and _SVID_SOURCE.
50979         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
50980         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
50981         !_SVID_SOURCE]: Likewise.
50982         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50983         (__USE_POSIX_IMPLICITLY): Define.
50984         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50985         (_POSIX_SOURCE): Undefine and redefine.
50986         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
50987         (_POSIX_C_SOURCE): Likewise.
50988         * manual/creature.texi (_DEFAULT_SOURCE): Document.
50989         (Feature Test Macros): Update documentation of default features.
50991 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50993         * benchtests/Makefile: Add bench-strtok.
50994         * benchtests/bench-strtok.c: New file: strtok benchtest.
50996 2013-12-19  Allan McRae  <allan@archlinux.org>
50998         * manual/install.texi: Suppress menu for plain text output.
50999         * INSTALL: Regenerated.
51001 2013-12-18  Brooks Moses  <bmoses@google.com>
51003         [BZ #15846]
51004         * misc/getauxval.c: Include errno.h.
51005         (__getauxval): Set errno to ENOENT if the requested type is not
51006         found.
51007         * misc/sys/auxv.h (getauxval): Document that it may set errno;
51008         don't declare with __attribute_const__.
51009         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
51010         * manual/startup.texi: Document that getauxval sets errno.
51012 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51014         * math/auto-libm-test-in: Add tests of jn and yn.
51015         * math/auto-libm-test-out: Regenerated.
51016         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
51017         (yn_test_data): Likewise.
51018         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51019         mpfr_if_f.
51020         (func_calc_desc): Add mpfr_if_f union field.
51021         (FUNC_mpfr_if_f): New macro.
51022         (test_functions): Add jn and yn.
51023         (calc_generic_results): Assert type of second input for
51024         mpfr_ff_f.  Handle mpfr_if_f.
51025         (output_for_one_input_case): Disable all checking for arguments
51026         fitting floating-point types in case of an integer argument.
51027         * sysdeps/i386/fpu/libm-test-ulps: Update.
51028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51031         Don't expect fegetround reference in libm.so.
51033 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51035         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
51036         $(config-cflags-nofma).
51038 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51040         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
51041         * math/auto-libm-test-out: Regenerated.
51043         [BZ #16338]
51044         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
51045         to determine exponent and adjust argument to have exponent of -1.
51046         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
51047         log2.
51048         * math/auto-libm-test-out: Regenerated.
51049         * sysdeps/i386/fpu/libm-test-ulps: Update.
51050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51052 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
51054         * manual/probes.texi: Remove cases when per-thread arenas are
51055         disabled.
51057 2013-12-18  Andreas Schwab  <schwab@suse.de>
51059         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
51060         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
51061         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
51062         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
51063         * sysdeps/i386/i686/multiarch/Makefile: Update.
51064         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
51066 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51068         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
51069         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
51071 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
51073         [BZ #15968]
51074         Support TZ transition times < 00:00:00.
51075         This is needed for version-3 tz-format files; it supports time
51076         stamps past 2037 for America/Godthab (the only entry in the tz
51077         database for which this change is relevant).
51078         * manual/time.texi (TZ Variable): Document transition times
51079         from -167:59:59 through -00:00:01.
51080         * time/tzset.c (tz_rule): Time of day is now signed.
51081         (__tzset_parse_tz): Parse negative time of day.
51083         Document TZ transition times >= 25:00:00.
51084         * manual/time.texi (TZ Variable): Document transition times from
51085         25:00:00 through 167:59:59.  These are already supported, and this
51086         support will help with version-3 tz-format files.
51088         * manual/time.texi (TZ Variable): Modernize North America example
51089         to reflect current (i.e., 2007-and-later) daylight saving rules.
51091         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
51093 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51095         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
51096         * sysdeps/unix/bsd/bits/stat.h: Likewise.
51097         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
51098         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51099         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
51100         * sysdeps/unix/bsd/bsdstat.h: Likewise.
51101         * sysdeps/unix/bsd/clock.c: Likewise.
51102         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
51103         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
51104         * sysdeps/unix/bsd/init-posix.c: Likewise.
51105         * sysdeps/unix/bsd/poll.c: Likewise.
51106         * sysdeps/unix/bsd/ptsname.c: Likewise.
51107         * sysdeps/unix/bsd/seekdir.c: Likewise.
51108         * sysdeps/unix/bsd/setegid.c: Likewise.
51109         * sysdeps/unix/bsd/seteuid.c: Likewise.
51110         * sysdeps/unix/bsd/setgid.c: Likewise.
51111         * sysdeps/unix/bsd/setrgid.c: Likewise.
51112         * sysdeps/unix/bsd/setruid.c: Likewise.
51113         * sysdeps/unix/bsd/setsid.c: Likewise.
51114         * sysdeps/unix/bsd/setuid.c: Likewise.
51115         * sysdeps/unix/bsd/sigaction.c: Likewise.
51116         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
51117         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
51118         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
51119         * sysdeps/unix/bsd/telldir.c: Likewise.
51120         * sysdeps/unix/bsd/times.c: Likewise.
51121         * sysdeps/unix/bsd/usleep.c: Likewise.
51123         * misc/Makefile (install-lib): Remove libbsd-compat.a.
51124         ($(objpfx)libbsd-compat.a): Remove rule.
51126         * include/features.h (__FAVOR_BSD): Do not define.
51127         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
51128         features conflicting with POSIX.
51129         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
51130         (_BSD_SOURCE): Remove description of not being a subset of other
51131         feature test macros.
51132         * manual/job.texi (getpgrp): Do not document BSD version.
51133         (getpgid): Do not document by reference to BSD getpgrp.
51134         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
51135         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
51136         * signal/signal.h [__FAVOR_BSD]: Likewise.
51137         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
51138         instead of making contents conditional on [__FAVOR_BSD].
51139         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
51141 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51145 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51147         [BZ #16314]
51148         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
51149         values below 2**-450, not 2**-500.
51150         * math/auto-libm-test-in: Don't allow spurious underflow from
51151         hypot.
51152         * math/auto-libm-test-out: Regenerated.
51154         [BZ #16316]
51155         [BZ #16330]
51156         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
51157         values of ha and hb and sort them after adjusting subnormal
51158         arguments.
51159         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
51160         Likewise.
51161         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
51162         values of ea and eb and sort them after adjusting subnormal
51163         arguments.
51164         * math/auto-libm-test-in: Do not expect some hypot tests of
51165         subnormals to fail.  Add more hypot tests.
51166         * math/auto-libm-test-out: Regenerated.
51168 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51170         [BZ #13304]
51171         * sysdeps/sh/s_fma.c: New file.
51172         * sysdeps/sh/s_fmaf.c: New file.
51173         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
51174         version.
51175         * sysdeps/sh/Implies: Add sh/soft-fp.
51177 2013-12-16  Roland McGrath  <roland@hack.frob.com>
51179         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
51180         level of indirection to members `objname', `errstring', `malloced'.
51181         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
51182         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
51183         it as the __longjmp argument (just pass 1 instead).
51184         (_dl_catch_error): Initialize C with argument pointers and address of
51185         volatile local ERRCODE rather than copying values out of C at return.
51187 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
51189         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
51190         * math/auto-libm-test-out: Regenerated.
51191         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
51192         (hypot_test_data): Likewise.
51193         (pow_test_data): Likewise.
51194         (pow_tonearest_test_data): Likewise.
51195         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51196         mpfr_ff_f.
51197         (func_calc_desc): Add mpfr_ff_f union field.
51198         (FUNC_mpfr_ff_f): New macro.
51199         (test_functions): Add atan2, hypot and pow.
51200         (special_fill_min): New function.
51201         (special_fill_minus_min): Likewise.
51202         (special_fill_min_subnorm): Likewise.
51203         (special_fill_minus_min_subnorm): Likewise.
51204         (special_real_inputs): Add min, -min, min_subnorm and
51205         -min_subnorm.
51206         (calc_generic_results): Handle mpfr_ff_f.
51207         * sysdeps/i386/fpu/libm-test-ulps: Update.
51208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51210 2013-12-16  Will Newton  <will.newton@linaro.org>
51212         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
51213         (Aligned Memory Blocks): Add documentation for aligned_alloc
51214         and suggest it as an alternative to posix_memalign.
51215         (Hooks for Malloc): Document __memalign_hook is also called
51216         for aligned_alloc.  (Summary of Malloc): Add summary for
51217         aligned alloc.  Document __memalign_hook is also called
51218         for aligned_alloc.
51220 2013-12-16  Will Newton  <will.newton@linaro.org>
51222         * manual/memory.texi (Malloc Examples): Clarify default
51223         alignment documentation.  Suggest posix_memalign rather
51224         than memalign or valloc.
51225         (Aligned Memory Blocks): Remove suggestion to use memalign
51226         or valloc.  Remove obsolete comment about BSD.
51227         Document memalign errno values and mark the function obsolete.
51228         Document posix_memalign returned error codes.  Mark valloc
51229         as obsolete.  (Hooks for Malloc): __memalign_hook is also
51230         called for posix_memalign and valloc.
51231         (Summary of Malloc): Add posix_memalign to function summary.
51232         __memalign_hook is also called for posix_memalign and valloc.
51234 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51236         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
51237         TAYLOR_SIN.
51238         (__sin): Adjust.
51239         (__cos): Likewise.
51240         (sloww): Use mynumber union.  Expand ternary operator into
51241         if-else statements.
51242         (cslow): use mynumber union.
51244 2013-12-16  Allan McRae  <allan@archlinux.org>
51246         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
51247         * configure: Regenerated.
51249         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
51251         [BZ #14120]
51252         * configure.ac: Added --enable-maintainer-mode. Check for
51253         autoconf when enabled.
51254         * configure: Regenerated.
51256         * nscd/nscd.service: New file.
51257         * nscd/nscd.tmpfiles: New file.
51259 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
51261         [BZ #12100]
51262         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
51263         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
51264         * sysdeps/x86_64/multiarch/strstr.c: ... here.
51265         (strstr): Add __strstr_sse2_unaligned ifunc.
51266         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
51267         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
51268         (strcasestr): Remove __strcasestr_sse42 ifunc.
51269         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
51270         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51271         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51273 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51275         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
51276         * sysdeps/sh/bits/fenv.h: ... here.
51277         * sysdeps/sh/sh4/fpu/bits: Remove directory.
51279 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51281         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
51283         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
51284         hypotf multiarch implementations.
51285         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
51286         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
51287         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
51288         multiarch hypot for PPC64.
51289         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
51290         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
51291         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
51292         multiarch hypotf for PPC64.
51294         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
51295         modff multiarch implementations.
51296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
51297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
51298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
51299         multiarch modf for PPC64.
51300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
51301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
51302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
51303         multiarch modff for PPC64.
51305         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
51306         and logl multiarch implementations.
51307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
51308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
51309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
51310         multiarch logb for PPC64.
51311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
51312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
51313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
51314         multiarch logb for PPC64.
51315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
51316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
51317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
51318         multiarch logb for PPC64.
51320         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
51321         isinff multiarch implementation.
51322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
51323         file.
51324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
51325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
51326         multiarch isinf for PPC64.
51327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
51328         file.
51329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
51330         multiarch isinff for PPC64.
51332         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
51333         finitef multiarch implementation.
51334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
51335         file.
51336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
51337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
51338         multiarch finite for PPC64.
51339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
51340         file.
51341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
51342         multiarch finitef for PPC64.
51344         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
51345         lrint multiarch implementation.
51346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
51347         file.
51348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
51349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
51350         multiarch llrint for PPC64.
51351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
51352         multiarch lrint for PPC64.
51354         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
51355         copysignf multiarch implementation.
51356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
51357         file.
51358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
51359         file.
51360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
51361         multiarch copysign for PPC64.
51362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
51363         multiarch copysignf for PPC64.
51365         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
51366         multiarch implementation.
51367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
51368         file.
51369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
51370         file.
51371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
51372         file.
51373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
51374         file.
51375         multiarch llround for PPC64.
51376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
51377         multiarch trunc for PPC64.
51378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
51379         multiarch truncf for PPC64.
51381         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
51382         multiarch implementation.
51383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
51384         file.
51385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
51386         file.
51387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
51388         file.
51389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
51390         file.
51391         multiarch llround for PPC64.
51392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
51393         multiarch round for PPC64.
51394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
51395         multiarch roundf for PPC64.
51397         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
51398         multiarch implementation.
51399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
51400         file.
51401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
51402         file.
51403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
51404         file.
51405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
51406         file.
51407         multiarch llround for PPC64.
51408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
51409         multiarch floor for PPC64.
51410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
51411         multiarch floorf for PPC64.
51413         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
51414         multiarch implementation.
51415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
51416         file.
51417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
51418         file.
51419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
51420         file.
51421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
51422         file.
51423         multiarch llround for PPC64.
51424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
51425         multiarch ceil for PPC64.
51426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
51427         multiarch ceilf for PPC64.
51429         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
51430         multiarch implementation.
51431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
51432         file.
51433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
51434         file.
51435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
51436         file.
51437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
51438         multiarch llround for PPC64.
51439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
51440         multiarch lround for PPC64.
51442         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
51443         multiarch implementation.
51444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
51445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
51446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
51447         file.
51448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
51449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
51450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
51451         multiarch isnan for PPC64.
51452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
51453         multiarch isnanf for PPC64.
51455         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
51456         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
51457         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
51458         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
51459         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
51460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
51462         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
51463         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51464         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51465         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
51468         multiarch implementations.
51469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51470         (__libc_ifunc_impl_list): Likewise.
51471         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
51472         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
51473         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
51474         multiarch stpcpy for PPC64.
51476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
51477         multiarch implementations.
51478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51479         (__libc_ifunc_impl_list): Likewise.
51480         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
51481         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
51482         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
51483         multiarch strcpy for PPC64.
51485         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
51486         redefine function name.
51487         (_wordcopy_fwd_dest_aligned): Likewise.
51488         (_wordcopy_bwd_aligned): Likewise.
51489         (_wordcopy_bwd_dest_aligned): Likewise.
51490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
51491         multiarch implementations.
51492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51493         (__libc_ifunc_impl_list): Likewise.
51494         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
51495         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
51496         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
51497         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
51498         multiarch wcscpy for PPC64.
51500         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
51501         multiarch implementations.
51502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51503         (__libc_ifunc_impl_list): Likewise.
51504         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
51505         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
51506         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
51507         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
51508         multiarch wcscpy for PPC64.
51510         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
51511         multiarch implementations.
51512         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51513         (__libc_ifunc_impl_list): Likewise.
51514         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
51515         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
51516         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
51517         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
51518         multiarch wcsrchr for PPC64.
51520         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
51521         multiarch implementations.
51522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51523         (__libc_ifunc_impl_list): Likewise.
51524         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
51525         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
51526         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
51527         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
51528         multiarch wcschr for PPC64.
51530         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
51531         multiarch implementations.
51532         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51533         (__libc_ifunc_impl_list): Likewise.
51534         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
51535         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
51536         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
51537         multiarch strchrnul for PPC64.
51539         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
51540         implementations.
51541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51542         (__libc_ifunc_impl_list): Likewise.
51543         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
51544         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
51545         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
51546         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
51547         strchr for PPC64.
51549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
51550         implementations.
51551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51552         (__libc_ifunc_impl_list): Likewise.
51553         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
51554         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
51555         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
51556         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
51557         strncmp for PPC64.
51559         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
51560         multiarch implementations.
51561         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51562         (__libc_ifunc_impl_list): Likewise.
51563         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
51564         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
51565         strncasecmp for PPC64.
51566         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
51567         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
51568         multiarch strncasecmp_l for PPC64.
51570         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
51571         multiarch implementations.
51572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51573         (__libc_ifunc_impl_list): Likewise.
51574         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
51575         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
51576         multiarch strcasecmp for PPC64.
51577         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
51578         file.
51579         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
51580         multiarch strcasecmp_l for PPC64.
51582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
51583         implementations.
51584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51585         (__libc_ifunc_impl_list): Likewise.
51586         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
51587         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
51588         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
51589         strnlen for PPC64.
51591         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
51592         implementations.
51593         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51594         (__libc_ifunc_impl_list): Likewise.
51595         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
51596         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
51597         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
51598         strlen for PPC64.
51600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
51601         implementations.
51602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51603         (__libc_ifunc_impl_list): Likewise.
51604         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
51605         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
51606         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
51607         rawmemrchr for PPC64.
51609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
51610         implementation.
51611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51612         (__libc_ifunc_impl_list): Likewise.
51613         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
51614         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
51615         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
51616         memrchr for PPC64.
51618         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
51619         implementation.
51620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51621         (__libc_ifunc_impl_list): Likewise.
51622         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
51623         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
51624         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
51625         memchr for PPC64.
51627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
51628         implementation.
51629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51630         (__libc_ifunc_impl_list): Likewise.
51631         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
51632         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
51633         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
51634         mempcpy for PPC64.
51636         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
51637         avoid cretion of __bzero symbol.
51638         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
51639         Likewise.
51640         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
51641         Likewise.
51642         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
51643         Likewise.
51644         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
51645         multiarch implementations.
51646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51647         (__libc_ifunc_impl_list): Likewise.
51648         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
51649         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
51650         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
51651         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
51652         bzero for PPC32.
51653         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
51654         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
51655         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
51656         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
51657         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
51658         memset for PPC64.
51659         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
51661         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
51662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
51663         implementations.
51664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51665         (__libc_ifunc_impl_list): Likewise.
51666         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
51667         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
51668         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
51669         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
51670         memcmp for PPC64.
51672         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
51673         multiarch for POWER/PPC64.
51674         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
51675         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
51676         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
51677         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
51678         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
51679         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
51680         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
51681         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
51682         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
51683         memcpy for PPC64.
51685         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
51686         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
51687         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
51688         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
51689         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
51690         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
51691         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
51692         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
51693         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
51694         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
51695         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
51696         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
51697         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
51698         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
51699         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
51700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
51701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
51702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
51703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
51704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
51705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
51706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
51708 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51710         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
51712 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51714         * benchtests/Makefile (bench): Add exp2 and log2.
51715         (LDLIBS-bench-exp2): Add -lm.
51716         (LDLIBS-bench-log2): Likewise.
51717         * benchtests/exp2-inputs: New inputs file.
51718         * benchtests/log2-inputs: New inputs file.
51719         * benchtests/log-inputs: Add new inputs.
51720         * benchtests/tan-inputs: Likewise.
51722 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51724         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
51725         definition...
51726         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
51727         (csloww2): ... from here.
51729         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
51730         instead of structures.
51731         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
51732         (POLYNOMIAL): Likewise.
51733         (TAYLOR_SLOW): Likewise.
51734         (__sin): Likewise.
51735         (__cos): Likewise.
51736         (slow1): Likewise.
51737         (slow2): Likewise.
51738         (sloww): Likewise.
51739         (sloww1); Likewise.
51740         (sloww2): Likewise.
51741         (bsloww1): Likewise.
51742         (bsloww2): Likewise.
51743         (cslow2): Likewise.
51744         (csloww): Likewise.
51745         (csloww1): Likewise.
51746         (csloww2): Likewise.
51748 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
51750         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
51751         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
51752         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
51753         * malloc/hooks.c (realloc_check): Likewise.
51755         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
51756         * malloc/arena.c: Remove PER_THREAD conditional.
51757         [!PER_THREAD]: Remove code.
51758         (ptmalloc_unlock_all2): Likewise.
51759         (ptmalloc_init): Likewise.
51760         (_int_new_arena): Likewise.
51761         (arena_get2): Likewise.
51762         * malloc/hooks.c (__malloc_get_state): Likewise.
51763         (__malloc_set_state): Likewise.
51764         * malloc/malloc.c: Likewise.
51765         (struct malloc_state): Likewise.
51766         (struct malloc_par): Likewise.
51767         (__libc_realloc): Likewise.
51768         (__libc_mallopt): Likewise.
51770 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51772         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
51774 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
51776         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
51777         macro to a function.  Check for zero perturb_byte.
51778         (_int_malloc, _int_free): Remove zero perturb_byte checks.
51780         * malloc/malloc.c: (force_reg): Remove.
51781         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
51782         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
51783         force_reg by atomic_forced_read.
51784         * malloc/arena.c (ptmalloc_init): Likewise.
51785         * malloc/hooks.c (top_check): Likewise.
51787 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51791 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
51793         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51795 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
51797         * math/auto-libm-test-in: Add tests of lgamma.
51798         * math/auto-libm-test-out: Regenerated.
51799         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
51800         (M_LOG_2_SQRT_PIl): Likewise.
51801         (lgamma_test_data): Use AUTO_TESTS_f_f1.
51802         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51803         mpfr_f_f1.
51804         (func_calc_desc): Add mpfr_f_f1 union field.
51805         (ARGS1): New macro.
51806         (ARGS2): Likewise.
51807         (ARGS3): Likewise.
51808         (ARGS4): Likewise.
51809         (RET1): Likewise.
51810         (RET2): Likewise.
51811         (CALC): Likewise.
51812         (FUNC): Likewise.
51813         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
51814         (test_functions): Add lgamma.
51815         (calc_generic_results): Handle mpfr_f_f1.
51816         * sysdeps/i386/fpu/libm-test-ulps: Update.
51817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51819 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51821         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
51822         __mpn_add_n for PowerPC64/POWER7.
51823         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
51824         __mpn_sub_n for PowerPC64/POWER7.
51826         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
51827         __mpn_addmul_1 for PowerPC64.
51828         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
51829         __mpn_submul_1 for PowerPC64.
51830         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
51831         for PowerPC64.
51832         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
51833         for PowerPC64.
51835 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
51837         [BZ #15089]
51838         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
51840 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51842         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
51844         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
51845         add multiarch folders.
51846         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
51847         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
51848         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
51849         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
51850         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
51851         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
51852         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
51853         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
51854         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
51855         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
51856         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
51857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
51858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
51859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
51860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
51861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
51862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
51864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
51865         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
51866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
51867         New file.
51868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
51869         New file.
51870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
51871         multiarch __ieee754_hypot for PowerPC32.
51872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
51873         New file.
51874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
51875         New file.
51876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
51877         multiarch __ieee754_hypotf for PowerPC32.
51879         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
51880         long_double_symbol only if __logbl is defined.
51881         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
51882         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
51883         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
51884         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
51885         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
51886         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
51887         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
51888         path for implementation.
51889         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
51890         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
51891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
51892         logb, and logbl multiarch implementations for PowerPC32.
51893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
51894         file.
51895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
51896         file.
51897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
51898         multiarch logb for PowerPC32.
51899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
51900         file.
51901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
51902         file.
51903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
51904         multiarch logbf for PowerPC32.
51905         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
51906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
51907         file.
51908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
51909         multiarch logbl implementation for PowerPC32.
51911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
51912         and modff multiarch implementations.
51913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
51914         New file.
51915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
51916         New file.
51917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
51918         multiarch modf for PowerPC32.
51919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
51920         New file.
51921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
51922         New file.
51923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
51924         multiarch modff for PowerPC32.
51926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
51927         and lrintf multiarch implementations.
51928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
51929         New file.
51930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
51931         New file.
51932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
51933         multiarch lrint for PowerPC32.
51934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
51935         file: multiarch lrintf for PowerPC32.
51937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
51938         and lroundf multiarch implementations.
51939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
51940         New file.
51941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
51942         New file.
51943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
51944         New file.
51945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
51946         multiarch lround for PowerPC32.
51947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
51948         file: multiarch lroundf for PowerPC32.
51950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
51951         copysign and copysignf multiarch implementations.
51952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
51953         New file.
51954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
51955         New file.
51956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
51957         file: multiarch copysign for PowerPC32.
51958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
51959         file: multiarch copysignf for PowerPC32.
51961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
51962         and truncf multiarch implementations.
51963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
51964         New file.
51965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
51966         file.
51967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
51968         multiarch trunc for PowerPC32.
51969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
51970         New file.
51971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
51972         New file.
51973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
51974         multiarch truncf for PowerPC32.
51976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
51977         and roundf multiarch implementations.
51978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
51979         New file.
51980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
51981         file.
51982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
51983         multiarch round for PowerPC32.
51984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
51985         New file.
51986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
51987         New file.
51988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
51989         multiarch roundf for PowerPC32.
51991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
51992         and floorf multiarch implementations.
51993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
51994         New file.
51995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
51996         file.
51997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
51998         multiarch floor for PowerPC32.
51999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
52000         New file.
52001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
52002         New file.
52003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
52004         multiarch floorf for PowerPC32.
52006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
52007         and ceilf multiarch implementations.
52008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
52009         New file.
52010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
52011         file.
52012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
52013         multiarch ceil for PowerPC32.
52014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
52015         New file.
52016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
52017         file.
52018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
52019         multiarch ceilf for PowerPC32.
52021         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
52022         is defined.
52023         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
52024         FINITEF is defined.
52025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
52026         and finitef multiarch implementations.
52027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
52028         New file.
52029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
52030         file.
52031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
52032         multiarch finite for PowerPC32.
52033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
52034         New file.
52035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
52036         file: multiarch finitef for PowerPC32.
52038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
52039         and isinff multiarch implementations.
52040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
52041         file.
52042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
52043         file.
52044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
52045         multiarch isinf for PowerPC32.
52046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
52047         New file.
52048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
52049         multiarch isinff for PowerPC32.
52051         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
52052         alias when __isnan is defined.
52053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
52054         and isnanf multiarch implementations.
52055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
52056         file.
52057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
52058         file.
52059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
52060         file.
52061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
52062         file.
52063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
52064         multiarch isnan for PowerPC32.
52065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
52066         New file.
52067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
52068         New file.
52069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
52070         multiarch isnanf for PowerPC32.
52072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
52073         and sqrtf multiarch implementations.
52074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
52075         file.
52076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
52077         file.
52078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
52079         multiarch sqrt for PowerPC32.
52080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
52081         file.
52082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
52083         file.
52084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
52085         multiarch sqrtf for PowerPC32.
52087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
52088         and llroundf multiarch implementations.
52089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
52090         New file.
52091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
52092         New file.
52093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
52094         New file.
52095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
52096         file: multiarch llround for PowerPC32.
52097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
52098         file: multiarch llroundf for PowerPC32.
52100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
52101         multiarch PowerPC32 fpu implementations.
52102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
52103         New file.
52104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
52105         New file.
52106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
52107         multiarch llrint for PowerPC32.
52108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
52109         New file.
52110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
52111         New file.
52112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
52113         file.
52115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
52117         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
52118         file.
52119         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
52120         file.
52121         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
52122         file.
52123         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
52124         multiarch wordcopy for PPC32.
52125         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52126         wordcopy objects.
52127         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52128         (__libc_ifunc_impl_list): Likewise.
52129         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
52130         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
52131         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
52132         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
52133         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
52134         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
52136         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
52137         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
52138         file.
52139         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
52140         file.
52141         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
52142         file.
52143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
52144         multiarch wcscpy for PPC32.
52145         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52146         multiarch objects.
52147         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52148         (__libc_ifunc_impl_list): Likewise.
52149         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52150         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52151         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
52152         sysdeps/powerpc/power6/wcscpy.c.
52154         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
52155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
52156         file.
52157         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
52158         file.
52159         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
52160         file.
52161         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
52162         multiarch wcsrchr for PPC32.
52163         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52164         multiarch objects.
52165         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52166         (__libc_ifunc_impl_list): Likewise.
52167         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52168         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52169         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
52170         sysdeps/powerpc/power6/wcsrchr.c.
52172         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
52173         file.
52174         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
52175         file.
52176         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
52177         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
52178         multiarch wcschr for PPc32.
52179         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52180         multiarch objects.
52181         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52182         (__libc_ifunc_impl_list): Likewise.
52183         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
52184         * sysdeps/powerpc/power6/wcschr.c: ... to here.
52185         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
52186         sysdeps/powerpc/power6/wcschr.c.
52188         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
52189         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
52190         file.
52191         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
52192         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
52193         file: multiarch strchr for PPC32.
52194         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
52195         multiarch objects.
52196         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52197         (__libc_ifunc_impl_list): Likewise.
52199         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
52200         name.
52201         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
52202         file.
52203         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
52204         file.
52205         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
52206         multiarch strchrnul for PPC32.
52207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
52208         multiarch objects.
52209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52210         (__libc_ifunc_impl_list): Likewise.
52212         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
52213         file.
52214         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
52215         multiarch strncasecmp for PPC32.
52216         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
52217         file.
52218         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
52219         multiarch strncasecmp_l for PPC32.
52220         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
52221         strncasecmp multiarch objects.
52222         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52223         (__libc_ifunc_impl_list): Likewise.
52225         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
52226         file.
52227         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
52228         multiarch strncasecmp for PPC32.
52229         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
52230         New file.
52231         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
52232         multiarch strcasecmp_l for PPC32.
52233         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
52234         multiarch objects.
52235         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52236         (__libc_ifunc_impl_list): Likewise.
52238         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
52239         file.
52240         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
52241         file.
52242         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
52243         multiarch strncmp for PPC32.
52244         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
52245         multiarch objects.
52246         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52247         (__libc_ifunc_impl_list): Likewise.
52249         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
52250         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
52251         file.
52252         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
52253         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
52254         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
52255         multiarch objects.
52256         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52257         (__libc_ifunc_impl_list): Likewise.
52259         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
52260         file.
52261         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
52262         file.
52263         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
52264         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
52265         multiarch objects.
52266         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52267         (__libc_ifunc_impl_list): Likewise.
52269         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
52270         file.
52271         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
52272         file.
52273         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
52274         multiarch rawmemchr for PPC32.
52275         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
52276         multiarch objects.
52277         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52278         (__libc_ifunc_impl_list): Likewise.
52280         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
52281         file.
52282         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
52283         file.
52284         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
52285         file: memrchr multiarch for PPC32.
52286         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
52287         multiarch objects.
52288         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52289         (__libc_ifunc_impl_list): Likewise.
52291         * string/memchr.c (__memchr): Using macro to redefine symbol name.
52292         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
52293         file.
52294         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
52295         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
52296         multiarch memchr for PPC32.
52297         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
52298         multiarch objects.
52299         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52300         (__libc_ifunc_impl_list): Likewise.
52302         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
52303         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
52304         file.
52305         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
52306         file.
52307         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
52308         file: multiarch mempcpy for PPC32.
52309         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
52310         multiarch objects.
52311         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52312         (__libc_ifunc_impl_list): Likewise.
52314         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
52315         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
52316         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
52317         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
52318         multiarch bzero for PPC32.
52319         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
52320         file.
52321         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
52322         file.
52323         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
52324         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
52325         file: multiarch memset for PPC32.
52326         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
52327         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
52328         memset multiarch objects.
52329         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52330         (__libc_ifunc_impl_list): Likewise.
52332         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
52333         file.
52334         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
52335         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
52336         memcmp for PPC32.
52337         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
52338         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
52339         multiarch objects.
52340         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52341         (__libc_ifunc_impl_list): Likewise.
52343         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
52344         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
52345         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
52346         file.
52347         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
52348         file.
52349         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
52350         file.
52351         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
52352         multiarch memcpy for PPC32.
52353         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
52354         multiarch objects.
52355         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52356         (__libc_ifunc_impl_list): Likewise.
52358         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
52359         support multiarch for POWER/PPC32.
52360         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
52361         Likewise.
52362         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
52363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
52364         Implies file to make multiarch folder appers before the fpu and
52365         default folder for power4 configuration.
52367 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52369         * scripts/bench.pl: Append volatile keyword to type.
52371 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52373         * sysdeps/sh/sotruss-lib.c: New file.
52374         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
52376 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52380 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
52382         [BZ #6810]
52383         * math/w_tgamma.c: Include <errno.h>.
52384         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
52385         * math/w_tgammaf.c: Include <errno.h>.
52386         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
52387         * math/w_tgammal.c: Include <errno.h>.
52388         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
52389         * math/auto-libm-test-in: Do not allow missing errno on tgamma
52390         underflow.  Add more tgamma tests.
52391         * math/auto-libm-test-out: Regenerated.
52392         * sysdeps/i386/fpu/libm-test-ulps: Update.
52393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52395         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
52396         sin, sinh, tan, tanh, tgamma, y0 and y1.
52397         * math/auto-libm-test-out: Regenerated.
52398         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52399         (TEST_COND_x86): Likewise.
52400         (M_E2l): Remove macro.
52401         (M_E3l): Likewise.
52402         (M_2_SQRT_PIl): Likewise.
52403         (M_SQRT_PIl): Likewise.
52404         (M_1_DIV_El): Likewise.
52405         (log_test_data): Use AUTO_TESTS_f_f.
52406         (log10_test_data): Likewise.
52407         (log1p_test_data): Likewise.
52408         (log2_test_data): Likewise.
52409         (sin_test_data): Likewise.
52410         (sin_tonearest_test_data): Likewise.
52411         (sin_towardzero_test_data): Likewise.
52412         (sin_downward_test_data): Likewise.
52413         (sin_upward_test_data): Likewise.
52414         (sinh_test_data): Likewise.
52415         (sinh_tonearest_test_data): Likewise.
52416         (sinh_towardzero_test_data): Likewise.
52417         (sinh_downward_test_data): Likewise.
52418         (sinh_upward_test_data): Likewise.
52419         (tan_test_data): Likewise.
52420         (tan_tonearest_test_data): Likewise.
52421         (tan_towardzero_test_data): Likewise.
52422         (tan_downward_test_data): Likewise.
52423         (tan_upward_test_data): Likewise.
52424         (tanh_test_data): Likewise.
52425         (tgamma_test_data): Likewise.
52426         (y0_test_data): Likewise.
52427         (y1_test_data): Likewise.
52428         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
52429         (special_real_inputs): Add pi/4.
52430         * sysdeps/i386/fpu/libm-test-ulps: Update.
52431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52433 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52435         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
52436         "longjmp_target" static probes.
52437         (__longjmp): Rename to __longjmp_symbol.
52438         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52439         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
52440         on which longjmp to generate.
52441         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52442         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
52443         probe.
52444         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52445         (__sigjmp_save): Rename to __sigjmp_save_symbol.
52446         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
52447         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
52448         and __sigjmp_save_symbol based on which sigsetjmp to generated.
52449         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
52451         __longjmp_symbol based on which __longjmp to generate.
52452         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
52453         probe.
52454         (setjmp): Rename to setjmp_symbol.
52455         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52456         (_setjmp): Rename to _setjmp_symbol.
52457         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52458         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
52459         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
52460         which setjmp to generate.
52461         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
52462         "longjmp_target" static probes.
52464 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52466         * benchtests/README: Add note about output arguments.
52467         * benchtests/bench-sincos.c: Remove file.
52468         * benchtests/sincos-inputs: New file.
52469         * scripts/bench.pl: Identify output arguments and define
52470         static variables for them.
52472         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
52474         [BZ #15941]
52475         * Makefile (INSTALL): Add install-plain.texi as the primary
52476         dependency.
52477         * manual/install-plain.texi: New file.
52478         * manual/install.texi: Include node directive only for
52479         non-plaintext output.
52481 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
52483         * stdlib/longlong.h: Update from GCC.
52485         [BZ #6807]
52486         [BZ #15901]
52487         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
52488         * math/w_j0f.c (y0f): Likewise.
52489         * math/w_j0l.c (__y0l): Likewise.
52490         * math/w_j1.c (y1): Likewise.
52491         * math/w_j1f.c (y1f): Likewise.
52492         * math/w_j1l.c (__y1l): Likewise.
52493         * math/w_jn.c (yn): Likewise.
52494         * math/w_jnf.c (ynf): Likewise.
52495         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
52496         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
52497         value for Bessel function domain errors outside _SVID_ mode.
52498         Adjust sign of return value for yn (negative integer, 0).
52499         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
52500         by zero in return for negative x and set sign appropriately for
52501         negative n.
52502         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
52503         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
52504         * math/libm-test.inc (y0_test_data): Add more tests and adjust
52505         expectations in error cases.
52506         (y1_test_data): Likewise.
52507         (yn_test_data): Likewise.
52508         * sysdeps/i386/fpu/libm-test-ulps: Update.
52509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52511 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52513         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
52514         "64" to "64-v1".  Add "64-v2".
52515         (abi-64-options): Rename to ...
52516         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
52517         (abi-64-condition): Rename to ...
52518         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
52519         (abi-64-ld-soname): Rename to ...
52520         (abi-64-v1-ld-soname): ... this.
52521         (abi-64-v2-options): Define.
52522         (abi-64-v2-condition): Likewise.
52523         (abi-64-v2-ld-soname): Likewise.
52524         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
52525         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
52526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
52527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
52528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
52530 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52531             Alan Modra  <amodra@gmail.com>
52533         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
52534         New versions for use with the ELFv2 ABI.
52535         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
52536         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
52537         declaration.
52538         (struct La_ppc64v2_retval): Likewise.
52539         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
52540         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
52541         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
52542         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
52543         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
52544         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52545         Do not save or restore CR.
52546         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
52547         (_dl_profile_resolve): Do no save or restore CR.  Support extended
52548         return values for ELFv2 ABI.  Fix location of FPR return registers.
52549         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
52550         updated values for _CALL_ELF == 2.
52551         (La_regs, La_retval, int_retval): Likewise.
52553 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52555         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
52556         (FRAME_MIN_SIZE_PARM): Likewise.
52557         (FRAME_BACKCHAIN): Likewise.
52558         (FRAME_CR_SAVE): Likewise.
52559         (FRAME_LR_SAVE): Likewise.
52560         (FRAME_TOC_SAVE): Likewise.
52561         (FRAME_PARM_SAVE): Likewise.
52562         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
52563         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
52564         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
52565         (call_mcount_parm_offset): New macro.
52566         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
52567         (PROF): Use symbolic stack frame offsets.
52568         (TAIL_CALL_SYSCALL_ERROR): Likewise.
52569         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
52570         Redefine in terms of FRAME_MIN_SIZE.
52571         (_dl_runtime_resolve): Use symbolic stack frame offsets.
52572         (_dl_profile_resolve): Likewise.  Update comment.
52573         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
52574         symbols stack frame offsets.
52575         (__sigsetjmp): Likewise.
52576         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
52577         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
52578         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
52579         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
52581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
52582         (FRAME_BACKCHAIN): Remove.
52583         (FRAME_CR_SAVE): Likewise.
52584         (FRAME_LR_SAVE): Likewise.
52585         (FRAME_COMPILER_DW): Likewise.
52586         (FRAME_LINKER_DW): Likewise.
52587         (FRAME_TOC_SAVE): Likewise.
52588         (FRAME_PARM_SAVE): Likewise.
52589         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
52590         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
52591         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
52592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
52593         (CHECK_SP): Use symbolic stack frame offsets.
52594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
52595         zone" instead of caller's parameter save area for temp storage.
52596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52597         Likewise.  Also, use symbolic stack frame offsets.
52598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
52599         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
52600         our own stack frame instead of the caller's.
52601         (__socket): Use symbolic stack frame offsets.
52603 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52604             Alan Modra  <amodra@gmail.com>
52606         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
52607         Define.
52608         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
52609         (PPC64_LOCAL_ENTRY_OFFSET): Define.
52610         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
52611         New function.
52612         (elf_machine_fixup_plt): Call it.
52613         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
52614         reloc arguments.
52615         (elf_machine_rela): Update call to elf_machine_plt_conflict.
52616         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
52617         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
52618         r2 before calling target.
52620 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52621             Alan Modra  <amodra@gmail.com>
52623         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
52624         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
52625         versions of macros to support ELFv2 ABI.
52626         (LOCALENTRY): New macro.
52627         (ENTRY, EALIGN): Use it.
52628         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
52629         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
52630         fall through into ENTRY entry point.
52631         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
52632         Only define if _CALL_ELF != 2.
52634         (elf_machine_matches_host): Verify ABI version matches.
52635         (RTLD_START): Use LOCALENTRY.
52636         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
52637         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
52638         (PLT_ENTRY_WORDS): New macro.
52639         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
52640         (elf_machine_runtime_setup): Support ELFv2 ABI.
52641         (elf_machine_fixup_plt): Likewise.
52642         (elf_machine_plt_conflict): Likewise.
52643         (resolve_ifunc): Likewise.
52644         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
52645         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
52646         Likewise.
52647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
52648         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
52649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52650         (makecontext): Support ELFv2 ABI.
52651         * elf/elf.h (EF_PPC64_ABI): Define.
52653 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52655         * sysdeps/powerpc/powerpc64/sysdep.h
52656         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
52657         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
52658         (ENTRY) [ASSEMBLER]: ... but instead here ...
52659         (EALIGN) [ASSEMBLER]: ... and here.
52660         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
52661         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
52662         (ENTRY_2) [!ASSEMBLER]: Use it.
52663         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
52664         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
52665         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
52666         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
52667         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
52668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
52669         Use PPC64_LOAD_FUNCPTR.
52671         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
52673 2013-12-04  Alan Modra  <amodra@gmail.com>
52675         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
52676         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
52677         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
52678         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
52680         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
52681         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
52682         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
52683         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
52684         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
52685         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
52687 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52690         (__makecontext): Fix incorrect CFI when backtracing out of
52691         context created via makecontext.
52692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
52693         (__setcontext): Fix incorrect CFI during switch to new context.
52694         (__novec_setcontext): Likewise.
52696 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
52698         [BZ #4772]
52699         * time/strptime_l.c (__strptime_internal): Allow modifiers
52700         in strptime.
52701         * time/tst-strptime.c (day_tests): Add testcase.
52703 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52705         * scripts/bench.pl: Skip over blank lines.
52707 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
52709         [BZ #926]
52710         * manual/time.texi (Calendar Time): Clarify what timezone functions
52711         use.
52713 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52717 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
52719         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
52720         implementation.
52721         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
52722         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
52723         * debug/memset_chk.c (__memset_chk): Likewise.
52724         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
52725         * debug/strncpy_chk.c: Likewise.
52727 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
52729         [BZ #15268]
52730         [BZ #15425]
52731         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
52732         (__ieee754_exp): For possibly underflowing results, check size of
52733         result and force underflow exception if required.
52734         * math/auto-libm-test-in: Add more tests of exp.
52735         * math/auto-libm-test-out: Regenerated.
52736         * sysdeps/i386/fpu/libm-test-ulps: Update.
52737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52739         [BZ #16283]
52740         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
52741         * math/w_exp2f.c (__exp2f): Likewise.
52742         * math/w_exp2l.c (__exp2l): Likewise.
52743         * math/auto-libm-test-in: Do not allow missing errno on exp2
52744         underflow.
52745         * math/auto-libm-test-out: Regenerated.
52747 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
52749         [BZ #16274]
52750         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
52751         handle filename validation.
52752         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
52753         (do_open): Delete.
52755 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
52757         [BZ #6786]
52758         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
52759         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
52760         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
52761         <float.h>.
52762         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
52763         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
52764         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52765         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
52766         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52767         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
52768         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52769         * math/auto-libm-test-in: Don't allow missing errno from erfc.
52770         Add more erfc tests.
52771         * math/auto-libm-test-out: Regenerated.
52772         * sysdeps/i386/fpu/libm-test-ulps: Update.
52773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52775         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
52776         exp2, expm1, j0 and j1.
52777         * math/auto-libm-test-out: Regenerated.
52778         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
52779         (erfc_test_data): Likewise.
52780         (exp_test_data): Likewise.
52781         (exp_tonearest_test_data): Likewise.
52782         (exp_towardzero_test_data): Likewise.
52783         (exp_downward_test_data): Likewise.
52784         (exp_upward_test_data): Likewise.
52785         (exp10_test_data): Likewise.
52786         (exp2_test_data): Likewise.
52787         (expm1_test_data): Likewise.
52788         (j0_test_data): Likewise.
52789         (j1_test_data): Likewise.
52790         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
52791         (input_flag_type): Add flag_xfail_rounding.
52792         (input_flags): Add xfail-rounding.
52793         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
52794         (output_for_one_input_case): Handle flag_xfail_rounding.
52795         * sysdeps/i386/fpu/libm-test-ulps: Update.
52796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52798 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
52800         [BZ #16289]
52801         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
52802         division by 0.
52804 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52806         [BZ #16195]
52807         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
52808         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
52809         (STAP_PROBE0): New macro.
52810         (STAP_PROBE1): Likewise.
52811         (STAP_PROBE2): Likewise.
52812         (STAP_PROBE3): Likewise.
52813         (STAP_PROBE4): Likewise.
52815 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
52817         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
52819 2013-12-02  Steve Ellcey  <sellcey@mips.com>
52821         * benchtests/Makefile (bench): Add sqrt.
52822         (LDLIBS-bench-sqrt): New.
52823         * benchtests/sqrt-input: New.
52825 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
52827         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
52828         (GAIH_EAI): Likewise.
52829         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
52830         (gaih_inet): Likewise.
52831         (getaddrinfo): Don't use GAIH_EAI.
52833         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
52834         (struct gaih): Remove definition.
52836 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52838         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
52839         Use HERRNOP directly.
52841 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52845 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
52847         * math/gen-auto-libm-tests.c (test_functions): Add more
52848         single-argument functions.
52849         (special_fill_pi_2): New function.
52850         (special_fill_minus_pi_2): Likewise.
52851         (special_fill_pi_6): Likewise.
52852         (special_fill_minus_pi_6): Likewise.
52853         (special_fill_pi_3): Likewise.
52854         (special_fill_2pi_3): Likewise.
52855         (special_fill_e): Likewise.
52856         (special_fill_1_e): Likewise.
52857         (special_fill_e_minus_1): Likewise.
52858         (special_real_inputs): Add more special inputs.
52859         (output_for_one_input_case): Do not require ERANGE on underflow to
52860         zero if round-to-nearest result does not underflow to zero, unless
52861         exact results required.
52862         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
52863         atan, atanh, cbrt, cos and cosh.
52864         * math/auto-libm-test-out: Regenerated.
52865         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
52866         (acos_tonearest_test_data): Likewise.
52867         (acos_towardzero_test_data): Likewise.
52868         (acos_downward_test_data): Likewise.
52869         (acos_upward_test_data): Likewise.
52870         (acosh_test_data): Likewise.
52871         (asin_test_data): Likewise.
52872         (asin_tonearest_test_data): Likewise.
52873         (asin_towardzero_test_data): Likewise.
52874         (asin_upward_test_data): Likewise.
52875         (asinh_test_data): Likewise.
52876         (atan_test_data): Likewise.
52877         (atanh_test_data): Likewise.
52878         (cbrt_test_data): Likewise.
52879         (cos_test_data): Likewise.
52880         (cos_tonearest_test_data): Likewise.
52881         (cos_towardzero_test_data): Likewise.
52882         (cos_downward_test_data): Likewise.
52883         (cos_upward_test_data): Likewise.
52884         (cosh_test_data): Likewise.
52885         (cosh_tonearest_test_data): Likewise.
52886         (cosh_towardzero_test_data): Likewise.
52887         (cosh_downward_test_data): Likewise.
52888         (cosh_upward_test_data): Likewise.
52889         * sysdeps/i386/fpu/libm-test-ulps: Update.
52890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52892 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
52894         [BZ #6787]
52895         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
52896         * math/w_exp10f.c (__exp10f): Likewise.
52897         * math/w_exp10l.c (__exp10l): Likewise.
52898         * math/libm-test.inc (exp10_test_data): Add more tests and expect
52899         errno settings in existing tests.
52901         [BZ #14032]
52902         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
52903         precision control set to double precision.
52904         * sysdeps/i386/fpu/w_sqrt.c: New file.
52905         * math/auto-libm-test-in: Add more tests.
52906         * math/auto-libm-test-out: Update.
52908         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
52909         (sqrt_test_tonearest): New function.
52910         (sqrt_towardzero_test_data): New variable.
52911         (sqrt_test_towardzero): New function.
52912         (sqrt_downward_test_data): New variable.
52913         (sqrt_test_downward): New function.
52914         (sqrt_upward_test_data): New variable.
52915         (sqrt_test_upward): New function.
52916         (main): Call the new functions.
52918         * math/gen-auto-libm-tests.c: New file.
52919         * math/auto-libm-test-in: Likewise.
52920         * math/auto-libm-test-out: New generated file.
52921         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
52922         variables.
52923         (%beautify): Add generated representations of zero.
52924         (top level): Set $auto_input and call parse_auto_input.
52925         (beautify): Remove trailing "f" from hex float constants.
52926         (parse_args): Handle XFAIL_TEST.
52927         (convert_condition): New function.
52928         (or_value): Likewise.
52929         (or_cond_value): Likewise.
52930         (generate_testfile): Handle AUTO_TESTS_* lines.
52931         (parse_auto_input): New function.
52932         * math/libm-test.inc (XFAIL_TEST): New macro.
52933         (ERRNO_UNCHANGED): Update value.
52934         (ERRNO_EDOM): Likewise.
52935         (ERRNO_ERANGE): Likewise.
52936         (IGNORE_RESULT): Likewise.
52937         (TEST_COND_flt_32): New macro.
52938         (TEST_COND_dbl_64): Likewise.
52939         (TEST_COND_ldbl_96_intel): Likewise.
52940         (TEST_COND_ldbl_96_m68k): Likewise.
52941         (TEST_COND_ldbl_128): Likewise.
52942         (TEST_COND_ldbl_128ibm): Likewise.
52943         (TEST_COND_long32): Likewise.
52944         (TEST_COND_long64): Likewise.
52945         (TEST_COND_before_rounding): Likewise.
52946         (TEST_COND_after_rounding): Likewise.
52947         (enable_test): Handle XFAIL_TEST flag.
52948         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
52949         with finite results.
52950         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
52951         auto-libm-test-out.
52953 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52954             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52956         [BZ #16214]
52957         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
52958         __tls_get_addr_internal instead of __tls_get_offset in order to
52959         avoid GOT pointer dependency.  Make rtld export
52960         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
52961         __tls_get_addr since we are a __tls_get_offset platform.
52962         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
52963         GOT pointer being set up before.
52964         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
52966 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
52968         * manual/math.texi (Errors in Math Functions): Document accuracy
52969         goals.
52971         [BZ #15004]
52972         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
52973         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
52974         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52975         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52976         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52977         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52978         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52979         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52980         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52981         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52982         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52983         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52984         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52985         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52986         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52987         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52989         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
52990         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
52991         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
52992         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
52993         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
52994         Likewise.
52995         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
52996         Likewise.
52997         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
52998         Likewise.
52999         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
53000         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
53001         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
53002         atomic-feupdateenv and flt-rounds.
53003         * sysdeps/powerpc/nofpu/Versions (libc): Add
53004         __atomic_feholdexcept, __atomic_feclearexcept,
53005         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
53006         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
53007         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
53008         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
53009         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
53010         here.
53011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
53012         Update.
53014         * manual/arith.texi (FP Exceptions): Document that exceptions may
53015         not be raised when matherr is used.
53016         (Math Error Reporting): Document overflow in directed rounding
53017         modes.  Document that errno may not be set when finite values are
53018         returned on overflow.  Document intent to set errno on underflow
53019         only for underflow to zero.
53021         [BZ #16271]
53022         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
53023         round-to-nearest then adjust result for other rounding modes.
53024         * include/fenv.h (fegetround): Use libm_hidden_proto.
53025         * math/fegetround.c (fegetround): Use libm_hidden_def.
53026         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
53027         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
53028         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53029         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
53030         Likewise.
53031         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
53032         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53033         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
53034         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
53036 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53038         [BZ #16077]
53039         * nss/Versions (libnss_files): Add
53040         _nss_files_gethostbyname3_r.
53041         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
53042         New function.
53043         (HOST_DB_LOOKUP): Remove macro.
53044         (_nss_files_gethostbyname_r): Implement function without the
53045         HOST_DB_LOOKUP macro.
53046         (_nss_files_gethostbyname2_r): Likewise.
53048 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
53050         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
53052 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
53054         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
53055         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
53056         warning.
53058 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53060         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
53061         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
53062         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53063         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
53064         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
53065         __fe_nomask_env_priv and attribute_hidden.
53066         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
53067         (libc_feupdateenv_test_ppc): Likewise.
53068         (libc_feresetround_ppc): Likewise.
53069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53070         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
53071         compat_symbol macro.
53072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53073         (__fe_nomask_env): Likewise.
53074         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
53076 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53078         * string/Makefile: Remove ifunc tests.
53079         * string/test-string.h: Define TEST_IFUNC.
53080         * string/test-bcopy-ifunc.c: Remove.
53081         * string/test-bzero-ifunc.c: Likewise.
53082         * string/test-memccpy-ifunc.c: Likewise.
53083         * string/test-memchr-ifunc.c: Likewise.
53084         * string/test-memcmp-ifunc.c: Likewise.
53085         * string/test-memcpy-ifunc.c: Likewise.
53086         * string/test-memmem-ifunc.c: Likewise.
53087         * string/test-memmove-ifunc.c: Likewise.
53088         * string/test-mempcpy-ifunc.c: Likewise.
53089         * string/test-memrchr-ifunc.c: Likewise.
53090         * string/test-memset-ifunc.c: Likewise.
53091         * string/test-rawmemchr-ifunc.c: Likewise.
53092         * string/test-stpcpy-ifunc.c: Likewise.
53093         * string/test-stpncpy-ifunc.c: Likewise.
53094         * string/test-strcasecmp-ifunc.c: Likewise.
53095         * string/test-strcasestr-ifunc.c: Likewise.
53096         * string/test-strcat-ifunc.c: Likewise.
53097         * string/test-strchr-ifunc.c: Likewise.
53098         * string/test-strchrnul-ifunc.c: Likewise.
53099         * string/test-strcmp-ifunc.c: Likewise.
53100         * string/test-strcpy-ifunc.c: Likewise.
53101         * string/test-strcspn-ifunc.c: Likewise.
53102         * string/test-strlen-ifunc.c: Likewise.
53103         * string/test-strncasecmp-ifunc.c: Likewise.
53104         * string/test-strncat-ifunc.c: Likewise.
53105         * string/test-strncmp-ifunc.c: Likewise.
53106         * string/test-strncpy-ifunc.c: Likewise.
53107         * string/test-strnlen-ifunc.c: Likewise.
53108         * string/test-strpbrk-ifunc.c: Likewise.
53109         * string/test-strrchr-ifunc.c: Likewise.
53110         * string/test-strspn-ifunc.c: Likewise.
53111         * string/test-strstr-ifunc.c: Likewise.
53113 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53115         * benchtests/Makefile: Remove ifunc tests.
53116         * benchtests/bench-string.h: Define TEST_IFUNC.
53117         * benchtests/bench-bcopy-ifunc.c: Remove.
53118         * benchtests/bench-bzero-ifunc.c: Likewise.
53119         * benchtests/bench-memccpy-ifunc.c: Likewise.
53120         * benchtests/bench-memchr-ifunc.c: Likewise.
53121         * benchtests/bench-memcmp-ifunc.c: Likewise.
53122         * benchtests/bench-memcpy-ifunc.c: Likewise.
53123         * benchtests/bench-memmem-ifunc.c: Likewise.
53124         * benchtests/bench-memmove-ifunc.c: Likewise.
53125         * benchtests/bench-mempcpy-ifunc.c: Likewise.
53126         * benchtests/bench-memrchr-ifunc.c: Likewise.
53127         * benchtests/bench-memset-ifunc.c: Likewise.
53128         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
53129         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
53130         * benchtests/bench-stpcpy-ifunc.c: Likewise.
53131         * benchtests/bench-stpncpy-ifunc.c: Likewise.
53132         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
53133         * benchtests/bench-strcasestr-ifunc.c: Likewise.
53134         * benchtests/bench-strcat-ifunc.c: Likewise.
53135         * benchtests/bench-strchr-ifunc.c: Likewise.
53136         * benchtests/bench-strchrnul-ifunc.c: Likewise.
53137         * benchtests/bench-strcmp-ifunc.c: Likewise.
53138         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
53139         * benchtests/bench-strcpy-ifunc.c: Likewise.
53140         * benchtests/bench-strcspn-ifunc.c: Likewise.
53141         * benchtests/bench-strlen-ifunc.c: Likewise.
53142         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
53143         * benchtests/bench-strncat-ifunc.c: Likewise.
53144         * benchtests/bench-strncmp-ifunc.c: Likewise.
53145         * benchtests/bench-strncpy-ifunc.c: Likewise.
53146         * benchtests/bench-strnlen-ifunc.c: Likewise.
53147         * benchtests/bench-strpbrk-ifunc.c: Likewise.
53148         * benchtests/bench-strrchr-ifunc.c: Likewise.
53149         * benchtests/bench-strsep-ifunc.c: Likewise.
53150         * benchtests/bench-strspn-ifunc.c: Likewise.
53151         * benchtests/bench-strstr-ifunc.c: Likewise.
53153 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53155         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
53157 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53159         * resolv/netdb.h: Use __glibc_reserved instead __unused.
53160         * rt/aio.h: Likewise.
53161         * sysdeps/gnu/bits/utmp.h: Likewise.
53162         * sysdeps/gnu/bits/utmpx.h: Likewise.
53163         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53164         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
53165         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
53166         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
53167         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
53168         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
53169         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
53170         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
53171         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
53172         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
53173         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
53174         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
53175         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
53176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
53177         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
53178         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
53179         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
53180         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
53181         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
53182         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
53183         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
53184         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
53185         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
53186         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53187         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
53188         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53189         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
53190         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
53191         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
53192         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
53193         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
53194         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
53195         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
53196         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
53197         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
53198         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
53199         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
53200         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
53201         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
53202         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
53203         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
53204         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53206 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
53208         [BZ #16245]
53209         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
53210         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
53212 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
53214         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
53215         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
53216         Likewise.
53218 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53220         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
53221         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
53222         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
53223         (__fesetround): Remove define.
53224         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
53225         rounding and exceptions handling.
53226         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
53227         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
53228         (__fe_nomask_env): Likewise.
53229         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
53230         __fegetround instead of fegetround.
53231         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
53232         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
53234 2013-11-21  Roland McGrath  <roland@hack.frob.com>
53236         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
53237         it's there.
53239         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
53241 2013-11-21  Meador Inge  <meadori@codesourcery.com>
53243         [BZ #11157]
53244         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
53245         (encrypt_r): Likewise.
53246         * malloc/obstack.h (obstack_free): Likewise.
53247         * posix/unistd.h (encrypt): Likewise.
53249 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
53251         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
53252         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
53253         DL_CALL_DT_FINI() that call the functions directly.
53254         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
53255         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
53256         * elf/dl-fini.c: Likewise.
53258 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
53260         * malloc/hooks.c (memalign_check): Add alignment rounding.
53261         * malloc/malloc.c (_mid_memalign): New function.
53262         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
53263         Implement by calling _mid_memalign.
53264         * manual/probes.texi (Memory Allocation Probes): Remove
53265         memory_valloc_retry and memory_pvalloc_retry.
53267 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53269         * locale/programs/locarchive.c (open_archive): Add const
53270         qualifier to ARCHIVEFNAME and copy default fname to
53271         DEFAULT_FNAME.
53273         [BZ #15601]
53274         * libio/tst-widetext.input: Rename Oriya to Odia.
53275         * locale/iso-639.def: Likewise.
53277         * manual/probes.texi (Mathematical Function Probes): Add
53278         documentation for sin, cos, asin and acos probes.
53279         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
53280         (__sin32): Add slowasin probe.
53281         (__cos32): Add slowacos probe.
53282         (__mpsin): Add slowsin probe.
53283         (__mpcos): Add slowcos probe.
53285 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
53287         [BZ #15483]
53288         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
53289         thread-local __sim_exceptions_thread and global
53290         __sim_exceptions_global.
53291         (__sim_disabled_exceptions): Change to thread-local
53292         __sim_disabled_exceptions_thread and global
53293         __sim_disabled_exceptions_global.
53294         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53295         and global __sim_round_mode_global.
53296         (__simulate_exceptions): Use thread-local floating-point state and
53297         set global state from it as needed.
53298         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
53299         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
53300         __sim_round_mode_thread.
53301         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
53302         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
53303         and global __sim_exceptions_global.
53304         (__sim_disabled_exceptions): Change to thread-local
53305         __sim_disabled_exceptions_thread and global
53306         __sim_disabled_exceptions_global.
53307         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53308         and global __sim_round_mode_global.
53309         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
53310         (SIM_SET_GLOBAL): Likewise.
53311         * sysdeps/powerpc/soft-fp/sfp-machine.h
53312         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
53313         __sim_round_mode_thread.
53314         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
53315         __sim_disabled_exceptions_thread.
53316         (__sim_exceptions): Change to __sim_exceptions_thread.
53317         (__sim_disabled_exceptions): Change to
53318         __sim_disabled_exceptions_thread.
53319         (__sim_round_mode): Change to __sim_round_mode_thread.
53320         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
53321         thread-local floating-point state and set global state from it as
53322         needed.
53323         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
53324         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
53325         (__sim_disabled_exceptions): Remove extern declaration.
53326         (feenableexcept): Use thread-local floating-point state and set
53327         global state from it as needed.
53328         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
53329         extern declaration.
53330         (__sim_disabled_exceptions): Likewise.
53331         (__sim_round_mode): Likewise.
53332         (__fegetenv): Use thread-local floating-point state.
53333         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
53334         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53335         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
53336         floating-point state and set global state from it as needed.
53337         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
53338         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
53339         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
53340         Likewise.
53341         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
53342         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
53343         Likewise.
53344         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
53345         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
53346         Use __sim_round_mode_thread.
53347         * math/test-fenv-tls.c: New file.
53348         * math/Makefile (tests): Add test-fenv-tls.
53349         ($(objpfx)test-fenv-tls): Depend on
53350         $(common-objpfx)nptl/libpthread.so.
53352 2013-11-19  Andreas Schwab  <schwab@suse.de>
53354         * locale/programs/locale.c (show_info): Decode wordarray elements.
53355         * locale/categories.def (LC_MONETARY): Add element for
53356         _NL_MONETARY_CRNCYSTR.
53357         * locale/C-monetary.c (conversion_rate): New variable.
53358         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
53359         element.
53361 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
53363         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
53364         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
53366 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53368         * elf/Makefile (tst-auxv): New test.
53369         * elf/tst-auxv.c: New
53370         * elf/rtld.c (dl_main): Adjust AT_EXECFN
53372 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
53374         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
53375         (hidden_proto): Caller changed.
53376         (hidden_tls_proto): New macro.
53377         (libc_hidden_tls_proto): Likewise.
53378         (rtld_hidden_tls_proto): Likewise.
53379         (libm_hidden_tls_proto): Likewise.
53380         (libresolv_hidden_tls_proto): Likewise.
53381         (librt_hidden_tls_proto): Likewise.
53382         (libdl_hidden_tls_proto): Likewise.
53383         (libnss_files_hidden_tls_proto): Likewise.
53384         (libnsl_hidden_tls_proto): Likewise.
53385         (libnss_nisplus_hidden_tls_proto): Likewise.
53386         (libutil_hidden_tls_proto): Likewise.
53388 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
53390         [BZ #10253]
53391         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
53392         (decompose_rpath): Defer expansion to fillin_rpath.
53393         (_dl_init_paths): Pass linkmap to fillin_rpath.
53395 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53397         * benchtests/Makefile: Add strsep.
53398         * benchtests/bench-strsep.c: New file: strsep benchtest.
53399         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
53401 2013-11-18  Andreas Schwab  <schwab@suse.de>
53403         * locale/programs/locale.c (show_info) [case byte]: Check for
53404         '\377' instead of '\177'.
53405         * locale/C-monetary.c (not_available): Always use "\377".
53406         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
53407         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
53408         detect unavailable sign_posn locale elements.
53409         * locale/localeconv.c (__localeconv): For grouping and
53410         mon_grouping handle "\177" and "\377" like no grouping.
53411         (INT_ELEM): New macro.  Use it to set all numeric members.
53412         * locale/programs/ld-monetary.c (monetary_read)
53413         <tok_mon_grouping>: Normalize single -1 to the empty string.
53414         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
53415         Likewise.
53417 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
53419         [BZ #16055]
53420         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
53421         when we match (nil).
53422         * stdio-common/tst-sscanf.c (struct test): Add testcase.
53424 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
53426         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
53427         (NO_TEST_INLINE): Update value.
53428         (ERRNO_UNCHANGED): Likewise.
53429         (ERRNO_EDOM): Likewise.
53430         (ERRNO_ERANGE): Likewise.
53431         (IGNORE_RESULT): Likewise.
53432         (check_float_internal): Check signs of NaN results if
53433         TEST_NAN_SIGN used.
53434         (check_complex): Pass TEST_NAN_SIGN flag through to second
53435         check_float_internal call.
53436         (copysign_test_data): Add tests with quiet NaNs as second
53437         argument.  Use TEST_NAN_SIGN.
53438         (fabs_test_data): Add test of negative quiet NaN argument.  Use
53439         TEST_NAN_SIGN.
53440         (signbit_test_data): Add tests of quiet NaN argument.
53441         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
53443         * math/gen-libm-test.pl (show_exceptions): Take extra argument
53444         $ignore_result.
53445         (parse_args): Handle function results specified as IGNORE.
53446         * math/libm-test.inc (IGNORE_RESULT): New macro.
53447         (check_float_internal): Do not check numerical result if flag
53448         IGNORE_RESULT set.
53449         (check_complex): Pass through IGNORE_RESULT to second
53450         check_float_internal call.
53451         (check_int): Do not check numerical result if flag IGNORE_RESULT
53452         set.
53453         (check_long): Likewise.
53454         (check_bool): Likewise.
53455         (check_longlong): Likewise.
53456         (lrint_test_data): Add tests of infinite and NaN arguments.
53457         (lrint_tonearest_test_data): Likewise.
53458         (lrint_towardzero_test_data): Likewise.
53459         (lrint_downward_test_data): Likewise.
53460         (lrint_upward_test_data): Likewise.
53461         (llrint_test_data): Likewise.
53462         (llrint_tonearest_test_data): Likewise.
53463         (llrint_towardzero_test_data): Likewise.
53464         (llrint_downward_test_data): Likewise.
53465         (llrint_upward_test_data): Likewise.
53466         (lround_test_data): Likewise.
53467         (llround_test_data): Likewise.
53469         * math/libm-test.inc (NO_TEST_INLINE): New macro.
53470         (ERRNO_UNCHANGED): Update value.
53471         (ERRNO_EDOM): Likewise.
53472         (ERRNO_ERANGE): Likewise.
53473         (NO_TEST_INLINE_FLOAT): New macro.
53474         (NO_TEST_INLINE_DOUBLE): Likewise.
53475         (enable_test): New function.
53476         (RUN_TEST_f_f): Check enable_test before running test.
53477         (RUN_TEST_2_f): Likewise.
53478         (RUN_TEST_fff_f): Likewise.
53479         (RUN_TEST_c_f): Likewise.
53480         (RUN_TEST_f_f1): Likewise.
53481         (RUN_TEST_fF_f1): Likewise.
53482         (RUN_TEST_fI_f1): Likewise.
53483         (RUN_TEST_ffI_f1): Likewise.
53484         (RUN_TEST_c_c): Likewise.
53485         (RUN_TEST_cc_c): Likewise.
53486         (RUN_TEST_f_i): Likewise.
53487         (RUN_TEST_f_i_tg): Likewise.
53488         (RUN_TEST_ff_i_tg): Likewise.
53489         (RUN_TEST_f_b): Likewise.
53490         (RUN_TEST_f_b_tg): Likewise.
53491         (RUN_TEST_f_l): Likewise.
53492         (RUN_TEST_f_L): Likewise.
53493         (RUN_TEST_fFF_11): Likewise.
53494         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
53495         conditionals.
53496         (cosh_test_data): Likewise.
53497         (exp_test_data): Likewise.
53498         (expm1_test_data): Likewise.
53499         (hypot_test_data): Likewise.
53500         (pow_test_data): Likewise.
53501         (sinh_test_data): Likewise.
53502         (tanh_test_data): Likewise.
53503         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
53504         flags argument.
53506         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
53507         tests with quiet NaN input and output.
53508         (acosh_test_data): Likewise.
53509         (asin_test_data): Likewise.
53510         (asinh_test_data): Likewise.
53511         (atan_test_data): Likewise.
53512         (atanh_test_data): Likewise.
53513         (atan2_test_data): Likewise.
53514         (cbrt_test_data): Likewise.
53515         (cos_test_data): Likewise.
53516         (cosh_test_data): Likewise.
53517         (erf_test_data): Likewise.
53518         (erfc_test_data): Likewise.
53519         (exp_test_data): Likewise.
53520         (exp10_test_data): Likewise.
53521         (exp2_test_data): Likewise.
53522         (expm1_test_data): Likewise.
53523         (hypot_test_data): Likewise.
53524         (j0_test_data): Likewise.
53525         (j1_test_data): Likewise.
53526         (jn_test_data): Likewise.
53527         (lgamma_test_data): Likewise.
53528         (log_test_data): Likewise.
53529         (log10_test_data): Likewise.
53530         (log1p_test_data): Likewise.
53531         (log2_test_data): Likewise.
53532         (pow_test_data): Likewise.
53533         (scalb_test_data): Likewise.
53534         (sin_test_data): Likewise.
53535         (sincos_test_data): Likewise.
53536         (sinh_test_data): Likewise.
53537         (tan_test_data): Likewise.
53538         (tanh_test_data): Likewise.
53539         (tgamma_test_data): Likewise.
53540         (y0_test_data): Likewise.
53541         (y1_test_data): Likewise.
53542         (yn_test_data): Likewise.
53544         [BZ #16167]
53545         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
53546         argument being NaN and avoid computations with second argument in
53547         that case.
53548         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53549         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
53550         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53552 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
53554         * locale/iso-639.def: Add Chitwani Tharu (the).
53556 2013-11-14  Andreas Schwab  <schwab@suse.de>
53558         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
53559         word instead of empty string.
53561 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53564         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
53565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53566         (__fe_nomask_env): Likewise.
53568 2013-11-13  Steve Ellcey  <sellcey@mips.com>
53570         * benchtests/bench-timing.h: Include time.h.
53572 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
53574         [BZ #15997]
53575         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
53576         to 3.4.0 for x32.
53577         * sysdeps/unix/sysv/linux/configure: Regenerated.
53579 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
53581         [BZ #16151]
53582         * stdlib/strtod_l.c (round_and_return): Do not consider
53583         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
53584         exponent one less than half the least subnormal exponent.
53585         * stdlib/test-strtod-round-data: Add more tests.
53586         * stdlib/tst-strtod-round.c (tests): Regenerated.
53588 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53590         [BZ #14143]
53591         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
53592         (__fe_mask_env): Likewise.
53593         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
53594         libm_hidden_proto and add function prototype.
53595         (__fe_mask_env): Add function prototype.
53596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53597         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
53598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
53599         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
53600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53601         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
53603 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53605         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
53606         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
53608 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53610         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
53611         of htab_find_slot().
53613 2013-11-11  David S. Miller  <davem@davemloft.net>
53615         [BZ #16150]
53616         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
53617         symbol in the non-vis3 case in static builds.
53618         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
53619         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
53620         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
53621         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
53623 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
53625         [BZ #387]
53626         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
53627         it is empty.
53629 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53631         * benchtests/Makefile: Add bench-strtod.
53632         * benchtests/bench-strtod.c: New file: strtod benchtest
53634 2013-11-11  Andreas Schwab  <schwab@suse.de>
53636         [BZ #16153]
53637         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
53638         terminating NUL in key length.
53640 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53642         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
53643         Add artificial ODP entry for vDSO symbol for PPC64.
53644         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
53645         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
53647 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
53649         [BZ #15374]
53650         * nss/getent.c (services_keys): Recognize services starting with digit.
53652 2013-11-06  David S. Miller  <davem@davemloft.net>
53654         [BZ #15985]
53655         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
53656         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
53658 2013-11-06  Will Newton  <will.newton@linaro.org>
53660         * manual/memory.texi (Malloc Examples): Remove register
53661         keyword from examples.
53663 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
53665         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
53667 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
53669         [BZ #6981]
53670         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
53671         depending on [__GCC_IEC_559 > 0].
53672         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
53673         depending on [__GCC_IEC_559_COMPLEX > 0].
53675 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
53677         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
53678         to iso-639.def.
53680 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
53682         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
53684 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
53686         [BZ #16112]
53687         * malloc/malloc (malloc_info): Do not handle first bin as
53688         special case.
53690 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
53692         * locale/iso-639.def: Add Central Nahuatl (nhn).
53694 2013-11-01  Bruno Haible  <bruno@clisp.org>
53696         [BZ #7003]
53697         * manual/math.texi (BSD Random): Specify range upper bound as
53698         in POSIX.
53700 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
53702         * locale/iso-639.def: Add Meadow Mari (mhr).
53704 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
53706         [BZ #14752], [BZ #15763]
53707         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
53708         Validate name.
53709         * rt/tst_shm.c: Add test for escaping directory.
53711 2013-10-31  Andreas Schwab  <schwab@suse.de>
53713         [BZ #15917]
53714         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
53715         followed by 'x' as part of digit sequence.
53716         * stdio-common/tst-sscanf.c (double_tests2): New tests.
53718 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
53720         [BZ #16037]
53721         * configure.ac: allow GNU Make 4.0 and greater.
53722         * configure: Regenerated.
53724 2013-10-30  Will Newton  <will.newton@linaro.org>
53726         [BZ #16038]
53727         * malloc/hooks.c (memalign_check): Limit alignment to the
53728         maximum representable power of two.
53729         * malloc/malloc.c (__libc_memalign): Likewise.
53730         * malloc/tst-memalign.c (do_test): Add test for very
53731         large alignment values.
53732         * malloc/tst-posix_memalign.c (do_test): Likewise.
53734 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
53736         [BZ #11087]
53737         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
53738         (munmap_chunk): Likewise.
53739         (mremap_chunk): Likewise.
53741 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
53743         [BZ #15799]
53744         * stdlib/div.c (div): Remove obsolete code.
53745         * stdlib/ldiv.c (ldiv): Likewise.
53746         * stdlib/lldiv.c (lldiv): Likewise.
53748 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53750         [BZ #16071]
53751         * nss/nss_files/files-XXX.c (get_contents_ret): New
53752         enumerator.
53753         (get_contents): New function.
53754         (internal_getent): Use it.  Expand size of LINEBUFLEN.
53756 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
53758         * configure.in: Moved to ...
53759         * configure.ac: ... here. Change reference to configure.in
53760         to configure.ac.
53761         * sysdeps/arm/preconfigure.ac: ... here.
53762         configure.in to configure.ac.
53763         * sysdeps/gnu/configure.in: Moved to ...
53764         * sysdeps/gnu/configure.ac: ... here.
53765         * sysdeps/i386/configure.in: Moved to ...
53766         * sysdeps/i386/configure.ac: ... here.
53767         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
53768         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
53769         * sysdeps/mach/configure.in: Moved to ...
53770         * sysdeps/mach/configure.ac: ... here.
53771         * sysdeps/mach/hurd/configure.in: Moved to ...
53772         * sysdeps/mach/hurd/configure.ac: ... here.
53773         * sysdeps/powerpc/configure.in: Moved to ...
53774         * sysdeps/powerpc/configure.ac: ... here.
53775         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
53776         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
53777         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
53778         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
53779         * sysdeps/s390/s390-32/configure.in: Moved to ...
53780         * sysdeps/s390/s390-32/configure.ac: ... here.
53781         * sysdeps/s390/s390-64/configure.in: Moved to ...
53782         * sysdeps/s390/s390-64/configure.ac: ... here.
53783         * sysdeps/sh/configure.in: Moved to ...
53784         * sysdeps/sh/configure.ac: ... here.
53785         * sysdeps/sparc/configure.in: Moved to ...
53786         * sysdeps/sparc/configure.ac: ... here.
53787         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
53788         * sysdeps/unix/sysv/linux/configure.ac: ... here.
53789         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
53790         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
53791         * sysdeps/x86_64/configure.in: Moved to ...
53792         * sysdeps/x86_64/configure.ac: ... here.
53793         * sysdeps/x86_64/preconfigure.in: Moved to ...
53794         * sysdeps/x86_64/preconfigure.ac: ... here.
53795         * aclocal.m4: Change reference to configure.in to configure.ac.
53796         * config.h.in: Likewise.
53797         * manual/install.texi: Likewise.
53798         * manual/maint.texi: Likewise.
53799         * Makefile: Likewise.
53800         * malloc/Makefile: Likewise.
53801         * nscd/Makefile: Likewise.
53802         * Makeconfig: Change reference to configure.in and
53803         preconfigure.in to configure.ac and preconfigure.ac
53804         respectively.
53805         * INSTALL: Regenerated.
53806         * configure: Likewise.
53807         * sysdeps/gnu/configure: Likewise.
53808         * sysdeps/i386/configure: Likewise.
53809         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
53810         * sysdeps/mach/configure: Likewise.
53811         * sysdeps/mach/hurd/configure: Likewise.
53812         * sysdeps/powerpc/configure: Likewise.
53813         * sysdeps/powerpc/powerpc32/configure: Likewise.
53814         * sysdeps/powerpc/powerpc64/configure: Likewise.
53815         * sysdeps/s390/s390-32/configure: Likewise.
53816         * sysdeps/s390/s390-64/configure: Likewise.
53817         * sysdeps/sh/configure: Likewise.
53818         * sysdeps/sparc/configure: Likewise.
53819         * sysdeps/unix/sysv/linux/configure: Likewise.
53820         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
53821         * sysdeps/x86_64/configure: Likewise.
53822         * sysdeps/x86_64/preconfigure: Likewise.
53824 2013-10-29  Andreas Schwab  <schwab@suse.de>
53826         * stdio-common/Makefile (tst-swscanf-ENV): Define.
53828 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53830         * benchtests/pow-inputs: Add new inputs.
53832         * benchtests/exp-inputs: Add new inputs.
53834         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
53835         conditional check for return value.
53836         (__cos32): Likewise.
53838 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53840         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
53841         to provide a boost for large inputs with word alignment.
53842         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
53843         implementation based on optimized PPC64 strcpy.
53844         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
53845         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
53846         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
53847         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
53849 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53851         [BZ #2801]
53852         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
53854 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53856         [BZ #14876]
53857         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
53858         * time/tst-strptime.c (day_tests): Add testcase.
53860 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
53862         [BZ #14029]
53863         * manual/pattern.texi: Acknowledge that fnmatch can fail.
53865 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
53867         [BZ #16074]
53868         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
53869         MAP_FAILED on error.
53871 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53873         [BZ #16072]
53874         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
53875         heap for large requests.
53877 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
53879         [BZ #9954]
53880         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
53881         result if the result has no associated interface.
53882         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
53883         interface for all 127.X.Y.Z addresses.
53885 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
53887         * locale/iso-639.def: Add Ligurian (lij)
53889 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
53891         [BZ #15825]
53892         * sunrpc/rpc_main.c: Document rpcgen -5.
53894 2013-10-19  Michael Stahl  <mstahl@redhat.com>
53896         * elf/rtld.c (do_preload): Print the reason why preloading failed.
53898 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
53900         [BZ #10278]
53901         * posix/glob.c: Match only directories when trailing slash is present.
53902         * posix/tst-gnuglob.c (my_opendir): Do not open files.
53903         (main): Add testcase.
53905 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
53907         [BZ #15670]
53908         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
53910 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
53912         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
53913         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
53914         AUTH_DES and cindex for FIPS 140-2.
53915         (DES Encryption): Add cindex FIPS 46-3.
53917         * locale/locarchive.h (struct locarhandle): Add fname.
53918         * locale/programs/localedef.c (main): Pass ARGV[remaining]
53919         if an optional argument was specified to --list-archive,
53920         otherwise NULL.
53921         * locale/programs/locarchive.c (show_archive_content): Take new
53922         argument fname and pass it via ah.fname to open_archive.
53923         * locale/programs/localedef.h: Update decl.
53924         (open_archive): If AH->fname is non-null, open that file
53925         rather than the default file name, and don't ignore ENOENT.
53926         (create_archive): Set AH.fname to NULL.
53927         (delete_locales_from_archive): Likewise.
53928         (add_locales_to_archive): Likewise.
53929         * locale/programs/locfile.c (write_all_categories): Likewise.
53931 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
53932             Aldy Hernandez  <aldyh@redhat.com>
53934         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
53935         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
53936         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
53937         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
53938         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
53939         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
53940         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
53941         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
53942         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
53943         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
53944         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
53945         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
53946         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
53947         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
53948         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
53949         Likewise.
53950         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
53951         Likewise.
53952         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
53953         Likewise.
53954         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
53955         Likewise.
53956         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
53957         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
53958         Likewise.
53959         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
53960         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
53961         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
53962         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
53963         Likewise.
53964         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
53965         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
53966         * sysdeps/powerpc/preconfigure: Likewise.
53967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
53968         Likewise.
53969         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
53970         Replace contents of file by #include of <fenv_libc.h>.
53971         * sysdeps/powerpc/soft-fp/sfp-machine.h
53972         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
53973         and <sys/prctl.h>.
53974         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
53975         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
53976         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
53977         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
53978         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
53979         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
53980         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
53981         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
53982         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
53983         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
53984         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
53985         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
53986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
53987         Allow copysignl PLT reference to be missing.
53989 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
53990             Joseph Myers  <joseph@codesourcery.com
53992         [BZ #15948]
53993         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
53994         single character.
53995         (add_to_tablewc): Assert sequence of wide characters is nonempty.
53997 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53999         * elf/tst-tls-dlinfo.c: Don't include tls.h.
54000         * elf/tst-tls1.c: Likewise.
54001         * elf/tst-tls10.h: Likewise.
54002         * elf/tst-tls14.c: Likewise.
54003         * elf/tst-tls2.c: Likewise.
54004         * elf/tst-tls3.c: Likewise.
54005         * elf/tst-tls4.c: Likewise.
54006         * elf/tst-tls5.c: Likewise.
54007         * elf/tst-tls6.c: Likewise.
54008         * elf/tst-tls7.c: Likewise.
54009         * elf/tst-tls8.c: Likewise.
54010         * elf/tst-tls9.c: Likewise.
54011         * elf/tst-tlsmod1.c: Likewise.
54012         * elf/tst-tlsmod13.c: Likewise.
54013         * elf/tst-tlsmod13a.c: Likewise.
54014         * elf/tst-tlsmod14a.c: Likewise.
54015         * elf/tst-tlsmod16a.c: Likewise.
54016         * elf/tst-tlsmod16b.c: Likewise.
54017         * elf/tst-tlsmod2.c: Likewise.
54018         * elf/tst-tlsmod3.c: Likewise.
54019         * elf/tst-tlsmod4.c: Likewise.
54020         * elf/tst-tlsmod5.c: Likewise.
54021         * elf/tst-tlsmod6.c: Likewise.
54023 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
54025         [BZ #12486]
54026         * malloc/malloc.c: remove checks for statistics.
54028 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54030         [BZ #15277]
54031         * inet/inet_net.c (inet_network): Detect additional invalid strings.
54032         * inet/tst-network.c: Add testcase.
54034 2013-10-17  Andreas Schwab  <schwab@suse.de>
54036         [BZ #15218]
54037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
54038         to determine canonical name.
54040 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54042         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
54043         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
54044         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54045         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54046         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54047         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54048         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54049         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54050         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54051         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54052         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54053         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54054         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54055         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54056         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54057         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54058         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54059         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54060         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54061         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54062         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54063         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54064         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54065         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
54066         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
54067         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54068         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54069         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
54070         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54071         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
54072         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54073         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54074         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54075         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54076         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54077         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54078         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54079         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54080         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54081         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54082         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54083         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54084         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54085         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54086         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54087         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54088         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54089         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54090         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54091         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54092         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54093         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54094         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54095         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54096         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54097         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54098         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54099         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54101 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
54103         [BZ #16041]
54104         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
54105         make result into a quiet NaN.
54107 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
54109         * soft-fp/adddf3.c: Fix horizontal whitespace.
54110         * soft-fp/addsf3.c: Likewise.
54111         * soft-fp/addtf3.c: Likewise.
54112         * soft-fp/divdf3.c: Likewise.
54113         * soft-fp/divsf3.c: Likewise.
54114         * soft-fp/divtf3.c: Likewise.
54115         * soft-fp/double.h: Likewise.
54116         * soft-fp/eqdf2.c: Likewise.
54117         * soft-fp/eqsf2.c: Likewise.
54118         * soft-fp/eqtf2.c: Likewise.
54119         * soft-fp/extenddftf2.c: Likewise.
54120         * soft-fp/extended.h: Likewise.
54121         * soft-fp/extendsfdf2.c: Likewise.
54122         * soft-fp/extendsftf2.c: Likewise.
54123         * soft-fp/extendxftf2.c: Likewise.
54124         * soft-fp/fixdfdi.c: Likewise.
54125         * soft-fp/fixdfsi.c: Likewise.
54126         * soft-fp/fixdfti.c: Likewise.
54127         * soft-fp/fixsfdi.c: Likewise.
54128         * soft-fp/fixsfsi.c: Likewise.
54129         * soft-fp/fixsfti.c: Likewise.
54130         * soft-fp/fixtfdi.c: Likewise.
54131         * soft-fp/fixtfsi.c: Likewise.
54132         * soft-fp/fixtfti.c: Likewise.
54133         * soft-fp/fixunsdfdi.c: Likewise.
54134         * soft-fp/fixunsdfsi.c: Likewise.
54135         * soft-fp/fixunsdfti.c: Likewise.
54136         * soft-fp/fixunssfdi.c: Likewise.
54137         * soft-fp/fixunssfsi.c: Likewise.
54138         * soft-fp/fixunssfti.c: Likewise.
54139         * soft-fp/fixunstfdi.c: Likewise.
54140         * soft-fp/fixunstfsi.c: Likewise.
54141         * soft-fp/fixunstfti.c: Likewise.
54142         * soft-fp/floatdidf.c: Likewise.
54143         * soft-fp/floatdisf.c: Likewise.
54144         * soft-fp/floatditf.c: Likewise.
54145         * soft-fp/floatsidf.c: Likewise.
54146         * soft-fp/floatsisf.c: Likewise.
54147         * soft-fp/floatsitf.c: Likewise.
54148         * soft-fp/floattidf.c: Likewise.
54149         * soft-fp/floattisf.c: Likewise.
54150         * soft-fp/floattitf.c: Likewise.
54151         * soft-fp/floatundidf.c: Likewise.
54152         * soft-fp/floatundisf.c: Likewise.
54153         * soft-fp/floatunditf.c: Likewise.
54154         * soft-fp/floatunsidf.c: Likewise.
54155         * soft-fp/floatunsisf.c: Likewise.
54156         * soft-fp/floatunsitf.c: Likewise.
54157         * soft-fp/floatuntidf.c: Likewise.
54158         * soft-fp/floatuntisf.c: Likewise.
54159         * soft-fp/floatuntitf.c: Likewise.
54160         * soft-fp/fmadf4.c: Likewise.
54161         * soft-fp/fmasf4.c: Likewise.
54162         * soft-fp/fmatf4.c: Likewise.
54163         * soft-fp/gedf2.c: Likewise.
54164         * soft-fp/gesf2.c: Likewise.
54165         * soft-fp/getf2.c: Likewise.
54166         * soft-fp/ledf2.c: Likewise.
54167         * soft-fp/lesf2.c: Likewise.
54168         * soft-fp/letf2.c: Likewise.
54169         * soft-fp/muldf3.c: Likewise.
54170         * soft-fp/mulsf3.c: Likewise.
54171         * soft-fp/multf3.c: Likewise.
54172         * soft-fp/negdf2.c: Likewise.
54173         * soft-fp/negsf2.c: Likewise.
54174         * soft-fp/negtf2.c: Likewise.
54175         * soft-fp/op-1.h: Likewise.
54176         * soft-fp/op-2.h: Likewise.
54177         * soft-fp/op-4.h: Likewise.
54178         * soft-fp/op-8.h: Likewise.
54179         * soft-fp/op-common.h: Likewise.
54180         * soft-fp/quad.h: Likewise.
54181         * soft-fp/single.h: Likewise.
54182         * soft-fp/soft-fp.h: Likewise.
54183         * soft-fp/sqrtdf2.c: Likewise.
54184         * soft-fp/sqrtsf2.c: Likewise.
54185         * soft-fp/sqrttf2.c: Likewise.
54186         * soft-fp/subdf3.c: Likewise.
54187         * soft-fp/subsf3.c: Likewise.
54188         * soft-fp/subtf3.c: Likewise.
54189         * soft-fp/truncdfsf2.c: Likewise.
54190         * soft-fp/trunctfdf2.c: Likewise.
54191         * soft-fp/trunctfsf2.c: Likewise.
54192         * soft-fp/trunctfxf2.c: Likewise.
54193         * soft-fp/unorddf2.c: Likewise.
54194         * soft-fp/unordsf2.c: Likewise.
54195         * soft-fp/unordtf2.c: Likewise.
54197 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
54199         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
54200         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
54202 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
54204         * elf/dl-libc.c: Clear initfini list after freeing.
54206 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
54208         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
54209         * soft-fp/addsf3.c: Likewise.
54210         * soft-fp/addtf3.c: Likewise.
54211         * soft-fp/divdf3.c: Likewise.
54212         * soft-fp/divsf3.c: Likewise.
54213         * soft-fp/divtf3.c: Likewise.
54214         * soft-fp/double.h: Likewise.
54215         * soft-fp/eqdf2.c: Likewise.
54216         * soft-fp/eqsf2.c: Likewise.
54217         * soft-fp/eqtf2.c: Likewise.
54218         * soft-fp/extenddftf2.c: Likewise.
54219         * soft-fp/extended.h: Likewise.
54220         * soft-fp/extendsfdf2.c: Likewise.
54221         * soft-fp/extendsftf2.c: Likewise.
54222         * soft-fp/extendxftf2.c: Likewise.
54223         * soft-fp/fixdfdi.c: Likewise.
54224         * soft-fp/fixdfsi.c: Likewise.
54225         * soft-fp/fixdfti.c: Likewise.
54226         * soft-fp/fixsfdi.c: Likewise.
54227         * soft-fp/fixsfsi.c: Likewise.
54228         * soft-fp/fixsfti.c: Likewise.
54229         * soft-fp/fixtfdi.c: Likewise.
54230         * soft-fp/fixtfsi.c: Likewise.
54231         * soft-fp/fixtfti.c: Likewise.
54232         * soft-fp/fixunsdfdi.c: Likewise.
54233         * soft-fp/fixunsdfsi.c: Likewise.
54234         * soft-fp/fixunsdfti.c: Likewise.
54235         * soft-fp/fixunssfdi.c: Likewise.
54236         * soft-fp/fixunssfsi.c: Likewise.
54237         * soft-fp/fixunssfti.c: Likewise.
54238         * soft-fp/fixunstfdi.c: Likewise.
54239         * soft-fp/fixunstfsi.c: Likewise.
54240         * soft-fp/fixunstfti.c: Likewise.
54241         * soft-fp/floatdidf.c: Likewise.
54242         * soft-fp/floatdisf.c: Likewise.
54243         * soft-fp/floatditf.c: Likewise.
54244         * soft-fp/floatsidf.c: Likewise.
54245         * soft-fp/floatsisf.c: Likewise.
54246         * soft-fp/floatsitf.c: Likewise.
54247         * soft-fp/floattidf.c: Likewise.
54248         * soft-fp/floattisf.c: Likewise.
54249         * soft-fp/floattitf.c: Likewise.
54250         * soft-fp/floatundidf.c: Likewise.
54251         * soft-fp/floatundisf.c: Likewise.
54252         * soft-fp/floatunsidf.c: Likewise.
54253         * soft-fp/floatunsisf.c: Likewise.
54254         * soft-fp/floatuntidf.c: Likewise.
54255         * soft-fp/floatuntisf.c: Likewise.
54256         * soft-fp/floatuntitf.c: Likewise.
54257         * soft-fp/fmadf4.c: Likewise.
54258         * soft-fp/fmasf4.c: Likewise.
54259         * soft-fp/fmatf4.c: Likewise.
54260         * soft-fp/gedf2.c: Likewise.
54261         * soft-fp/gesf2.c: Likewise.
54262         * soft-fp/getf2.c: Likewise.
54263         * soft-fp/ledf2.c: Likewise.
54264         * soft-fp/lesf2.c: Likewise.
54265         * soft-fp/letf2.c: Likewise.
54266         * soft-fp/muldf3.c: Likewise.
54267         * soft-fp/mulsf3.c: Likewise.
54268         * soft-fp/multf3.c: Likewise.
54269         * soft-fp/negdf2.c: Likewise.
54270         * soft-fp/negsf2.c: Likewise.
54271         * soft-fp/negtf2.c: Likewise.
54272         * soft-fp/op-1.h: Likewise.
54273         * soft-fp/op-2.h: Likewise.
54274         * soft-fp/op-4.h: Likewise.
54275         * soft-fp/op-8.h: Likewise.
54276         * soft-fp/op-common.h: Likewise.
54277         * soft-fp/quad.h: Likewise.
54278         * soft-fp/single.h: Likewise.
54279         * soft-fp/soft-fp.h: Likewise.
54280         * soft-fp/sqrtdf2.c: Likewise.
54281         * soft-fp/sqrtsf2.c: Likewise.
54282         * soft-fp/sqrttf2.c: Likewise.
54283         * soft-fp/subdf3.c: Likewise.
54284         * soft-fp/subsf3.c: Likewise.
54285         * soft-fp/subtf3.c: Likewise.
54286         * soft-fp/truncdfsf2.c: Likewise.
54287         * soft-fp/trunctfdf2.c: Likewise.
54288         * soft-fp/trunctfsf2.c: Likewise.
54289         * soft-fp/trunctfxf2.c: Likewise.
54290         * soft-fp/unorddf2.c: Likewise.
54291         * soft-fp/unordsf2.c: Likewise.
54292         * soft-fp/unordtf2.c: Likewise.
54294 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
54296         [BZ #15672]
54297         * misc/error.c (error_tail): Fix possible buffer overflow.
54299 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
54301         [BZ #13028]
54302         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
54303         address.
54305 2013-10-14  P. J. McDermott  <pj@pehjota.net>
54307         [BZ #832]
54308         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
54309         testing pipefail option.
54311 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54313         * soft-fp/double.h: Indent preprocessor directives inside #if.
54314         * soft-fp/extended.h: Likewise.
54315         * soft-fp/op-2.h: Likewise.
54316         * soft-fp/op-4.h: Likewise.
54317         * soft-fp/op-common.h: Likewise.
54318         * soft-fp/quad.h: Likewise.
54319         * soft-fp/single.h: Likewise.
54320         * soft-fp/soft-fp.h: Likewise.
54322 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
54324         * iconv/iconv_prog.c: Fix typos.
54325         * stdio-common/psiginfo-data.h: Likewise.
54327 2013-10-12   Reuben Thomas <rrt@sc3d.org>
54329         [BZ #15764]
54330         * locale/setlocale.c: Fix typo.
54332 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54334         [BZ #16036]
54335         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
54336         signaling NaN arguments.
54337         * soft-fp/unordsf2.c (__unordsf2): Likewise.
54338         * soft-fp/unordtf2.c (__unordtf2): Likewise.
54340         [BZ #14910]
54341         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
54342         unordered operands.
54343         * soft-fp/gesf2.c (__gesf2): Likewise.
54344         * soft-fp/getf2.c (__getf2): Likewise.
54345         * soft-fp/ledf2.c (__ledf2): Likewise.
54346         * soft-fp/lesf2.c (__lesf2): Likewise.
54347         * soft-fp/letf2.c (__letf2): Likewise.
54349         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
54350         * soft-fp/eqsf2.c (__eqsf2): Likewise.
54351         * soft-fp/eqtf2.c (__eqtf2): Likewise.
54352         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
54353         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
54354         * soft-fp/fixdfti.c (__fixdfti): Likewise.
54355         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
54356         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
54357         * soft-fp/fixsfti.c (__fixsfti): Likewise.
54358         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
54359         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
54360         * soft-fp/fixtfti.c (__fixtfti): Likewise.
54361         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
54362         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
54363         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
54364         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
54365         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
54366         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
54367         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
54368         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
54369         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
54370         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
54371         * soft-fp/floatdisf.c (__floatdisf): Likewise.
54372         * soft-fp/floatsisf.c (__floatsisf): Likewise.
54373         * soft-fp/floattidf.c (__floattidf): Likewise.
54374         * soft-fp/floattisf.c (__floattisf): Likewise.
54375         * soft-fp/floattitf.c (__floattitf): Likewise.
54376         * soft-fp/floatundidf.c (__floatundidf): Likewise.
54377         * soft-fp/floatundisf.c (__floatundisf): Likewise.
54378         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
54379         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
54380         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
54381         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
54382         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
54383         * soft-fp/gesf2.c (__gesf2): Likewise.
54384         * soft-fp/getf2.c (__getf2): Likewise.
54385         * soft-fp/ledf2.c (__ledf2): Likewise.
54386         * soft-fp/lesf2.c (__lesf2): Likewise.
54387         * soft-fp/letf2.c (__letf2): Likewise.
54389         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
54390         Undefine and redefine.
54391         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
54392         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
54393         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
54394         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
54395         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54396         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
54397         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54398         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
54399         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54400         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
54401         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54402         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
54403         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54404         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
54405         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54407         [BZ #16032]
54408         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
54409         without decrementing exponent if mantissa >= that for the
54410         denominator, not >.
54411         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
54412         denominator, not >.  Decrement exponent in < case instead of
54413         incrementing in >= case.
54414         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
54415         without decrementing exponent if mantissa >= that for the
54416         denominator, not >.
54418         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
54419         computing saturated result for unsigned overflow.
54421 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54422             Jeff Law  <law@redhat.com>
54424         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
54425         (atan2Mp): Add systemtap probe marker.
54426         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
54427         (__ieee754_log): Add systemtap probe marker.
54428         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
54429         (atanMp): Add systemtap probe marker.
54430         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
54431         (tanMp): Add systemtap probe marker.
54432         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
54433         (__slowexp): Add systemtap probe marker.
54434         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
54435         (__slowpow): Add systemtap probe marker.
54436         * manual/probes.texi: Document probes.
54438 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
54440         [BZ #15362]
54441         * libio/fileops.c (_IO_new_file_write): Return count of bytes
54442         written.
54443         (_IO_new_file_xsputn): Don't return EOF if nothing has been
54444         written.
54445         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
54446         written to buffer but not flushed.
54447         * libio/iofwrite_u.c:  Likewise.
54448         * libio/iopadn.c:  Return bytes returned even if EOF was
54449         encountered.
54450         * libio/iowpadn.c:  Likewise.
54451         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
54452         if _IO_padn does not write the whole buffer.
54453         [!COMPILE_WPRINTF] (PAD): Likewise.
54455 2013-10-10  David S. Miller  <davem@davemloft.net>
54457         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
54458         directory block.
54460 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
54462         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
54463         instead of FSF address.
54464         * soft-fp/fixdfti.c: Likewise.
54465         * soft-fp/fixsfti.c: Likewise.
54466         * soft-fp/fixtfti.c: Likewise.
54467         * soft-fp/fixunsdfti.c: Likewise.
54468         * soft-fp/fixunssfti.c: Likewise.
54469         * soft-fp/fixunstfti.c: Likewise.
54470         * soft-fp/floattidf.c: Likewise.
54471         * soft-fp/floattisf.c: Likewise.
54472         * soft-fp/floattitf.c: Likewise.
54473         * soft-fp/floatuntidf.c: Likewise.
54474         * soft-fp/floatuntisf.c: Likewise.
54475         * soft-fp/floatuntitf.c: Likewise.
54476         * soft-fp/trunctfxf2.c: Likewise.
54478         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
54479         * soft-fp/fixdfti.c: Likewise.
54480         * soft-fp/fixsfti.c: Likewise.
54481         * soft-fp/fixtfti.c: Likewise.
54482         * soft-fp/fixunsdfti.c: Likewise.
54483         * soft-fp/fixunssfti.c: Likewise.
54484         * soft-fp/fixunstfti.c: Likewise.
54485         * soft-fp/floattidf.c: Likewise.
54486         * soft-fp/floattisf.c: Likewise.
54487         * soft-fp/floattitf.c: Likewise.
54488         * soft-fp/floatuntidf.c: Likewise.
54489         * soft-fp/floatuntisf.c: Likewise.
54490         * soft-fp/floatuntitf.c: Likewise.
54491         * soft-fp/trunctfxf2.c: Likewise.
54493 2013-10-10  David S. Miller  <davem@davemloft.net>
54495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54497 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
54499         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
54500         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
54501         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
54502         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
54503         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
54504         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
54505         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
54507         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
54508         for NaNs before doing comparisons on argument.
54509         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
54510         Likewise.
54512 2013-10-10  Will Newton  <will.newton@linaro.org>
54514         * malloc/hooks.c (memalign_check): Ensure the value of bytes
54515         passed to _int_memalign does not overflow.
54517 2013-10-10  Torvald Riegel  <triegel@redhat.com>
54519         * scripts/bench.pl: Add include-sources directive.
54520         * benchtests/README: Update documentation.
54522 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
54524         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
54525         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
54526         instead of FP_INIT_ROUNDMODE.
54527         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
54528         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
54530         [BZ #16034]
54531         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
54532         copy class of input value.
54533         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
54534         not handle exceptions.
54535         * soft-fp/negsf2.c (__negsf2): Likewise.
54536         * soft-fp/negtf2.c (__negtf2): Likewise.
54537         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
54539 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
54541         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
54542         semicolon.  From Linux kernel.
54544 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
54546         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
54548 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
54550         [BZ #156]
54551         * manual/socket.texi: Added statement about buffer
54552         for gethostbyname2_r.
54554 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
54556         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
54557         Use .p2align directive instead, throughout.
54558         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54559         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
54560         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
54561         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54562         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54563         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
54564         * sysdeps/x86_64/strchr.S: Likewise.
54565         * sysdeps/x86_64/strrchr.S: Likewise.
54567 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54569         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
54571         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
54573         * sysdeps/generic/math_private.h (__mpsin1): Remove
54574         declaration.
54575         (__mpcos1): Likewise.
54576         (__mpsin): New argument __range_reduce.
54577         (__mpcos): Likewise.
54578         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54579         (slow): Use __mpsin and __mpcos.
54580         (slow1): Likewise.
54581         (slow2): Likewise.
54582         (sloww): Likewise.
54583         (sloww1): Likewise.
54584         (sloww2): Likewise.
54585         (bsloww): Likewise.
54586         (bsloww1): Likewise.
54587         (bsloww2): Likewise.
54588         (cslow2): Likewise.
54589         (csloww): Likewise.
54590         (csloww1): Likewise.
54591         (csloww2): Likewise.
54592         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
54593         range_reduce.  Merge in __mpsin1.
54594         (__mpcos): Likewise.
54595         (__mpsin1): Remove.
54596         (__mpcos1): Likewise.
54598 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
54600         * locale/loadlocale.c (_nl_intern_locale_data): Use
54601         LOCFILE_ALIGNED_P.
54602         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
54603         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
54604         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
54605         obstack data is appropriately aligned.
54606         (obstack_int32_grow_fast): Likewise.
54607         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
54608         * locale/programs/locfile.c (add_locale_uint32): Likewise.
54609         (add_locale_uint32_array): Likewise.
54611 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54613         * benchtests/Makefile: Remove ARGLIST and RET variables.
54614         ($(objpfx)bench-%.c): Pass only function name to the script.
54615         * benchtests/README: Update documentation.
54616         * benchtests/acos-inputs: Add new directives.
54617         * benchtests/acosh-inputs: Likewise.
54618         * benchtests/asin-inputs: Likewise.
54619         * benchtests/asinh-inputs: Likewise.
54620         * benchtests/atan-inputs: Likewise.
54621         * benchtests/atanh-inputs: Likewise.
54622         * benchtests/cos-inputs: Likewise.
54623         * benchtests/cosh-inputs: Likewise.
54624         * benchtests/exp-inputs: Likewise.
54625         * benchtests/log-inputs: Likewise.
54626         * benchtests/pow-inputs: Likewise.
54627         * benchtests/rint-inputs: Likewise.
54628         * benchtests/sin-inputs: Likewise.
54629         * benchtests/sinh-inputs: Likewise.
54630         * benchtests/tan-inputs: Likewise.
54631         * benchtests/tanh-inputs: Likewise.
54632         * scripts/bench.pl: Add support for new directives.
54634 2013-10-07  Alan Modra  <amodra@gmail.com>
54636         * README: Fix careless merge.
54638 2013-10-05  Alan Modra  <amodra@gmail.com>
54640         * NEWS: Mention powerpc64le support and bugs fixed.
54641         * README: Both big-endian and little-endian powerpc64 supported.
54643 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54645         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
54646         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
54647         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
54648         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
54650 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
54652         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
54653         match prototype.
54655 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
54657         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
54658         Move -mhard-float appending from
54659         ports/sysdeps/powerpc/powerpc32/Makefile.
54660         [$(with-fp) = yes] (ASFLAGS): Likewise.
54661         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
54662         * sysdeps/powerpc/nofpu: Move directory from
54663         ports/sysdeps/powerpc/nofpu.
54664         * sysdeps/powerpc/soft-fp: Move directory from
54665         ports/sysdeps/powerpc/soft-fp.
54666         * sysdeps/powerpc/powerpc32/405: Move directory from
54667         ports/sysdeps/powerpc/powerpc32/405.
54668         * sysdeps/powerpc/powerpc32/440: Move directory from
54669         ports/sysdeps/powerpc/powerpc32/440.
54670         * sysdeps/powerpc/powerpc32/464: Move directory from
54671         ports/sysdeps/powerpc/powerpc32/464.
54672         * sysdeps/powerpc/powerpc32/476: Move directory from
54673         ports/sysdeps/powerpc/powerpc32/476.
54674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
54675         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
54676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
54677         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
54678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
54679         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
54680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
54681         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
54682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
54683         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
54684         * README: Update for powerpc-*-linux-gnu software floating point
54685         support in libc.
54687         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
54688         case to powerpc/powerpc32*.
54689         * sysdeps/unix/sysv/linux/configure: Regenerated.
54691         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
54692         (_FPU_MASK_OM): Define as 0x04.
54693         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
54694         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
54695         0x00c10080.
54696         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
54697         0x0000003c.
54698         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
54700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
54701         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
54702         getcontext_e500.
54703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
54704         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
54705         setcontext_e500.
54706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
54707         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
54708         and setcontext_e500.
54710 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
54712         * locale/iso-3166.def: Update iso-1366.def and related occurrences
54714 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54716         * manual/threads.texi (Default Thread Attributes): Fix typo.
54718 2013-10-04  Will Newton  <will.newton@linaro.org>
54720         * malloc/Makefile: Add tst-memalign.
54721         * malloc/tst-memalign.c: New file.
54723         * malloc/tst-posix_memalign.c: Add comments.
54724         (do_test): Add comments and call free on all potentially
54725         allocated pointers. Add space after cast.
54727         * malloc/tst-pvalloc.c: Add comments.
54728         (do_test): Add comments and call free on all potentially
54729         allocated pointers. Remove duplicate check for NULL pointer.
54730         Add space after cast.
54732         * malloc/tst-valloc.c: Add comments.
54733         (do_test): Add comments and call free on all potentially
54734         allocated pointers. Remove duplicate check for NULL pointer.
54735         Add space after cast.
54737 2013-10-04  Alan Modra  <amodra@gmail.com>
54739         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54740         Use stdint types in rather than __attribute__((mode())).
54741         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54743 2013-10-04  Alan Modra  <amodra@gmail.com>
54745         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54746         Correct handling of unaligned relocs for little-endian.
54747         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54749 2013-10-04  Alan Modra  <amodra@gmail.com>
54751         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
54752         * configure: Regenerate.
54753         * nptl/shlib-versions: Powerpc*le starts at 2.18.
54754         * shlib-versions: Likewise.
54756 2013-10-04  Alan Modra  <amodra@gmail.com>
54758         * string/tester.c (test_memrchr): Increment reported test cycle.
54760 2013-10-04  Alan Modra  <amodra@gmail.com>
54762         * string/test-memcpy.c (do_one_test): When reporting errors, print
54763         string address and don't overrun end of string.
54765 2013-10-04  Alan Modra  <amodra@gmail.com>
54767         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
54768         insrdi.  Make better use of reg selection to speed exit slightly.
54769         Schedule entry path a little better.  Remove useless "are we done"
54770         checks on entry to main loop.  Handle wrapping around zero address.
54771         Correct main loop count.  Handle single left-over word from main
54772         loop inline rather than by using loop_small.  Remove extra word
54773         case in loop_small caused by wrong loop count.  Add little-endian
54774         support.
54775         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54776         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
54777         cache hint.
54778         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54779         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
54780         support.  Avoid rlwimi.
54781         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
54783 2013-10-04  Alan Modra  <amodra@gmail.com>
54785         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
54786         insrdi.  Formatting.
54787         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
54788         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
54789         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
54790         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54791         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
54792         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
54794 2013-10-04  Alan Modra  <amodra@gmail.com>
54796         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
54797         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54798         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
54799         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
54800         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54801         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54802         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54803         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54804         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
54805         use of regs.  Use power7 mtocrf.  Tidy function tails.
54807 2013-10-04  Alan Modra  <amodra@gmail.com>
54809         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
54810         Formatting.  Consistently use rXXX register defines or rN defines.
54811         Use early exit labels that avoid restoring unused non-volatile regs.
54812         Make cr field use more consistent with rWORDn compares.  Rename
54813         regs used as shift registers for unaligned loop, using rN defines
54814         for short lifetime/multiple use regs.
54815         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54816         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
54817         addi 1,1,64 to pop stack frame.  Simplify return value code.
54818         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54820 2013-10-04  Alan Modra  <amodra@gmail.com>
54822         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
54823         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
54824         rather than rlwimi.
54825         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
54826         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
54827         little-endian support.  Correct typos.
54828         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
54829         rather than rlwimi.
54830         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
54831         in loop and entry code to keep "and." results.
54832         (strchr): Add little-endian support.  Comment.  Move cntlzd
54833         earlier in tail.
54834         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
54836 2013-10-04  Alan Modra  <amodra@gmail.com>
54838         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
54839         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
54840         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
54841         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
54843 2013-10-04  Alan Modra  <amodra@gmail.com>
54845         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
54846         (rTMP): Define as r11.
54847         (strcmp): Add little-endian support.  Optimise tail.
54848         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
54849         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54850         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54851         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54852         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54853         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54854         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54856 2013-10-04  Alan Modra  <amodra@gmail.com>
54858         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
54859         little-endian support.  Remove unnecessary "are we done" tests.
54860         Handle "s" wrapping around zero and extremely large "size".
54861         Correct main loop count.  Handle single left-over word from main
54862         loop inline rather than by using small_loop.  Correct comments.
54863         Delete "zero" tail, use "end_max" instead.
54864         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
54866 2013-10-04  Alan Modra  <amodra@gmail.com>
54868         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
54869         support.  Don't branch over align.
54870         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
54871         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
54872         support.  Rearrange tmp reg use to suit.  Comment.
54873         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
54875 2013-10-04  Alan Modra  <amodra@gmail.com>
54877         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
54879 2013-10-04  Alan Modra  <amodra@gmail.com>
54881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
54882         conditional form of branch and link when obtaining pc.
54883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
54885 2013-10-04  Alan Modra  <amodra@gmail.com>
54887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
54888         HIWORD/LOWORD.
54889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
54890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
54892 2013-10-04  Alan Modra  <amodra@gmail.com>
54894         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
54895         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
54896         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
54897         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
54898         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54899         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
54900         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
54901         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54902         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
54903         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
54905 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54906             Alistair Popple <alistair@ozlabs.au.ibm.com>
54907             Alan Modra <amodra@gmail.com>
54909         [BZ #15723]
54910         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
54911         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
54912         _dl_hwcap access for little-endian.
54913         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
54914         destroy vmx regs when saving unaligned.
54915         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
54916         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
54917         destroy vmx regs when saving unaligned.
54919 2013-10-04  Alan Modra  <amodra@gmail.com>
54921         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
54922         Don't use a union to pack hi/low value.
54924 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54926         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
54927         for little-endian.
54928         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54929         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
54930         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
54931         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54932         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54934 2013-10-04  Alan Modra  <amodra@gmail.com>
54936         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
54937         constants to usual value for .cst8 section, and remove redundant
54938         high address load.
54939         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
54940         constant for 0x1p52.  Load little-endian words of double from
54941         correct stack offsets.
54943 2013-10-04  Alan Modra  <amodra@gmail.com>
54945         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
54946         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
54947         words of double from correct stack offsets.
54948         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
54949         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
54950         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54951         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54952         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54953         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54954         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54955         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
54956         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
54957         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54958         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54959         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54960         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54961         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54962         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54963         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
54964         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
54966 2013-10-04  Alan Modra  <amodra@gmail.com>
54968         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
54969         64-bit int/double union.
54970         (_FPU_SETCW): Likewise.
54971         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
54972         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
54974 2013-10-04  Alan Modra  <amodra@gmail.com>
54976         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
54977         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
54979 2013-10-04  Alan Modra  <amodra@gmail.com>
54981         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
54982         use vector int constants.
54983         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
54985 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
54987         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
54988         array with long long.
54989         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
54990         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
54991         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
54992         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
54993         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
54994         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
54995         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
54996         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
54997         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
54998         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
54999         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
55000         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
55001         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
55003 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55005         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
55006         (__signbit): Likewise.  Correct for little-endian.
55007         (__signbitl): Call __signbit.
55008         (lrint): Correct for little-endian.
55009         (lrintf): Call lrint.
55011 2013-10-04  Alan Modra  <amodra@gmail.com>
55013         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
55014         union 32-bit int array member with 64-bit int array.
55015         (t515, tm256): Double rather than long double.
55016         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
55018 2013-10-04  Alan Modra  <amodra@gmail.com>
55020         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
55021         Delete.
55022         (IEEE854_LONG_DOUBLE_BIAS): Delete.
55023         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
55024         version of math_ldbl.h.
55026 2013-10-04  Alan Modra  <amodra@gmail.com>
55028         [BZ #15734], [BZ #15735]
55029         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
55030         all uses of ieee875 long double macros and unions.  Simplify test
55031         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
55032         ldbl_extract_mantissa value for ix,iy exponents.  Properly
55033         normalize after ldbl_extract_mantissa, and don't add hidden bit
55034         already handled.  Don't treat low word of ieee854 mantissa like
55035         low word of IBM long double and mask off bit when testing for
55036         zero.
55037         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
55038         all uses of ieee875 long double macros and unions.  Simplify tests
55039         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
55040         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
55041         two1022, instead use their values.  Recognise that tests for large
55042         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
55043         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
55044         Rewrite all uses of ieee875 long double macros and unions.  Simplify
55045         test for 0.0L and nan.  Correct negation.
55046         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
55047         ieee875 long double macros and unions.  Correct output for large
55048         magnitude x.  Correct absolute value calculation.
55049         (__erfcl): Likewise.
55050         * math/libm-test.inc: Add tests for errors discovered in IBM long
55051         double versions of fmodl, remainderl, erfl and erfcl.
55053 2013-10-04  Alan Modra  <amodra@gmail.com>
55055         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
55056         all uses of ieee854 long double macros and unions.  Simplify tests
55057         for long doubles that are fully specified by the high double.
55058         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
55059         Likewise.
55060         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
55061         Remove dead code too.
55062         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
55063         (__ieee754_ynl): Likewise.
55064         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
55065         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
55066         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
55067         Remove dead code too.
55068         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
55069         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
55070         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
55071         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
55072         Simplify.
55073         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
55074         Simplify.
55075         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
55076         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
55077         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
55078         Comment on variable precision.
55079         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
55080         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
55081         Likewise.
55082         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
55083         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55084         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55085         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
55086         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
55088 2013-10-04  Alan Modra  <amodra@gmail.com>
55090         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
55091         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
55092         all uses of ieee854 long double macros and unions.
55093         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
55094         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
55095         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
55096         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
55097         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
55098         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55099         Likewise.
55100         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
55101         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55102         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
55103         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55104         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
55105         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
55106         Simplify sign and nan test too.
55107         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
55108         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
55109         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
55110         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
55111         Likewise.
55112         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55113         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
55114         Likewise.
55115         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55116         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
55117         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
55118         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
55119         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
55120         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
55122 2013-10-04  Alan Modra  <amodra@gmail.com>
55124         * stdio-common/printf_size.c (__printf_size): Don't use
55125         union ieee854_long_double in fpnum union.
55126         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
55127         signbit macro to retrieve sign from long double.
55128         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
55129         retrieve sign from long double.
55130         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
55131         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
55132         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
55133         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55134         * math/test-misc.c (main): Don't use union ieee854_long_double.
55136 2013-10-04  Alan Modra  <amodra@gmail.com>
55138         [BZ #15680]
55139         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
55140         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
55141         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
55142         calculation.  Remove unnecessary test for denormal exponent.
55143         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
55144         Correct handling of denormals.  Avoid undefined shift behaviour.
55145         Correct normalisation of low mantissa when low double is denormal.
55146         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
55147         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
55148         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
55149         Correct normalisation of low mantissa.  Test for overflow of high
55150         mantissa and normalise.
55151         (ldbl_nearbyint): Use more readable constant for two52.
55152         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
55153         (__mpn_construct_long_double): Fix test for overflow of high
55154         mantissa and correct normalisation.  Avoid undefined shift.
55156 2013-10-04  Alan Modra  <amodra@gmail.com>
55158         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
55159         (union ibm_extended_long_double): Define as an array of ieee754_double.
55160         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
55161         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
55162         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
55163         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
55164         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55165         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
55166         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55167         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55168         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55169         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
55170         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
55172 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
55174         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
55175         page size instead of calling getpagesize.
55177         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
55178         (LOCFILE_ALIGN_MASK): Likewise.
55179         (LOCFILE_ALIGN_UP): Likewise.
55180         (LOCFILE_ALIGNED_P): Likewise.
55181         * locale/programs/ld-collate.c (collate_output): Use the new
55182         macros instead of __alignof__ (int32_t).
55183         * locale/weight.h (findidx): Likewise.
55185 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
55187         [BZ #431]
55188         * manual/string.texi: Fix strncat and wcsncat.
55190 2013-10-03  Brooks Moses  <bmoses@google.com>
55192         [BZ #15915]
55193         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
55194         * Makerules: ...here, and adjust associated comments.
55196 2013-10-02  Will Newton  <will.newton@linaro.org>
55198         * malloc/Makefile: Add tst-pvalloc.
55199         * malloc/tst-pvalloc.c: New file.
55201 2013-10-02  Will Newton  <will.newton@linaro.org>
55203         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
55204         improve test coverage.
55206 2013-10-02  Will Newton  <will.newton@linaro.org>
55208         * malloc/Makefile: Add tst-posix_memalign.
55209         * malloc/tst-posix_memalign.c: New file.
55211 2013-10-01  Eric Blake  <eblake@redhat.com>
55213         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
55214         Use __THROWNL rather than __THROW on static functions.
55216 2013-09-30  Petr Machata  <pmachata@redhat.com>
55218         * elf/elf.h (R_AARCH64_ABS16): New macro.
55219         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
55220         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
55221         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
55222         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
55223         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
55224         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
55225         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
55226         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
55227         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
55228         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
55229         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
55230         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
55231         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
55232         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
55233         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
55234         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
55235         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
55236         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
55237         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
55238         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
55239         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
55240         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
55241         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
55242         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
55243         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
55244         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
55245         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
55246         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
55247         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
55248         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
55249         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
55250         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
55251         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
55252         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
55253         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
55254         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
55255         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
55256         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
55257         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
55258         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
55259         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
55260         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
55261         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
55262         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
55263         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
55264         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
55265         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
55266         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
55267         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
55268         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
55269         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
55270         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
55271         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
55272         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
55273         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
55274         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
55275         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
55276         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
55277         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
55278         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
55279         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
55280         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
55281         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
55282         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
55283         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
55284         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
55285         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
55286         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
55287         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
55288         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
55289         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
55290         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
55291         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
55292         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
55293         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
55294         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
55295         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
55296         (R_AARCH64_TLSDESC_LDR): Likewise.
55297         (R_AARCH64_TLSDESC_ADD): Likewise.
55298         (R_AARCH64_TLSDESC_CALL): Likewise.
55300 2013-09-30  Andreas Schwab  <schwab@suse.de>
55302         [BZ #15048]
55303         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
55304         the nss database lookup.
55305         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55306         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55308 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
55310         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
55312 2013-09-28  P. J. McDermott  <pj@pehjota.net>
55314         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
55315         ${Bash-specific parameter/pattern/string} parameter expansion.
55316         * sysdeps/unix/make-syscalls.sh: Likewise.
55318 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55320         * sysdeps/sh/stackguard-macros.h: New file.
55322 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
55324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
55325         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
55326         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
55327         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
55328         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55329         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
55331 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55333         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
55334         Fix thread ID register.
55336 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
55338         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
55339         [POSIX || UNIX98]: Require rather than permitting all symbols from
55340         <time.h>.
55341         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
55342         element of struct sched_param.
55343         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
55344         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
55345         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
55346         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
55347         constant.
55349 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
55351         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
55352         argument calculation.
55354 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55356         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
55357         Expect macro.
55358         [POSIX] (pthread_attr_t): Do not require type.
55359         [POSIX] (pthread_cond_t): Likewise.
55360         [POSIX] (pthread_condattr_t): Likewise.
55361         [POSIX] (pthread_key_t): Likewise.
55362         [POSIX] (pthread_mutex_t): Likewise.
55363         [POSIX] (pthread_mutexattr_t): Likewise.
55364         [POSIX] (pthread_once_t): Likewise.
55365         [POSIX] (pthread_t): Likewise.
55366         [POSIX-based standards] (pthread_atfork): Expect function.
55368 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55369             Richard Sandiford  <richard@codesourcery.com>
55371         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
55372         (swap_endianness_p): New extern variable.
55373         (set_big_endian): New inline function.
55374         (maybe_swap_uint32): Likewise.
55375         (maybe_swap_uint32_array): Likewise.
55376         (maybe_swap_uint32_obstack): Likewise.
55377         * locale/programs/locfile.c: Include <stdbool.h>.
55378         (swap_endianness_p): New variable.
55379         (add_locale_uint32): Call maybe_swap_uint32.
55380         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
55381         (write_locale_data): Call maybe_swap_uint32_array.
55382         * locale/programs/ld-collate.c (obstack_int32_grow): Call
55383         maybe_swap_uint32.
55384         (obstack_int32_grow_fast): Likewise.
55385         (output_weightwc): Call maybe_swap_uint32_obstack.
55386         (collate_output): Likewise.
55387         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
55388         (OPT_LITTLE_ENDIAN): Likewise.
55389         (options): Add --little-endian and --big-endian options.
55390         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
55391         * locale/programs/locarchive.c: Include "locfile.h".
55392         (GET): New macro.
55393         (SET): Likewise.
55394         (INC): Likewise.
55395         (create_archive): Use the new macros to access fields of
55396         structures directly mapped from or written to locale archives.
55397         (oldlocrecentcmp): Likewise.
55398         (enlarge_archive): Likewise.
55399         (insert_name): Likewise.
55400         (add_alias): Likewise.
55401         (add_locale): Likewise.
55402         (delete_locales_from_archive): Likewise.
55403         (show_archive_content): Likewise.
55404         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
55405         locale data.
55407 2013-09-24  Roland McGrath  <roland@hack.frob.com>
55409         * manual/freemanuals.texi: Updated from (newly) canonical copy at
55410         http://www.gnu.org/doc/freemanuals.texi.
55411         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
55413 2013-09-24  Will Newton  <will.newton@linaro.org>
55415         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
55416         macro.
55418 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
55420         * locale/hashval.h (compute_hashval): Interpret bytes of key as
55421         unsigned char.
55423 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
55425         * manual/threads.texi (POSIX Threads): Fix a typo.
55427 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55429         [BZ #14547]
55430         * string/tst-strcoll-overflow.c: New test case.
55431         * string/Makefile (xtests): Add tst-strcoll-overflow.
55432         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
55433         cache if string sizes may cause integer overflow.
55435         [BZ #14547]
55436         * string/strcoll_l.c (coll_seq): New members rule, idx,
55437         save_idx and back_us.
55438         (get_next_seq_nocache): New function.
55439         (do_compare_nocache): New function.
55440         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
55441         when malloc fails.
55443 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
55445         [BZ #15754]
55446         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
55447         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
55448         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
55450         [BZ #15754]
55451         * elf/Makefile (tests): Add tst-ptrguard1.
55452         (tests-static): Add tst-ptrguard1-static.
55453         (tst-ptrguard1-ARGS): Define.
55454         (tst-ptrguard1-static-ARGS): Define.
55455         * elf/tst-ptrguard1.c: New file.
55456         * elf/tst-ptrguard1-static.c: New file.
55457         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
55458         * sysdeps/i386/stackguard-macros.h: Likewise.
55459         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
55460         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
55461         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
55462         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
55463         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
55464         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
55466 2013-09-23  Hector Marco  <hecmargi@upv.es>
55467             Ismael Ripoll  <iripoll@disca.upv.es>
55468             Carlos O'Donell  <carlos@redhat.com>
55470         [BZ #15754]
55471         * sysdeps/generic/stackguard-macros.h: Define
55472         __pointer_chk_guard_local and POINTER_CHK_GUARD.
55473         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
55474         Define __pointer_chk_guard_local.
55475         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
55476         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
55478 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
55480         [BZ #15859]
55481         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
55483 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
55485         * include/string.h (__ffs): Declare as hidden.
55486         * string/ffs.c (__ffs): Define as hidden.
55487         * sysdeps/i386/ffs.c (__ffs): Likewise.
55488         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
55489         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
55490         * sysdeps/s390/ffs.c (__ffs): Likewise.
55491         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
55493 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
55495         * NEWS: Mention malloc probes.
55497         * malloc/arena.c (new_heap): New memory_heap_new probe.
55498         (grow_heap): New memory_heap_more probe.
55499         (shrink_heap): New memory_heap_less probe.
55500         (heap_trim): New memory_heap_free probe.
55501         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
55502         (systrim): New memory_sbrk_less probe.
55503         * manual/probes.texi: Document them.
55505         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
55506         * manual/probes.texi: Document it.
55508         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
55509         (__libc_realloc): Add memory_realloc_retry probe.
55510         (__libc_memalign): Add memory_memalign_retry probe.
55511         (__libc_valloc): Add memory_valloc_retry probe.
55512         (__libc_pvalloc): Add memory_pvalloc_retry probe.
55513         (__libc_calloc): Add memory_calloc_retry probe.
55514         * manual/probes.texi: Document them.
55516         * malloc/arena.c (get_free_list): Add probe
55517         memory_arena_reuse_free_list.
55518         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
55519         and memory_arena_reuse.
55520         (arena_get2) [!PER_THREAD]: Likewise.
55521         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
55522         memory_arena_reuse_realloc.
55523         * manual/probes.texi: Document them.
55525         * malloc/malloc.c (__libc_free): Add
55526         memory_mallopt_free_dyn_thresholds probe.
55527         (__libc_mallopt): Add multiple memory_mallopt probes.
55528         * manual/probes.texi: Document them.
55530         * malloc/malloc.c: Include stap-probe.h.
55531         (__libc_mallopt): Add memory_mallopt probe.
55532         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
55533         * manual/probes.texi: New.
55534         * manual/Makefile (chapters): Add probes.
55535         * manual/threads.texi: Set next node.
55537 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
55539         [BZ #15963, #13985]
55540         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
55541         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
55542         Add `Chinese' to `nan' entry name.
55544 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55546         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
55547         (POLYNOMIAL): Likewise.
55548         (TAYLOR_SINCOS): Likewise.
55549         (TAYLOR_SLOW): Likewise.
55550         (__sin): Use TAYLOR_SINCOS.
55551         (__cos): Likewise.
55552         (slow): Use TAYLOR_SLOW.
55553         (sloww): Likewise.
55554         (bsloww): Likewise.
55555         (csloww): Likewise.
55557 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55559         * stdlib/strtod_l.c: Fix buffer overrun.
55561 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55563         * benchtests/Makefile (bench): Add sincos.
55564         * benchtests/bench-sincos.c: New file.
55566         * math/libm-test.inc (cos_test_data): New test inputs.
55567         (sin_test_data): Likewise.
55569         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
55570         macro.
55571         (__sin): Use it.
55572         (__cos): Likewise.
55573         (slow1): Likewise.
55574         (slow2): Likewise.
55575         (sloww1): Likewise.
55576         (sloww2): Likewise.
55577         (bsloww1): Likewise.
55578         (bsloww2): Likewise.
55579         (cslow2): Likewise.
55580         (csloww1): Likewise.
55581         (csloww2): Likewise.
55583         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
55584         function.
55585         (__sin): Use it.
55586         (__cos): Likewise.
55588         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
55589         gotos.
55590         (__cos): Likewise.
55592 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
55594         * config.h.in (HAVE_MIPS_NAN2008): New macro.
55595         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
55596         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
55597         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
55598         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
55599         * elf/cache.c (print_entry): Handle the new cache flags.
55601 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
55602             Aldy Hernandez  <aldyh@redhat.com>
55604         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
55605         Change condition to [_SOFT_FLOAT].
55606         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
55607         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
55608         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
55609         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
55610         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
55611         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
55612         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
55613         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
55614         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
55615         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
55616         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
55617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
55618         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
55619         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
55620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
55621         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
55622         declaration.
55624 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
55626         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
55627         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
55628         (__longjmp): Use LOAD_GP to load saved GPRs.
55629         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
55630         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
55631         (__sigsetjmp): Use SAVE_GP to save GPRs.
55633         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
55634         Do not append -msoft-float.
55635         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
55637 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55639         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
55641 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
55643         [BZ #15966]
55644         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
55645         (_FPU_GETCW): Use initial "__" on variable and field names but not
55646         on macro parameter name.
55647         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
55648         parentheses around reference to macro parameter.
55650 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
55652         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
55653         prototype.
55654         (ctype_startup): Use uint32_t in cast and sizeof for
55655         ctype->charnames.
55657 2013-09-11  Jia Liu  <proljc@gmail.com>
55659         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
55660         __daddr_t_defined.
55661         [__FreeBSD__]: Likewise.
55663 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
55665         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
55666         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
55667         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
55668         (strchr): Remove __strchr_sse42 ifunc selection.
55669         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
55670         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
55672 2013-09-11  Will Newton  <will.newton@linaro.org>
55674         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
55675         parameter to RES. Remove hardcoded 1000 value.
55676         * benchtests/bench-skeleton.c (main): Pass RES parameter
55677         to TIMING_INIT and multiply result by 1000.
55679 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55683 2013-09-11  Andreas Schwab  <schwab@suse.de>
55685         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
55686         if not defined.
55687         (O_TMPFILE) [__USE_GNU]: Define.
55688         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
55689         Define.
55691 2013-09-11  Will Newton  <will.newton@linaro.org>
55693         [BZ #15857]
55694         * malloc/malloc.c (__libc_memalign): Check the value of bytes
55695         does not overflow.
55697 2013-09-11  Will Newton  <will.newton@linaro.org>
55699         [BZ #15856]
55700         * malloc/malloc.c (__libc_valloc): Check the value of bytes
55701         does not overflow.
55703 2013-09-11  Will Newton  <will.newton@linaro.org>
55705         [BZ #15855]
55706         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
55707         does not overflow.
55709 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
55711         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
55712         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55713         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55714         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55715         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55717 2013-09-10  Allan McRae  <allan@archlinux.org>
55719         [BZ #15748]
55720         * manual/arith.texi (Parsing of Floats): Clarify
55721         cross-reference.
55723         [BZ #15849]
55724         * manual/install.texi (Running make install): Mention
55725         --enable-pt-chown.
55726         * INSTALL: Regenerated.
55728 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
55730         * csu/init-first.c (_init): Remove the !SHARED condition around
55731         FPU control word initialization.
55732         * elf/dl-support.c (_dl_fpu_control): New variable.
55733         (_dl_aux_init) <AT_FPUCW>: Initialize it.
55734         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
55735         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
55736         * math/test-fpucw-static.c: New file.
55737         * math/test-fpucw-ieee.c: New file.
55738         * math/test-fpucw-ieee-static.c: New file.
55739         * math/Makefile (tests): Add `test-fpucw-ieee' and
55740         `$(tests-static)'.
55741         (tests-static): New variable.
55742         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
55743         dependency to...
55744         [($(build-shared),yes)]
55745         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
55746         ... this.
55747         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
55748         New dependency.
55750 2013-09-09  Allan McRae  <allan@archlinux.org>
55752         [BZ #15939]
55753         * manual/string.texi (Collation Functions): Fix typo in
55754         strcoll example.
55755         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
55757         [BZ #15893]
55758         * stdlib/isomac.c (get_null_defines): Fix memory leak.
55760         [BZ #15892]
55761         * libio/memstream.c (open_memstream): Fix memory leak.
55762         * libio/wmemstream.c (open_wmemstream): Likewise.
55764         [BZ #15895]
55765         * nscd/netgroupcache.c: Fix nesting of ifdefs.
55767 2013-09-09  Will Newton  <will.newton@linaro.org>
55769         * malloc/Makefile: Add tst-realloc to tests.
55770         * malloc/tst-realloc.c: New file.
55772 2013-09-09  Allan McRae  <allan@archlinux.org>
55774         [BZ #15844]
55775         * COPYING: Update from GNU website to fix FSF address.
55776         * COPYING.LIB: Likewise.
55778 2013-09-06  David S. Miller  <davem@davemloft.net>
55780         * po/zh_TW.po: Update Chinese (traditional) translation from
55781         translation project.
55783 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
55784             Joseph Myers  <joseph@codesourcery.com>
55786         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
55787         "localeinfo.h".
55788         (obstack_chunk_alloc): New macro.
55789         (obstack_chunk_free): Likewise.
55790         (record_offset): New function.
55791         (init_locale_data): Likewise.
55792         (align_locale_data): Likewise.
55793         (add_locale_empty): Likewise.
55794         (add_locale_raw_data): Likewise.
55795         (add_locale_raw_obstack): Likewise.
55796         (add_locale_string): Likewise.
55797         (add_locale_wstring): Likewise.
55798         (add_locale_uint32): Likewise.
55799         (add_locale_uint32_array): Likewise.
55800         (add_locale_char): Likewise.
55801         (start_locale_structure): Likewise.
55802         (end_locale_structure): Likewise.
55803         (start_locale_prelude): Likewise.
55804         (end_locale_prelude): Likewise.
55805         (write_locale_data): Take locale_file structure rather than an
55806         iovec.
55807         * locale/programs/locfile.h: Include "obstack.h".
55808         (struct locale_file): Change to store locale file contents instead
55809         of header.
55810         (init_locale_data): New prototype.
55811         (align_locale_data): Likewise.
55812         (add_locale_empty): Likewise.
55813         (add_locale_raw_data): Likewise.
55814         (add_locale_raw_obstack): Likewise.
55815         (add_locale_string): Likewise.
55816         (add_locale_wstring): Likewise.
55817         (add_locale_uint32): Likewise.
55818         (add_locale_uint32_array): Likewise.
55819         (add_locale_char): Likewise.
55820         (start_locale_structure): Likewise.
55821         (end_locale_structure): Likewise.
55822         (start_locale_prelude): Likewise.
55823         (end_locale_prelude): Likewise.
55824         (write_locale_data): Update prototype.
55825         * locale/programs/3level.h (struct TABLE): Remove result field.
55826         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
55827         Use new locale_file interface.
55828         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
55829         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
55830         * locale/programs/ld-address.c (address_output): Use new
55831         locale_file interface.
55832         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
55833         NO_ADD_LOCALE.
55834         (collate_finish): Don't call collseq_table_finalize.
55835         (collate_output): Use new locale_file interface.
55836         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
55837         in file.
55838         (NO_FINALIZE): Change to NO_ADD_LOCALE.
55839         (TABLE): Move defines earlier in file.
55840         (ELEMENT): Likewise.
55841         (DEFAULT): Likewise.
55842         (wctrans_table_add): Move macro and inline function earlier in
55843         file.
55844         (struct wctype_table): Move type earlier in file.
55845         (add_locale_wctype_table): New static prototype.
55846         (struct locale_ctype_t): Use logical types instead of struct iovec
55847         pointers for members.
55848         (ctype_output): Use new locale_file interface.
55849         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
55850         new locale_file interface.
55851         (allocate_arrays): Update for use of new locale_file interface.
55852         * locale/programs/ld-identification.c (identification_output): Use
55853         new locale_file interface.
55854         * locale/programs/ld-measurement.c (measurement_output): Likewise.
55855         * locale/programs/ld-messages.c (messages_output): Likewise.
55856         * locale/programs/ld-monetary.c (monetary_output): Likewise.
55857         * locale/programs/ld-name.c (name_output): Likewise.
55858         * locale/programs/ld-numeric.c (numeric_output): Likewise.
55859         * locale/programs/ld-paper.c (paper_output): Likewise.
55860         * locale/programs/ld-telephone.c (telephone_output): Likewise.
55861         * locale/programs/ld-time.c (time_output): Likewise.
55863 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55865         * benchtests/Makefile: Add memrchr benchmark.
55866         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
55867         benchmark as memrchr.
55868         * benchtests/bench-memrchr-ifunc.c: New file.
55869         * benchtests/bench-memrchr.c: New file.
55871 2013-09-06   Will Newton  <will.newton@linaro.org>
55873         * benchtests/Makefile (string-bench): Add memcpy.
55875 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
55876             Cong Wang  <amwang@redhat.com>
55878         [BZ #15850]
55879         * sysdeps/unix/sysv/linux/bits/in.h
55880         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
55881         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
55882         before __USE_KERNEL_IPV6_DEFS uses.
55883         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
55884         IPPROTO_BEETPH.
55885         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
55886         sockaddr_in6, or ipv6_mreq.
55888 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55890         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
55891         memory access for final bytes in some large inputs.
55892         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
55894 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55896         * string/test-memrchr.c: New file.
55897         * string/test-memrchr-ifunc.c: New file.
55898         * string/Makefile: Add new memrchr testcase.
55900 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
55902         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
55903         fanotify_init returns EPERM.
55905 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
55907         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
55908         errors.
55909         (top level): Treat second token from macro or constant entries for
55910         allowed headers as allowed.
55911         * include/complex.h: Condition internal declarations on
55912         [!_ISOMAC].
55913         * include/fenv.h: Condition include of <stdbool.h> and internal
55914         declarations on [!_ISOMAC].
55916 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
55918         [BZ #15923]
55919         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
55921 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
55923         * configure.in (--enable-versioning): Remove configure option.
55924         (libc_cv_asm_symver_directive): Remove configure test.
55925         (libc_cv_ld_version_script_option): Likewise.
55926         (VERSIONING): Remove variable and AC_SUBST.
55927         (DO_VERSIONING): Remove AC_DEFINE.
55928         * configure: Regenerated.
55929         * config.h.in (DO_VERSIONING): Remove macro.
55930         * Makerules [$(versioning) = yes]: Change conditionals to
55931         [$(build-shared) = yes].
55932         * config.make.in (versioning): Remove variable.
55933         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
55934         [$(build-shared) = yes].
55935         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
55936         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
55937         * elf/Makefile [$(versioning) = yes]: Change conditionals to
55938         [$(build-shared) = yes].
55939         * extra-lib.mk [$(versioning) = yes]: Likewise.
55940         * hurd/Makefile [$(versioning) = yes]: Likewise.
55941         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
55942         [SHARED].
55943         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
55944         [SHARED].
55945         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
55946         [SHARED && !NO_HIDDEN].
55947         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
55948         [SHARED].
55949         [SHARED && DO_VERSIONING]: Likewise..
55950         * libio/Makefile [$(versioning) = yes]: Change conditionals to
55951         [$(build-shared) = yes].
55952         * manual/install.texi (--disable-versioning): Remove
55953         documentation.
55954         * INSTALL: Regenerated.
55955         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
55956         to [SHARED].
55957         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
55958         [$(build-shared) = yes].
55959         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
55960         * sysdeps/i386/i686/multiarch/strstr-c.c
55961         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
55962         [SHARED && !NO_HIDDEN].
55963         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
55964         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
55965         * sysdeps/powerpc/powerpc32/dl-machine.c
55966         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
55967         * sysdeps/powerpc/powerpc32/sysdep.h
55968         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
55969         to [SHARED && PIC && !NO_HIDDEN].
55970         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
55971         conditional to [SHARED].
55973 2013-09-04   Will Newton  <will.newton@linaro.org>
55975         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
55976         * benchtests/bench-string.h: Include bench-timing.h instead
55977         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
55978         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
55979         call to HP_TIMING_DIFF_INIT.
55980         * benchtests/bench-memccpy.c: Use bench-timing.h macros
55981         instead of hp-timing.h macros.
55982         * benchtests/bench-memchr.c: Likewise.
55983         * benchtests/bench-memcmp.c: Likewise.
55984         * benchtests/bench-memcpy.c: Likewise.
55985         * benchtests/bench-memmem.c: Likewise.
55986         * benchtests/bench-memmove.c: Likewise.
55987         * benchtests/bench-memset.c: Likewise.
55988         * benchtests/bench-rawmemchr.c: Likewise.
55989         * benchtests/bench-strcasecmp.c: Likewise.
55990         * benchtests/bench-strcasestr.c: Likewise.
55991         * benchtests/bench-strcat.c: Likewise.
55992         * benchtests/bench-strchr.c: Likewise.
55993         * benchtests/bench-strcmp.c: Likewise.
55994         * benchtests/bench-strcpy.c: Likewise.
55995         * benchtests/bench-strcpy_chk.c: Likewise.
55996         * benchtests/bench-strlen.c: Likewise.
55997         * benchtests/bench-strncasecmp.c: Likewise.
55998         * benchtests/bench-strncat.c: Likewise.
55999         * benchtests/bench-strncmp.c: Likewise.
56000         * benchtests/bench-strncpy.c: Likewise.
56001         * benchtests/bench-strnlen.c: Likewise.
56002         * benchtests/bench-strpbrk.c: Likewise.
56003         * benchtests/bench-strrchr.c: Likewise.
56004         * benchtests/bench-strspn.c: Likewise.
56005         * benchtests/bench-strstr.c: Likewise.
56007 2013-09-04  Will Newton  <will.newton@linaro.org>
56009         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
56011 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
56013         [BZ #15427]
56014         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
56015         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
56016         * math/libm-test.inc (lgamma_test_data): Add more tests.
56017         * sysdeps/i386/fpu/libm-test-ulps: Update.
56018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56020 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
56022         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
56023         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56024         Add ifunc.
56025         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56026         Add strcmp-sse2-unaligned
56027         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
56029 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56031         * Versions.def (libc): Add GLIBC_2.19.
56033 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56035         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
56036         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
56038 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
56040         [BZ #14155]
56041         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
56042         intermediate calculations in recurrence.
56043         (__ieee754_ynf): Likewise.
56044         * math/libm-test.inc (jn_test_data): Do not allow spurious
56045         underflow exception.  Add more tests.
56046         (yn_test_data): Add more tests.
56047         * sysdeps/i386/fpu/libm-test-ulps: Update.
56048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56050 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
56052         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
56054 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56056         * csu/init-first.c: Fix then/than typos.
56057         * locale/programs/ld-collate.c: Likewise.
56058         * locale/programs/linereader.h: Likewise.
56059         * manual/charset.texi: Likewise.
56060         * manual/filesys.texi: Likewise.
56061         * manual/stdio.texi: Likewise.
56062         * manual/string.texi: Likewise.
56063         * stdlib/fmtmsg.c: Likewise.
56064         * sysdeps/i386/stpncpy.S: Likewise.
56065         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56066         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56067         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56068         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56070 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56072         * elf/dl-open.c: Fix typos.
56073         * iconvdata/gbbig5.c: Likewise.
56074         * iconvdata/iso-2022-jp.c: Likewise.
56075         * iconv/gconv_int.h: Likewise.
56076         * iconv/loop.c: Likewise.
56077         * nis/rpcsvc/nis.h: Likewise.
56078         * resolv/ns_name.c: Likewise.
56079         * stdio-common/vfscanf.c: Likewise.
56080         * streams/stropts.h: Likewise.
56081         * sunrpc/rpc_thread.c: Likewise.
56082         * sysdeps/i386/strpbrk.S: Likewise.
56083         * sysdeps/ieee754/k_standard.c: Likewise.
56084         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56085         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56086         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
56087         * sysdeps/mach/hurd/profil.c: Likewise.
56088         * sysdeps/s390/dl-procinfo.h: Likewise.
56089         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
56090         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
56091         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
56092         * sysdeps/x86_64/dl-trampoline.S: Likewise.
56093         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56095 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
56097         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
56098         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
56100 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
56102         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
56103         aix specific files.
56104         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
56105         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
56106         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
56107         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
56108         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
56109         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
56110         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
56111         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
56113 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56114             Roland McGrath  <roland@hack.frob.com>
56116         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
56117         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
56119 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56121         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
56122         __executable_start symbol instead of _start.
56124 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56126         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
56127         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
56128         Move macros to...
56129         * sysdeps/gnu/ldsodefs.h: ... this new file.
56131         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
56132         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
56133         instead of ELFOSABI_LINUX.
56135         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
56136         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
56137         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
56138         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
56139         Likewise.
56140         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
56141         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
56142         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
56143         Likewise.
56144         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56145         (ibm_extended_long_double): Add ieee_nan member.
56146         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
56147         (do_test): New function.
56149         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
56150         TEST_TRUNC.
56151         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
56152         functions, renamed from truncdfsf_test, trunctfsf_test,
56153         trunctfdf_test.
56154         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
56155         functions.
56156         (do_test): Run all these.
56158 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
56160         * argp/argp-help.c: Fix typos.
56161         * argp/argp-parse.c: Likewise.
56162         * debug/backtracesyms.c: Likewise.
56163         * elf/elf.h: Likewise.
56164         * malloc/malloc.c: Likewise.
56165         * nis/nis_print.c: Likewise.
56166         * resolv/res_comp.c: Likewise.
56167         * stdlib/stdlib.h: Likewise.
56168         * sunrpc/clnt_tcp.c: Likewise.
56169         * sunrpc/clnt_udp.c: Likewise.
56170         * sunrpc/clnt_unix.c: Likewise.
56171         * sysdeps/unix/bsd/ptsname.c: Likewise.
56172         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
56173         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
56174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
56175         Likewise.
56176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
56177         Likewise.
56178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
56179         Likewise.
56180         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
56182 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56184         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
56185         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56187 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
56189         [BZ #15897]
56190         * dlfcn/Makefile (tests): Add bug-dl-leaf.
56191         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
56192         ($(objpfx)bug-dl-leaf): New rule.
56193         ($(objpfx)bug-dl-leaf.so): Likewise.
56194         ($(objpfx)bug-dl-leaf.out): Likewise.
56195         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
56196         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
56197         * dlfcn/bug-dl-leaf.c: New test.
56198         * dlfcn/bug-dl-leaf-lib.c: Likewise.
56199         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
56200         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
56201         (dlclose): Likewise.
56202         (dlmopen): Likewise.
56204 2013-08-27  Roland McGrath  <roland@hack.frob.com>
56206         * include/netdb.h [!_ISOMAC]:
56207         Don't include <tls.h>.
56208         (h_errno, __libc_h_errno): Move declaration and macros out of
56209         [_LIBC_REENTRANT].
56211         * include/resolv.h [_RESOLV_H_]:
56212         Don't include <tls.h>.
56213         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
56214         * resolv/res_libc.c: Don't include <tls.h>.
56215         (_res): Use __attribute__ ((nocommon)) in place of
56216         __attribute__ ((section (".bss"))).
56218         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
56219         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
56221         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
56223         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
56224         only under [SIOCGIFCONF && SIOCGIFNETMASK].
56226         * resolv/res_mkquery.c: Include <sys/time.h>.
56228         * inet/ifreq.c: Moved to ...
56229         * sysdeps/unix/ifreq.c: ... here.
56230         * inet/ifreq.c: New file, true stub version.
56232         * socket/sa_len.c: New file.
56233         * socket/Makefile (aux): Add it.
56234         * sysdeps/unix/sysv/linux/Makefile
56235         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
56236         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
56237         and #include <socket/sa_len.c>.
56238         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
56239         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
56241         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
56242         * bits/socket.h: ... here.
56244         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
56245         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
56246         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
56248 2013-08-27  Andreas Schwab  <schwab@suse.de>
56250         [BZ #15736]
56251         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
56252         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
56253         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
56254         * string/test-strcasecmp.c (test_main): Run tests in several
56255         locales.
56256         * string/test-strncasecmp.c (test_main): Likewise.
56258         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
56259         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
56260         to __strcasecmp_nonascii and __strncasecmp_nonascii.
56261         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
56262         (__strncasecmp_ssse3) [PIC]: Likewise.
56264 2013-08-26  Roland McGrath  <roland@hack.frob.com>
56266         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
56268         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
56269         instead of explicitly declaring xdecrypt.
56270         * nis/nss_nis/nis-publickey.c: Likewise.
56272 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56274         [BZ #15890]
56275         * nscd/aicache.c: Include res_hconf.h.
56276         (addhstaiX): Initialize res_hconf.
56278 2013-08-26  Andreas Schwab  <schwab@suse.de>
56280         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
56281         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
56283 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56285         * nscd/aicache.c (addhstaiX): Fix indentation.
56287 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
56289         * configure.ac: Quote $build_pt_chown test.
56290         * configure: Regenerated.
56292 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
56294         [BZ #15532]
56295         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
56296         * math/s_cexpf.c (__cexpf): Likewise.
56297         * math/s_cexpl.c (__cexpl): Likewise.
56298         * math/libm-test.inc (cexp_test_data): Correct expected return
56299         value for NaN + i0.  Add another test.
56301 2013-08-22  David S. Miller  <davem@davemloft.net>
56303         * po/ca.po: Update Catalan translation from translation project.
56304         * po/uk.po: Add Ukrainian translations from translation project.
56306 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
56308         [BZ #15797]
56309         * math/s_fdim.c (__fdim): Check for infinite arguments if result
56310         is infinite, not alongside NaN test.
56311         * math/s_fdimf.c (__fdimf): Likewise.
56312         * math/s_fdiml.c (__fdiml): Likewise.
56313         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
56314         errno is unchanged.
56316 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
56318         * argp/argp-help.c: Fix typos.
56319         * crypt/speeds.c: Likewise.
56320         * csu/check_fds.c: Likewise.
56321         * elf/dl-load.c: Likewise.
56322         * elf/dl-open.c: Likewise.
56323         * elf/reldep3.c: Likewise.
56324         * elf/reldep.c: Likewise.
56325         * elf/sprof.c: Likewise.
56326         * iconv/iconv_charmap.c: Likewise.
56327         * iconv/skeleton.c: Likewise.
56328         * iconv/strtab.c: Likewise.
56329         * io/lockf64.c: Likewise.
56330         * libio/libioP.h: Likewise.
56331         * resolv/gai_notify.c: Likewise.
56332         * resolv/ns_name.c: Likewise.
56333         * resolv/ns_samedomain.c: Likewise.
56334         * resolv/res_send.c: Likewise.
56335         * stdlib/random.c: Likewise.
56336         * sunrpc/rpc/xdr.h: Likewise.
56337         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
56338         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56339         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56340         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56341         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56342         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56343         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56344         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56345         * sysdeps/mach/hurd/check_fds.c: Likewise.
56346         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56347         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56348         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56349         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56350         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56351         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56352         * sysdeps/pthread/aio_notify.c: Likewise.
56353         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
56354         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
56355         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
56356         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56357         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
56359 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56361         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
56362         version if bit_Slow_SSE4_2 is set.
56363         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56364         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56366 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56368         [BZ #15867]
56369         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
56370         trampoline stack frame information.
56371         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
56372         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
56373         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
56374         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
56375         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
56376         * sysdeps/unix/sysv/linux/powerpc/init-first.c
56377         (_libc_vdso_platform_setup): Initialize the signal trampolines.
56378         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
56379         sa_flags value.
56380         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
56381         interrupting a syscall and set with option SA_SIGINFO.
56383 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56385         [BZ #15531]
56386         * math/s_cproj.c (__cproj): Only return an infinity if one part of
56387         argument is infinite.
56388         * math/s_cprojf.c (__cprojf): Likewise.
56389         * math/s_cprojl.c (__cprojl): Likewise.
56390         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
56391         * math/libm-test.inc (cproj_test_data): Add more tests.
56393         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
56395         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
56396         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
56397         size.  Use __ffs to determine corresponding shift.
56399 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56400             Roland McGrath  <roland@hack.frob.com>
56402         * Makefile (INSTALL): Remove trailing blank lines from output of
56403         makeinfo.
56405 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56407         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
56408         Align 32 bit compat elf_greg to 8 bytes.
56410 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
56412         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
56414 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56416         * string/strcoll_l.c (coll_seq): New structure.
56417         (get_next_seq_cached): New function.
56418         (get_next_seq): New function.
56419         (do_compare): New function.
56420         (STRCOLL): Use GNU style definition.  Simplify implementation
56421         by using get_next_seq, get_next_seq_cached and do_compare.
56423 2013-08-16  Florian Weimer  <fweimer@redhat.com>
56425         [BZ #14699]
56426         CVE-2013-4237
56427         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
56428         member.
56429         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
56430         member.
56431         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
56432         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
56433         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
56434         conditional.
56435         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
56436         GETDENTS_64BIT_ALIGNED.
56437         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56438         * manual/filesys.texi (Reading/Closing Directory): Document
56439         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
56440         strongly.
56441         * manual/conf.texi (Limits for Files): Add portability note to
56442         NAME_MAX, PATH_MAX.
56443         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
56445 2013-08-13  Andreas Schwab  <schwab@suse.de>
56447         [BZ #15749]
56448         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
56449         of fabs.
56450         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
56451         LDBL_MAX_EXP >= 16384]: Add tests for it.
56453 2013-08-12  David S. Miller  <davem@davemloft.net>
56455         * version.h (RELEASE): Set to "development".
56456         (VERSION): Set to "2.18.90".
56457         * NEWS: Add 2.19 section.
56459 2013-08-03  David S. Miller  <davem@davemloft.net>
56461         * po/ko.po: Update Korean translation from translation project.
56463 2013-08-01  David S. Miller  <davem@davemloft.net>
56465         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
56466         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
56467         Bilka.
56469 2013-07-30  David S. Miller  <davem@davemloft.net>
56471         * po/fr.po: Update French translation from translation project.
56473 2013-07-28  David S. Miller  <davem@davemloft.net>
56475         * po/cs.po: Update Czech translation from translation project.
56477         * po/sv.po: Update Swedish translation from translation project.
56479 2013-07-27  David S. Miller  <davem@davemloft.net>
56481         * po/eo.po: Update Esperanto translation from translation project.
56483         * po/vi.po: Update Vietnamese translation from translation project.
56485         * po/de.po: Update German translation from translation project.
56487 2013-07-26  David S. Miller  <davem@davemloft.net>
56489         * po/bg.po: Update Bulgarian translation from translation project.
56491         * po/nl.po: Update Dutch translation from translation project.
56492         * po/pl.po: Update Polish translation from translation project.
56493         * po/ru.po: Update Russian translation from translation project.
56495 2013-07-24  David S. Miller  <davem@davemloft.net>
56497         * po/libc.pot: Update.
56499 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56501         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
56502         variable page size.
56503         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
56504         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
56505         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
56507 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56509         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
56511 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56512             Andreas Schwab  <schwab@suse.de>
56513             Roland McGrath  <roland@hack.frob.com>
56514             Joseph Myers  <joseph@codesourcery.com>
56515             Carlos O'Donell  <carlos@redhat.com>
56517         [BZ #15755]
56518         * config.h.in: Define HAVE_PT_CHOWN.
56519         * config.make.in (build-pt-chown): New variable.
56520         * configure.in (--enable-pt_chown): New configure option.
56521         * configure: Regenerate.
56522         * login/Makefile: Include Makeconfig.  Build pt_chown only if
56523         build-pt-chown is enabled.
56524         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
56525         pt_chown to fix pty ownership.
56526         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
56527         CLOSE_ALL_FDS.
56528         * manual/install.texi (Configuring and compiling): Mention
56529         --enable-pt_chown. Add @findex for grantpt.
56530         * INSTALL: Regenerate.
56532 2013-07-20  David S. Miller  <davem@davemloft.net>
56534         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
56535         difference between 32-bit and 64-bit.
56537 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
56539         [BZ #15711]
56540         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
56541         Avoid system header dependency with -ffreestanding.
56542         ($(objpfx)bits/syscall%d): Likewise.
56544 2013-07-13  David S. Miller  <davem@davemloft.net>
56546         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
56547         underflows from atanl/atan2l due to bug 15319.
56548         (casinh_test_data): Likewise.
56550 2013-07-07  David S. Miller  <davem@davemloft.net>
56552         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
56554 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
56556         * sysdeps/i386/fpu/libm-test-ulps: Update.
56557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56559 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56561         * configure.in (--enable-lock-elision): Fix message text.
56562         * INSTALL: Regenerate.
56563         * configure: Regenerate.
56565 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56569 2013-07-03  Andreas Jaeger  <aj@suse.de>
56571         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
56572         define.
56573         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
56574         (ptrace_peeksiginfo_args): Add.
56575         (__ptrace_peeksiginfo_flags): Add.
56576         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56577         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56578         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56580 2013-07-03  Allan McRae  <allan@archlinux.org>
56582         * sysdeps/i386/fpu/libm-test-ulps: Update.
56584 2013-07-02  David S. Miller  <davem@davemloft.net>
56586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56588 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
56590         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56592 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
56594         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
56595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56597 2013-07-02  Andi Kleen <ak@linux.intel.com>
56599         * config.h.in (ENABLE_LOCK_ELISION): Add.
56600         * configure.in (--enable-lock-elision): Add option.
56601         * manual/install.texi: Document --enable lock elision.
56602         * configure: Regenerate
56603         * INSTALL: Regenerate.
56605 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
56607         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
56608         SSE4.2 strcasecmp for libc.a.
56609         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
56611 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
56613         [BZ #13304]
56614         * soft-fp/op-common.h (_FP_FMA): New macro.
56615         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
56616         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
56617         (_FP_MUL_MEAT_1_imm): ... here.
56618         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
56619         (_FP_MUL_MEAT_1_wide): ... here.
56620         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
56621         (_FP_MUL_MEAT_1_hard): ... here.
56622         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
56623         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
56624         (_FP_MUL_MEAT_2_wide): ... here.
56625         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
56626         (_FP_MUL_MEAT_2_wide_3mul): ... here.
56627         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
56628         (_FP_MUL_MEAT_2_gmp): ... here.
56629         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
56630         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
56631         (_FP_MUL_MEAT_4_wide): ... here.
56632         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
56633         (_FP_MUL_MEAT_4_gmp): ... here.
56634         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
56635         (_FP_WFRACBITS_DW_S): Likewise.
56636         (_FP_WFRACXBITS_DW_S): Likewise.
56637         (_FP_HIGHBIT_DW_S): Likewise.
56638         (FP_FMA_S): Likewise.
56639         (_FP_FRAC_HIGH_DW_S): Likewise.
56640         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
56641         (_FP_WFRACBITS_DW_D): Likewise.
56642         (_FP_WFRACXBITS_DW_D): Likewise.
56643         (_FP_HIGHBIT_DW_D): Likewise.
56644         (FP_FMA_D): Likewise.
56645         (_FP_FRAC_HIGH_DW_D): Likewise.
56646         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
56647         (_FP_WFRACBITS_DW_E): Likewise.
56648         (_FP_WFRACXBITS_DW_E): Likewise.
56649         (_FP_HIGHBIT_DW_E): Likewise.
56650         (FP_FMA_E): Likewise.
56651         (_FP_FRAC_HIGH_DW_E): Likewise.
56652         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
56653         (_FP_WFRACBITS_DW_Q): Likewise.
56654         (_FP_WFRACXBITS_DW_Q): Likewise.
56655         (_FP_HIGHBIT_DW_Q): Likewise.
56656         (FP_FMA_Q): Likewise.
56657         (_FP_FRAC_HIGH_DW_Q): Likewise.
56658         * soft-fp/fmasf4.c: New file.
56659         * soft-fp/fmadf4.c: Likewise.
56660         * soft-fp/fmatf4.c: Likewise.
56662 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56665         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
56666         Silvermont.
56667         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
56668         macro.
56669         (index_Slow_SSE4_2): Likewise.
56670         (index_Prefer_PMINUB_for_stringop): Likewise.
56671         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
56672         bit_Slow_SSE4_2 is set.
56673         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
56674         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56676 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56678         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
56679         rtld_global._dl_hwcap2.
56680         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
56681         POWER8.
56682         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
56683         POWER8 feature descriptions defined in _dl_hwcap2.
56684         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
56685         string handling for POWER8 feature bits.
56686         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
56687         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
56688         _dl_powerpc_cap_flags.
56689         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
56690         * sysdeps/powerpc/rtld-global-offsets.sym
56691         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
56692         _dl_hwcap2 in the rtld_global_ro structure.
56694 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56696         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
56697         hardware capabilities in support of AT_HWCAP2.
56698         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
56699         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
56700         GLRO(dl_hwcap2).
56701         (_dl_show_auxv): Add support for calling _dl_procinfo to display
56702         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
56703         explicitly the unknown a_type display mechanism is used.
56704         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
56705         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
56706         struct member.
56707         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
56708         to macro prototype for AT_HWCAP2 support.
56709         * sysdeps/i386/dl-procinfo.h: Likewise.
56710         * sysdeps/s390/dl-procinfo.h: Likewise.
56711         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
56712         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
56713         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
56714         return -1 for unknown a_type display fallback.
56715         * sysdeps/sparc/dl-procinfo.h: Likewise.
56716         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
56717         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
56719 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
56721         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
56722         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
56724 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
56726         [BZ #12492]
56727         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
56728         mprotect making __stack_prot writable.
56730 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
56731             Joseph Myers  <joseph@codesourcery.com>
56733         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
56734         as being properly aligned.
56736 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
56738         * dlfcn/modstatic5.c: New file.
56739         * dlfcn/tststatic5.c: New file.
56740         * dlfcn/Makefile (tests): Add tststatic5.
56741         (tests-static): Likewise.
56742         (modules-names): Add modstatic5.
56743         (tststatic5-ENV): New variable.
56744         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
56746         [BZ #15022]
56747         * elf/dl-support.c (_dl_main_map): New variable.
56748         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
56749         (_dl_nns, _dl_load_adds): Set to 1.
56750         (_dl_initial_searchlist): Refer to _dl_main_map.
56751         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
56752         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
56753         call to _dl_get_origin.
56754         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
56755         around call_map.
56756         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
56757         * dlfcn/modstatic3.c: New file.
56758         * dlfcn/tststatic3.c: New file.
56759         * dlfcn/tststatic4.c: New file.
56760         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
56761         (tests-static): Likewise.
56762         (modules-names): Add modstatic3.
56763         (tststatic3-ENV, tststatic4-ENV): New variables.
56764         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
56765         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
56767 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
56769         * configure.in (CC): Require GCC version 4.4 or later.
56770         * configure: Regenerated.
56771         * manual/install.texi (Tools for Compilation): Update GCC version
56772         requirement.
56773         * INSTALL: Regenerated.
56775 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56777         [BZ #15674]
56778         * string/test-memcmp.c (check2): New.
56779         (main): Call check2.
56781         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
56783 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
56785         [BZ #15022]
56786         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
56787         over to...
56788         (dl_open_worker) [!SHARED]: ... here.
56790 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56792         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
56794 2013-06-25  Richard Henderson  <rth@redhat.com>
56796         * locale/programs/locarchive.c: Include <libc-internal.h>
56798 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
56800         * manual/texinfo.tex: Update to version 2013-06-21.17, with
56801         trailing whitespace removed.
56803 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
56805         [BZ #10283]
56806         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
56807         * locale/programs/locarchive.c: Include libc-mmap.h.
56808         (prepare_address_space): Take two new outputs (the mmap base and len).
56809         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
56810         values.
56811         (create_archive): Declare new mmap base and len values for
56812         prepare_address_space, and store the result in ah.
56813         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
56814         (enlarge_archive): If ah->mmap_base is not NULL, use that and
56815         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
56816         Declare new mmap base and len values for
56817         prepare_address_space, and store the result in new_ah.
56818         (open_archive): Declare new mmap base and len values for
56819         prepare_address_space, and store the result in ah.
56820         (close_archive): If ah->mmap_base is not NULL, use that and
56821         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
56822         * sysdeps/generic/libc-mmap.h: New file.
56824 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
56826         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
56827         (ALIGN_UP): Likewise.
56828         (PTR_ALIGN_DOWN): Likewise.
56829         (PTR_ALIGN_UP): Likewise.
56831 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56833         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
56834         entry mapped to PPC_PLATFORM_POWER8.
56835         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
56836         POWER8.
56837         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
56838         (_dl_string_platform): Add case for exporting platform position for
56839         POWER8.
56840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
56841         search path to sysdeps/powerpc/powerpc32/power8 directory.
56842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
56843         search path to sysdeps/powerpc/powerpc64/power8 directory.
56844         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
56845         power7 directories.
56846         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
56847         power7 directories.
56849 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
56851         * INSTALL: Regenerate.
56853         * nscd/connections.c (nscd_init): Fix comment.
56855 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
56857         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
56859         [BZ #15667]
56860         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
56861         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
56863 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
56865         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
56866         DL_DST_REQ_STATIC.
56867         (DL_DST_REQ_STATIC): Remove macro.
56869 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
56871         [BZ #7006]
56872         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
56873         with a shift of 0 bits.
56875 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
56877         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
56878         $(tststatic-ENV).
56880 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56882         [BZ #15655]
56883         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
56885 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56887         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
56888         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
56889         accepts -fno-tree-loop-distribute-patterns.
56890         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
56891         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
56892         recursive call.
56893         * string/memset.c (memset): Likewise.
56894         * string/test-memmove.c (simple_memmove): Disable loop transformation
56895         to library calls.
56896         * string/test-memset.c (simple_memset): Likewise.
56897         * benchtests/bench-memmove.c (simple_memmove): Likewise.
56898         * benchtests/bench-memset.c (simple_memset): Likewise.
56899         * configure: Regenerated.
56901 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
56903         * math/test-misc.c (main): Ignore fesetround failure when failures
56904         of subsequent rounding tests would be ignored.
56906         [BZ #15654]
56907         * math/fedisblxcpt.c (fedisableexcept): Return 0.
56908         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
56909         * math/fegetenv.c (__fegetenv): Return 0.
56910         * math/fegetexcept.c (fegetexcept): Return 0.
56911         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
56912         FE_TONEAREST.
56913         * math/feholdexcpt.c (feholdexcept): Return 0.
56914         * math/fesetenv.c (__fesetenv): Return 0.
56915         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
56916         argument FE_TONEAREST.
56917         * math/feupdateenv.c (__feupdateenv): Return 0.
56918         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
56920 2013-06-18  Roland McGrath  <roland@hack.frob.com>
56922         * elf/rtld-Rules (rtld-compile-command.S): New variable.
56923         (rtld-compile-command.s, rtld-compile-command.c): New variables.
56924         ($(objpfx)rtld-%.os rules): Use them.
56926 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56928         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
56929         fields.
56931 2013-06-17  Roland McGrath  <roland@hack.frob.com>
56933         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
56934         length of target pattern, then descending length of dependency pattern.
56935         * configure.in (AWK): Require gawk 3.1.2 or newer.
56936         * manual/install.texi (Tools for Compilation): Say that we do.
56937         * configure: Regenerated.
56939         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
56940         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
56941         * scripts/sysd-rules.awk: ... this new script.
56942         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
56943         than a glob-style pattern.
56945 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
56947         * math/test-misc.c (main): Do not treat incorrectly rounded
56948         conversions as failure unless ROUNDING_TESTS passes.
56950 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
56952         [BZ #15631]
56953         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
56954         restore exception state around main square root computation, then
56955         check for inexactness explicitly.
56957         * math/libm-test.inc (fma_test_data): Add another test.
56959 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56961         * manual/threads.texi (Non-POSIX Extensions): New document
56962         node.  Document pthread_getattr_default_np and
56963         pthread_setattr_default_np.
56965         * Versions.def (libpthread): Add GLIBC_2.18.
56966         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
56967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
56968         Likewise.
56969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
56970         Likewise.
56971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56972         Likewise.
56973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56974         Likewise.
56975         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
56976         Likewise.
56977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
56978         Likewise.
56979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
56980         Likewise.
56981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
56982         Likewise.
56983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56984         Likewise.
56986 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56988         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56989         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
56991 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56992             H.J. Lu  <hjl.tools@gmail.com>
56994         [BZ #15627]
56995         * sysdeps/x86_64/rtld-memset.c: Remove file.
56996         * sysdeps/x86_64/rtld-memset.S: New file.
56998 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
57000         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
57001         (test_in_one_mode): Take arguments for whether the rounding mode
57002         is supported for each floating-point type.
57003         (do_test): Pass new arguments to test_in_one_mode using
57004         ROUNDING_TESTS.
57006 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57008         * posix/tst-waitid.c (do_test): Distinguish different instances of
57009         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
57010         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
57011         before entering the kernel for waitpid.
57013 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57015         * NEWS: Fix note on clock function precision.  Text by Roland
57016         McGrath.
57018 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57020         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
57021         it into place only when and if the sanity check passes.
57023 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
57025         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
57026         output for whether conversion result is exact.  Take argument
57027         indicating whether type is IBM long double.
57028         (round_for_all): Change need_exact field to ibm_ld.
57029         * stdlib/tst-strtod-round.c (struct exactness): New type.
57030         (struct test): Change bool ld_ok field to struct exactness exact.
57031         (TEST): Update all definitions for change to field.
57032         (tests): Regenerate array contents.
57033         (test_in_one_mode): Take pointer to new field instead of old ld_ok
57034         field value.  Check for IBM long double here.
57035         (do_test): Update calls to test_in_one_mode.
57037 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57039         [BZ #12515]
57040         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
57041         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
57043 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57045         [BZ #15605]
57046         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
57047         generated by the compiler on loop optimizations.
57048         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
57049         general definitions.
57051 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
57053         * math/bug-nextafter.c: Include <math-tests.h>.
57054         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57055         the relevant type.
57056         * math/bug-nexttoward.c: Include <math-tests.h>.
57057         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57058         the relevant type.
57059         * math/test-misc.c: Include <math-tests.h>.
57060         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57061         the relevant type.
57063 2013-06-12  Andreas Jaeger  <aj@suse.de>
57065         * po/ia.po: Update Interlingua translation from translation
57066         project.
57068 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57070         * include/fenv.h: Include stdbool.h.
57071         (struct rm_ctx): New structure.
57072         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
57073         Define macro.
57074         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
57075         (SET_RESTORE_ROUNDF): Likewise.
57076         (SET_RESTORE_ROUNDL): Likewise.
57077         (SET_RESTORE_ROUND_NOEX): Likewise.
57078         (SET_RESTORE_ROUND_NOEXF): Likewise.
57079         (SET_RESTORE_ROUND_NOEXL): Likewise.
57080         (SET_RESTORE_ROUND_53BIT): Likewise.
57081         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
57082         (libc_feresetround_noexf_ctx): Likewise.
57083         (libc_feresetround_noexl_ctx): Likewise.
57084         (libc_feholdsetround_53bit_ctx): Likewise.
57085         (libc_feresetround_53bit_ctx): Likewise.
57086         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
57087         (libc_feholdexcept_setround_sse_ctx): New function.
57088         (libc_fesetenv_sse_ctx): Likewise.
57089         (libc_feupdateenv_sse_ctx): Likewise.
57090         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
57091         (libc_feholdexcept_setround_387_ctx): Likewise.
57092         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
57093         (libc_feholdsetround_387_prec_ctx): Likewise.
57094         (libc_feholdsetround_387_ctx): Likewise.
57095         (libc_feholdsetround_387_53bit_ctx): Likewise.
57096         (libc_feholdsetround_sse_ctx): Likewise.
57097         (libc_feresetround_sse_ctx): Likewise.
57098         (libc_feresetround_387_ctx): Likewise.
57099         (libc_feupdateenv_387_ctx): Likewise.
57100         (libc_feholdexcept_setroundf_ctx): Define macro.
57101         (libc_fesetenvf_ctx): Likewise.
57102         (libc_feupdateenvf_ctx): Likewise.
57103         (libc_feholdsetroundf_ctx): Likewise.
57104         (libc_feresetroundf_ctx): Likewise.
57105         (libc_feholdexcept_setround_ctx): Likewise.
57106         (libc_fesetenv_ctx): Likewise.
57107         (libc_feupdateenv_ctx): Likewise.
57108         (libc_feholdsetround_ctx): Likewise.
57109         (libc_feresetround_ctx): Likewise.
57110         (libc_feholdexcept_setroundl_ctx): Likewise.
57111         (libc_feupdateenvl_ctx): Likewise.
57112         (libc_feholdsetroundl_ctx): Likewise.
57113         (libc_feresetroundl_ctx): Likewise.
57114         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
57115         (libc_feresetround_53bit_ctx): Likewise.
57117 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57119         * locale/iso-639.def: Convert to UTF-8.
57121 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
57123         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
57124         (EXCEPTION_TESTS_double): Likewise.
57125         (EXCEPTION_TESTS_long_double): Likewise.
57126         (EXCEPTION_TESTS): Likewise.
57127         * math/libm-test.inc (test_exceptions): Only test exceptions if
57128         EXCEPTION_TESTS (FLOAT).
57130 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57132         * benchtests/Makefile (string-bench): Add strcpy_chk and
57133         stpcpy_chk.
57134         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
57135         * benchtests/bench-stpcpy_chk.c: New file.
57136         * benchtests/bench-strcpy_chk-ifunc.c: New file.
57137         * benchtests/bench-strcpy_chk.c: New file.
57138         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
57139         code.
57140         (do_test): Likewise.
57142 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57144         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
57145         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
57146         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
57147         with tabs where appropriate.
57148         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
57149         dl-procinfo.h.
57150         [PPC_PLATFORM_PPC440]: Likewise.
57151         [PPC_PLATFORM_PPC464]: Likewise.
57152         [PPC_PLATFORM_PPC476]: Likewise.
57153         (_dl_string_platform): Add support for detecting ppc405, ppc440,
57154         ppc464, and ppc476 platform strings merging from ports/
57155         dl-procinfo.h.
57157 2013-06-11  Andreas Schwab  <schwab@suse.de>
57159         [BZ #14991]
57160         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
57161         (from_ucs4_idx): Regenerate.
57162         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
57163         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
57164         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
57165         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
57166         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
57167         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
57168         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
57169         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
57170         from FROM_LOOP and TO_LOOP specific macros.
57171         (BODY): Handle combining characters.
57172         * iconvdata/BIG5HKSCS.irreversible: Update.
57173         * iconvdata/BIG5HKSCS.precomposed: New file.
57174         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
57175         characters.
57176         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
57178 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57180         * include/sys/time.h: Fix indentation and add copyright header.
57182         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
57183         (do_test): Likewise.
57184         * string/test-memchr.c (do_one_test): Likewise.
57185         (do_test): Likewise.
57186         * string/test-memcmp.c (do_one_test): Likewise.
57187         (do_test): Likewise.
57188         * string/test-memcpy.c (do_one_test): Likewise.
57189         (do_test): Likewise.
57190         * string/test-memmem.c (do_one_test): Likewise.
57191         (do_test): Likewise.
57192         (do_random_tests): Likewise.
57193         * string/test-memmove.c (do_one_test): Likewise.
57194         (do_test): Likewise.
57195         * string/test-memset.c (do_one_test): Likewise.
57196         (do_test): Likewise.
57197         * string/test-rawmemchr.c (do_one_test): Likewise.
57198         (do_test): Likewise.
57199         * string/test-strcasecmp.c (do_one_test): Likewise.
57200         (do_test): Likewise.
57201         * string/test-strcasestr.c (do_one_test): Likewise.
57202         (do_test): Likewise.
57203         * string/test-strcat.c (do_one_test): Likewise.
57204         (do_test): Likewise.
57205         * string/test-strchr.c (do_one_test): Likewise.
57206         (do_test): Likewise.
57207         * string/test-strcmp.c (do_one_test): Likewise.
57208         (do_test): Likewise.
57209         * string/test-strcpy.c (do_one_test): Likewise.
57210         (do_test): Likewise.
57211         * string/test-string.h: Likewise.
57212         (test_init): Likewise.
57213         * string/test-strlen.c (do_one_test): Likewise.
57214         (do_test): Likewise.
57215         * string/test-strncasecmp.c (do_one_test): Likewise.
57216         (do_test): Likewise.
57217         * string/test-strncat.c (do_one_test): Likewise.
57218         (do_test): Likewise.
57219         * string/test-strncmp.c (do_one_test): Likewise.
57220         (do_test_limit): Likewise.
57221         (do_test): Likewise.
57222         * string/test-strncpy.c (do_one_test): Likewise.
57223         (do_test): Likewise.
57224         * string/test-strnlen.c (do_one_test): Likewise.
57225         (do_test): Likewise.
57226         * string/test-strpbrk.c (do_one_test): Likewise.
57227         (do_test): Likewise.
57228         * string/test-strrchr.c (do_one_test): Likewise.
57229         (do_test): Likewise.
57230         * string/test-strspn.c (do_one_test): Likewise.
57231         (do_test): Likewise.
57232         * string/test-strstr.c (do_one_test): Likewise.
57233         (do_test): Likewise.
57235         * benchtests/Makefile (string-bench): Add string benchmarks.
57236         * benchtests/bench-bcopy-ifunc.c: New file.
57237         * benchtests/bench-bcopy.c: New file.
57238         * benchtests/bench-bzero-ifunc.c: New file.
57239         * benchtests/bench-bzero.c: New file.
57240         * benchtests/bench-memccpy-ifunc.c: New file.
57241         * benchtests/bench-memccpy.c: New file.
57242         * benchtests/bench-memchr-ifunc.c: New file.
57243         * benchtests/bench-memchr.c: New file.
57244         * benchtests/bench-memcmp-ifunc.c: New file.
57245         * benchtests/bench-memcmp.c: New file.
57246         * benchtests/bench-memmem-ifunc.c: New file.
57247         * benchtests/bench-memmem.c: New file.
57248         * benchtests/bench-memmove-ifunc.c: New file.
57249         * benchtests/bench-memmove.c: New file.
57250         * benchtests/bench-mempcpy-ifunc.c: New file.
57251         * benchtests/bench-mempcpy.c: New file.
57252         * benchtests/bench-memset-ifunc.c: New file.
57253         * benchtests/bench-memset.c: New file.
57254         * benchtests/bench-rawmemchr-ifunc.c: New file.
57255         * benchtests/bench-rawmemchr.c: New file.
57256         * benchtests/bench-stpcpy-ifunc.c: New file.
57257         * benchtests/bench-stpcpy.c: New file.
57258         * benchtests/bench-stpncpy-ifunc.c: New file.
57259         * benchtests/bench-stpncpy.c: New file.
57260         * benchtests/bench-strcasecmp-ifunc.c: New file.
57261         * benchtests/bench-strcasecmp.c: New file.
57262         * benchtests/bench-strcasestr-ifunc.c: New file.
57263         * benchtests/bench-strcasestr.c: New file.
57264         * benchtests/bench-strcat-ifunc.c: New file.
57265         * benchtests/bench-strcat.c: New file.
57266         * benchtests/bench-strchr-ifunc.c: New file.
57267         * benchtests/bench-strchr.c: New file.
57268         * benchtests/bench-strchrnul-ifunc.c: New file.
57269         * benchtests/bench-strchrnul.c: New file.
57270         * benchtests/bench-strcmp-ifunc.c: New file.
57271         * benchtests/bench-strcmp.c: New file.
57272         * benchtests/bench-strcpy-ifunc.c: New file.
57273         * benchtests/bench-strcpy.c: New file.
57274         * benchtests/bench-strcspn-ifunc.c: New file.
57275         * benchtests/bench-strcspn.c: New file.
57276         * benchtests/bench-strlen-ifunc.c: New file.
57277         * benchtests/bench-strlen.c: New file.
57278         * benchtests/bench-strncasecmp-ifunc.c: New file.
57279         * benchtests/bench-strncasecmp.c: New file.
57280         * benchtests/bench-strncat-ifunc.c: New file.
57281         * benchtests/bench-strncat.c: New file.
57282         * benchtests/bench-strncmp-ifunc.c: New file.
57283         * benchtests/bench-strncmp.c: New file.
57284         * benchtests/bench-strncpy-ifunc.c: New file.
57285         * benchtests/bench-strncpy.c: New file.
57286         * benchtests/bench-strnlen-ifunc.c: New file.
57287         * benchtests/bench-strnlen.c: New file.
57288         * benchtests/bench-strpbrk-ifunc.c: New file.
57289         * benchtests/bench-strpbrk.c: New file.
57290         * benchtests/bench-strrchr-ifunc.c: New file.
57291         * benchtests/bench-strrchr.c: New file.
57292         * benchtests/bench-strspn-ifunc.c: New file.
57293         * benchtests/bench-strspn.c: New file.
57294         * benchtests/bench-strstr-ifunc.c: New file.
57295         * benchtests/bench-strstr.c: New file.
57297         * benchtests/Makefile: Disable parallel execution of targets.
57298         (string-bench): Add memcpy.
57299         (benchset): New variable to store a list of benchmark sets.
57300         (bench-func): Renamed from bench.
57301         (bench-set): New target.
57302         (bench): Depend on bench-func and bench-set.
57303         * benchtests/README: Add section on benchmark sets.
57304         * benchtests/bench-memcpy-ifunc.c: New file.
57305         * benchtests/bench-memcpy.c: New file.
57306         * benchtests/bench-string.h: New file.
57308 2013-06-11  Andreas Schwab  <schwab@suse.de>
57310         [BZ #15577]
57311         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
57312         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
57313         values in the triple.
57314         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
57315         terminator in the group key.
57317 2013-06-11  Andreas Jaeger  <aj@suse.de>
57319         * po/zh_TW.po: Update Chinese (traditional) translation from
57320         translation project.
57322 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57324         * include/time.h (__clock_gettime): Add libc_hidden_proto.
57325         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
57326         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
57327         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57328         (clock_getcpuclockid): Likewise.
57329         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
57330         Add weak_alias and libc_hidden_def.
57331         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
57332         * rt/clock_gettime.c (clock_gettime): Rename to
57333         __clock_gettime.  Add weak_alias and libc_hidden_def.
57334         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
57335         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
57336         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
57337         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
57338         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
57339         Likewise.
57340         * rt/clock_settime.c (clock_settime): Rename to
57341         __clock_settime.  Add weak_alias and libc_hidden_def.
57342         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
57344 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
57346         * mach/err_boot.sub: Remove trailing whitespace.
57347         * mach/err_ipc.sub: Likewise.
57348         * mach/err_mach.sub: Likewise.
57350         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
57351         (ROUNDING_TESTS_double): Likewise.
57352         (ROUNDING_TESTS_long_double): Likewise.
57353         (ROUNDING_TESTS): Likewise.
57354         * math/libm-test.inc: Include <math-tests.h>.
57355         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
57356         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57357         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57358         (IF_ROUND_INIT_FE_UPWARD): Likewise.
57360 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57362         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
57363         of assigning.
57365 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
57367         * sysdeps/gnu/errlist.awk: Do not generate space at end of
57368         otherwise empty TRANS lines.
57369         * sysdeps/gnu/errlist.c: Regenerated.
57371         * catgets/gencat.c (error_print): Use (void) in function
57372         definition.
57373         * crypt/crypt_util.c (__init_des): Likewise.
57374         * crypt/speeds.c (Stop): Likewise.
57375         (main): Likewise.
57376         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
57377         * inet/ruserpass.c (token): Likewise.
57378         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
57379         * intl/localealias.c (extend_alias_table): Likewise.
57380         * intl/plural-exp.c (init_germanic_plural): Likewise.
57381         * libio/fcloseall.c (__fcloseall): Likewise.
57382         * libio/genops.c (_IO_flush_all): Likewise.
57383         (_IO_flush_all_linebuffered): Likewise.
57384         (_IO_cleanup): Likewise.
57385         (_IO_iter_begin): Likewise.
57386         (_IO_iter_end): Likewise.
57387         (_IO_list_lock): Likewise.
57388         (_IO_list_unlock): Likewise.
57389         (_IO_list_resetlock): Likewise.
57390         * libio/getchar.c (getchar): Likewise.
57391         * libio/getchar_u.c (getchar_unlocked): Likewise.
57392         * libio/getwchar.c (getwchar): Likewise.
57393         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
57394         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
57395         * login/getpt.c (__getpt): Likewise.
57396         * login/tst-utmp.c (main): Likewise.
57397         * malloc/hooks.c (__malloc_check_init): Likewise.
57398         * malloc/malloc.c (__malloc_stats): Likewise.
57399         * malloc/mtrace.c (tr_break): Likewise.
57400         (mtrace): Likewise.
57401         (muntrace): Likewise.
57402         * misc/fstab.c (endfsent): Likewise.
57403         * misc/getclktck.c (__getclktck): Likewise.
57404         * misc/getdtsz.c (__getdtablesize): Likewise.
57405         * misc/gethostid.c (gethostid): Likewise.
57406         * misc/getpagesize.c (__getpagesize): Likewise.
57407         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
57408         (__get_nprocs): Likewise.
57409         (__get_phys_pages): Likewise.
57410         (__get_avphys_pages): Likewise.
57411         * misc/getttyent.c (getttyent): Likewise.
57412         (setttyent): Likewise.
57413         (endttyent): Likewise.
57414         * misc/getusershell.c (getusershell): Likewise.
57415         (endusershell): Likewise.
57416         (setusershell): Likewise.
57417         (initshells): Likewise.
57418         * misc/hsearch.c (__hdestroy): Likewise.
57419         * misc/sync.c (sync): Likewise.
57420         * misc/syslog.c (closelog_internal): Likewise.
57421         (closelog): Likewise.
57422         * misc/ttyslot.c (ttyslot): Likewise.
57423         * misc/vhangup.c (vhangup): Likewise.
57424         * posix/fork.c (__fork): Likewise.
57425         * posix/getegid.c (__getegid): Likewise.
57426         * posix/geteuid.c (__geteuid): Likewise.
57427         * posix/getgid.c (__getgid): Likewise.
57428         * posix/getpid.c (__getpid): Likewise.
57429         * posix/getppid.c (__getppid): Likewise.
57430         * posix/getuid.c (__getuid): Likewise.
57431         * posix/pause.c (pause): Likewise.
57432         * posix/setpgrp.c (setpgrp): Likewise.
57433         * posix/setsid.c (__setsid): Likewise.
57434         * posix/test-vfork.c (noop): Likewise.
57435         * resolv/gethnamaddr.c (_endhtent): Likewise.
57436         (_gethtent): Likewise.
57437         (ht_endhostent): Likewise.
57438         (gethostent): Likewise.
57439         (dns_service): Likewise.
57440         * stdlib/drand48.c (drand48): Likewise.
57441         * stdlib/lrand48.c (lrand48): Likewise.
57442         * stdlib/mrand48.c (mrand48): Likewise.
57443         * stdlib/rand.c (rand): Likewise.
57444         * stdlib/random.c (__random): Likewise.
57445         * stdlib/setenv.c (clearenv): Likewise.
57446         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
57447         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
57448         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
57449         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
57450         (__get_nprocs): Likewise.
57451         (__get_phys_pages): Likewise.
57452         (__get_avphys_pages): Likewise.
57453         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
57454         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
57455         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
57456         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
57457         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
57458         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
57459         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
57460         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
57461         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
57462         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
57463         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
57464         * sysdeps/mach/hurd/sync.c (sync): Likewise.
57465         * sysdeps/posix/clock.c (clock): Likewise.
57466         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
57467         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
57468         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
57469         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
57470         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
57471         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
57472         (__get_nprocs_conf): Likewise.
57473         (__get_phys_pages): Likewise.
57474         (__get_avphys_pages): Likewise.
57475         * time/clock.c (clock): Likewise.
57476         * time/tzset.c (__tzname_max): Likewise.
57478 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
57480         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
57481         (__bswap_32): Do not use "register".
57482         * crypt/crypt.c (_ufc_doit_r): Likewise.
57483         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57484         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57485         * gmon/gmon.c (__monstartup): Likewise.
57486         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
57487         * hurd/hurdmalloc.c (more_memory): Likewise.
57488         (malloc): Likewise.
57489         (free): Likewise.
57490         (realloc): Likewise.
57491         (malloc_fork_prepare): Likewise.
57492         (malloc_fork_parent): Likewise.
57493         (malloc_fork_child): Likewise.
57494         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
57495         (_svcauth_des): Likewise.
57496         * inet/inet_lnaof.c (inet_lnaof): Likewise.
57497         * inet/inet_net.c (inet_network): Likewise.
57498         * inet/inet_netof.c (inet_netof): Likewise.
57499         * inet/rcmd.c (__validuser2_sa): Likewise.
57500         * io/fts.c (fts_open): Likewise.
57501         (fts_load): Likewise.
57502         (fts_close): Likewise.
57503         (fts_read): Likewise.
57504         (fts_children): Likewise.
57505         (fts_build): Likewise.
57506         (fts_stat): Likewise.
57507         (fts_sort): Likewise.
57508         (fts_alloc): Likewise.
57509         (fts_lfree): Likewise.
57510         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
57511         (_IO_file_xsgetn): Likewise.
57512         (_IO_file_xsgetn_mmap): Likewise.
57513         * libio/iofopncook.c (_IO_cookie_read): Likewise.
57514         (_IO_cookie_write): Likewise.
57515         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
57516         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
57517         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
57518         * malloc/obstack.c (_obstack_begin): Likewise.
57519         (_obstack_begin_1): Likewise.
57520         (_obstack_newchunk): Likewise.
57521         (_obstack_allocated_p): Likewise.
57522         (obstack_free): Likewise.
57523         (_obstack_memory_used): Likewise.
57524         * misc/getttyent.c (getttynam): Likewise.
57525         (getttyent): Likewise.
57526         (skip): Likewise.
57527         (value): Likewise.
57528         * misc/getusershell.c (initshells): Likewise.
57529         * misc/syslog.c (__vsyslog_chk): Likewise.
57530         * misc/ttyslot.c (ttyslot): Likewise.
57531         * nis/nis_hash.c (__nis_hash): Likewise.
57532         * posix/fnmatch_loop.c (FCT): Likewise.
57533         * posix/getconf.c (print_all): Likewise.
57534         (main): Likewise.
57535         * posix/getopt.c (exchange): Likewise.
57536         * posix/glob.c (globfree): Likewise.
57537         (prefix_array): Likewise.
57538         (__glob_pattern_type): Likewise.
57539         * resolv/arpa/nameser.h (NS_GET16): Likewise.
57540         (NS_GET32): Likewise.
57541         (NS_PUT16): Likewise.
57542         (NS_PUT32): Likewise.
57543         * resolv/gethnamaddr.c (getanswer): Likewise.
57544         (gethostbyname2): Likewise.
57545         (gethostbyaddr): Likewise.
57546         (_gethtent): Likewise.
57547         (_gethtbyname2): Likewise.
57548         (_gethtbyaddr): Likewise.
57549         * resolv/ns_print.c (dst_s_get_int16): Likewise.
57550         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
57551         * resolv/res_init.c (__res_vinit): Likewise.
57552         (net_mask): Likewise.
57553         * resolv/res_mkquery.c (outchar): Likewise.
57554         (PRINT): Likewise.
57555         * stdio-common/printf_fp.c (outchar): Likewise.
57556         (PRINT): Likewise.
57557         * stdio-common/printf_fphex.c (outchar): Likewise.
57558         (PRINT): Likewise.
57559         * stdio-common/printf_size.c (outchar): Likewise.
57560         (PRINT): Likewise.
57561         * stdio-common/test_rdwr.c (main): Likewise.
57562         * stdio-common/tfformat.c (matches): Likewise.
57563         * stdio-common/vfprintf.c (outchar): Likewise.
57564         (printf_unknown): Likewise.
57565         (buffered_vfprintf): Likewise.
57566         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57567         * stdio-common/xbug.c (AppendToBuffer): Likewise.
57568         (ReadFile): Likewise.
57569         * stdlib/qsort.c (SWAP): Likewise.
57570         (_quicksort): Likewise.
57571         * stdlib/setenv.c (__add_to_environ): Likewise.
57572         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57573         * stdlib/strtol_l.c (__strtol_l): Likewise.
57574         * stdlib/tst-strtod.c (main): Likewise.
57575         * stdlib/tst-strtol.c (main): Likewise.
57576         * stdlib/tst-strtoll.c (main): Likewise.
57577         * string/bits/string2.h (__strcmp_cc): Likewise.
57578         (__strcmp_cg): Likewise.
57579         (__strcspn_c1): Likewise.
57580         (__strcspn_c2): Likewise.
57581         (__strcspn_c3): Likewise.
57582         (__strspn_c1): Likewise.
57583         (__strspn_c2): Likewise.
57584         (__strspn_c3): Likewise.
57585         (__strsep_1c): Likewise.
57586         (__strsep_2c): Likewise.
57587         (__strsep_3c): Likewise.
57588         * string/memccpy.c (__memccpy): Likewise.
57589         * string/stpcpy.c (__stpcpy): Likewise.
57590         * string/strcmp.c (strcmp): Likewise.
57591         * string/strrchr.c (strrchr): Likewise.
57592         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
57593         Likewise.
57594         * sysdeps/mach/hurd/getcwd.c
57595         (_hurd_canonicalize_directory_name_internal): Likewise.
57596         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
57597         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
57598         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
57599         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
57600         Likewise, in both definitions.
57601         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
57602         definitions.
57603         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
57604         64] (__bswap_64): Likewise.
57605         * time/test_time.c (main): Likewise.
57606         * time/tzfile.c (__tzfile_read): Likewise.
57607         (__tzfile_compute): Likewise.
57608         * time/tzset.c (__tzset_parse_tz): Likewise.
57609         (tzset_internal): Likewise.
57610         (compute_change): Likewise.
57611         * wcsmbs/wcscat.c (__wcscat): Likewise.
57612         * wcsmbs/wcschr.c (wcschr): Likewise.
57613         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
57614         * wcsmbs/wcscspn.c (wcscspn): Likewise.
57615         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
57616         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
57617         * wcsmbs/wcsspn.c (wcsspn): Likewise.
57618         * wcsmbs/wcsstr.c (wcsstr): Likewise.
57619         * wcsmbs/wmemchr.c (wmemchr): Likewise.
57620         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57621         * wcsmbs/wmemset.c (wmemset): Likewise.
57623 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
57625         * scripts/config.guess: Update to version 2013-05-16.
57626         * scripts/config.sub: Update to version 2013-04-24.
57627         * scripts/install-sh: Update to version 2011-11-20.07.
57628         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
57629         * scripts/move-if-change: Update to version 2012-01-06 07:23.
57631 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
57633         * debug/fgetws_u_chk.c: Fix leading whitespaces.
57634         * elf/sln.c: Likewise.
57635         * hurd/hurd/ioctl.h: Likewise.
57636         * hurd/hurdmalloc.c: Likewise.
57637         * hurd/xattr.c: Likewise.
57638         * include/shlib-compat.h: Likewise.
57639         * inet/ruserpass.c: Likewise.
57640         * libio/iofgets_u.c: Likewise.
57641         * libio/iofgetws_u.c: Likewise.
57642         * locale/programs/ld-identification.c: Likewise.
57643         * locale/programs/ld-time.c: Likewise.
57644         * mach/msg-destroy.c: Likewise.
57645         * nss/nss_files/files-netgrp.c: Likewise.
57646         * resolv/res_data.c: Likewise.
57647         * soft-fp/op-1.h: Likewise.
57648         * soft-fp/op-2.h: Likewise.
57649         * soft-fp/op-4.h: Likewise.
57650         * soft-fp/op-common.h: Likewise.
57651         * stdio-common/printf_fphex.c: Likewise.
57652         * stdlib/strtod_l.c: Likewise.
57653         * sunrpc/rpc/clnt.h: Likewise.
57654         * sysdeps/generic/framestate.c: Likewise.
57655         * sysdeps/i386/bsd-_setjmp.S: Likewise.
57656         * sysdeps/i386/bsd-setjmp.S: Likewise.
57657         * sysdeps/i386/__longjmp.S: Likewise.
57658         * sysdeps/i386/setjmp.S: Likewise.
57659         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57660         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57661         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57662         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57663         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57664         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
57665         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57666         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57667         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57668         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57669         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
57670         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
57671         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
57672         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
57673         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
57674         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57675         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
57676         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
57677         * sysdeps/ieee754/support.c: Likewise.
57678         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57679         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
57680         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
57681         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
57682         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
57683         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
57684         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
57685         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
57686         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
57687         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
57688         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
57689         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
57690         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
57691         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
57692         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
57693         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
57694         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
57695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
57697 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
57699         * posix/transbug.c: Remove executable mode.
57701 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
57703         * crypt/speeds.c: Remove trailing whitespace.
57704         * dlfcn/default.c: Likewise.
57705         * elf/ifuncdep2.c: Likewise.
57706         * elf/ifuncmain1.c: Likewise.
57707         * elf/ifuncmain1vis.c: Likewise.
57708         * elf/testobj.h: Likewise.
57709         * elf/tst-stackguard1.c: Likewise.
57710         * gmon/sys/gmon.h: Likewise.
57711         * hurd/hurdmsg.c: Likewise.
57712         * hurd/new-fd.c: Likewise.
57713         * hurd/ports-get.c: Likewise.
57714         * iconvdata/ibm1008_420.c: Likewise.
57715         * inet/tst-getni1.c: Likewise.
57716         * inet/tst-getni2.c: Likewise.
57717         * libio/ioungetc.c: Likewise.
57718         * libio/wfiledoalloc.c: Likewise.
57719         * manual/libm-err-tab.pl: Likewise.
57720         * math/w_dremf.c: Likewise.
57721         * misc/ftruncate.c: Likewise.
57722         * posix/bug-glob2.c: Likewise.
57723         * posix/tst-pcre.c: Likewise.
57724         * posix/wait4.c: Likewise.
57725         * resolv/README: Likewise.
57726         * resolv/res_debug.h: Likewise.
57727         * resolv/tst-inet_ntop.c: Likewise.
57728         * setjmp/bug269-setjmp.c: Likewise.
57729         * soft-fp/extended.h: Likewise.
57730         * soft-fp/op-1.h: Likewise.
57731         * soft-fp/op-2.h: Likewise.
57732         * soft-fp/op-4.h: Likewise.
57733         * soft-fp/op-8.h: Likewise.
57734         * soft-fp/testit.c: Likewise.
57735         * stdio-common/bug16.c: Likewise.
57736         * stdlib/random.c: Likewise.
57737         * sunrpc/rpcsvc/rquota.x: Likewise.
57738         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
57739         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57740         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57741         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57742         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57743         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57744         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57745         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57746         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57747         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57748         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57749         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
57750         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57751         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
57752         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57753         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
57754         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
57755         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57756         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
57757         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57758         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57759         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57760         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
57761         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57762         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57763         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57764         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57765         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57766         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57767         * sysdeps/ieee754/s_lib_version.c: Likewise.
57768         * sysdeps/mach/hurd/check_fds.c: Likewise.
57769         * sysdeps/mach/hurd/getsockname.c: Likewise.
57770         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
57771         * sysdeps/mach/hurd/recvfrom.c: Likewise.
57772         * sysdeps/powerpc/bits/link.h: Likewise.
57773         * sysdeps/powerpc/dl-procinfo.c: Likewise.
57774         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
57775         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
57776         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
57777         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57778         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57779         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
57780         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57781         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
57782         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57783         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
57784         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
57785         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
57786         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57787         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57788         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57789         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
57790         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
57791         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57792         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57793         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57794         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
57795         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57796         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
57797         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
57798         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
57799         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
57800         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57801         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57802         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
57803         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
57804         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
57805         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57806         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57807         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
57808         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57809         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
57810         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
57811         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
57812         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
57813         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
57814         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
57815         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
57816         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
57817         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
57818         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
57819         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
57820         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
57821         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
57822         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
57823         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57824         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57825         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57826         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57827         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
57828         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
57829         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
57830         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57831         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
57832         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
57833         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
57834         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
57835         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
57836         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57837         * sysdeps/powerpc/sysdep.h: Likewise.
57838         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57839         * sysdeps/s390/s390-64/sub_n.S: Likewise.
57840         * sysdeps/sh/dl-trampoline.S: Likewise.
57841         * sysdeps/sh/memset.S: Likewise.
57842         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
57843         * sysdeps/sh/strlen.S: Likewise.
57844         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
57845         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
57846         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
57847         * sysdeps/sparc/sparc32/rem.S: Likewise.
57848         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
57849         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
57850         * sysdeps/sparc/sparc32/strchr.S: Likewise.
57851         * sysdeps/sparc/sparc32/udiv.S: Likewise.
57852         * sysdeps/sparc/sparc32/urem.S: Likewise.
57853         * sysdeps/sparc/sparc64/add_n.S: Likewise.
57854         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
57855         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
57856         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
57857         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
57858         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
57859         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
57860         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
57861         * sysdeps/unix/bsd/times.c: Likewise.
57862         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
57863         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
57864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
57865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
57866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
57867         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
57868         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
57869         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
57870         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
57871         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
57872         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
57873         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
57874         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
57875         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
57876         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
57877         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
57878         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
57879         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
57880         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
57881         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
57882         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
57883         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
57884         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
57885         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
57886         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
57887         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
57888         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
57889         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57890         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
57891         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
57892         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
57893         * sysdeps/x86_64/strcspn.S: Likewise.
57895 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57897         * locale/C-translit.h: Revert #include <stdint.h> because this is a
57898         generated file.  Regenerate properly from gen-translit.pl.
57899         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
57900         locale/C-translit.h.
57902 2013-06-05  Andreas Schwab  <schwab@suse.de>
57904         [BZ #15100]
57905         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
57906         week as 6 instead of -1.
57907         * time/tst-strptime.c (day_tests): Add test case.
57909 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57911         * sysdeps/generic/math_private.h
57912         (libc_feholdexcept_setround_53bit): Replace with
57913         libc_feholdsetround_53bit.
57914         (libc_feupdateenv_53bit): Replace with
57915         libc_feresetround_53bit.
57916         (SET_RESTORE_ROUND_53BIT): Adjust.
57918 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57920         * string/test-strchrnul.c: Add copyright header.
57922         * posix/tst-getaddrinfo4.c: Increase test timeout.
57924 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
57926         [BZ #15536]
57927         * math/libm-test.inc (MAX_EXP): Remove
57928         (MIN_EXP): Define.
57929         (ulp): Use MIN_EXP - MANT_DIG.
57930         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
57932 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
57934         * po/be.po: Revert last change.
57935         * po/zh_CN.po: Likewise.
57936         * po/header.pot: Likewise.
57938 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
57940         * Makefile ($(common-objpfx)linkobj/libc.so): Define
57941         link-libc-deps to empty as target-specific variable.
57942         * Makerules (link-libc-args): New variable.
57943         (libc-for-link): Likewise.
57944         (link-libc-deps): Likewise.
57945         (lib%.so): Depend on $(link-libc-deps).  Link with
57946         $(link-libc-args).
57947         (build-module): Link with $(link-libc-args).
57948         (build-module-asneeded): Likewise.
57949         (build-module-helper-objlist): Filter out $(link-libc-deps) from
57950         list of objects.
57951         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
57952         target-specific variable.
57953         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
57954         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
57955         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
57956         libc.
57957         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
57958         libc and ld.so.
57959         ($(objpfx)libpcprofile.so): Likewise.
57960         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
57961         libc_nonshared.a.
57962         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
57963         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
57964         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
57965         $(link-libc-deps).
57966         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
57967         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
57968         * login/Makefile ($(objpfx)libutil.so): Likewise.
57969         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
57970         * math/Makefile ($(objpfx)libm.so): Likewise.
57971         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
57972         $(objpfx)libnsl.so): Define libc-for-link as target-specific
57973         variable instead of depending directly on libc.
57974         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
57975         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
57976         $(link-libc-deps).
57977         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
57978         libc.
57979         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
57980         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
57981         ($(objpfx)libanl.so): Likewise.
57982         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
57983         ld.so.
57984         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
57985         $(link-libc-deps).
57986         * sysdeps/i386/fpu/Makefile: Remove file.
57987         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
57988         ($(objpfx)libm.so): Remove dependency on ld.so.
57990 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
57992         [BZ # 15553]
57993         * nis/yp_xdr.c (XDRMAXNAME): Define.
57994         (XDRMAXRECORD): Define.
57995         (xdr_domainname): Use XDRMAXNAME.
57996         (xdr_mapname): Likewise.
57997         (xdr_peername): Likewise.
57998         (xdr_keydat): Use XDRMAXRECORD.
57999         (xdr_valdat): Likewise.
58001 2013-05-30  Jeff Law  <law@redhat.com>
58003         [BZ #14256]
58004         * manual/errno.texi (ESTALE): Update to account for more than
58005         just NFS file systems.
58006         * sysdeps/gnu/errlist.c: Regenerated.
58008 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58010         [BZ #15465]
58011         * elf/Makefile (tests): Add tst-null-argv.
58012         (modules-names):  Add tst-null-argv-lib.
58013         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
58014         (tst-null-argv-ENV): Set environment for tst-null-argv.
58015         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
58016         (RTLD_PROGNAME): New macro.
58017         * elf/tst-null-argv.c: New test case.
58018         * elf/tst-null-argv-lib.c: Library for test case.
58019         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
58020         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
58021         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
58022         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
58023         * elf/dl-init.c (call_init): Likewise.
58024         (_dl_init): Likewise.
58025         * elf/dl-load.c (print_search_path): Likewise.
58026         (_dl_map_object): Likewise.
58027         * elf/dl-lookup.c (do_lookup_x): Likewise.
58028         (add_dependency): Likewise.
58029         (_dl_lookup_symbol_x): Likewise.
58030         (_dl_debug_bindings): Likewise.
58031         * elf/dl-open.c (_dl_show_scope): Likewise.
58032         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
58033         * elf/dl-version.c (match_symbol): Likewise.
58034         (_dl_check_map_versions): Likewise.
58035         * elf/rtld.c (dl_main): Likewise.
58036         (print_unresolved): Use RTLD_PROGNAME.
58037         (print_missing_version): Likewise.
58038         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
58039         (elf_machine_rela): Likewise.
58040         * sysdeps/powerpc/powerpc32/dl-machine.c
58041         (__process_machine_rela): Likewise.
58042         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58043         Likewise.
58044         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58045         Likewise.
58046         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
58047         Likewise.
58048         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58049         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
58050         Likewise.
58051         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
58052         Likewise.
58053         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58055 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
58057         * po/be.po: Add descriptive title.
58058         * po/zh_CN.po: Likewise.
58059         * po/header.pot: Likewise.
58061 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
58063         * locale/programs/locarchive.c (create_archive): Inlucde fname in
58064         error message.
58065         (enlarge_archive): Likewise.
58067 2013-05-28  Ben North  <ben@redfrontdoor.org>
58069         * manual/arith.texi (frexp): It is the magnitude of the return
58070         value which lies in [0.5, 1), not the return value itself.
58072 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58076 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
58078         * stdio-common/bug26.c (main): Correct fscanf template.
58080         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
58081         declare _dl_skip_args.
58083         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
58084         Don't declare.
58086         * manual/platform.texi: Add missing @end deftypefun.
58088 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58090         [BZ #15529]
58091         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
58092         bit of mantissa of 2^16382.
58093         * math/libm-test.inc (hypot_test_data): Add more tests.
58095         * math/libm-test.inc: Add drem and pow10 to list of tested
58096         functions.
58097         (pow10_test): New function.
58098         (drem_test): Likewise.
58099         (drem_test_tonearest): Likewise.
58100         (drem_test_towardzero): Likewise.
58101         (drem_test_downward): Likewise.
58102         (drem_test_upward): Likewise.
58103         (main): Call the new functions.
58105         * math/libm-test.inc (finite_test_data): Remove.
58106         (finite_test): Run tests from isfinite_test_data.
58107         (gamma_test_data): Remove.
58108         (gamma_test): Run tests from lgamma_test_data.
58109         * sysdeps/i386/fpu/libm-test-ulps: Update.
58110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58112 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58114         * manual/platform.texi: Add PowerPC PPR function set documentation.
58115         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
58116         implementation.
58118 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
58120         * math/libm-test.inc (MAX_EXP): Define.
58121         (ULPDIFF): Define.
58122         (ulp): New function.
58123         (check_float_internal): Use ULPDIFF.
58124         (cpow_test): Disable failing test.
58125         (check_ulp): Test ulp() implementation.
58126         (main): Call check_ulp before starting tests.
58128 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58130         * math/gen-libm-test.pl (generate_testfile): Do not handle
58131         START_DATA and END_DATA.
58132         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
58133         END_DATA.
58134         (acos_tonearest_test_data): Likewise.
58135         (acos_towardzero_test_data): Likewise.
58136         (acos_downward_test_data): Likewise.
58137         (acos_upward_test_data): Likewise.
58138         (acosh_test_data): Likewise.
58139         (asin_test_data): Likewise.
58140         (asin_tonearest_test_data): Likewise.
58141         (asin_towardzero_test_data): Likewise.
58142         (asin_downward_test_data): Likewise.
58143         (asin_upward_test_data): Likewise.
58144         (asinh_test_data): Likewise.
58145         (atan_test_data): Likewise.
58146         (atanh_test_data): Likewise.
58147         (atan2_test_data): Likewise.
58148         (cabs_test_data): Likewise.
58149         (cacos_test_data): Likewise.
58150         (cacosh_test_data): Likewise.
58151         (carg_test_data): Likewise.
58152         (casin_test_data): Likewise.
58153         (casinh_test_data): Likewise.
58154         (catan_test_data): Likewise.
58155         (catanh_test_data): Likewise.
58156         (cbrt_test_data): Likewise.
58157         (ccos_test_data): Likewise.
58158         (ccosh_test_data): Likewise.
58159         (ceil_test_data): Likewise.
58160         (cexp_test_data): Likewise.
58161         (cimag_test_data): Likewise.
58162         (clog_test_data): Likewise.
58163         (clog10_test_data): Likewise.
58164         (conj_test_data): Likewise.
58165         (copysign_test_data): Likewise.
58166         (cos_test_data): Likewise.
58167         (cos_tonearest_test_data): Likewise.
58168         (cos_towardzero_test_data): Likewise.
58169         (cos_downward_test_data): Likewise.
58170         (cos_upward_test_data): Likewise.
58171         (cosh_test_data): Likewise.
58172         (cosh_tonearest_test_data): Likewise.
58173         (cosh_towardzero_test_data): Likewise.
58174         (cosh_downward_test_data): Likewise.
58175         (cosh_upward_test_data): Likewise.
58176         (cpow_test_data): Likewise.
58177         (cproj_test_data): Likewise.
58178         (creal_test_data): Likewise.
58179         (csin_test_data): Likewise.
58180         (csinh_test_data): Likewise.
58181         (csqrt_test_data): Likewise.
58182         (ctan_test_data): Likewise.
58183         (ctan_tonearest_test_data): Likewise.
58184         (ctan_towardzero_test_data): Likewise.
58185         (ctan_downward_test_data): Likewise.
58186         (ctan_upward_test_data): Likewise.
58187         (ctanh_test_data): Likewise.
58188         (ctanh_tonearest_test_data): Likewise.
58189         (ctanh_towardzero_test_data): Likewise.
58190         (ctanh_downward_test_data): Likewise.
58191         (ctanh_upward_test_data): Likewise.
58192         (erf_test_data): Likewise.
58193         (erfc_test_data): Likewise.
58194         (exp_test_data): Likewise.
58195         (exp_tonearest_test_data): Likewise.
58196         (exp_towardzero_test_data): Likewise.
58197         (exp_downward_test_data): Likewise.
58198         (exp_upward_test_data): Likewise.
58199         (exp10_test_data): Likewise.
58200         (exp2_test_data): Likewise.
58201         (expm1_test_data): Likewise.
58202         (fabs_test_data): Likewise.
58203         (fdim_test_data): Likewise.
58204         (finite_test_data): Likewise.
58205         (floor_test_data): Likewise.
58206         (fma_test_data): Likewise.
58207         (fma_towardzero_test_data): Likewise.
58208         (fma_downward_test_data): Likewise.
58209         (fma_upward_test_data): Likewise.
58210         (fmax_test_data): Likewise.
58211         (fmin_test_data): Likewise.
58212         (fmod_test_data): Likewise.
58213         (fpclassify_test_data): Likewise.
58214         (frexp_test_data): Likewise.
58215         (gamma_test_data): Likewise.
58216         (hypot_test_data): Likewise.
58217         (ilogb_test_data): Likewise.
58218         (isfinite_test_data): Likewise.
58219         (isgreater_test_data): Likewise.
58220         (isgreaterequal_test_data): Likewise.
58221         (isinf_test_data): Likewise.
58222         (isless_test_data): Likewise.
58223         (islessequal_test_data): Likewise.
58224         (islessgreater_test_data): Likewise.
58225         (isnan_test_data): Likewise.
58226         (isnormal_test_data): Likewise.
58227         (issignaling_test_data): Likewise.
58228         (isunordered_test_data): Likewise.
58229         (j0_test_data): Likewise.
58230         (j1_test_data): Likewise.
58231         (jn_test_data): Likewise.
58232         (ldexp_test_data): Likewise.
58233         (lgamma_test_data): Likewise.
58234         (lrint_test_data): Likewise.
58235         (lrint_tonearest_test_data): Likewise.
58236         (lrint_towardzero_test_data): Likewise.
58237         (lrint_downward_test_data): Likewise.
58238         (lrint_upward_test_data): Likewise.
58239         (llrint_test_data): Likewise.
58240         (llrint_tonearest_test_data): Likewise.
58241         (llrint_towardzero_test_data): Likewise.
58242         (llrint_downward_test_data): Likewise.
58243         (llrint_upward_test_data): Likewise.
58244         (log_test_data): Likewise.
58245         (log10_test_data): Likewise.
58246         (log1p_test_data): Likewise.
58247         (log2_test_data): Likewise.
58248         (logb_test_data): Likewise.
58249         (logb_downward_test_data): Likewise.
58250         (lround_test_data): Likewise.
58251         (llround_test_data): Likewise.
58252         (modf_test_data): Likewise.
58253         (nearbyint_test_data): Likewise.
58254         (nextafter_test_data): Likewise.
58255         (nexttoward_test_data): Likewise.
58256         (pow_test_data): Likewise.
58257         (pow_tonearest_test_data): Likewise.
58258         (pow_towardzero_test_data): Likewise.
58259         (pow_downward_test_data): Likewise.
58260         (pow_upward_test_data): Likewise.
58261         (remainder_test_data): Likewise.
58262         (remainder_tonearest_test_data): Likewise.
58263         (remainder_towardzero_test_data): Likewise.
58264         (remainder_downward_test_data): Likewise.
58265         (remainder_upward_test_data): Likewise.
58266         (remquo_test_data): Likewise.
58267         (rint_test_data): Likewise.
58268         (rint_tonearest_test_data): Likewise.
58269         (rint_towardzero_test_data): Likewise.
58270         (rint_downward_test_data): Likewise.
58271         (rint_upward_test_data): Likewise.
58272         (round_test_data): Likewise.
58273         (scalb_test_data): Likewise.
58274         (scalbn_test_data): Likewise.
58275         (scalbln_test_data): Likewise.
58276         (signbit_test_data): Likewise.
58277         (sin_test_data): Likewise.
58278         (sin_tonearest_test_data): Likewise.
58279         (sin_towardzero_test_data): Likewise.
58280         (sin_downward_test_data): Likewise.
58281         (sin_upward_test_data): Likewise.
58282         (sincos_test_data): Likewise.
58283         (sinh_test_data): Likewise.
58284         (sinh_tonearest_test_data): Likewise.
58285         (sinh_towardzero_test_data): Likewise.
58286         (sinh_downward_test_data): Likewise.
58287         (sinh_upward_test_data): Likewise.
58288         (sqrt_test_data): Likewise.
58289         (tan_test_data): Likewise.
58290         (tan_tonearest_test_data): Likewise.
58291         (tan_towardzero_test_data): Likewise.
58292         (tan_downward_test_data): Likewise.
58293         (tan_upward_test_data): Likewise.
58294         (tanh_test_data): Likewise.
58295         (tgamma_test_data): Likewise.
58296         (trunc_test_data): Likewise.
58297         (y0_test_data): Likewise.
58298         (y1_test_data): Likewise.
58299         (yn_test_data): Likewise.
58300         (significand_test_data): Likewise.
58302         * math/gen-libm-test.pl (@functions): Remove variable.
58303         (generate_testfile): Don't handle START and END lines.
58304         * math/libm-test.inc (START): New macro.
58305         (END): Likewise.
58306         (END_COMPLEX): Likewise.
58307         (acos_test): Use END macro without arguments.
58308         (acos_test_tonearest): Likewise.
58309         (acos_test_towardzero): Likewise.
58310         (acos_test_downward): Likewise.
58311         (acos_test_upward): Likewise.
58312         (acosh_test): Likewise.
58313         (asin_test): Likewise.
58314         (asin_test_tonearest): Likewise.
58315         (asin_test_towardzero): Likewise.
58316         (asin_test_downward): Likewise.
58317         (asin_test_upward): Likewise.
58318         (asinh_test): Likewise.
58319         (atan_test): Likewise.
58320         (atanh_test): Likewise.
58321         (atan2_test): Likewise.
58322         (cabs_test): Likewise.
58323         (cacos_test): Use END_COMPLEX macro without arguments.
58324         (cacosh_test): Likewise.
58325         (carg_test): Use END macro without arguments.
58326         (casin_test): Use END_COMPLEX macro without arguments.
58327         (casinh_test): Likewise.
58328         (catan_test): Likewise.
58329         (catanh_test): Likewise.
58330         (cbrt_test): Use END macro without arguments.
58331         (ccos_test): Use END_COMPLEX macro without arguments.
58332         (ccosh_test): Likewise.
58333         (ceil_test): Use END macro without arguments.
58334         (cexp_test): Use END_COMPLEX macro without arguments.
58335         (cimag_test): Use END macro without arguments.
58336         (clog_test): Use END_COMPLEX macro without arguments.
58337         (clog10_test): Likewise.
58338         (conj_test): Likewise.
58339         (copysign_test): Use END macro without arguments.
58340         (cos_test): Likewise.
58341         (cos_test_tonearest): Likewise.
58342         (cos_test_towardzero): Likewise.
58343         (cos_test_downward): Likewise.
58344         (cos_test_upward): Likewise.
58345         (cosh_test): Likewise.
58346         (cosh_test_tonearest): Likewise.
58347         (cosh_test_towardzero): Likewise.
58348         (cosh_test_downward): Likewise.
58349         (cosh_test_upward): Likewise.
58350         (cpow_test): Use END_COMPLEX macro without arguments.
58351         (cproj_test): Likewise.
58352         (creal_test): Use END macro without arguments.
58353         (csin_test): Use END_COMPLEX macro without arguments.
58354         (csinh_test): Likewise.
58355         (csqrt_test): Likewise.
58356         (ctan_test): Likewise.
58357         (ctan_test_tonearest): Likewise.
58358         (ctan_test_towardzero): Likewise.
58359         (ctan_test_downward): Likewise.
58360         (ctan_test_upward): Likewise.
58361         (ctanh_test): Likewise.
58362         (ctanh_test_tonearest): Likewise.
58363         (ctanh_test_towardzero): Likewise.
58364         (ctanh_test_downward): Likewise.
58365         (ctanh_test_upward): Likewise.
58366         (erf_test): Use END macro without arguments.
58367         (erfc_test): Likewise.
58368         (exp_test): Likewise.
58369         (exp_test_tonearest): Likewise.
58370         (exp_test_towardzero): Likewise.
58371         (exp_test_downward): Likewise.
58372         (exp_test_upward): Likewise.
58373         (exp10_test): Likewise.
58374         (exp2_test): Likewise.
58375         (expm1_test): Likewise.
58376         (fabs_test): Likewise.
58377         (fdim_test): Likewise.
58378         (finite_test): Likewise.
58379         (floor_test): Likewise.
58380         (fma_test): Likewise.
58381         (fma_test_towardzero): Likewise.
58382         (fma_test_downward): Likewise.
58383         (fma_test_upward): Likewise.
58384         (fmax_test): Likewise.
58385         (fmin_test): Likewise.
58386         (fmod_test): Likewise.
58387         (fpclassify_test): Likewise.
58388         (frexp_test): Likewise.
58389         (gamma_test): Likewise.
58390         (hypot_test): Likewise.
58391         (ilogb_test): Likewise.
58392         (isfinite_test): Likewise.
58393         (isgreater_test): Likewise.
58394         (isgreaterequal_test): Likewise.
58395         (isinf_test): Likewise.
58396         (isless_test): Likewise.
58397         (islessequal_test): Likewise.
58398         (islessgreater_test): Likewise.
58399         (isnan_test): Likewise.
58400         (isnormal_test): Likewise.
58401         (issignaling_test): Likewise.
58402         (isunordered_test): Likewise.
58403         (j0_test): Likewise.
58404         (j1_test): Likewise.
58405         (jn_test): Likewise.
58406         (ldexp_test): Likewise.
58407         (lgamma_test): Likewise.
58408         (lrint_test): Likewise.
58409         (lrint_test_tonearest): Likewise.
58410         (lrint_test_towardzero): Likewise.
58411         (lrint_test_downward): Likewise.
58412         (lrint_test_upward): Likewise.
58413         (llrint_test): Likewise.
58414         (llrint_test_tonearest): Likewise.
58415         (llrint_test_towardzero): Likewise.
58416         (llrint_test_downward): Likewise.
58417         (llrint_test_upward): Likewise.
58418         (log_test): Likewise.
58419         (log10_test): Likewise.
58420         (log1p_test): Likewise.
58421         (log2_test): Likewise.
58422         (logb_test): Likewise.
58423         (logb_test_downward): Likewise.
58424         (lround_test): Likewise.
58425         (llround_test): Likewise.
58426         (modf_test): Likewise.
58427         (nearbyint_test): Likewise.
58428         (nextafter_test): Likewise.
58429         (nexttoward_test): Likewise.
58430         (pow_test): Likewise.
58431         (pow_test_tonearest): Likewise.
58432         (pow_test_towardzero): Likewise.
58433         (pow_test_downward): Likewise.
58434         (pow_test_upward): Likewise.
58435         (remainder_test): Likewise.
58436         (remainder_test_tonearest): Likewise.
58437         (remainder_test_towardzero): Likewise.
58438         (remainder_test_downward): Likewise.
58439         (remainder_test_upward): Likewise.
58440         (remquo_test): Likewise.
58441         (rint_test): Likewise.
58442         (rint_test_tonearest): Likewise.
58443         (rint_test_towardzero): Likewise.
58444         (rint_test_downward): Likewise.
58445         (rint_test_upward): Likewise.
58446         (round_test): Likewise.
58447         (scalb_test): Likewise.
58448         (scalbn_test): Likewise.
58449         (scalbln_test): Likewise.
58450         (signbit_test): Likewise.
58451         (sin_test): Likewise.
58452         (sin_test_tonearest): Likewise.
58453         (sin_test_towardzero): Likewise.
58454         (sin_test_downward): Likewise.
58455         (sin_test_upward): Likewise.
58456         (sincos_test): Likewise.
58457         (sinh_test): Likewise.
58458         (sinh_test_tonearest): Likewise.
58459         (sinh_test_towardzero): Likewise.
58460         (sinh_test_downward): Likewise.
58461         (sinh_test_upward): Likewise.
58462         (sqrt_test): Likewise.
58463         (tan_test): Likewise.
58464         (tan_test_tonearest): Likewise.
58465         (tan_test_towardzero): Likewise.
58466         (tan_test_downward): Likewise.
58467         (tan_test_upward): Likewise.
58468         (tanh_test): Likewise.
58469         (tgamma_test): Likewise.
58470         (trunc_test): Likewise.
58471         (y0_test): Likewise.
58472         (y1_test): Likewise.
58473         (yn_test): Likewise.
58474         (significand_test): Likewise.
58476 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
58478         [BZ #15381]
58479         * libio/genops.c (_IO_no_init): Initialize wide struct info.
58481 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
58483         [BZ #14894]
58484         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
58485         __ppc_mdoio and __ppc_mdoom.
58486         * manual/platform.texi: Document new functions __ppc_yield,
58487         __ppc_mdoio and __ppc_mdoom.
58489 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
58491         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
58492         (main): Mention "tls" pseudo-hwcap is legacy.
58493         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
58495 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
58497         * math/gen-libm-test.pl (parse_args): Output only string of
58498         arguments as text for test name, not full call or descriptions of
58499         tests for extra outputs.
58500         (generate_testfile): Do not pass function name to parse_args.
58501         Generate this_func variable from START.
58502         * math/libm-test.inc (struct test_f_f_data): Rename test_name
58503         field to arg_str.
58504         (struct test_ff_f_data): Likewise.
58505         (test_ff_f_data_nexttoward): Likewise.
58506         (struct test_fi_f_data): Likewise.
58507         (struct test_fl_f_data): Likewise.
58508         (struct test_if_f_data): Likewise.
58509         (struct test_fff_f_data): Likewise.
58510         (struct test_c_f_data): Likewise.
58511         (struct test_f_f1_data): Likewise.  Remove field extra_name.
58512         (struct test_fF_f1_data): Likewise.
58513         (struct test_ffI_f1_data): Likewise.
58514         (struct test_c_c_data): Rename test_name field to arg_str.
58515         (struct test_cc_c_data): Likewise.
58516         (struct test_f_i_data): Likewise.
58517         (struct test_ff_i_data): Likewise.
58518         (struct test_f_l_data): Likewise.
58519         (struct test_f_L_data): Likewise.
58520         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
58521         and extra2_name.
58522         (COMMON_TEST_SETUP): New macro.
58523         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
58524         (COMMON_TEST_CLEANUP): Likewise.
58525         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
58526         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
58527         macros.
58528         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
58529         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
58530         macros.
58531         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
58532         (RUN_TEST_fff_f): Take argument string.  Call new setup and
58533         cleanup macros.
58534         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
58535         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
58536         macros.
58537         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
58538         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
58539         macros.
58540         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
58541         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
58542         cleanup macros.
58543         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
58544         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
58545         cleanup macros.
58546         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
58547         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
58548         cleanup macros.
58549         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
58550         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
58551         macros.
58552         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
58553         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
58554         macros.
58555         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
58556         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
58557         macros.
58558         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
58559         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
58560         cleanup macros.
58561         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
58562         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
58563         cleanup macros.
58564         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
58565         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
58566         macros.
58567         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
58568         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
58569         cleanup macros.
58570         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
58571         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
58572         macros.
58573         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
58574         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
58575         macros.
58576         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
58577         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
58578         cleanup macros.
58579         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
58581 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
58583         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
58584         to _sifields.sigfault.
58585         (si_addr_lsb): Define new macro.
58586         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
58587         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58588         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
58590 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
58592         [BZ #15441]
58593         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
58594         returns -1.
58595         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
58596         null return -1.
58597         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
58598         loading the domain.
58600 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
58602         * math/gen-libm-test.pl (parse_args): Do not include expected
58603         result in test name.
58604         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
58605         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58606         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58607         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58608         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58611 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
58613         * benchtests/Makefile: Sort function entries.
58615         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
58616         tanh, asinh, acosh, atanh.
58617         * benchtests/acos-inputs: New file.
58618         * benchtests/acosh-inputs: New file.
58619         * benchtests/asin-inputs: New file.
58620         * benchtests/asinh-inputs: New file.
58621         * benchtests/atanh-inputs: New file.
58622         * benchtests/cosh-inputs: New file.
58623         * benchtests/log-inputs: New file.
58624         * benchtests/sinh-inputs: New file.
58625         * benchtests/tanh-inputs: New file.
58627 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
58629         [BZ #15339]
58630         * posix/tst-getaddrinfo4.c: New test.
58631         * posix/Makefile (tests): Add it.
58633 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58635         [BZ #15339]
58636         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
58637         when no services were used.
58638         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
58639         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
58641 2013-05-21  Andreas Schwab  <schwab@suse.de>
58643         [BZ #15014]
58644         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
58645         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
58646         successful.
58647         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
58648         redundant variable declarations and reallocation of buffer when
58649         parsing as IPv6 address.  Always set NSS status when called from
58650         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
58651         buffer too small.  Correct computation of needed size.
58652         * nss/Makefile (tests): Add test-digits-dots.
58653         * nss/test-digits-dots.c: New test.
58655 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58657         * benchtests/Makefile: Remove instructions for adding
58658         benchmark tests.
58659         * benchtests/README: New file to explain how to execute and
58660         enhance the benchmark tests.
58662 2013-05-21  Andreas Schwab  <schwab@suse.de>
58664         [BZ #15493]
58665         * setjmp/Makefile (tests): Add tst-sigsetjmp.
58666         * setjmp/tst-sigsetjmp.c: New test.
58668 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
58670         * sysdeps/x86_64/memset.S (memset): New implementation.
58671         (__bzero): Likewise.
58672         (__memset_tail): New function.
58674 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
58676         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
58677         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
58678         __memcpy_sse2_unaligned ifunc selection.
58679         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58680         Add memcpy-sse2-unaligned.S.
58681         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58682         Add: __memcpy_sse2_unaligned.
58684 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
58686         [BZ #15490]
58687         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
58688         math_force_eval before restoring floating-point envrionment.
58689         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
58690         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
58691         Likewise.
58692         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
58693         <math_private.h>.
58694         (__nearbyintl): Use math_force_eval before restoring
58695         floating-point environment.
58696         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
58698         * math/gen-libm-test.pl (special_functions): Remove.
58699         (parse_args): Don't handle TEST_extra.  Handle functions with no
58700         return value.
58701         * math/libm-test.inc (struct test_sincos_data): Replace with
58702         struct test_fFF_11_data.
58703         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
58704         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
58705         (sincos_test_data): Change element type to struct
58706         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
58707         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
58708         RUN_TEST_LOOP_sincos.
58709         * math/README.libm-test: Don't mention special handling of
58710         individual functions.
58711         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
58712         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58713         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58714         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58715         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58718         * math/gen-libm-test.pl (get_variable): Remove function.
58719         (parse_args): Don't show pointer parameters to call in test
58720         names.  Use "extra output N" in test names for extra outputs
58721         rather than naming variables.
58723 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
58725         [BZ #15488]
58726         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
58727         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
58728         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
58729         double tests.
58730         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
58731         disable.
58732         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
58733         check_long_double.
58735         * math/gen-libm-test.pl (@tests): Remove variable.
58736         ($count): Likewise.
58737         (new_test): Remove function.
58738         (show_exceptions): New function.
58739         (special_functions): Use show_exceptions instead of new_test.
58740         (parse_args): Likewise.
58741         (generate_testfile): Pass only function name in generated call to
58742         print_max_error or print_complex_max_error.
58743         (get_ulps): Do not handle complex tests specially.
58744         (output_test): Rename to ...
58745         (get_all_ulps_for_test): ... this.  Return a string rather than
58746         printing to a file.  Require ulps to be present.
58747         (output_ulps): Generate arrays rather than #defines.
58748         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
58749         (struct ulp_data): New type.
58750         (BUILD_COMPLEX_ULP): Remove macro.
58751         (compare_ulp_data): New function.
58752         (find_ulps): Likewise.
58753         (find_test_ulps): Likewise.
58754         (find_function_ulps): Likewise.
58755         (find_complex_function_ulps): Likewise.
58756         (print_max_error): Determine allowed ulps using
58757         find_function_ulps.
58758         (print_complex_max_error): Determine allowed ulps using
58759         find_complex_function_ulps.
58760         (check_float_internal): Determine max ulps using find_test_ulps.
58761         (check_float): Do not take max_ulp parameter.  Update call to
58762         check_float_internal.
58763         (check_complex): Likewise.
58764         (check_int): Do not take max_ulp parameter.
58765         (check_long): Likewise.
58766         (check_bool): Likewise.
58767         (check_longlong): Likewise.
58768         (struct test_f_f_data): Remove max_ulp field.
58769         (struct test_ff_f_data): Likewise.
58770         (struct test_ff_f_data_nexttoward): Likewise.
58771         (struct test_fi_f_data): Likewise.
58772         (struct test_fl_f_data): Likewise.
58773         (struct test_if_f_data): Likewise.
58774         (struct test_fff_f_data): Likewise.
58775         (struct test_c_f_data): Likewise.
58776         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
58777         (struct test_fF_f1_data): Likewise.
58778         (struct test_ffI_f1_data): Likewise.
58779         (struct test_c_c_data): Remove max_ulp field.
58780         (struct test_cc_c_data): Likewise.
58781         (struct test_f_i_data): Likewise.
58782         (struct test_ff_i_data): Likewise.
58783         (struct test_f_l_data): Likewise.
58784         (struct test_f_L_data): Likewise.
58785         (struct test_sincos_data): Likewise.
58786         (RUN_TEST_f_f): Do not handle ulps.
58787         (RUN_TEST_LOOP_f_f): Likewise.
58788         (RUN_TEST_2_f): Likewise.
58789         (RUN_TEST_LOOP_2_f): Likewise.
58790         (RUN_TEST_fff_f): Likewise.
58791         (RUN_TEST_LOOP_fff_f): Likewise.
58792         (RUN_TEST_c_f): Likewise.
58793         (RUN_TEST_LOOP_c_f): Likewise.
58794         (RUN_TEST_f_f1): Likewise.
58795         (RUN_TEST_LOOP_f_f1): Likewise.
58796         (RUN_TEST_fF_f1): Likewise.
58797         (RUN_TEST_LOOP_fF_f1): Likewise.
58798         (RUN_TEST_fI_f1): Likewise.
58799         (RUN_TEST_LOOP_fI_f1): Likewise.
58800         (RUN_TEST_ffI_f1): Likewise.
58801         (RUN_TEST_LOOP_ffI_f1): Likewise.
58802         (RUN_TEST_c_c): Likewise.
58803         (RUN_TEST_LOOP_c_c): Likewise.
58804         (RUN_TEST_cc_c): Likewise.
58805         (RUN_TEST_LOOP_cc_c): Likewise.
58806         (RUN_TEST_f_i): Likewise.
58807         (RUN_TEST_LOOP_f_i): Likewise.
58808         (RUN_TEST_f_i_tg): Likewise.
58809         (RUN_TEST_LOOP_f_i_tg): Likewise.
58810         (RUN_TEST_ff_i_tg): Likewise.
58811         (RUN_TEST_LOOP_ff_i_tg): Likewise.
58812         (RUN_TEST_f_b): Likewise.
58813         (RUN_TEST_LOOP_f_b): Likewise.
58814         (RUN_TEST_f_b_tg): Likewise.
58815         (RUN_TEST_LOOP_f_b_tg): Likewise.
58816         (RUN_TEST_f_l): Likewise.
58817         (RUN_TEST_LOOP_f_l): Likewise.
58818         (RUN_TEST_f_L): Likewise.
58819         (RUN_TEST_LOOP_f_L): Likewise.
58820         (RUN_TEST_sincos): Likewise.
58821         (RUN_TEST_LOOP_sincos): Likewise.
58823 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
58825         [BZ #15480]
58826         [BZ #15485]
58827         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
58828         main case of finite arguments, set rounding mode to FE_TONEAREST
58829         and discard exceptions.
58830         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
58831         exceptions.
58832         (remainder_tonearest_test_data): New variable.
58833         (remainder_test_tonearest): New function.
58834         (remainder_towardzero_test_data): New variable.
58835         (remainder_test_towardzero): New function.
58836         (remainder_downward_test_data): New variable.
58837         (remainder_test_downward): New function.
58838         (remainder_upward_test_data): New variable.
58839         (remainder_test_upward): New function.
58840         (main): Call the new test functions.
58842         * math/libm-test.inc (struct test_f_f1_data): Remove field
58843         extra_init.
58844         (struct test_fF_f1_data): Likewise.
58845         (struct test_ffI_f1_data): Likewise.
58846         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
58847         based on value of EXTRA_EXPECTED.
58848         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
58849         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
58850         EXTRA_VAR based on value of EXTRA_EXPECTED.
58851         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
58852         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
58853         EXTRA_VAR based on value of EXTRA_EXPECTED.
58854         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
58855         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
58856         EXTRA_VAR based on value of EXTRA_EXPECTED.
58857         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
58858         * math/gen-libm-test.pl (parse_args): Don't output initializers
58859         for extra output values.
58861         * math/libm-test.inc (check_int): Expect result to be exactly
58862         equal to expected value and do not handle ulps.
58863         (check_long): Likewise.
58864         (check_longlong): Likewise.
58866         * math/libm-test.inc (ceil_test_data): Test for "inexact"
58867         exceptions.
58868         (cimag_test_data): Likewise.
58869         (conj_test_data): Likewise.
58870         (copysign_test_data): Likewise.
58871         (cproj_test_data): Likewise.
58872         (creal_test_data): Likewise.
58873         (fabs_test_data): Likewise.
58874         (fdim_test_data): Likewise.
58875         (finite_test_data): Likewise.
58876         (floor_test_data): Likewise.
58877         (fmax_test_data): Likewise.
58878         (fmin_test_data): Likewise.
58879         (fmod_test_data): Likewise.
58880         (fpclassify_test_data): Likewise.
58881         (frexp_test_data): Likewise.
58882         (ilogb_test_data): Likewise.
58883         (isfinite_test_data): Likewise.
58884         (isgreater_test_data): Likewise.
58885         (isgreaterequal_test_data): Likewise.
58886         (isinf_test_data): Likewise.
58887         (isless_test_data): Likewise.
58888         (islessequal_test_data): Likewise.
58889         (islessgreater_test_data): Likewise.
58890         (isnan_test_data): Likewise.
58891         (isnormal_test_data): Likewise.
58892         (issignaling_test_data): Likewise.
58893         (isunordered_test_data): Likewise.
58894         (ldexp_test_data): Likewise.
58895         (lrint_test_data): Likewise.
58896         (lrint_test_data) [TEST_FLOAT]: Disable one test.
58897         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
58898         (lrint_tonearest_test_data): Test for "inexact" exceptions.
58899         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
58900         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
58901         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
58902         test input.
58903         (lrint_towardzero_test_data): Test for "inexact" exceptions.
58904         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
58905         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
58906         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
58907         that test input.
58908         (lrint_downward_test_data): Test for "inexact" exceptions.
58909         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
58910         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
58911         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
58912         test input.
58913         (lrint_upward_test_data): Test for "inexact" exceptions.
58914         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
58915         test input.
58916         (llrint_test_data): Test for "inexact" exceptions.
58917         (llrint_test_data) [TEST_FLOAT]: Disable one test.
58918         (llrint_tonearest_test_data): Test for "inexact" exceptions.
58919         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
58920         (llrint_towardzero_test_data): Test for "inexact" exceptions.
58921         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
58922         (llrint_downward_test_data): Test for "inexact" exceptions.
58923         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
58924         (llrint_upward_test_data): Test for "inexact" exceptions.
58925         (logb_test_data): Likewise.
58926         (logb_downward_test_data): Likewise.
58927         (nextafter_test_data): Likewise.
58928         (nexttoward_test_data): Likewise.
58929         (remainder_test_data): Likewise.
58930         (remquo_test_data): Likewise.
58931         (scalbn_test_data): Likewise.
58932         (scalbln_test_data): Likewise.
58933         (signbit_test_data): Likewise.
58934         (sqrt_test_data): Likewise.
58935         (significand_test_data): Likewise.
58937 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58939         [BZ #15424]
58940         * benchtests/bench-modf.c (struct args): Mark arg0 as
58941         volatile.
58942         * scripts/bench.pl: Mark members of struct args as volatile.
58944 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58946         [BZ # 15497]
58947         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
58948         negative infinity on POWER6 or lower.
58949         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
58951 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
58953         [BZ #15442]
58954         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
58955         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
58956         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
58957         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
58958         (_FP_SETQNAN): New macro.
58959         (_FP_SETQNAN_SEMIRAW): Likewise.
58960         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
58961         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
58962         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
58963         (FP_EXTEND): Use _FP_FRAC_SNANP.
58964         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
58965         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
58966         into account.
58967         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
58968         New macro.
58969         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
58970         Likewise.
58972 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
58974         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
58975         with DIVIDE_BY_ZERO_EXCEPTION.
58976         (gamma_test_data): Likewise.
58977         (lgamma_test_data): Likewise.
58978         (log_test_data): Likewise.
58979         (log10_test_data): Likewise.
58980         (log2_test_data): Likewise.
58981         (tgamma_test_data): Likewise.
58983         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
58984         (acos_test_tonearest): Likewise.
58985         (acos_test_towardzero): Likewise.
58986         (acos_test_downward): Likewise.
58987         (acos_test_upward): Likewise.
58988         (acosh_test): Likewise.
58989         (asin_test): Likewise.
58990         (asin_test_tonearest): Likewise.
58991         (asin_test_towardzero): Likewise.
58992         (asin_test_downward): Likewise.
58993         (asin_test_upward): Likewise.
58994         (asinh_test): Likewise.
58995         (atan_test): Likewise.
58996         (atanh_test): Likewise.
58997         (atan2_test): Likewise.
58998         (cabs_test): Likewise.
58999         (cacos_test): Likewise.
59000         (cacosh_test): Likewise.
59001         (casin_test): Likewise.
59002         (casinh_test): Likewise.
59003         (catan_test): Likewise.
59004         (catanh_test): Likewise.
59005         (cbrt_test): Likewise.
59006         (ccos_test): Likewise.
59007         (ccosh_test): Likewise.
59008         (cexp_test): Likewise.
59009         (clog_test): Likewise.
59010         (clog10_test): Likewise.
59011         (cos_test): Likewise.
59012         (cos_test_tonearest): Likewise.
59013         (cos_test_towardzero): Likewise.
59014         (cos_test_downward): Likewise.
59015         (cos_test_upward): Likewise.
59016         (cosh_test): Likewise.
59017         (cosh_test_tonearest): Likewise.
59018         (cosh_test_towardzero): Likewise.
59019         (cosh_test_downward): Likewise.
59020         (cosh_test_upward): Likewise.
59021         (cpow_test): Likewise.
59022         (csin_test): Likewise.
59023         (csinh_test): Likewise.
59024         (csqrt_test): Likewise.
59025         (ctan_test): Likewise.
59026         (ctan_test_tonearest): Likewise.
59027         (ctan_test_towardzero): Likewise.
59028         (ctan_test_downward): Likewise.
59029         (ctan_test_upward): Likewise.
59030         (ctanh_test): Likewise.
59031         (ctanh_test_tonearest): Likewise.
59032         (ctanh_test_towardzero): Likewise.
59033         (ctanh_test_downward): Likewise.
59034         (ctanh_test_upward): Likewise.
59035         (erf_test): Likewise.
59036         (erfc_test): Likewise.
59037         (exp_test): Likewise.
59038         (exp_test_tonearest): Likewise.
59039         (exp_test_towardzero): Likewise.
59040         (exp_test_downward): Likewise.
59041         (exp_test_upward): Likewise.
59042         (exp10_test): Likewise.
59043         (exp2_test): Likewise.
59044         (expm1_test): Likewise.
59045         (fmod_test): Likewise.
59046         (gamma_test): Likewise.
59047         (hypot_test): Likewise.
59048         (j0_test): Likewise.
59049         (j1_test): Likewise.
59050         (jn_test): Likewise.
59051         (lgamma_test): Likewise.
59052         (log_test): Likewise.
59053         (log10_test): Likewise.
59054         (log1p_test): Likewise.
59055         (log2_test): Likewise.
59056         (logb_test_downward): Likewise.
59057         (pow_test): Likewise.
59058         (pow_test_tonearest): Likewise.
59059         (pow_test_towardzero): Likewise.
59060         (pow_test_downward): Likewise.
59061         (pow_test_upward): Likewise.
59062         (remainder_test): Likewise.
59063         (remquo_test): Likewise.
59064         (sin_test): Likewise.
59065         (sin_test_tonearest): Likewise.
59066         (sin_test_towardzero): Likewise.
59067         (sin_test_downward): Likewise.
59068         (sin_test_upward): Likewise.
59069         (sincos_test): Likewise.
59070         (sinh_test): Likewise.
59071         (sinh_test_tonearest): Likewise.
59072         (sinh_test_towardzero): Likewise.
59073         (sinh_test_downward): Likewise.
59074         (sinh_test_upward): Likewise.
59075         (sqrt_test): Likewise.
59076         (tan_test): Likewise.
59077         (tan_test_tonearest): Likewise.
59078         (tan_test_towardzero): Likewise.
59079         (tan_test_downward): Likewise.
59080         (tan_test_upward): Likewise.
59081         (tanh_test): Likewise.
59082         (tgamma_test): Likewise.
59083         (y0_test): Likewise.
59084         (y1_test): Likewise.
59085         (yn_test): Likewise.
59087         * math/gen-libm-test.pl (adjust_arg): Remove function.
59088         (special_function): Remove argument $in_func.  Only handle
59089         generating output for tables of tests, not inside functions.
59090         (parse_args): Likewise.
59091         (generate_testfile): Remove variable $in_func.  Update call to
59092         parse_args.
59093         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
59094         (MINUS_ZERO_INIT): Rename macro to minus_zero.
59095         (PLUS_INFTY_INIT): Rename macro to plus_infty.
59096         (MINUS_INFTY_INIT): Rename macro to minus_infty.
59097         (QNAN_VALUE_INIT): Rename macro to qnan_value.
59098         (MAX_VALUE_INIT): Rename macro to max_value.
59099         (MIN_VALUE_INIT): Rename macro to min_value.
59100         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
59101         (plus_zero): Remove variable.
59102         (minus_zero): Likewise.
59103         (plus_infty): Likewise.
59104         (minus_infty): Likewise.
59105         (qnan_value): Likewise.
59106         (max_value): Likewise.
59107         (min_value): Likewise.
59108         (min_subnorm_value): Likewise.
59110 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59112         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
59113         uint64_t or uint32_t usage.
59114         * crypt/sha256-block.c: Likewise.
59115         * crypt/sha256-crypt.c: Likewise.
59116         * crypt/sha256.c: Likewise.
59117         * crypt/sha512-block.c: Likewise.
59118         * crypt/sha512-crypt.c: Likewise.
59119         * crypt/sha512.c: Likewise.
59120         * debug/backtrace-tst.c: Likewise.
59121         * debug/pcprofiledump.c: Likewise.
59122         * elf/cache.c: Likewise.
59123         * elf/dl-cache.c: Likewise.
59124         * elf/dl-misc.c: Likewise.
59125         * elf/dl-profile.c: Likewise.
59126         * elf/dl-support.c: Likewise.
59127         * elf/ldconfig.c: Likewise.
59128         * elf/sprof.c: Likewise.
59129         * iconv/dummy-repertoire.c: Likewise.
59130         * iconv/iconv_charmap.c: Likewise.
59131         * iconv/skeleton.c: Likewise.
59132         * iconvdata/8bit-generic.c: Likewise.
59133         * iconvdata/cp737.h: Likewise.
59134         * iconvdata/cp775.h: Likewise.
59135         * iconvdata/ibm1008.h: Likewise.
59136         * iconvdata/ibm1025.h: Likewise.
59137         * iconvdata/ibm1046.h: Likewise.
59138         * iconvdata/ibm1097.h: Likewise.
59139         * iconvdata/ibm1112.h: Likewise.
59140         * iconvdata/ibm1122.h: Likewise.
59141         * iconvdata/ibm1123.h: Likewise.
59142         * iconvdata/ibm1124.h: Likewise.
59143         * iconvdata/ibm1129.h: Likewise.
59144         * iconvdata/ibm1130.h: Likewise.
59145         * iconvdata/ibm1132.h: Likewise.
59146         * iconvdata/ibm1133.h: Likewise.
59147         * iconvdata/ibm1137.h: Likewise.
59148         * iconvdata/ibm1140.h: Likewise.
59149         * iconvdata/ibm1141.h: Likewise.
59150         * iconvdata/ibm1142.h: Likewise.
59151         * iconvdata/ibm1143.h: Likewise.
59152         * iconvdata/ibm1144.h: Likewise.
59153         * iconvdata/ibm1145.h: Likewise.
59154         * iconvdata/ibm1146.h: Likewise.
59155         * iconvdata/ibm1147.h: Likewise.
59156         * iconvdata/ibm1148.h: Likewise.
59157         * iconvdata/ibm1149.h: Likewise.
59158         * iconvdata/ibm1153.h: Likewise.
59159         * iconvdata/ibm1154.h: Likewise.
59160         * iconvdata/ibm1155.h: Likewise.
59161         * iconvdata/ibm1156.h: Likewise.
59162         * iconvdata/ibm1157.h: Likewise.
59163         * iconvdata/ibm1158.h: Likewise.
59164         * iconvdata/ibm1160.h: Likewise.
59165         * iconvdata/ibm1161.h: Likewise.
59166         * iconvdata/ibm1162.h: Likewise.
59167         * iconvdata/ibm1163.h: Likewise.
59168         * iconvdata/ibm1164.h: Likewise.
59169         * iconvdata/ibm1166.h: Likewise.
59170         * iconvdata/ibm1167.h: Likewise.
59171         * iconvdata/ibm12712.h: Likewise.
59172         * iconvdata/ibm1390.h: Likewise.
59173         * iconvdata/ibm1399.h: Likewise.
59174         * iconvdata/ibm16804.h: Likewise.
59175         * iconvdata/ibm4517.h: Likewise.
59176         * iconvdata/ibm4899.h: Likewise.
59177         * iconvdata/ibm4909.h: Likewise.
59178         * iconvdata/ibm4971.h: Likewise.
59179         * iconvdata/ibm5347.h: Likewise.
59180         * iconvdata/ibm803.h: Likewise.
59181         * iconvdata/ibm856.h: Likewise.
59182         * iconvdata/ibm901.h: Likewise.
59183         * iconvdata/ibm902.h: Likewise.
59184         * iconvdata/ibm9030.h: Likewise.
59185         * iconvdata/ibm9066.h: Likewise.
59186         * iconvdata/ibm921.h: Likewise.
59187         * iconvdata/ibm922.h: Likewise.
59188         * iconvdata/ibm9448.h: Likewise.
59189         * iconvdata/isiri-3342.h: Likewise.
59190         * iconvdata/jis0201.h: Likewise.
59191         * include/link.h: Likewise.
59192         * include/netdb.h: Likewise.
59193         * inet/check_native.c: Likewise.
59194         * inet/check_pf.c: Likewise.
59195         * inet/getipv4sourcefilter.c: Likewise.
59196         * inet/getnameinfo.c: Likewise.
59197         * inet/getsourcefilter.c: Likewise.
59198         * inet/htonl.c: Likewise.
59199         * inet/setipv4sourcefilter.c: Likewise.
59200         * inet/setsourcefilter.c: Likewise.
59201         * inet/test-inet6_opt.c: Likewise.
59202         * inet/tst-network.c: Likewise.
59203         * locale/C-collate.c: Likewise.
59204         * locale/C-ctype.c: Likewise.
59205         * locale/C-time.c: Likewise.
59206         * locale/C-translit.h: Likewise.
59207         * locale/loadarchive.c: Likewise.
59208         * locale/programs/3level.h: Likewise.
59209         * locale/programs/charmap.c: Likewise.
59210         * locale/programs/charmap.h: Likewise.
59211         * locale/programs/ld-address.c: Likewise.
59212         * locale/programs/ld-collate.c: Likewise.
59213         * locale/programs/ld-ctype.c: Likewise.
59214         * locale/programs/ld-identification.c: Likewise.
59215         * locale/programs/ld-measurement.c: Likewise.
59216         * locale/programs/ld-messages.c: Likewise.
59217         * locale/programs/ld-monetary.c: Likewise.
59218         * locale/programs/ld-name.c: Likewise.
59219         * locale/programs/ld-numeric.c: Likewise.
59220         * locale/programs/ld-paper.c: Likewise.
59221         * locale/programs/ld-telephone.c: Likewise.
59222         * locale/programs/ld-time.c: Likewise.
59223         * locale/programs/linereader.c: Likewise.
59224         * locale/programs/locale.c: Likewise.
59225         * locale/programs/locarchive.c: Likewise.
59226         * locale/programs/locfile.h: Likewise.
59227         * locale/programs/repertoire.c: Likewise.
59228         * locale/programs/simple-hash.c: Likewise.
59229         * locale/programs/simple-hash.h: Likewise.
59230         * malloc/memusage.c: Likewise.
59231         * malloc/memusagestat.c: Likewise.
59232         * nis/nis_defaults.c: Likewise.
59233         * nis/nis_hash.c: Likewise.
59234         * nis/nis_print.c: Likewise.
59235         * nis/nis_xdr.c: Likewise.
59236         * nscd/connections.c: Likewise.
59237         * nscd/hstcache.c: Likewise.
59238         * nscd/nscd_gethst_r.c: Likewise.
59239         * nscd/nscd_getserv_r.c: Likewise.
59240         * nscd/nscd_helper.c: Likewise.
59241         * nscd/servicescache.c: Likewise.
59242         * nss/makedb.c: Likewise.
59243         * nss/nss_db/db-XXX.c: Likewise.
59244         * nss/nss_db/db-initgroups.c: Likewise.
59245         * nss/nss_db/db-netgrp.c: Likewise.
59246         * nss/nss_files/files-network.c: Likewise.
59247         * nss/nss_files/files-parse.c: Likewise.
59248         * posix/bug-regex5.c: Likewise.
59249         * posix/fnmatch_loop.c: Likewise.
59250         * posix/regcomp.c: Likewise.
59251         * posix/regexec.c: Likewise.
59252         * posix/tst-rfc3484-2.c: Likewise.
59253         * posix/tst-rfc3484-3.c: Likewise.
59254         * posix/tst-rfc3484.c: Likewise.
59255         * resolv/nss_dns/dns-canon.c: Likewise.
59256         * resolv/nss_dns/dns-network.c: Likewise.
59257         * resolv/res_init.c: Likewise.
59258         * resolv/res_mkquery.c: Likewise.
59259         * resolv/tst-aton.c: Likewise.
59260         * stdlib/cxa_atexit.c: Likewise.
59261         * stdlib/cxa_finalize.c: Likewise.
59262         * stdlib/gen-fpioconst.c: Likewise.
59263         * stdlib/strtol_l.c: Likewise.
59264         * string/tst-endian.c: Likewise.
59265         * sunrpc/auth_des.c: Likewise.
59266         * sunrpc/clnt_udp.c: Likewise.
59267         * sunrpc/rtime.c: Likewise.
59268         * sunrpc/svcauth_des.c: Likewise.
59269         * sunrpc/xdr.c: Likewise.
59270         * sunrpc/xdr_intXX_t.c: Likewise.
59271         * sunrpc/xdr_rec.c: Likewise.
59272         * sysdeps/generic/ldconfig.h: Likewise.
59273         * sysdeps/generic/ldsodefs.h: Likewise.
59274         * sysdeps/generic/memusage.h: Likewise.
59275         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59276         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
59277         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
59278         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59279         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59280         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59281         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59282         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59283         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59284         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59285         * sysdeps/posix/getaddrinfo.c: Likewise.
59286         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59287         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59288         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59289         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59290         * sysdeps/powerpc/test-gettimebase.c: Likewise.
59291         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
59292         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
59293         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
59294         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
59295         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
59296         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59297         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59298         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
59299         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
59300         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
59301         * sysdeps/x86_64/dl-tls.h: Likewise.
59302         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
59303         * time/alt_digit.c: Likewise.
59304         * time/era.c: Likewise.
59305         * wcsmbs/tst-c16c32-1.c: Likewise.
59307 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59309         * math/libm-test.inc (struct test_sincos_data): New type.
59310         (RUN_TEST_LOOP_sincos): New macro.
59311         (sincos_test_data): New variable.
59312         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
59314 2013-05-16  Richard Henderson  <rth@redhat.com>
59316         * math/atest-exp2.c (LIMB64): New macro.
59317         (CONSTSZ): New macro.
59318         (mp_exp1, mp_exp_m1, mp_log2): New variables.
59319         (hexdig): Move ...
59320         (print_mpn_fp): ... to function scope.
59321         (read_mpn_hex): Remove.
59322         (get_log2): Remove.
59323         (exp2_mpn): Use mp_log2.
59324         (main): Use mp_exp1.
59326 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59328         * math/libm-test.inc: Remove comment about not testing "inexact"
59329         exceptions.
59330         (INEXACT_EXCEPTION): New macro.
59331         (NO_INEXACT_EXCEPTION): Likewise.
59332         (INVALID_EXCEPTION_OK): Update value.
59333         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59334         (OVERFLOW_EXCEPTION_OK): Likewise.
59335         (UNDERFLOW_EXCEPTION_OK): Likewise.
59336         (IGNORE_ZERO_INF_SIGN): Likewise.
59337         (ERRNO_UNCHANGED): Likewise.
59338         (ERRNO_EDOM): Likewise.
59339         (ERRNO_ERANGE): Likewise.
59340         (test_exceptions): Handle testing "inexact" exceptions.
59341         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
59342         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
59343         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
59344         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
59345         INEXACT_EXCEPTION.
59346         (rint_towardzero_test_data): Likewise.
59347         (rint_downward_test_data): Likewise.
59348         (rint_upward_test_data): Likewise.
59350         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
59351         with OVERFLOW_EXCEPTION.
59352         (exp10_test_data): Likewise.
59353         (exp2_test_data): Likewise.
59354         (expm1_test_data): Likewise.
59355         (lgamma_test_data): Likewise.
59356         (pow_test_data): Likewise.
59357         (tgamma_test_data): Likewise.
59358         (yn_test_data): Remove duplicate test of overflow.
59360         * math/libm-test.inc (struct test_cc_c_data): New type.
59361         (RUN_TEST_LOOP_cc_c): New macro.
59362         (cpow_test_data): New variable.
59363         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
59365         * math/libm-test.inc (struct test_f_L_data): New type.
59366         (RUN_TEST_LOOP_f_L): New macro.
59367         (llrint_test_data): New variable.
59368         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
59369         (llrint_tonearest_test_data): New variable.
59370         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
59371         (llrint_towardzero_test_data): New variable.
59372         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
59373         (llrint_downward_test_data): New variable.
59374         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
59375         (llrint_upward_test_data): New variable.
59376         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
59377         (llround_test_data): New variable.
59378         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
59380 2013-05-13  Peter Collingbourne  <pcc@google.com>
59382         * math/atest-exp2.c (get_log2): Remove const attribute.
59384 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59386         * math/libm-test.inc (struct test_f_l_data): New type.
59387         (RUN_TEST_LOOP_f_l): New macro.
59388         (lrint_test_data): New variable.
59389         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
59390         (lrint_tonearest_test_data): New variable.
59391         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
59392         (lrint_towardzero_test_data): New variable.
59393         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
59394         (lrint_downward_test_data): New variable.
59395         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
59396         (lrint_upward_test_data): New variable.
59397         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
59398         (lround_test_data): New variable.
59399         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
59401 2013-05-15  Peter Collingbourne  <pcc@google.com>
59403         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
59404         (EXTRACT_WORDS64) Use where appropriate.
59405         (INSERT_WORDS64) Likewise.
59407         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
59408         constraints with x constraints.
59409         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
59411         * malloc/obstack.c (_obstack_compat): Add initializer.
59413 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59415         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
59416         si_trapno and add si_addr_lsb to _sifields.sigfault.
59417         (si_trapno): Remove macro.
59418         (si_addr_lsb): Define new macro.
59419         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59421 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59423         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
59424         instead of TEST_f_l.
59425         (llrint_test_tonearest): Likewise.
59426         (llrint_test_towardzero): Likewise.
59427         (llrint_test_downward): Likewise.
59428         (llrint_test_upward): Likewise.
59429         (llround_test): Likewise.
59431         * math/libm-test.inc (struct test_f_i_data): Add comment.
59432         (RUN_TEST_LOOP_f_b): New macro.
59433         (RUN_TEST_LOOP_f_b_tg): Likewise.
59434         (finite_test_data): New variable.
59435         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
59436         (isfinite_test_data): New variable.
59437         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59438         (isinf_test_data): New variable.
59439         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59440         (isnan_test_data): New variable.
59441         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59442         (isnormal_test_data): New variable.
59443         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59444         (issignaling_test_data): New variable.
59445         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59446         (signbit_test_data): New variable.
59447         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59449         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
59450         with INVALID_EXCEPTION.
59451         (acosh_test_data): Likewise.
59452         (asin_test_data): Likewise.
59453         (atanh_test_data): Likewise.
59454         (fmod_test_data): Likewise.
59455         (log_test_data): Likewise.
59456         (log10_test_data): Likewise.
59457         (log2_test_data): Likewise.
59458         (pow_test_data): Likewise.
59459         (sqrt_test_data): Likewise.
59460         (y0_test_data): Likewise.
59461         (y1_test_data): Likewise.
59462         (yn_test_data): Likewise.
59464         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
59465         function contents.
59467         * math/libm-test.inc (struct test_ff_i_data): New type.
59468         (RUN_TEST_LOOP_ff_i_tg): New macro.
59469         (isgreater_test_data): New variable.
59470         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59471         (isgreaterequal_test_data): New variable.
59472         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59473         (isless_test_data): New variable.
59474         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59475         (islessequal_test_data): New variable.
59476         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59477         (islessgreater_test_data): New variable.
59478         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59479         (isunordered_test_data): New variable.
59480         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59482 2013-05-14  David S. Miller  <davem@davemloft.net>
59484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59486 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
59488         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
59490         * math/libm-test.inc (struct test_fF_f1_data): Change type of
59491         extra_test to int.
59492         (struct test_f_i_data): Change type of max_ulp to int.
59494         * math/libm-test.inc (test_ffI_f1_data): New type.
59495         (RUN_TEST_LOOP_ffI_f1): New macro.
59496         (remquo_test_data): New variable.
59497         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
59499         * setjmp/tst-setjmp-fp.c: New file.
59500         * setjmp/Makefile (tests): Add tst-setjmp-fp.
59501         (link-libm): New variable.
59502         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
59504         * math/libm-test.inc (struct test_f_i_data): New type.
59505         (RUN_TEST_LOOP_f_i): New macro.
59506         (RUN_TEST_LOOP_f_i_tg): Likewise.
59507         (fpclassify_test_data): New variable.
59508         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
59509         (ilogb_test_data): New variable.
59510         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
59512         * math/libm-test.inc (scalbln_test): Correct function name in END
59513         call.
59515         * math/libm-test.inc (struct test_f_f1_data): Add comment.
59516         (RUN_TEST_LOOP_fI_f1): New macro.
59517         (frexp_test_data): New variable.
59518         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
59520         * math/libm-test.inc (struct test_fF_f1_data): New type.
59521         (RUN_TEST_LOOP_fF_f1): New macro.
59522         (modf_test_data): New variable.
59523         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
59525         * math/libm-test.inc (struct test_f_f1_data): New type.
59526         (RUN_TEST_LOOP_f_f1): New macro.
59527         (gamma_test_data): New variable.
59528         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
59529         (lgamma_test_data): New variable.
59530         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
59532 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
59534         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
59535         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
59536         (main): Comment "tls" pseudo-hwcap.
59538 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
59540         * math/libm-test.inc (struct test_fl_f_data): New type.
59541         (RUN_TEST_LOOP_fl_f): New variable.
59542         (scalbln_test_data): New variable.
59543         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
59545         * math/libm-test.inc (struct test_fi_f_data): New type.
59546         (RUN_TEST_LOOP_fi_f): New macro.
59547         (ldexp_test_data): New variable.
59548         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
59549         (scalbn_test_data): New variable.
59550         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
59552         * math/libm-test.inc (struct test_c_f_data): New type.
59553         (RUN_TEST_LOOP_c_f): New macro.
59554         (cabs_test_data): New variable.
59555         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
59556         (carg_test_data): New variable.
59557         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
59558         (cimag_test_data): New variable.
59559         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
59560         (creal_test_data): New variable.
59561         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
59563         * math/libm-test.inc (struct test_if_f_data): New type.
59564         (RUN_TEST_LOOP_if_f): New macro.
59565         (jn_test_data): New variable.
59566         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
59567         (yn_test_data): New variable.
59568         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
59570         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
59572 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59574         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
59575         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
59577 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59579         * benchtests/Makefile (CPPFLAGS-nonlib): Add
59580         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
59581         (bench-deps): Add bench-timing.h.
59582         * benchtests-bench-skeleton.c: Include bench-timing.h.
59583         (main): Use TIMING_* macros instead of clock_gettime.
59584         * benchtests/bench-timing.h: New file.
59586         [BZ #14582]
59587         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
59588         Renamed from _LIB_VERSION.
59589         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
59591 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
59593         * math/libm-test.inc (struct test_fff_f_data): New type.
59594         (RUN_TEST_LOOP_fff_f): New macro.
59595         (fma_test_data): New variable.
59596         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
59597         (fma_towardzero_test_data): New variable.
59598         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
59599         (fma_downward_test_data): New variable.
59600         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
59601         (fma_upward_test_data): New variable.
59602         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
59604         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
59605         (struct test_c_c_data): New type.
59606         (RUN_TEST_LOOP_c_c): New macro.
59607         (cacos_test_data): New variable.
59608         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
59609         (cacosh_test_data): New variable.
59610         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
59611         (casin_test_data): New variable.
59612         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
59613         (casinh_test_data): New variable.
59614         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
59615         (catan_test_data): New variable.
59616         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
59617         (catanh_test_data): New variable.
59618         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
59619         (ccos_test_data): New variable.
59620         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
59621         (ccosh_test_data): New variable.
59622         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
59623         (cexp_test_data): New variable.
59624         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
59625         (clog_test_data): New variable.
59626         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
59627         (clog10_test_data): New variable.
59628         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
59629         (conj_test_data): New variable.
59630         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
59631         (cproj_test_data): New variable.
59632         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
59633         (csin_test_data): New variable.
59634         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
59635         (csinh_test_data): New variable.
59636         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
59637         (csqrt_test_data): New variable.
59638         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
59639         (ctan_test_data): New variable.
59640         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
59641         (ctan_tonearest_test_data): New variable.
59642         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
59643         (ctan_towardzero_test_data): New variable.
59644         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
59645         (ctan_downward_test_data): New variable.
59646         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
59647         (ctan_upward_test_data): New variable.
59648         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
59649         (ctanh_test_data): New variable.
59650         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
59651         (ctanh_tonearest_test_data): New variable.
59652         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
59653         (ctanh_towardzero_test_data): New variable.
59654         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
59655         (ctanh_downward_test_data): New variable.
59656         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
59657         (ctanh_upward_test_data): New variable.
59658         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
59659         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
59660         of BUILD_COMPLEX.
59662         * math/libm-test.inc (struct test_ff_f_data): New type.
59663         (struct test_ff_f_data_nexttoward): Likewise.
59664         (RUN_TEST_LOOP_2_f): New macro.
59665         (RUN_TEST_LOOP_ff_f): Likewise.
59666         (atan2_test_data): New variable.
59667         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
59668         (copysign_test_data): New variable.
59669         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
59670         (fdim_test_data): New variable.
59671         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
59672         (fmax_test_data): New variable.
59673         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
59674         (fmin_test_data): New variable.
59675         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
59676         (fmod_test_data): New variable.
59677         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
59678         (hypot_test_data): New variable.
59679         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
59680         (nextafter_test_data): New variable.
59681         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
59682         (nexttoward_test_data): New variable.
59683         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
59684         (pow_test_data): New variable.
59685         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
59686         (pow_tonearest_test_data): New variable.
59687         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
59688         (pow_towardzero_test_data): New variable.
59689         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
59690         (pow_downward_test_data): New variable.
59691         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
59692         (pow_upward_test_data): New variable.
59693         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
59694         (remainder_test_data): New variable.
59695         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
59696         (scalb_test_data): New variable.
59697         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
59698         * sysdeps/i386/fpu/libm-test-ulps: Update.
59700 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
59702         * math/libm-test.inc (fma_test): Use max_value instead of local
59703         variable fltmax.
59704         (nextafter_test): Likewise.
59706         * math/libm-test.inc (acos_towardzero_test_data): New variable.
59707         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59708         (acos_downward_test_data): New variable.
59709         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59710         (acos_upward_test_data): New variable.
59711         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59712         (acosh_test_data): New variable.
59713         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
59714         (asin_test_data): New variable.
59715         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
59716         (asin_tonearest_test_data): New variable.
59717         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59718         (asin_towardzero_test_data): New variable.
59719         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59720         (asin_downward_test_data): New variable.
59721         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59722         (asin_upward_test_data): New variable.
59723         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59724         (asinh_test_data): New variable.
59725         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
59726         (atan_test_data): New variable.
59727         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
59728         (atanh_test_data): New variable.
59729         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
59730         (cbrt_test_data): New variable.
59731         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
59732         (ceil_test_data): New variable.
59733         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
59734         (cos_test_data): New variable.
59735         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
59736         (cos_tonearest_test_data): New variable.
59737         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59738         (cos_towardzero_test_data): New variable.
59739         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59740         (cos_downward_test_data): New variable.
59741         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59742         (cos_upward_test_data): New variable.
59743         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59744         (cosh_test_data): New variable.
59745         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
59746         (cosh_tonearest_test_data): New variable.
59747         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59748         (cosh_towardzero_test_data): New variable.
59749         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59750         (cosh_downward_test_data): New variable.
59751         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59752         (cosh_upward_test_data): New variable.
59753         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59754         (erf_test_data): New variable.
59755         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
59756         (erfc_test_data): New variable.
59757         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
59758         (exp_test_data): New variable.
59759         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
59760         (exp_tonearest_test_data): New variable.
59761         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59762         (exp_towardzero_test_data): New variable.
59763         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59764         (exp_downward_test_data): New variable.
59765         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59766         (exp_upward_test_data): New variable.
59767         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59768         (exp10_test_data): New variable.
59769         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
59770         (exp2_test_data): New variable.
59771         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
59772         (expm1_test_data): New variable.
59773         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
59774         (fabs_test_data): New variable.
59775         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
59776         (floor_test_data): New variable.
59777         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
59778         (j0_test_data): New variable.
59779         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
59780         (j1_test_data): New variable.
59781         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
59782         (log_test_data): New variable.
59783         (log_test): Run tests with RUN_TEST_LOOP_f_f.
59784         (log10_test_data): New variable.
59785         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
59786         (log1p_test_data): New variable.
59787         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
59788         (log2_test_data): New variable.
59789         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
59790         (logb_test_data): New variable.
59791         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
59792         (logb_downward_test_data): New variable.
59793         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59794         (nearbyint_test_data): New variable.
59795         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
59796         (rint_test_data): New variable.
59797         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
59798         (rint_tonearest_test_data): New variable.
59799         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59800         (rint_towardzero_test_data): New variable.
59801         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59802         (rint_downward_test_data): New variable.
59803         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59804         (rint_upward_test_data): New variable.
59805         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59806         (round_test_data): New variable.
59807         (round_test): Run tests with RUN_TEST_LOOP_f_f.
59808         (sin_test_data): New variable.
59809         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
59810         (sin_tonearest_test_data): New variable.
59811         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59812         (sin_towardzero_test_data): New variable.
59813         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59814         (sin_downward_test_data): New variable.
59815         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59816         (sin_upward_test_data): New variable.
59817         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59818         (sinh_test_data): New variable.
59819         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
59820         (sinh_tonearest_test_data): New variable.
59821         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59822         (sinh_towardzero_test_data): New variable.
59823         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59824         (sinh_downward_test_data): New variable.
59825         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59826         (sinh_upward_test_data): New variable.
59827         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59828         (sqrt_test_data): New variable.
59829         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
59830         (tan_test_data): New variable.
59831         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
59832         (tan_tonearest_test_data): New variable.
59833         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59834         (tan_towardzero_test_data): New variable.
59835         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59836         (tan_downward_test_data): New variable.
59837         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59838         (tan_upward_test_data): New variable.
59839         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59840         (tanh_test_data): New variable.
59841         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
59842         (tgamma_test_data): New variable.
59843         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
59844         (trunc_test_data): New variable.
59845         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
59846         (y0_test_data): New variable.
59847         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
59848         (y1_test_data): New variable.
59849         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
59850         (significand_test_data): New variable.
59851         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
59853 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
59855         [BZ #12387]
59856         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
59858 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59860         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
59862 2013-05-10  Andreas Jaeger  <aj@suse.de>
59864         [BZ #15448]
59865         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
59866         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
59868 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
59870         * math/gen-libm-test.pl (adjust_arg): New function.
59871         (special_functions): Handle generating output in both functions
59872         and arrays.
59873         (parse_args): Likewise.
59874         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
59875         $in_func argument to parse_args.
59876         * math/libm-test.inc (struct test_f_f_data): New type.
59877         (IF_ROUND_INIT_): New macro.
59878         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
59879         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59880         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59881         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59882         (ROUND_RESTORE_): Likewise.
59883         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
59884         (ROUND_RESTORE_FE_TONEAREST): Likewise.
59885         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
59886         (ROUND_RESTORE_FE_UPWARD): Likewise.
59887         (RUN_TEST_LOOP_f_f): New macro.
59888         (acos_test_data): New variable.
59889         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
59890         (acos_tonearest_test_data): New variable.
59891         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59893 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59895         * benchtests/bench-skeleton.c (startup): Fix coding style.
59897 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
59899         [BZ #6809]
59900         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
59901         negative infinity argument.
59902         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
59903         negative infinity argument.
59904         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
59905         negative infinity argument.
59906         * math/libm-test.inc (tgamma_test): Expect errno to be set for
59907         domain errors.
59909 2013-05-10  Florian Weimer  <fweimer@redhat.com>
59911         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
59912         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
59913         * iconv/iconv_prog.c (main): Likewise.
59914         * locale/programs/charmap-dir.c (charmap_readdir)
59915         (fopen_uncompressed): Likewise.
59916         * locale/programs/locfile.c (siblings_uncached)
59917         (write_locale_data): Use lstat64 instead of lstat.
59918         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
59919         stat.
59921 2013-05-10  Andreas Jaeger  <aj@suse.de>
59923         [BZ #15395]
59924         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
59925         localization.
59926         Include <locale.h>.
59928 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
59930         * elf/dl-close.c (_dl_close_worker): Add comments.
59932 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
59934         [BZ #15359]
59935         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
59936         high part of pi/2.
59937         (__ieee754_rem_pio2l): Update comments.
59939         [BZ #15429]
59940         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
59941         high part of pi/2.
59942         (__ieee754_rem_pio2l): Update comments.
59944         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
59945         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
59947         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
59948         M_PI_4l.
59950         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
59951         (M_PI_34_LOG10El): Likewise.
59952         (M_PI2_LOG10El): Likewise.
59953         (M_PI4_LOG10El): Likewise.
59954         (M_PI_LOG10El): Likewise.
59956 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59960 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
59962         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
59963         (MINUS_ZERO_INIT): Likewise.
59964         (PLUS_INFTY_INIT): Likewise.
59965         (MINUS_INFTY_INIT): Likewise.
59966         (QNAN_VALUE_INIT): Likewise.
59967         (MAX_VALUE_INIT): Likewise.
59968         (MIN_VALUE_INIT): Likewise.
59969         (MIN_SUBNORM_VALUE_INIT): Likewise.
59970         (plus_zero): Initialize with PLUS_ZERO_INIT.
59971         (minus_zero): Initialize with MINUS_ZERO_INIT.
59972         (plus_infty): Initialize with PLUS_INFTY_INIT.
59973         (minus_infty): Initialize with MINUS_INFTY_INIT.
59974         (qnan_value): Initialize with QNAN_VALUE_INIT.
59975         (max_value): Initialize with MAX_VALUE_INIT.
59976         (min_value): Initialize with MIN_VALUE_INIT.
59977         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
59979         * math/libm-test.inc (RUN_TEST_if_f): New macro.
59980         (jn_test): Use TEST_if_f instead of TEST_ff_f.
59981         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
59982         (yn_test): Use TEST_if_f instead of TEST_ff_f.
59984         * math/libm-test.inc (RUN_TEST_f_f): New macro.
59985         (RUN_TEST_2_f): Likewise.
59986         (RUN_TEST_ff_f): Likewise.
59987         (RUN_TEST_fi_f): Likewise.
59988         (RUN_TEST_fl_f): Likewise.
59989         (RUN_TEST_fff_f): Likewise.
59990         (RUN_TEST_c_f): Likewise.
59991         (RUN_TEST_f_f1): Likewise.
59992         (RUN_TEST_fF_f1): Likewise.
59993         (RUN_TEST_fI_f1): Likewise.
59994         (RUN_TEST_ffI_f1): Likewise.
59995         (RUN_TEST_c_c): Likewise.
59996         (RUN_TEST_cc_c): Likewise.
59997         (RUN_TEST_f_i): Likewise.
59998         (RUN_TEST_f_i_tg): Likewise.
59999         (RUN_TEST_ff_i_tg): Likewise.
60000         (RUN_TEST_f_b): Likewise.
60001         (RUN_TEST_f_b_tg): Likewise.
60002         (RUN_TEST_f_l): Likewise.
60003         (RUN_TEST_f_L): Likewise.
60004         (RUN_TEST_sincos): Likewise.
60005         * math/gen-libm-test.pl (new_test): Take new argument to indicate
60006         whether to show exceptions.  Do not include ");\n" in return
60007         value.
60008         (special_functions): Output call to RUN_TEST_sincos instead of
60009         check_float calls.  Update calls to new_test.
60010         (parse_args): Output call to single RUN_TEST_* macro instead of
60011         check_* calls and other assignments.  Update calls to new_test.
60013         [BZ #2546]
60014         [BZ #2560]
60015         [BZ #5159]
60016         [BZ #15426]
60017         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
60018         input to result for tgamma overflow.
60019         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
60020         (gamma_coeff): New variable.
60021         (NCOEFF): New macro.
60022         (gamma_positive): New function.
60023         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
60024         underflow here.  Use gamma_positive instead of exp (lgamma) for
60025         other arguments.
60026         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
60027         (gamma_coeff): New variable.
60028         (NCOEFF): New macro.
60029         (gammaf_positive): New function.
60030         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
60031         underflow here.  Use gamma_positive instead of exp (lgamma) for
60032         other arguments.
60033         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
60034         (gamma_coeff): New variable.
60035         (NCOEFF): New macro.
60036         (gammal_positive): New function.
60037         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
60038         underflow here.  Use gamma_positive instead of exp (lgamma) for
60039         other arguments.
60040         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
60041         (gamma_coeff): New variable.
60042         (NCOEFF): New macro.
60043         (gammal_positive): New function.
60044         (__ieee754_gammal_r): Handle positive infinity, overflow and
60045         underflow here.  Handle NaN the same as positive infinity.  Remove
60046         check x < 0xffffffff for negative integers.  Use gamma_positive
60047         instead of exp (lgamma) for other arguments.
60048         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
60049         (gamma_coeff): New variable.
60050         (NCOEFF): New macro.
60051         (gammal_positive): New function.
60052         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
60053         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
60054         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
60055         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
60056         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
60057         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
60058         * sysdeps/generic/math_private.h (__gamma_productf): New
60059         prototype.
60060         (__gamma_product): Likewise.
60061         (__gamma_productl): Likewise.
60062         * math/Makefile (libm-calls): Add gamma_product.
60063         * math/libm-test.inc (tgamma_test): Add more tests.
60064         * sysdeps/i386/fpu/libm-test-ulps: Update.
60065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60067 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
60069         * benchtests/bench-skeleton.c (main): Preheat CPU.
60071 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
60073         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
60075 2013-05-07  Roland McGrath  <roland@hack.frob.com>
60077         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
60078         and _dl_skip_args_internal.
60080 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
60082         * manual/message.texi (Message Translation): Talk about users.
60083         Message to key mapping impacts design.
60085 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60087         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
60089         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
60091         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
60092         * sysdeps/wordsize-64/glob64.c: ... here.
60094         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
60095         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
60096         New macros.
60098         * debug/getlogin_r_chk.c: Moved to ...
60099         * login/getlogin_r_chk.c: ... here.
60100         * debug/Makefile (routines): Move getlogin_r_chk to ...
60101         * login/Makefile (routines): ... here.
60102         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
60103         * login/Versions (libc: GLIBC_2.4): ... here.
60105         * io/poll.c (__poll): Renamed from poll.
60106         Add libc_hidden_def.
60107         (poll): Define as weak alias.
60109         * debug/ptsname_r_chk.c: Moved to ...
60110         * login/ptsname_r_chk.c: ... here.
60111         * debug/Makefile (routines): Move ptsname_r_chk to ...
60112         * login/Makefile (routines): ... here.
60113         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
60114         * login/Versions (libc: GLIBC_2.4): ... here.
60116         * posix/getlogin.c: Moved to ...
60117         * login/getlogin.c: ... here.
60118         * posix/getlogin_r.c: Moved to ...
60119         * login/getlogin_r.c: ... here.
60120         * posix/getlogin_r.c: Moved to ...
60121         * login/getlogin_r.c: ... here.
60122         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
60123         * login/Makefile (routines): ... here.
60124         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
60125         * login/Versions (libc: GLIBC_2.0): ... here.
60127         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
60128         (setrlimit): Define as weak alias.
60130         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
60131         Call __ names for open, ftruncate, and close.
60132         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
60133         (truncate): Define as weak alias.
60135 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
60137         * math/gen-libm-test.pl (parse_args): Initialize x before each
60138         test of frexp, modf and remquo.
60140         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
60141         test signgam value.
60143 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60145         [BZ #15418]
60146         [BZ #15419]
60147         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
60148         internal tests.
60149         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60151 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60153         * elf/dl-writev.h: New file.
60154         * elf/dl-misc.c: Include it.
60155         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
60156         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
60158 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
60160         * math/libm-test.inc (noXFails): Remove variable.
60161         (noXPasses): Likewise.
60162         (BUILD_COMPLEX_INT): Remove macro.
60163         (print_screen): Remove xfail argument.
60164         (print_screen_max_error): Likewise.
60165         (update_stats): Likewise.
60166         (print_max_error): Likewise.  Update calls to other affected
60167         functions.
60168         (print_complex_max_error): Likewise.
60169         (test_single_exception): Update calls to print_screen.
60170         (test_single_errno): Likewise.
60171         (check_float_internal): Remove xfail argument.  Update calls to
60172         other affected functions.
60173         (check_float): Likewise.
60174         (check_complex): Likewise.
60175         (check_int): Likewise.
60176         (check_long): Likewise.
60177         (check_bool): Likewise.
60178         (check_longlong): Likewise.
60179         (main): Don't print noXFails and noXPasses.
60180         * math/gen-libm-test.pl (top level): Don't mention expected
60181         failure handling in comment.
60182         (new_test): Don't handle expected failures.
60183         (parse_args): Don't mention expected failure handling in comment.
60184         (generate_testfile): Don't handle expected failures.
60185         (parse_ulps): Likewise.
60186         (print_ulps_file): Likewise.
60187         (get_failure): Remove function.
60188         (output_test): Don't handle expected failures.
60189         * make/README.libm-test: Don't mention expected failure handling.
60191         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
60192         (minus_zero): Likewise.
60193         (plus_infty): Likewise.
60194         (minus_infty): Likewise.
60195         (qnan_value): Likewise.
60196         (max_value): Likewise.
60197         (min_value): Likewise.
60198         (min_subnorm_value): Likewise.
60199         (initialize): Do not initialize those variables dynamically.
60201 2013-05-03  Roland McGrath  <roland@hack.frob.com>
60203         * io/open.c (__open_2): Moved to ...
60204         * io/open_2.c: ... this new file.
60205         * io/open64.c (__open64_2): Moved to ...
60206         * io/open64_2.c: ... this new file.
60207         * io/openat.c (__openat_2): Moved to ...
60208         * io/openat_2.c: ... this new file.
60209         * io/openat64.c (__openat64_2): Moved to ...
60210         * io/openat64_2.c: ... this new file.
60211         * io/Makefile (routines): Add them.
60212         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
60213         * sysdeps/unix/sysv/linux/open_2.c: File removed.
60214         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
60215         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
60216         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
60217         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
60218         (__openat64): Add hidden_ver.
60219         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
60220         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
60222         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
60223         Separately conditionalize setting of GLRO(dl_sysinfo) so
60224         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
60225         as well, but the actual setting is only under [NEED_DL_SYSINFO].
60227 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60229         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
60230         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
60231         definition.
60232         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
60233         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60234         (_libc_vdso_platform_setup): Add __vdso_time initialization.
60235         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
60236         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
60238 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
60240         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
60241         test signgam value.
60243         * math/libm-test.inc (hypot_test): Do not use
60244         IGNORE_ZERO_INF_SIGN.
60246 2013-05-03  Andreas Jaeger  <aj@suse.de>
60248         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
60249         Linux 3.9.
60250         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
60251         (PF_MAX): Adjust for VSOCK change.
60253 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60257 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
60259         [BZ #15264]
60260         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
60261         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
60262         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
60264 2013-05-02  David S. Miller  <davem@davemloft.net>
60266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60268 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
60270         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
60272 2013-05-01  Roland McGrath  <roland@hack.frob.com>
60274         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
60276 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
60278         [BZ #14952]
60279         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
60280         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60281         Use __attribute__ ((__gnu_inline__)).
60282         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60283         Don't use __attribute__ ((__gnu_inline__)).
60285 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
60287         [BZ #15423]
60288         * math/s_catan.c (__catan): Handle small real or imaginary part of
60289         input specially to avoid spurious underflow.
60290         * math/s_catanf.c (__catanf): Likewise.
60291         * math/s_catanh.c (__catanh): Likewise.
60292         * math/s_catanhf.c (__catanhf): Likewise.
60293         * math/s_catanhl.c (__catanhl): Likewise.
60294         * math/s_catanl.c (__catanl): Likewise.
60295         * math/libm-test.inc (catan_test): Add more tests.
60296         (catanh_test): Likewise.
60297         * sysdeps/i386/fpu/libm-test-ulps: Update.
60298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60300 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60304 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
60306         [BZ #15416]
60307         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
60308         accurately for denominator in atan2.
60309         * math/s_catanf.c (__catanf): Likewise.
60310         * math/s_catanh.c (__catanh): Likewise.
60311         * math/s_catanhf.c (__catanhf): Likewise.
60312         * math/s_catanhl.c (__catanhl): Likewise.
60313         * math/s_catanl.c (__catanl): Likewise.
60314         * math/libm-test.inc (catan_test): Add more tests.
60315         (catanh_test): Likewise.
60316         * sysdeps/i386/fpu/libm-test-ulps: Update.
60317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60319 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60321         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
60323         * benchtests/Makefile (bench): Remove slow benchmarks.
60324         * benchtests/atan-inputs: Add slow benchmark inputs.
60325         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
60326         (BENCH_FUNC): Accept variant offset.
60327         (VARIANT): Define.
60328         * benchtests/bench-skeleton.c (main): Run benchmark for each
60329         variant.
60330         * benchtests/cos-inputs: Add slow benchmark inputs.
60331         * benchtests/exp-inputs: Likewise.
60332         * benchtests/pow-inputs: Likewise.
60333         * benchtests/sin-inputs: Likewise.
60334         * benchtests/slowatan-inputs: Remove.
60335         * benchtests/slowatan.c: Remove.
60336         * benchtests/slowcos-inputs: Remove.
60337         * benchtests/slowcos.c: Remove.
60338         * benchtests/slowexp-inputs: Remove.
60339         * benchtests/slowexp.c: Remove.
60340         * benchtests/slowpow-inputs: Remove.
60341         * benchtests/slowpow.c: Remove.
60342         * benchtests/slowsin-inputs: Remove.
60343         * benchtests/slowsin.c: Remove.
60344         * benchtests/slowtan-inputs: Remove.
60345         * benchtests/slowtan.c: Remove.
60346         * benchtests/tan-inputs: Add slow benchmark inputs.
60347         * scripts/bench.pl: Parse comments and directives.
60349         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
60350         in CPPFLAGS.
60351         ($(objpfx)bench-%.c): Remove *-ITER.
60352         * benchtests/bench-modf.c: Remove definition of ITER.
60353         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
60354         (main): Loop for DURATION seconds instead of fixed number of
60355         iterations.
60356         * scripts/bench.pl: Don't expect iterations in parameters.
60358 2013-04-29  Roland McGrath  <roland@hack.frob.com>
60360         * io/fchdir.c (__fchdir): Renamed from fchdir.
60361         (fchdir): Define as weak alias.
60363 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60365         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
60366         (ERRNO_EDOM): Likewise.
60367         (ERRNO_ERANGE): Likewise.
60368         (noErrnoTests): New variable.
60369         (init_max_error): Set errno to 0.
60370         (test_single_errno): New function.
60371         (test_errno): Likewise.
60372         (check_float_internal): Call test_errno.  Set errno to 0.
60373         (check_complex): Refer to errno tests in comment.
60374         (check_int): Call test_errno.  Set errno to 0.
60375         (check_long): Likewise.
60376         (check_bool): Likewise.
60377         (check_longlong): Likewise.
60378         (cos_test): Use ERRNO_* flags for errno tests instead of
60379         check_int.
60380         (expm1_test): Likewise.
60381         (fmod_test): Likewise.
60382         (ilogb_test): Likewise.
60383         (lgamma_test): Likewise.
60384         (pow_test): Likewise.
60385         (remainder_test): Likewise.
60386         (sin_test): Likewise.
60387         (tan_test): Likewise.
60388         (yn_test): Likewise.
60389         (initialize): Set errno to 0.
60390         (main): Print number of errno tests.
60391         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
60393 2013-04-29  Andreas Jaeger  <aj@suse.de>
60395         [BZ #15084]
60396         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
60397         and RES_USEVC.
60399         [BZ #15085]
60400         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
60401         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
60402         unimplemented.
60404         [BZ #15380]
60405         * stdlib/random.c (__initstate): Return NULL if
60406         __initstate fails.
60408         [BZ #15086]
60409         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
60410         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
60411         RES_SNGLKUPREOP.
60413 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60417 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60419         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
60420         of individual tests.
60421         (casin_test): Likewise.
60422         (casinh_test): Likewise.
60424 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
60426         [BZ #15409]
60427         * math/s_catan.c (__catan): Handle arguments with large real or
60428         imaginary part separately without squaring.
60429         * math/s_catanf.c (__catanf): Likewise.
60430         * math/s_catanh.c (__catanh): Likewise.
60431         * math/s_catanhf.c (__catanhf): Likewise.
60432         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60433         and redefine.
60434         (__catanhl): Handle arguments with large real or imaginary part
60435         separately without squaring.
60436         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60437         and redefine.
60438         (__catanl): Handle arguments with large real or imaginary part
60439         separately without squaring.
60440         * math/libm-test.inc (catan_test): Add more tests.
60441         (catanh_test): Likewise.
60442         * sysdeps/i386/fpu/libm-test-ulps: Update.
60443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60445 2013-04-27  Andreas Jaeger  <aj@suse.de>
60447         [BZ #15007]
60448         * stdlib/stdlib.h: Update guards for qecvt.
60449         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
60450         <stdlib.h>.
60452 2013-04-27  Allan McRae  <allan@archlinux.org>
60454         * sysdeps/i386/fpu/libm-test-ulps: Update.
60456 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
60458         [BZ #15406]
60459         * math/s_catan.c: Include <float.h>.
60460         (__catan): Ensure underflow exception occurs for underflowed
60461         result.
60462         * math/s_catanf.c: Include <float.h>.
60463         (__catanf): Ensure underflow exception occurs for underflowed
60464         result.
60465         * math/s_catanh.c: Include <float.h>.
60466         (__catanh): Ensure underflow exception occurs for underflowed
60467         result.
60468         * math/s_catanhf.c: Include <float.h>.
60469         (__catanhf): Ensure underflow exception occurs for underflowed
60470         result.
60471         * math/s_catanhl.c: Include <float.h>.
60472         (__catanhl): Ensure underflow exception occurs for underflowed
60473         result.
60474         * math/s_catanl.c: Include <float.h>.
60475         (__catanl): Ensure underflow exception occurs for underflowed
60476         result.
60477         * math/libm-test.inc (catan_test): Add more tests.
60478         (catanh_test): Likewise.
60480         [BZ #15405]
60481         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
60482         underflowed result.
60483         * math/s_ccoshf.c (__ccoshf): Likewise.
60484         * math/s_ccoshl.c (__ccoshl): Likewise.
60485         * math/s_csin.c (__csin): Likewise.
60486         * math/s_csinf.c (__csinf): Likewise.
60487         * math/s_csinh.c (__csinh): Likewise.
60488         * math/s_csinhf.c (__csinhf): Likewise.
60489         * math/s_csinhl.c (__csinhl): Likewise.
60490         * math/s_csinl.c (__csinl): Likewise.
60491         * math/libm-test.inc (ccos_test): Add more tests.
60492         (ccosh_test): Likewise.
60493         (csin_test): Likewise.
60494         (csinh_test): Likewise.
60496 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60498         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
60499         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
60500         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
60501         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
60502         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
60503         powerpc/power5+/fpu folders.
60504         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
60507 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60509         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60511 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
60513         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
60514         additions to variable.
60515         [$(config-machine) = x86_64] (modules-names): Likewise.
60516         ($(objpfx)tst-audit3): Remove dependency.
60517         ($(objpfx)tst-audit3.out): Likewise.
60518         ($(objpfx)tst-audit4): Likewise.
60519         ($(objpfx)tst-audit4.out): Likewise.
60520         ($(objpfx)tst-audit5): Likewise.
60521         ($(objpfx)tst-audit5.out): Likewise.
60522         ($(objpfx)tst-audit6): Likewise.
60523         ($(objpfx)tst-audit6.out): Likewise.
60524         ($(objpfx)tst-audit7): Likewise.
60525         ($(objpfx)tst-audit7.out): Likewise.
60526         (tst-audit3-ENV): Remove variable.
60527         (tst-audit4-ENV): Likewise.
60528         (tst-audit5-ENV): Likewise.
60529         (tst-audit6-ENV): Likewise.
60530         (tst-audit7-ENV): Likewise.
60531         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
60532         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
60533         addition to variable.
60534         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
60535         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
60536         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
60537         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
60538         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
60539         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
60540         tst-audit3, tst-audit4 and tst-audit5.
60541         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
60542         tst-audit6 and tst-audit7.
60543         [$(subdir) = elf] (modules-names): Add audit modules for those
60544         tests.
60545         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
60546         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
60547         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
60548         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
60549         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
60550         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
60551         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
60552         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
60553         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
60554         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
60555         [$(subdir) = elf] (tst-audit3-ENV): New variable.
60556         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
60557         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
60558         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
60559         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
60560         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
60561         Likewise.
60562         [$(subdir) = elf && $(config-cflags-avx) = yes]
60563         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
60564         [$(subdir) = elf && $(config-cflags-avx) = yes]
60565         (CFLAGS-tst-auditmod4a.c): Likewise.
60566         [$(subdir) = elf && $(config-cflags-avx) = yes]
60567         (CFLAGS-tst-auditmod4b.c): Likewise.
60568         [$(subdir) = elf && $(config-cflags-avx) = yes]
60569         (CFLAGS-tst-auditmod6b.c): Likewise.
60570         [$(subdir) = elf && $(config-cflags-avx) = yes]
60571         (CFLAGS-tst-auditmod6c.c): Likewise.
60572         [$(subdir) = elf && $(config-cflags-avx) = yes]
60573         (CFLAGS-tst-auditmod7b.c): Likewise.
60574         * elf/tst-audit3.c: Move to ...
60575         * sysdeps/x86_64/tst-audit3.c: ... here.
60576         * elf/tst-audit4.c: Move to ...
60577         * sysdeps/x86_64/tst-audit4.c: ... here.
60578         * elf/tst-audit5.c: Move to ...
60579         * sysdeps/x86_64/tst-audit5.c: ... here.
60580         * elf/tst-audit6.c: Move to ...
60581         * sysdeps/x86_64/tst-audit6.c: ... here.
60582         * elf/tst-audit7.c: Move to ...
60583         * sysdeps/x86_64/tst-audit7.c: ... here.
60584         * elf/tst-auditmod3a.c: Move to ...
60585         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
60586         * elf/tst-auditmod3b.c: Move to ...
60587         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
60588         * elf/tst-auditmod4a.c: Move to ...
60589         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
60590         * elf/tst-auditmod4b.c: Move to ...
60591         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
60592         * elf/tst-auditmod5a.c: Move to ...
60593         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
60594         * elf/tst-auditmod5b.c: Move to ...
60595         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
60596         * elf/tst-auditmod6a.c: Move to ...
60597         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
60598         * elf/tst-auditmod6b.c: Move to ...
60599         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
60600         * elf/tst-auditmod6c.c: Move to ...
60601         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
60602         * elf/tst-auditmod7a.c: Move to ...
60603         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
60604         * elf/tst-auditmod7b.c: Move to ...
60605         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
60607 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
60609         [BZ #15366]
60610         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
60611         define unconditionally.
60612         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
60613         define unconditionally.
60614         (INT8_C, INT16_C, etc.): Likewise.
60616 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
60618         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
60619         __ehdr_start with hidden visibility.
60621         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
60623 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
60625         * math/libm-test.inc (cos_test): Use accurate hex constants.
60626         (sincost_test): Likewise.
60628 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
60630         * math/libm-test.inc (catan_test): Add more tests.
60631         (catanh_test): Likewise.
60633         * math/s_catanf.c (__catanf): Use suffixed floating-point
60634         constants.
60635         * math/s_catanhf.c (__catanhf): Likewise.
60636         * math/s_catanhl.c (__catanhl): Likewise.
60637         * math/s_catanl.c (__catanl): Likewise.
60639         [BZ #15394]
60640         * math/s_catan.c (__catan): Calculate imaginary part of result
60641         with log1p not log unless computing log of number close to 0.
60642         * math/s_catanf.c (__catanf): Likewise.
60643         * math/s_catanl.c (__catanl): Likewise.
60644         * math/s_catanh.c (__catanh): Calculate real part of result with
60645         log1p not log unless computing log of number close to 0.
60646         * math/s_catanhf.c (__catanhf): Likewise.
60647         * math/s_catanhl.c (__catanhl): Likewise.
60648         * math/libm-test.inc (catan_test): Add more tests.
60649         (catanh_test): Likewise.
60650         * sysdeps/i386/fpu/libm-test-ulps: Update.
60651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60653 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
60655         * benchtests/Makefile: Mention files in which fast and slow
60656         paths of math functions are implemented.
60658 2013-04-23  Roland McGrath  <roland@hack.frob.com>
60660         * sysdeps/posix/timespec_get.c: New file.
60662 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60664         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
60665         POWER.
60666         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
60667         for POWER.
60668         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
60669         powerpc/power5/fpu folders.
60670         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
60671         * benchtests/Makefile: Add modf testcase.
60672         * benchtests/bench-modf.c: New file: Benchmark test for mo
60674 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
60676         [BZ #14888]
60677         * time/Makefile (tests): Add tst-strptime-whitespace.
60678         * time/strptime_l.c (get_number): Use ISSPACE.
60679         (__strptime_internal): Likewise.
60680         * time/tst-strptime-whitespace.c: New test case.
60682 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
60684         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
60685         member.
60686         (_nss_files_init): Set it here.
60688 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
60690         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
60691         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
60692         unsigned.
60694 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
60696         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
60698 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60700         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
60701         size just once.
60703 2013-04-21  David S. Miller  <davem@davemloft.net>
60705         * po/ru.po: Update Russion translation from translation project.
60707 2013-04-17  Adam Conrad  <adconrad@0c3.net>
60709         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
60710         and setfsgid.
60712 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
60714         * configure.in: Remove i386 configure warning. Remove i386 case.
60715         * configure: Regenerate.
60716         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
60717         Add example to error message.
60718         * sysdeps/i386/configure: Regenerate.
60720 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60722         * benchtests/Makefile (bench): Add cos, tan, slowcos and
60723         slowtan.
60724         * benchtests/cos-inputs: New file.
60725         * benchtests/slowcos-inputs: New file.
60726         * benchtests/slowcos.c: New file.
60727         * benchtests/slowtan-inputs: New file.
60728         * benchtests/slowtan.c: New file.
60729         * benchtests/tan-inputs: New file.
60731 2013-04-16  Roland McGrath  <roland@hack.frob.com>
60733         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
60734         considered kosher.
60736 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60738         * benchtests/Makefile: Include cppflags-iterator.mk to add
60739         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
60741         * Makefile.in (bench-clean): New target.
60742         * benchtests/Makefile (bench-clean): Likewise.
60744 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
60746         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
60748 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
60750         * stdio-common/tstdiomisc.c: Fix coding-style violation.
60752 2013-04-15  Andreas Schwab  <schwab@suse.de>
60754         * nscd/grpcache.c (cache_addgr): Properly check for short write.
60755         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60756         * nscd/pwdcache.c (cache_addpw): Likewise.
60757         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
60758         more than recsize.
60760 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60762         * benchtests/Makefile (bench): Write all output to
60763         bench-out.tmp together.
60765 2013-04-15  Andreas Schwab  <schwab@suse.de>
60767         * nscd/nscd.c (main): Don't fork again after closing files.
60769 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60771         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
60773         * benchtests/Rules (bench-deps): Collect dependencies into a
60774         single variable.  Add Makefile to dependencies.
60775         ($(objpfx)bench-%.c): Depend on bench-deps.
60777 2013-04-12  Roland McGrath  <roland@hack.frob.com>
60778             Xavier Roche  <roche+kml2@exalead.com>
60780         [BZ #15361]
60781         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
60782         just that it's a file descriptor.
60783         * manual/llio.texi (Synchronizing AIO Operations): Update description
60784         for EBADF error from aio_fsync.
60786 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
60788         * Rules (bench): Move target definition...
60789         * benchtests/Makefile: ... here.
60791 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
60793         * math/libm-test.inc (cos_test): Fix PI/2 test.
60794         (sincos_test): Likewise.
60795         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
60796         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
60798 2013-04-11  Andreas Schwab  <schwab@suse.de>
60800         [BZ #13988]
60801         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
60802         accept exponent character only when digits were seen.
60803         * stdio-common/Makefile (tests): Add bug26.
60804         * stdio-common/bug26.c: New file.
60806         [BZ #14293]
60807         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
60808         non-freeable.
60810 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60812         * Makeconfig (rtld-prefix): Define built linker prefix.
60813         * Rules (run-bench): Use it.
60814         * math/Makefile (run-regen-ulps): Likewise.
60816         * Rules (bench): Remove eval.
60818 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60819             Roland McGrath  <roland@hack.frob.com>
60820             Ondrej Bilka  <neleai@seznam.cz>
60822         [BZ #15346]
60823         * time/getdate.c: Include ctype.h and alloca.h.
60824         (__getdate_r): Trim leading and trailing spaces of input.
60825         * time/tst-getdate.c (tests): Add tests with leading and
60826         trailing spaces.
60828 2013-04-08  Roland McGrath  <roland@hack.frob.com>
60830         [BZ #14280]
60831         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
60832         when computing value.
60834 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60836         * math/README.libm-test (How can I generate "libm-test-ulps"?):
60837         Use testrun.sh to run libm tests.
60839         [BZ #15309]
60840         * elf/dl-open.c (dl_open_worker): memset all of seen array.
60842 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
60844         [BZ #15264]
60845         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
60847 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60849         * Makefile.in (regen-ulps): New target.
60850         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
60851         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
60852         [ifneq (no,$(PERL)] (regen-ulps): New target.
60853         [ifeq (no,$(PERL)] (regen-ulps): New target.
60854         * math/libm-test.inc (ulps_file_name): Define.
60855         (output_dir): New variable.
60856         (options): Add "output-dir" option.
60857         (parse_opt): Handle 'o' case.
60858         (main): If output_dir is non-NULL use it as a prefix
60859         otherwise use "".
60860         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
60862 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60864         [BZ #10060, #10062]
60865         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
60866         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
60867         fail configure if __sync_val_compare_and_swap is not inlined.
60868         * sysdeps/i386/configure: Regenerate.
60869         * configure.in: Build for i686 when configured for i386.
60870         * configure: Regenerate.
60871         * README: Remove i386 reference.
60873 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
60875         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
60876         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60878 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60880         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
60881         (lmsnanval): New variables.
60882         (F): Add conversion tests.
60883         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
60884         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
60886         * stdio-common/tstdiomisc.c (F): Properly collect individual
60887         tests' results.
60889         [BZ #14686, #15336]
60890         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
60891         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
60892         Instead, use input NaN values or generate a qNaN by arithmetic
60893         operation.  Also fix bugs to comply with the standard.
60894         * math/libm-test.inc (remainder_test): Add more tests.
60896         [BZ #15335, #15342]
60897         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
60898         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
60899         input NaN values or generate a qNaN by arithmetic operation.
60901         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
60902         unreachable code.
60904         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
60905         definitions.
60907 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
60909         [BZ #14478]
60910         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
60911         underflowed result.
60912         * math/s_cexpf.c (__cexpf): Likewise.
60913         * math/s_cexpl.c (__cexpl): Likewise.
60914         * math/libm-test.inc (cexp_test): Add more tests.
60916 2013-04-03  Andreas Schwab  <schwab@suse.de>
60918         [BZ #15330]
60919         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
60920         order arrays from heap if bigger than alloca cutoff.
60922 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
60924         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
60925         (SNAN_TESTS_double): Refer to GCC PR56831.
60926         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
60927         GCC PR56828.
60929 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60931         * Rules (bench): Move bench.out after the run is complete.
60933         * Rules (bench): Echo currently running benchmark.
60935         * benchtests/Makefile (bench): Add atan and slowatan.
60936         * benchtests/atan-inputs: New file.
60937         * benchtests/slowatan-inputs: New file.
60938         * benchtests/slowatan.c: New file.
60940         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
60941         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
60942         its value.
60944         [BZ #15305]
60945         * sysdeps/unix/sysv/linux/kernel-features.h
60946         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
60947         __ASSUME_XFS_RESTRICTED_CHOWN.
60948         * sysdeps/unix/sysv/linux/pathconf.c
60949         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
60950         Save and restore errno.
60952 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
60954         [BZ #15327]
60955         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
60956         arguments using __kernel_casinh.
60957         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
60958         arguments using __kernel_casinhf.
60959         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
60960         arguments using __kernel_casinhl.
60961         * math/libm-test.inc (cacosh_test): Add more tests.
60962         * sysdeps/i386/fpu/libm-test-ulps: Update.
60963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60965 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60967         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
60968         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
60970         * bench/Makefile (bench): Add sin and slowsin.
60971         * benchtests/sin-inputs: New file.
60972         * benchtests/slowsin-inputs: New file.
60973         * benchtests/slowsin.c: New file.
60975         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
60976         (bench): Add slowexp and slowpow.
60977         (exp-ITER): Increase iterations.
60978         (pow-ITER): Likewise.
60979         * benchtests/exp-inputs: Change input.
60980         * benchtests/pow-inputs: Likewise.
60981         * benchtests/slowexp-inputs: New file.
60982         * benchtests/slowexp.c: New file.
60983         * benchtests/slowpow-inputs: New file.
60984         * benchtests/slowpow.c: New file.
60986 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60988         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
60989         instructions.
60990         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
60991         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
60992         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
60993         * benchtests/Makefile: Add rint benchtest.
60994         * benchtests/rint-inputs: Input for rint benchtest.
60996 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60998         * Versions.def (libm): Add GLIBC_2.18.
60999         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
61000         hidden libm prototypes.
61001         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
61002         * math/Makefile (libm-calls): Add s_issignaling.
61003         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
61004         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
61005         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
61006         declaration.
61007         * math/math.h [__USE_GNU] (issignaling): New macro.
61008         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
61009         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
61010         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
61011         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
61012         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
61013         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
61014         * manual/arith.texi (issignaling): New section.
61015         * manual/libm-err-tab.pl (@all_functions): Update comment.
61016         * math/gen-libm-test.pl (parse_args): Apply special handling for
61017         issignaling.
61018         * math/libm-test.inc (print_float, issignaling_test): New
61019         functions.
61020         (check_float_internal): Add issignaling checks.
61021         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
61022         default definition.
61023         * sysdeps/powerpc/math-tests.h: New file.
61024         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
61025         tests.
61026         * math/test-snan.c (TEST_FUNC): Likewise.
61028 2013-03-30  David S. Miller  <davem@davemloft.net>
61030         * po/de.po: Update from translation team.
61032 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
61034         [BZ #10357]
61035         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61036         imaginary part less than 1.0 and real part less than 0.5
61037         specially.
61038         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61039         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61040         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
61041         (cacos_test): Add more tests.
61042         (casin_test): Likewise.
61043         (casinh_test): Likewise.
61044         * sysdeps/i386/fpu/libm-test-ulps: Update.
61045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61047 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61049         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
61050         ONE with its value.
61052         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
61053         (__pow_mp): Replace ONE and MONE with their values.
61054         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61055         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
61056         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61057         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
61058         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61059         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61061         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
61063         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
61064         (__pow_mp): Replace ZERO and MZERO with their values.
61065         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61066         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61067         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61068         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61069         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61070         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
61071         (__sqr): Likewise.
61073         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
61075         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
61077 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61079         * include/stdlib.h [!SHARED] (__call_tls_dtors):
61080         Declare with __attribute__ ((weak)).
61081         * stdlib/exit.c (__libc_atexit) [!SHARED]:
61082         Call __call_tls_dtors only if it's not NULL.
61084 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61086         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
61087         didn't do it already, then set _dl_phdr and _dl_phnum based on the
61088         magic __ehdr_start linker symbol if it's defined.
61089         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
61090         them up here if it was already done.
61092         * elf/dl-support.c (_dl_phdr): Make pointer to const.
61093         (_dl_aux_init): Use const in cast when setting it.
61094         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
61095         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
61096         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
61098         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
61099         Declare them here.
61100         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
61101         * csu/libc-tls.c: Nor here.
61102         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
61104         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
61105         (__libc_message): Never call vsyslog.
61107 2013-03-28  Alan Modra  <amodra@gmail.com>
61109         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
61110         Define as empty.
61111         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
61112         Likewise.
61114 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61116         [BZ #15214]
61117         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
61118         underflow.
61119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61121 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61123         [BZ #15304]
61124         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
61125         Don't add gid passed as argument.
61127         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
61129 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
61131         [BZ #15307]
61132         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61133         imaginary part between 1.0 and 1.5 and real part less than 0.5
61134         specially.
61135         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61136         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61137         * math/libm-test.inc (cacos_test): Add more tests.
61138         (casin_test): Likewise.
61139         (casinh_test): Likewise.
61140         * sysdeps/i386/fpu/libm-test-ulps: Update.
61141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61143 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61145         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
61146         constants.
61147         (norm): Likewise.
61148         (denorm): Likewise.
61149         (__dbl_mp): Likewise.
61150         (add_magnitudes): Likewise.
61151         (sub_magnitudes): Likewise.
61152         (__add): Likewise.
61153         (__sub): Likewise.
61154         (__mul): Likewise.
61155         (__sqr): Likewise.
61156         (__inv): Likewise.
61157         (__dvd): Likewise.
61159         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
61160         commented code.
61161         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
61162         (__dubcos): Likewise.
61163         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
61164         (__ieee754_acos): Likewise.
61165         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61166         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
61167         (__exp1): Likewise.
61168         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61169         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61170         (log1): Likewise.
61171         (my_log2): Likewise.
61172         (checkint): Likewise.
61173         * sysdeps/ieee754/dbl-64/e_remainder.c
61174         (__ieee754_remainder): Likewise.
61175         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61176         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
61177         (bsloww): Likewise.
61178         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61180         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
61181         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
61182         MANTISSA_STORE_T to store computations on mantissa.  Use
61183         macros for rounding and division.
61184         (denorm): Likewise.
61185         (__dbl_mp): Likewise.
61186         (add_magnitudes): Likewise.
61187         (sub_magnitudes): Likewise.
61188         (__mul): Likewise.
61189         (__sqr): Likewise.
61190         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
61191         powers of two in terms of TWOPOW macro.
61192         (mp_no): Make type of mantissa as MANTISSA_T.
61193         [!RADIXI]: Define RADIXI.
61194         [!TWO52]: Define TWO52.
61195         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
61197 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61199         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
61200         llroundl symbol when building for PPC32.
61202 2013-03-24  Mark H Weaver  <mhw@netris.org>
61204         * manual/arith.texi (Normalization Functions): Fix prototypes for
61205         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
61207 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61209         [BZ #13889]
61210         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
61211         high value to check if expl overflow.
61212         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
61213         to check for underflow and overflow.
61214         * math/libm-test.inc: Add exp test.
61216 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
61218         [BZ #11120]
61219         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
61220         with NOT_IN_libc.
61222 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61224         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
61225         symbol.
61227 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61229         * math/gen-libm-test.pl (parse_args, special_functions): Properly
61230         wrap blocks consisting of several statements.
61232         * sysdeps/generic/math-tests.h: New file.
61233         * sysdeps/i386/fpu/math-tests.h: Likewise.
61234         * math/test-snan.c: Include it.
61235         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
61237 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61239         [BZ #15285]
61240         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
61241         (__ieee754_j0l): Do not improve calculations using cos of twice
61242         input for inputs above LDBL_MAX / 2.0L.
61243         (__ieee754_y0l): Likewise.
61244         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
61245         (__ieee754_j1l): Do not improve calculations using cos of twice
61246         input for inputs above LDBL_MAX / 2.0L.
61247         (__ieee754_y1l): Likewise.
61248         * math/libm-test.inc (j0_test): Add another test.
61249         (j1_test): Likewise.
61250         (y0_test): Likewise.
61251         (y1_test): Likewise.
61252         * sysdeps/i386/fpu/libm-test-ulps: Update.
61254 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61256         * Rules ($(objpfx)bench-%.c): Include code from a C source
61257         file.
61259 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61261         [BZ #15287]
61262         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61263         imaginary part 1.0 and real part less than 0.5 specially.
61264         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61265         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61266         * math/libm-test.inc (cacos_test): Add more tests.
61267         (casin_test): Likewise.
61268         (casinh_test): Likewise.
61269         * sysdeps/i386/fpu/libm-test-ulps: Update.
61270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61272 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61274         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
61275         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
61277 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
61279         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
61280         * config.make.in (config-cflags-sse4): Remove variable.
61281         (config-cflags-avx): Likewise.
61282         (config-cflags-sse2avx): Likewise.
61283         (config-cflags-novzeroupper): Likewise.
61284         (config-asflags-i686): Likewise.
61285         (have-mfma4): Likewise.
61286         (have-as-vis3): Likewise.
61287         (MIG): Likewise.
61288         * configure.in (MIG): Do not AC_SUBST.
61289         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
61290         (libc_cv_cc_sse4): Do not AC_SUBST.
61291         (libc_cv_cc_avx): Likewise.
61292         (libc_cv_cc_sse2avx): Likewise.
61293         (libc_cv_cc_novzeroupper): Likewise.
61294         (libc_cv_cc_fma4): Likewise.
61295         (libc_cv_as_i686): Likewise.
61296         (libc_cv_sparc_as_vis3): Likewise.
61297         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
61298         LIBC_CONFIG_VAR.
61299         (config-asflags-i686): Likewise.
61300         (config-cflags-avx): Likewise.
61301         (config-cflags-sse2avx): Likewise.
61302         (have-mfma4): Likewise.
61303         (config-cflags-novzeroupper): Likewise.
61304         * sysdeps/mach/configure.in (MIG): Likewise.
61305         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
61306         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
61307         LIBC_CONFIG_VAR.
61308         (config-cflags-avx): Likewise.
61309         (config-cflags-sse2avx): Likewise.
61310         (have-mfma4): Likewise.
61311         (config-cflags-novzeroupper): Likewise.
61312         * configure: Regenerated.
61313         * sysdeps/i386/configure: Likewise.
61314         * sysdeps/mach/configure: Likewise.
61315         * sysdeps/sparc/configure: Likewise.
61316         * sysdeps/x86_64/configure: Likewise.
61318 2013-03-20  Roland McGrath  <roland@hack.frob.com>
61320         [BZ #14812]
61321         * locale/programs/localedef.c (options): Put N_ translation marker
61322         on argument names, not just descriptions.
61324 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61326         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
61328 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
61330         [BZ #14176]
61331         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
61333 2013-03-19  Roland McGrath  <roland@hack.frob.com>
61335         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
61336         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
61337         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
61338         [!BEFORE_ABORT] (before_abort): New function.
61339         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
61340         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
61341         (writev_for_fatal): New function.
61342         (WRITEV_FOR_FATAL): New macro; call that.
61343         (backtrace_and_maps): New function.
61344         (BEFORE_ABORT): New macro; call that.
61345         (struct str_list): Type removed.
61346         (__libc_message, __libc_fatal): Functions removed.
61347         Include <sysdeps/posix/libc_fatal.c> instead.
61349 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
61351         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
61352         constants.
61353         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
61354         double constants.
61356 2013-03-19  Andreas Schwab  <schwab@suse.de>
61358         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
61359         * sysdeps/gnu/configure: Regenerate.
61361         * configure.in: Substitute libc_cv_rtlddir.
61362         * configure: Regenerate.
61363         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
61364         * Makeconfig (rtlddir, inst_rtlddir): New variables.
61365         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
61366         * elf/Makefile (install-others, CFLAGS-interp.c)
61367         (ldso_install, common-ldd-rewrite): Likewise.
61368         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
61369         $(inst_slibdir)/$(rtld-installed-name).
61370         * scripts/rellns-sh: Add -p option.
61371         * Makerules (make-shlib-link): Use rellns-sh to get relative name
61372         for source.
61374 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61376         * manual/nptl.texi: Renamed to ...
61377         * manual/threads.texi: ... this.
61378         * manual/Makefile (chapters): Update.
61380 2013-03-18  Roland McGrath  <roland@hack.frob.com>
61382         [BZ #14812]
61383         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
61384         on argument names, not just descriptions.
61385         * malloc/memusagestat.c (options): Likewise.
61386         * nss/getent.c (options): Likewise.
61388 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
61390         [BZ #14812]
61391         * iconv/iconv_prog.c (options): Put N_ translation marker
61392         on argument names, not just descriptions.
61393         * iconv/iconvconfig.c (options): Likewise.
61395 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
61397         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
61398         implementation which is faster on all x86_64 architectures.
61399         Tested on AMD, Intel Nehalem, SNB, IVB.
61400         * sysdeps/x86_64/strnlen.S: Likewise.
61402         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61403         Remove all multiarch strlen and strnlen versions.
61404         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
61405         Remove strlen and strnlen related parts.
61407         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
61408         Inline strlen part.
61409         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
61411         * sysdeps/x86_64/multiarch/strlen.S: Remove.
61412         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
61413         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
61414         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
61415         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61416         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
61418 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
61420         * manual/memory.texi (Malloc Tunable Parameters):
61421         Sort parameters alphabetically. Add comments for missing entries.
61423 2013-03-17  David S. Miller  <davem@davemloft.net>
61425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61427 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
61429         [BZ #15283]
61430         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
61431         for arguments at most half maximum finite value.
61432         * math/libm-test.inc (j0_test): Add more tests.
61433         (j1_test): Likewise.
61434         (y0_test): Likewise.
61435         (y1_test): Likewise.
61436         * sysdeps/i386/fpu/libm-test-ulps: Update.
61437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61439         [BZ #14155]
61440         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
61441         1 / x and functions P and Q for arguments above 0x1p256L.
61442         (__ieee754_y0l): Likewise.
61443         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
61444         (__ieee754_y1l): Likewise.
61445         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
61446         (j1_test): Likewise.
61447         (y0_test): Likewise.
61448         (y1_test): Likewise.
61450 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
61452         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
61453         variable.
61455 2013-03-15  Roland McGrath  <roland@hack.frob.com>
61457         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
61458         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
61459         zero since it's initialized to EXEC_PAGESIZE.
61461         * sysdeps/unix/sysv/linux/ldsodefs.h
61462         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
61463         * sysdeps/generic/ldsodefs.h: ... here.
61465 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
61467         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
61469         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
61470         math/test-snan.c.
61471         * math/test-snan.c: Renamed from
61472         sysdeps/powerpc/fpu/test-powerpc-snan.c.
61473         * math/Makefile (tests): Add test-snan.
61474         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
61475         test-powerpc-snan.
61477         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
61478         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
61479         functions.
61480         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
61481         __builtin_nan family of functions.
61482         * math/libm-test.inc (initialize): Initialize qnan_value with
61483         __builtin_nan family of functions.
61484         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
61485         Remove variables.
61486         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
61487         Remove functions.
61488         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
61489         storage class.  Initialize qNaN_var and sNaN_var with
61490         __builtin_nan and __builtin_nans families of functions,
61491         respectively.
61493         * math/libm-test.inc (acosh_test): Also test with qNaN input.
61494         (sqrt_test): Remove duplicate test with qNaN input.
61495         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
61496         (round_test, signbit_test, significand_test): Note missing +/-Inf
61497         as well as qNaN tests.
61499         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
61500         qNaN_var.  Fix a few strings, too.
61501         * math/libm-test.inc (nan_value): Rename to qnan_value.
61502         * math/gen-libm-test.pl (%beautify): Adjust to that.
61503         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
61504         * math/test-misc.c (main): Likewise.
61505         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
61506         to __qnan_bytes, and __qnan_union, respectively.
61507         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
61508         Likewise.
61509         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
61510         and lqnanval, respectively.
61511         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
61512         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
61513         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
61514         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
61516         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
61517         * math/test-misc.c (main) [__x86_64__]: Enable test for long
61518         doubles.
61520         * math/test-misc.c (main): Fix copy'n'pastos.
61521         * misc/tst-efgcvt.c (special): Likewise.
61523         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
61524         Remove declarations.
61526 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61528         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
61529         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
61530         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
61531         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
61533 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61535         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
61536         macro to return vdso values correctly in IFUNC implementations.
61537         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
61538         Optimization by using IFUNC.
61540 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61541             Richard Henderson  <rth@redhat.com>
61542             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61544         * Makefile.in (bench): New target.
61545         * NEWS: Mention the benchmark framework.
61546         * Rules (bench): Likewise.
61547         (binaries-bench): Generate binaries for functions to
61548         benchmark.
61549         * benchtests/Makefile: New makefile for benchmark tests.
61550         * benchtests/bench-skeleton.c: New skeleton file for benchmark
61551         programs.
61552         * benchtests/exp-inputs: New input file for EXP function.
61553         * benchtests/pow-inputs: New input file for POW function.
61554         * scripts/bench.pl: New script to generate source files for
61555         benchmark programs.
61557 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61559         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
61560         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
61561         computations on mantissa.  Use macros for rounding and
61562         division.
61563         (denorm): Likewise.
61564         (__dbl_mp): Likewise.
61565         (add_magnitudes): Likewise.
61566         (sub_magnitudes): Likewise.
61567         (__mul): Likewise.
61568         (__sqr): Likewise.
61569         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
61570         powers of two in terms of TWOPOW macro.
61571         (mp_no): Make type of mantissa as MANTISSA_T.
61572         [!RADIXI]: Define RADIXI.
61573         [!TWO52]: Define TWO52.
61574         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
61576         * manual/nptl.texi (cindex): Modify threads to pthreads.
61578 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
61580         * sysdeps/x86_64/preconfigure: Regenerated.
61582 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
61584         [BZ #14155]
61585         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
61586         0x1p28 and above.
61587         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
61588         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
61589         0x1p28 and above.
61590         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
61591         * math/libm-test.inc (j0_test): Do not allow one spurious
61592         underflow exception.
61593         (y1_test): Likewise.
61595 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61597         * manual/Makefile (chapters): Add nptl.
61598         * manual/debug.texi (Debugging Support): Add link to Threads
61599         chapter.
61600         * manual/nptl.texi: New file.
61602         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
61604 2013-03-14  Petr Baudis  <pasky@ucw.cz>
61606         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
61607         for non-NULL pointer before the memory validity test. Pointed
61608         out by Holger Brunck <holger.brunck@keymile.com>.
61610 2013-03-13  Andreas Schwab  <schwab@suse.de>
61612         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
61613         instead of .os.
61615 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
61617         * timezone/zic.c: Update from tzcode 2013b.
61619 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
61621         * manual/install.texi (Configuring and compiling):
61622         Mention i686 and i586.
61623         * INSTALL: Regenerate.
61625 2013-03-12  Roland McGrath  <roland@hack.frob.com>
61627         * sysdeps/init_array/elf-init.c: New file.
61628         * csu/elf-init.c
61629         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
61630         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
61632         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
61633         __gmon_start__ as global, but as static with a .preinit_array pointer.
61634         * sysdeps/init_array/gmon-start.c: New file.  Use that.
61635         * sysdeps/init_array/crti.S: New file, empty except for comments.
61636         * sysdeps/init_array/crtn.S: Likewise.
61638 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
61640         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
61641         definining bcopy.
61642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61643         Remove Prefer_SSE_for_memop.
61644         * sysdeps/x86_64/multiarch/init-arch.h: Remove
61645         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
61646         HAS_PREFER_SSE_FOR_MEMOP.
61647         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
61648         memset-x86-64.
61649         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
61650         Remove bzero, memset ifunc support.
61651         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
61652         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
61653         * sysdeps/x86_64/multiarch/memset.S: Likewise.
61654         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
61656 2013-03-11  Andreas Schwab  <schwab@suse.de>
61658         [BZ #15234]
61659         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
61660         by SHLIB_COMPAT.
61661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
61662         (GLIBC_2.16): Remove pthread_atfork.
61664 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
61666         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
61667         (ptestcases.h): Likewise.
61669 2013-03-08  Roland McGrath  <roland@hack.frob.com>
61671         * Makeconfig ($(common-objpfx)config.status): Depend on
61672         sysdeps/*/preconfigure{,.in} too.
61674 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
61676         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
61677         (__free_hook): Use void * instead of __malloc_ptr_t.
61678         (__malloc_hook): Likewise.
61679         (__realloc_hook): Likewise.
61680         (__memalign_hook): Likewise.
61681         (__after_morecore_hook): Likewise.
61682         * malloc/arena.c (save_malloc_hook): Likewise.
61683         (save_free_hook): Likewise.
61684         * malloc/hooks.c (malloc_hook_ini): Likewise.
61685         (realloc_hook_ini): Likewise.
61686         (memalign_hook_ini): Likewise.
61687         * malloc/malloc.c (malloc_hook_ini): Likewise.
61688         (realloc_hook_ini): Likewise.
61689         (memalign_hook_ini): Likewise.
61690         (__free_hook): Likewise.
61691         (__malloc_hook): Likewise.
61692         (__realloc_hook): Likewise.
61693         (__memalign_hook): Likewise.
61694         (__libc_malloc): Likewise.
61695         (__libc_free): Likewise.
61696         (__libc_realloc): Likewise.
61697         (__libc_memalign): Likewise.
61698         (__libc_valloc): Likewise.
61699         (__libc_pvalloc): Likewise.
61700         (__libc_calloc): Likewise.
61701         (__posix_memalign): Likewise.
61702         * malloc/morecore.c (__sbrk): Likewise.
61703         (__default_morecore): Likewise.
61705         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
61707         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
61708         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
61709         __malloc_ptrdiff_t.
61711         * malloc/malloc.h (__malloc_size_t): Remove macro.
61712         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
61713         __malloc_size_t.
61714         (old_memalign_hook): Likewise.
61715         (old_realloc_hook): Likewise.
61716         (struct hdr): Likewise.
61717         (flood): Likewise.
61718         (mallochook): Likewise.
61719         (memalignhook): Likewise.
61720         (reallochook): Likewise.
61721         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
61722         (tr_old_realloc_hook): Likewise.
61723         (tr_old_memalign_hook): Likewise.
61724         (tr_mallochook): Likewise.
61725         (tr_reallochook): Likewise.
61726         (tr_memalignhook): Likewise.
61728 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61730         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
61731         default_ldbl_pack and using as default implementation.
61732         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
61733         implementation.
61734         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
61735         redundant definition.
61736         (ldbl_insert_mantissa): Likewise.
61737         (ldbl_canonicalize): Likewise.
61738         (ldbl_nearbyint): Likewise.
61739         (ldbl_pack): Rename to ldbl_pack_ppc.
61740         (ldbl_unpack): Rename to ldbl_unpack_ppc.
61741         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
61742         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
61744 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61746         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
61747         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
61748         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
61749         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
61750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
61751         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
61752         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
61753         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
61755 2013-03-07  Andreas Jaeger  <aj@suse.de>
61757         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61758         bits/mman-linux.h.
61760 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61762         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
61763         Include mpa.h and declare __MPEXP.
61764         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
61765         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61766         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61767         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
61768         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61769         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61770         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
61772         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
61773         (__slowpow): Use long double EXPL and LOGL functions to
61774         compute POW.
61775         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61776         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61777         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
61778         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61779         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61780         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
61782         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
61783         intermediate variable to calculate exponent.
61784         (__sqr): Likewise.
61785         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
61786         Likewise.
61787         (__sqr): Likewise.
61789         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
61790         [!NO__SQR]: Define __sqr.
61791         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
61792         and NO__SQR.  Remove all code except __mul and __sqr.  Include
61793         sysdeps/ieee754/dbl-64/mpa.c.
61794         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61796         [BZ #12723]
61797         * posix/Makefile (tests): Add tst-pathconf.
61798         * posix/tst-pathconf.c: New test case.
61799         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
61800         _PC_PIPE_BUF.
61801         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
61803 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
61805         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
61807 2013-03-06  Andreas Jaeger  <aj@suse.de>
61809         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
61810         definition via __MAP_ANONYMOUS.
61812         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
61813         it's not part of Linux headers.
61815         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
61816         (MAP_HUGE_MASK): Define.
61818         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61819         Define.
61820         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61821         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61822         Define.
61823         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61824         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
61825         Define.
61826         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61827         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
61828         Define.
61829         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
61831         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
61832         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
61833         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
61834         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
61835         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
61836         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
61838         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61839         Handle f2fs.
61841         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61842         Handle f2fs and efivarfs.
61844         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
61845         f2fs.
61847         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
61848         (EFIVARFS_MAGIC): Add.
61849         (F2FS_LINK_MAX): Add.
61851 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61853         * stdio-common/vfprintf.c: Replace __builtin_expect with
61854         __glibc_unlikely.
61856 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
61858         [BZ #13550]
61859         * sysdeps/generic/bp-sym.h: Remove file.
61860         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
61861         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
61862         <bp-sym.h> and <bp-asm.h>.
61863         (__longjmp): Don't use BP_SYM.
61864         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
61865         and <bp-asm.h>.
61866         (memcpy): Don't use BP_SYM.
61867         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
61868         <bp-sym.h> and <bp-asm.h>.
61869         (memcpy): Don't use BP_SYM.
61870         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
61871         <bp-asm.h>.
61872         (memcpy): Don't use BP_SYM.
61873         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
61874         <bp-asm.h>.
61875         (memset): Don't use BP_SYM.
61876         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61877         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61878         (__bzero): Don't use BP_SYM.
61879         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61880         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61881         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
61882         <bp-sym.h> and <bp-asm.h>.
61883         (memcmp): Don't use BP_SYM.  Remove comment about bounded
61884         pointers.
61885         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
61886         <bp-sym.h> and <bp-asm.h>.
61887         (memcpy): Don't use BP_SYM.
61888         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
61889         <bp-sym.h> and <bp-asm.h>.
61890         (memset): Don't use BP_SYM.
61891         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61892         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61893         (__bzero): Don't use BP_SYM.
61894         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61895         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61896         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
61897         <bp-sym.h> and <bp-asm.h>.
61898         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61899         pointers.
61900         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
61901         <bp-sym.h> and <bp-asm.h>.
61902         (memcpy): Don't use BP_SYM.
61903         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
61904         <bp-sym.h> and <bp-asm.h>.
61905         (memset): Don't use BP_SYM.
61906         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
61907         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
61908         (__bzero): Don't use BP_SYM.
61909         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
61910         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
61911         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
61912         <bp-sym.h> and <bp-asm.h>.
61913         (__memchr): Don't use BP_SYM.
61914         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
61915         <bp-sym.h> and <bp-asm.h>.
61916         (memcmp): Don't use BP_SYM.  Remove comment about bounded
61917         pointers.
61918         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
61919         <bp-sym.h> and <bp-asm.h>.
61920         (memcpy): Don't use BP_SYM.
61921         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
61922         <bp-sym.h> and <bp-asm.h>.
61923         (__mempcpy): Don't use BP_SYM.
61924         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
61925         <bp-sym.h> and <bp-asm.h>.
61926         (__memrchr): Don't use BP_SYM.
61927         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
61928         <bp-sym.h> and <bp-asm.h>.
61929         (memset): Don't use BP_SYM.
61930         (__bzero): Likewise.
61931         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
61932         <bp-sym.h> and <bp-asm.h>.
61933         (__rawmemchr): Don't use BP_SYM.
61934         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
61935         <bp-sym.h> and <bp-asm.h>.
61936         (__STRCMP): Don't use BP_SYM.
61937         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
61938         <bp-sym.h> and <bp-asm.h>.
61939         (strchr): Don't use BP_SYM.
61940         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
61941         <bp-sym.h> and <bp-asm.h>.
61942         (__strchrnul): Don't use BP_SYM.
61943         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
61944         <bp-sym.h> and <bp-asm.h>.
61945         (strlen): Don't use BP_SYM.
61946         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
61947         <bp-sym.h> and <bp-asm.h>.
61948         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61949         pointers.
61950         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
61951         <bp-sym.h> and <bp-asm.h>.
61952         (__strnlen): Don't use BP_SYM.
61953         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
61954         <bp-sym.h> and <bp-asm.h>.
61955         (__GI__setjmp): Don't use BP_SYM.
61956         (_setjmp): Likewise.
61957         (__sigsetjmp): Likewise.
61958         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
61959         (L(start_addresses)): Don't use BP_SYM.
61960         (_start): Likewise.
61961         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
61962         <bp-asm.h>.
61963         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
61964         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
61965         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61966         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61967         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
61968         <bp-asm.h>.
61969         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
61970         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
61971         about bounded pointers.
61972         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
61973         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
61974         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
61975         <bp-asm.h>.
61976         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
61977         about bounded pointers.  Remove GKM FIXME comments.
61978         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
61979         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
61980         <bp-asm.h>.
61981         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
61982         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
61983         Remove GKM FIXME comments.
61984         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
61985         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
61986         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
61987         <bp-asm.h>.
61988         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
61989         about bounded pointers.  Remove GKM FIXME comment.
61990         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
61991         and <bp-asm.h>.
61992         (strncmp): Don't use BP_SYM.  Remove comment about bounded
61993         pointers.
61994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
61995         <bp-sym.h> and <bp-asm.h>.
61996         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
61997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
61998         <bp-sym.h> and <bp-asm.h>.
61999         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62000         comment.
62002 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62004         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
62005         call free(NULL).
62007 2013-03-05  David S. Miller  <davem@davemloft.net>
62009         * po/es.po: Update from translation team.
62011 2013-03-05  Andreas Jaeger  <aj@suse.de>
62013         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
62014         <bits/mman-linux.h>.
62015         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62016         is fine.
62017         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
62018         <bits/mman-linux.h> to end of file.
62019         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62020         is fine.
62021         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
62022         <bits/mman-linux.h> to end of file.
62023         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62024         is fine.
62025         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
62026         <bits/mman-linux.h> to end of file.
62028         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
62029         (MCL_CURRENT, MCL_FUTURE): Define here.
62031 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62033         [BZ #15232]
62034         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
62035         attribute_hidden.
62036         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62038 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62040         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
62041         fourth parameter needed for rt_sigprocmask syscall.
62042         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
62043         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62044         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
62045         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62046         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62047         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
62049 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
62051         [BZ #13550]
62052         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
62053         comment about bounded pointers.
62054         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
62055         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
62057 2013-03-04  Andreas Jaeger  <aj@suse.de>
62059         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
62060         common definitions.
62062         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
62063         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
62064         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
62065         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62066         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62067         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62069 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62071         [BZ #15055]
62072         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
62073         __ieee754_sqrl instead of __sqrl.
62075 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
62077         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
62078         * sysdeps/powerpc/fpu_control.h: ... here.
62079         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
62080         * sysdeps/powerpc/bits/fenvinline.h: ... here.
62081         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
62082         * sysdeps/powerpc/bits/mathinline.h: ... here.
62084 2013-03-01  Roland McGrath  <roland@hack.frob.com>
62086         * elf/dl-hwcaps.c (_dl_important_hwcaps):
62087         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
62088         to just [NEED_DL_SYSINFO_DSO].
62089         * elf/dl-support.c: Likewise.
62090         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
62091         * elf/rtld.c (dl_main): Likewise.
62092         * elf/setup-vdso.h (setup_vdso): Likewise.
62093         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
62094         * sysdeps/unix/sysv/linux/dl-sysdep.c
62095         (_dl_discover_osversion): Likewise.
62097 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
62099         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
62100         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62102 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
62104         * NEWS: Mention libm performance improvements and non-x86 PI
62105         futex support.
62107         * csu/libc-start.c (__pthread_initialize_minimal): Change
62108         function arguments.
62109         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62111 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
62113         [BZ #13550]
62114         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
62115         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
62116         <bp-sym.h> and <bp-asm.h>.
62117         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62118         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
62119         and <bp-asm.h>.
62120         (memcpy): Don't use BP_SYM.
62121         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
62122         <bp-asm.h>.
62123         (__mpn_add_n): Don't use BP_SYM.
62124         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
62125         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
62126         and <bp-asm.h>.
62127         (__mpn_addmul_1): Don't use BP_SYM.
62128         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62129         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
62130         <bp-sym.h>.
62131         (_setjmp): Don't use BP_SYM.
62132         (__novmx_setjmp): Likewise.
62133         (__GI__setjmp): Likewise.
62134         (__vmx_setjmp): Likewise.
62135         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
62136         <bp-sym.h>.
62137         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
62138         (__bzero): Don't use BP_SYM.
62139         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62140         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62141         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
62142         <bp-sym.h> and <bp-asm.h>.
62143         (memcpy): Don't use BP_SYM.
62144         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
62145         <bp-sym.h> and <bp-asm.h>.
62146         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62147         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
62148         <bp-sym.h> and <bp-asm.h>.
62149         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62150         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
62151         <bp-asm.h>.
62152         (__mpn_lshift): Don't use BP_SYM.
62153         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62154         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
62155         <bp-asm.h>.
62156         (memset): Don't use BP_SYM.
62157         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62158         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62159         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
62160         <bp-asm.h>.
62161         (__mpn_mul_1): Don't use BP_SYM.
62162         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62163         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
62164         <bp-sym.h> and <bp-asm.h>.
62165         (memcmp): Don't use BP_SYM.
62166         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
62167         <bp-sym.h> and <bp-asm.h>.
62168         (memcpy): Don't use BP_SYM.
62169         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
62170         <bp-sym.h> and <bp-asm.h>.
62171         (memset): Don't use BP_SYM.
62172         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
62173         <bp-sym.h> and <bp-asm.h>.
62174         (strncmp): Don't use BP_SYM.
62175         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
62176         <bp-sym.h> and <bp-asm.h>.
62177         (memcpy): Don't use BP_SYM.
62178         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
62179         <bp-sym.h> and <bp-asm.h>.
62180         (memset): Don't use BP_SYM.
62181         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
62182         <bp-sym.h> and <bp-asm.h>.
62183         (__memchr): Don't use BP_SYM.
62184         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
62185         <bp-sym.h> and <bp-asm.h>.
62186         (memcmp): Don't use BP_SYM.
62187         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
62188         <bp-sym.h> and <bp-asm.h>.
62189         (memcpy): Don't use BP_SYM.
62190         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
62191         <bp-sym.h> and <bp-asm.h>.
62192         (__mempcpy): Don't use BP_SYM.
62193         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
62194         <bp-sym.h> and <bp-asm.h>.
62195         (__memrchr): Don't use BP_SYM.
62196         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
62197         <bp-sym.h> and <bp-asm.h>.
62198         (memset): Don't use BP_SYM.
62199         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
62200         <bp-sym.h> and <bp-asm.h>.
62201         (__rawmemchr): Don't use BP_SYM.
62202         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
62203         <bp-sym.h> and <bp-asm.h>.
62204         (__STRCMP): Don't use BP_SYM.
62205         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
62206         <bp-sym.h> and <bp-asm.h>.
62207         (strchr): Don't use BP_SYM.
62208         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
62209         <bp-sym.h> and <bp-asm.h>.
62210         (__strchrnul): Don't use BP_SYM.
62211         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
62212         <bp-sym.h> and <bp-asm.h>.
62213         (strlen): Don't use BP_SYM.
62214         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
62215         <bp-sym.h> and <bp-asm.h>.
62216         (strncmp): Don't use BP_SYM.
62217         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
62218         <bp-sym.h> and <bp-asm.h>.
62219         (__strnlen): Don't use BP_SYM.
62220         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
62221         <bp-asm.h>.
62222         (__mpn_rshift): Don't use BP_SYM.
62223         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62224         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
62225         <bp-sym.h> and <bp-asm.h>.
62226         (__sigsetjmp): Don't use BP_SYM.
62227         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
62228         (L(start_addresses)): Don't use BP_SYM.
62229         (_start): Likewise.
62230         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
62231         <bp-asm.h>.
62232         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
62233         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62234         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62235         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
62236         <bp-asm.h>.
62237         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
62238         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62239         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62240         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
62241         <bp-asm.h>.
62242         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62243         comments.
62244         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62245         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
62246         <bp-asm.h>.
62247         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
62248         FIXME comments.
62249         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62250         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62251         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
62252         <bp-asm.h>.
62253         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62254         comment.
62255         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
62256         and <bp-asm.h>.
62257         (strncmp): Don't use BP_SYM,
62258         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
62259         <bp-asm.h>.
62260         (__mpn_sub_n): Don't use BP_SYM.
62261         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62262         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
62263         and <bp-asm.h>.
62264         (__mpn_submul_1): Don't use BP_SYM.
62265         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
62267         <bp-sym.h> and <bp-asm.h>.
62268         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
62270         <bp-sym.h> and <bp-asm.h>.
62271         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62272         comment.
62274 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62276         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
62277         Use ZK to minimize writes to Z.
62278         (sub_magnitudes): Simplify code a bit.
62279         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
62280         Use ZK to minimize writes to Z.
62281         (sub_magnitudes): Simplify code a bit.
62283 2013-02-27  Roland McGrath  <roland@hack.frob.com>
62285         * csu/gmon-start.c: Add special exception to license text.
62287 2013-02-27  Richard Henderson  <rth@redhat.com>
62289         * scripts/config.guess: Update from config.git.
62290         * scripts/config.sub: Likewise.
62292 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62294         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
62296         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
62298         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
62300         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
62302         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
62304 2013-02-26  Roland McGrath  <roland@hack.frob.com>
62306         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
62307         [$(build-shared = yes].
62309 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62311         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
62312         (__mul): Reduce iterations for calculating mantissa.
62314         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
62315         MPTWO.
62316         (__mpranred): Likewise.
62318         [BZ #15160]
62319         * malloc/memusagestat.c (main): Draw graphs for heap and stack
62320         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
62322 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
62324         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
62325         Define __attribute__.
62327 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62329         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
62330         unused.
62331         * posix/regex_internal.h (__attribute): Remove.
62332         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
62333         (re_string_context_at): Likewise.
62334         (bitset_not): Use __attribute__ and mark function as possibly
62335         unused.
62336         (bitset_merge): Likewise.
62337         (bitset_mask): Likewise.
62338         (re_string_char_size_at): Likewise.
62339         (re_string_wchar_at): Likewise.
62340         (re_string_elem_size_at): Likewise.
62342 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62344         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
62345         code.
62346         (cc32): Likewise.
62348         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
62349         (__acr): Likewise.
62350         (__cpy): Likewise.
62351         (norm): Likewise.
62352         (denorm): Likewise.
62353         (__dbl_mp): Likewise.
62354         (add_magnitudes): Likewise.
62355         (sub_magnitudes): Likewise.
62356         (__mul): Likewise.
62357         (__inv): Likewise.
62359         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
62360         style.
62362         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
62363         style.
62365         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
62366         code.
62368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
62369         up changes with default code.
62370         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
62371         Likewise.
62373 2013-02-24  Allan McRae  <allan@archlinux.org>
62375         * manual/socket.texi (The Internet Namespace): Order menu items
62376         to match that in the file.
62378         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
62379         node listing of the info page menu.
62381 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
62383         [BZ #13550]
62384         * sysdeps/i386/bp-asm.h: Remove file.
62385         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
62386         (PARMS): Do not use macros from bp-asm.h.
62387         (S1): Likewise.
62388         (S2): Likewise.
62389         (SIZE): Likewise.
62390         (__mpn_add_n): Do not use BP_SYM
62391         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
62392         "bp-asm.h".
62393         (PARMS): Do not use macros from bp-asm.h.
62394         (S1): Likewise.
62395         (SIZE): Likewise.
62396         (__mpn_addmul_1): Do not use BP_SYM
62397         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
62398         "bp-asm.h".
62399         (PARMS): Do not use macros from bp-asm.h.
62400         (SIGMSK): Likewise.
62401         (_setjmp): Likewise.  Do not use BP_SYM.
62402         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
62403         "bp-asm.h".
62404         (PARMS): Do not use macros from bp-asm.h.
62405         (SIGMSK): Likewise.
62406         (setjmp): Likewise.  Do not use BP_SYM.
62407         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
62408         "bp-asm.h".
62409         (PARMS): Do not use macros from bp-asm.h.
62410         (__frexp): Do not use BP_SYM.
62411         (frexp): Likewise.
62412         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
62413         "bp-asm.h".
62414         (PARMS): Do not use macros from bp-asm.h.
62415         (__frexpf): Do not use BP_SYM.
62416         (frexpf): Likewise.
62417         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
62418         "bp-asm.h".
62419         (PARMS): Do not use macros from bp-asm.h.
62420         (__frexpl): Do not use BP_SYM.
62421         (frexpl): Likewise.
62422         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
62423         "bp-asm.h".
62424         (PARMS): Do not use macros from bp-asm.h.
62425         (__remquo): Do not use BP_SYM.
62426         (remquo): Likewise.
62427         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
62428         "bp-asm.h".
62429         (PARMS): Do not use macros from bp-asm.h.
62430         (__remquof): Do not use BP_SYM.
62431         (remquof): Likewise.
62432         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
62433         "bp-asm.h".
62434         (PARMS): Do not use macros from bp-asm.h.
62435         (__remquol): Do not use BP_SYM.
62436         (remquol): Likewise.
62437         * sysdeps/i386/i486/strcat.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         (SRC): Likewise.
62442         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
62443         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
62444         "bp-asm.h".
62445         (PARMS): Do not use macros from bp-asm.h.
62446         (strlen): Do not use BP_SYM.
62447         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
62448         "bp-asm.h".
62449         (PARMS): Do not use macros from bp-asm.h.
62450         (S1): Likewise.
62451         (S2): Likewise.
62452         (SIZE): Likewise.
62453         (__mpn_add_n): Do not use BP_SYM.
62454         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
62455         "bp-asm.h".
62456         (PARMS): Do not use macros from bp-asm.h.
62457         (S1): Likewise.
62458         (SIZE): Likewise.
62459         (__mpn_addmul_1): Do not use BP_SYM.
62460         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
62461         weak_alias.
62462         (bzero): Likewise.
62463         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
62464         "bp-asm.h".
62465         (PARMS): Do not use macros from bp-asm.h.
62466         (S): Likewise.
62467         (SIZE): Likewise.
62468         (__mpn_lshift): Do not use BP_SYM.
62469         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
62470         "bp-asm.h".
62471         (PARMS): Do not use macros from bp-asm.h.
62472         (DEST): Likewise.
62473         (SRC): Likewise.
62474         (LEN): Likewise.
62475         (memcpy): Likewise.  Do not use BP_SYM.
62476         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
62477         libc_hidden_def and weak_alias.
62478         (mempcpy): Do not use BP_SYM in weak_alias.
62479         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
62480         "bp-asm.h".
62481         (PARMS): Do not use macros from bp-asm.h.
62482         (DEST): Likewise.
62483         (LEN): Likewise.
62484         [!BZERO_P] (CHR): Likewise.
62485         (memset): Likewise.  Do not use BP_SYM.
62486         * sysdeps/i386/i586/mul_1.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         (SIZE): Likewise.
62491         (__mpn_mul_1): Do not use BP_SYM.
62492         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
62493         "bp-asm.h".
62494         (PARMS): Do not use macros from bp-asm.h.
62495         (S): Likewise.
62496         (SIZE): Likewise.
62497         (__mpn_rshift): Do not use BP_SYM.
62498         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
62499         "bp-asm.h".
62500         (PARMS): Do not use macros from bp-asm.h.
62501         (STR): Likewise.
62502         (CHR): Likewise.
62503         (strchr): Likewise.  Do not use BP_SYM.
62504         (index): Do not use BP_SYM in weak_alias.
62505         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
62506         "bp-asm.h".
62507         (PARMS): Do not use macros from bp-asm.h.
62508         (DEST): Likewise.
62509         (SRC): Likewise.
62510         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
62511         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
62512         "bp-asm.h".
62513         (PARMS): Do not use macros from bp-asm.h.
62514         (strlen): Do not use BP_SYM.
62515         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
62516         "bp-asm.h".
62517         (PARMS): Do not use macros from bp-asm.h.
62518         (S1): Likewise.
62519         (S2): Likewise.
62520         (SIZE): Likewise.
62521         (__mpn_sub_n): Do not use BP_SYM.
62522         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
62523         "bp-asm.h".
62524         (PARMS): Do not use macros from bp-asm.h.
62525         (S1): Likewise.
62526         (SIZE): Likewise.
62527         (__mpn_submul_1): Do not use BP_SYM.
62528         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
62529         "bp-asm.h".
62530         (PARMS): Do not use macros from bp-asm.h.
62531         (S1): Likewise.
62532         (S2): Likewise.
62533         (SIZE): Likewise.
62534         (__mpn_add_n): Do not use BP_SYM.
62535         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
62536         weak_alias.
62537         (bzero): Likewise.
62538         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
62539         "bp-asm.h".
62540         (PARMS): Do not use macros from bp-asm.h.
62541         (BLK2): Likewise.
62542         (LEN): Likewise.
62543         (memcmp): Do not use BP_SYM.
62544         (bcmp): Do not use BP_SYM in weak_alias.
62545         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
62546         "bp-asm.h".
62547         (PARMS): Do not use macros from bp-asm.h.
62548         (DEST): Likewise.
62549         (SRC): Likewise.
62550         (LEN): Likewise.
62551         (memcpy): Likewise.  Do not use BP_SYM.
62552         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
62553         "bp-asm.h".
62554         (PARMS): Do not use macros from bp-asm.h.
62555         (DEST): Likewise.
62556         (SRC): Likewise.
62557         (LEN): Likewise.
62558         (memmove): Likewise.  Do not use BP_SYM.
62559         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
62560         "bp-asm.h".
62561         (PARMS): Do not use macros from bp-asm.h.
62562         (DEST): Likewise.
62563         (SRC): Likewise.
62564         (LEN): Likewise.
62565         (__mempcpy): Likewise.  Do not use BP_SYM.
62566         (mempcpy): Do not use BP_SYM in weak_alias.
62567         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
62568         "bp-asm.h".
62569         (PARMS): Do not use macros from bp-asm.h.
62570         (DEST): Likewise.
62571         (LEN): Likewise.
62572         [!BZERO_P] (CHR): Likewise.
62573         (memset): Likewise.  Do not use BP_SYM.
62574         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
62575         "bp-asm.h".
62576         (PARMS): Do not use macros from bp-asm.h.
62577         (STR2): Likewise.
62578         (strcmp): Do not use BP_SYM.
62579         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
62580         "bp-asm.h".
62581         (PARMS): Do not use macros from bp-asm.h.
62582         (STR): Likewise.
62583         (DELIM): Likewise.
62584         [USE_AS_STRTOK_R] (SAVE): Likewise.
62585         (FUNCTION): Likewise.  Do not use BP_SYM.
62586         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
62587         aliases.
62588         (strtok_r): Likewise.
62589         (__GI___strtok_r): Likewise.
62590         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
62591         (PARMS): Do not use macros from bp-asm.h.
62592         (S): Likewise.
62593         (SIZE): Likewise.
62594         (__mpn_lshift): Do not use BP_SYM.
62595         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
62596         (PARMS): Do not use macros from bp-asm.h.
62597         (STR): Likewise.
62598         (CHR): Likewise.
62599         (__memchr): Do not use BP_SYM.
62600         (memchr): Do not use BP_SYM in weak_alias.
62601         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
62602         (PARMS): Do not use macros from bp-asm.h.
62603         (BLK2): Likewise.
62604         (LEN): Likewise.
62605         (memcmp): Do not use BP_SYM.
62606         (bcmp): Do not use BP_SYM in weak_alias.
62607         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
62608         (PARMS): Do not use macros from bp-asm.h.
62609         (S1): Likewise.
62610         (SIZE): Likewise.
62611         (__mpn_mul_1): Do not use BP_SYM.
62612         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
62613         "bp-asm.h".
62614         (PARMS): Do not use macros from bp-asm.h.
62615         (STR): Likewise.
62616         (CHR): Likewise.
62617         (__rawmemchr): Do not use BP_SYM.
62618         (rawmemchr): Do not use BP_SYM in weak_alias.
62619         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
62620         (PARMS): Do not use macros from bp-asm.h.
62621         (S): Likewise.
62622         (SIZE): Likewise.
62623         (__mpn_rshift): Do not use BP_SYM.
62624         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
62625         (PARMS): Do not use macros from bp-asm.h.
62626         (SIGMSK): Likewise.
62627         (__sigsetjmp): Likewise.  Do not use BP_SYM.
62628         * sysdeps/i386/start.S: Do not include "bp-sym.h".
62629         (_start): Do not use BP_SYM.
62630         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
62631         (PARMS): Do not use macros from bp-asm.h.
62632         (DEST): Likewise.
62633         (SRC): Likewise.
62634         (__stpcpy): Likewise.  Do not use BP_SYM.
62635         (stpcpy): Do not use BP_SYM in weak_alias.
62636         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
62637         "bp-asm.h".
62638         (PARMS): Do not use macros from bp-asm.h.
62639         (DEST): Likewise.
62640         (SRC): Likewise.
62641         (LEN): Likewise.
62642         (__stpncpy): Likewise.  Do not use BP_SYM.
62643         (stpncpy): Do not use BP_SYM in weak_alias.
62644         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
62645         (PARMS): Do not use macros from bp-asm.h.
62646         (STR): Likewise.
62647         (CHR): Likewise.
62648         (strchr): Likewise.  Do not use BP_SYM.
62649         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
62650         "bp-asm.h".
62651         (PARMS): Do not use macros from bp-asm.h.
62652         (STR): Likewise.
62653         (CHR): Likewise.
62654         (__strchrnul): Likewise.  Do not use BP_SYM.
62655         (strchrnul): Do not use BP_SYM in weak_alias.
62656         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
62657         "bp-asm.h".
62658         (PARMS): Do not use macros from bp-asm.h.
62659         (STOP): Likewise.
62660         (strcspn): Do not use BP_SYM.
62661         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
62662         "bp-asm.h".
62663         (PARMS): Do not use macros from bp-asm.h.
62664         (STR): Likewise.
62665         (STOP): Likewise.
62666         (strpbrk): Likewise.  Do not use BP_SYM.
62667         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
62668         "bp-asm.h".
62669         (PARMS): Do not use macros from bp-asm.h.
62670         (STR): Likewise.
62671         (CHR): Likewise.
62672         (strrchr): Likewise.  Do not use BP_SYM.
62673         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
62674         (PARMS): Do not use macros from bp-asm.h.
62675         (SKIP): Likewise.
62676         (strspn): Do not use BP_SYM.
62677         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
62678         (PARMS): Do not use macros from bp-asm.h.
62679         (STR): Likewise.
62680         (DELIM): Likewise.
62681         (SAVE): Likewise.
62682         (FUNCTION): Likewise.  Do not use BP_SYM.
62683         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
62684         aliases.
62685         (strtok_r): Likewise.
62686         (__GI___strtok_r): Likewise.
62687         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
62688         (PARMS): Do not use macros from bp-asm.h.
62689         (S1): Likewise.
62690         (S2): Likewise.
62691         (SIZE): Likewise.
62692         (__mpn_sub_n): Do not use BP_SYM.
62693         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
62694         "bp-asm.h".
62695         (PARMS): Do not use macros from bp-asm.h.
62696         (S1): Likewise.
62697         (SIZE): Likewise.
62698         (__mpn_submul_1): Do not use BP_SYM.
62699         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
62700         <bp-sym.h>.
62701         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
62702         and <bp-asm.h>.
62703         (PARMS): Do not use macros from bp-asm.h.
62704         (FLAGS): Likewise.
62705         (PTID): Likewise.
62706         (TLS): Likewise.
62707         (CTID): Likewise.
62708         (__clone): Do not use BP_SYM.
62709         (clone): Do not use BP_SYM in weak_alias.
62710         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
62711         and <bp-asm.h>.
62712         (PARMS): Do not use macros from bp-asm.h.
62713         (LEN): Likewise.
62714         (__mmap64): Do not use BP_SYM.
62715         (mmap64): Do not use BP_SYM in weak_alias.
62716         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62717         <bp-sym.h> and <bp-asm.h>.
62718         (PARMS): Do not use macros from bp-asm.h.
62719         (__posix_fadvise64_l64): Do not use BP_SYM.
62720         * sysdeps/unix/sysv/linux/i386/semtimedop.S
62721         (PARMS): Do not use macros from bp-asm.h.
62722         (NSOPS): Likewise.
62723         (semtimedop): Do not use BP_SYM.
62724         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
62725         and <bp-asm.h>.
62727 2013-02-21  Allan McRae  <allan@archlinux.org>
62729         * manual/message.texi (Charset conversion in gettext):
62730         Move @end statement to beginning of line.
62732 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62734         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
62735         static.
62736         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
62737         Likewise.
62739         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
62740         (denorm): Likewise.
62741         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
62742         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
62744 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62746         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
62747         tail-call to the resolved function if pltexit isn't needed.
62749 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
62752         or Y being zero as being unlikely.
62753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
62754         Likewise.
62756 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
62758         * manual/nss.texi (System Databases and Name Service Switch):
62759         Remove frobnicate @pxref.
62761 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
62763         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
62764         __attribute__ ((unused)) to __attribute__ ((__unused__)).
62766 2013-02-20  Petr Machata  <pmachata@redhat.com>
62768         * elf/elf.h (R_ARM_TARGET1): New macro.
62769         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
62770         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
62771         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
62772         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
62773         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
62774         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
62775         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
62776         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
62777         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
62778         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
62779         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
62780         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
62781         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
62782         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
62783         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
62784         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
62785         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
62786         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
62787         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
62788         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
62789         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
62790         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
62791         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
62792         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
62793         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
62794         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
62795         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
62796         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
62797         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
62798         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
62799         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
62800         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
62801         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
62802         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
62803         (R_ARM_THM_GOT_BREL12): Likewise.
62804         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
62805         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
62806         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
62807         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
62808         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
62809         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
62810         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
62811         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
62812         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
62814 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
62816         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
62817         __attribute_used__ to __attribute__ ((unused)).
62819 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62821         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
62822         powerpc mpa.c.
62823         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
62824         comment formatting.
62825         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
62827 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
62829         [BZ #13550]
62830         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
62831         Remove macro.
62832         (ENTER): Remove both macro definitions.
62833         (LEAVE): Likewise.
62834         (CHECK_BOUNDS_LOW): Likewise.
62835         (CHECK_BOUNDS_HIGH): Likewise.
62836         (CHECK_BOUNDS_BOTH): Likewise.
62837         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
62838         (RETURN_BOUNDED_POINTER): Likewise.
62839         (RETURN_NULL_BOUNDED_POINTER): Likewise.
62840         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
62841         (POP_ERRNO_LOCATION_RETURN): Likewise.
62842         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
62843         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62844         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
62845         macros.
62846         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62847         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
62848         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
62849         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
62850         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
62851         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
62852         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
62853         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
62854         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
62855         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
62856         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
62857         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
62858         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62859         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
62860         removed macros.
62861         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62862         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
62863         macros.
62864         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62865         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
62866         * sysdeps/i386/i586/memset.S (memset): Likewise.
62867         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
62868         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62869         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
62870         macros.
62871         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62872         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
62873         Change uses of L(2) to L(out).
62874         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
62875         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
62876         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
62877         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62878         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
62879         removed macros.
62880         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62881         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
62882         macros.
62883         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62884         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
62885         (RETURN): Do not use macro LEAVE.
62886         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
62887         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
62888         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
62889         * sysdeps/i386/i686/memset.S (memset): Likewise.
62890         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
62891         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
62892         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62893         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
62894         Likewise.
62895         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62896         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
62897         L(1_2) and L(1_3) into L(1).
62898         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
62899         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
62900         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62901         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
62902         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62903         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
62904         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
62905         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62906         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
62907         macros.
62908         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
62909         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62910         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
62911         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
62912         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
62913         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62914         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
62915         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
62916         * sysdeps/i386/strcspn.S (strcspn): Likewise.
62917         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
62918         * sysdeps/i386/strrchr.S (strrchr): Likewise.
62919         * sysdeps/i386/strspn.S (strspn): Likewise.
62920         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
62921         conditional code.
62922         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62923         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
62924         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
62925         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
62926         L(1_3) into L(1_1).
62927         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
62928         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62929         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
62930         macros.
62931         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62933 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
62935         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
62936         macro.
62938 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62940         * math/atest-exp.c (exp_mpn): Remove ROUND.
62941         * math/atest-exp2.c (exp_mpn): Likewise.
62942         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
62944         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
62945         * stdlib/tst-tls-atexit-lib.c: Likewise.
62946         * stdlib/tst-tls-atexit.c: Likewise.
62948 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62950         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
62951         and __attribute_alloc_size__.
62953 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62955         * include/programs/xmalloc.h: Change __attribute_alloc_size to
62956         __attribute_alloc_size__.
62957         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
62958         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
62960 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
62962         * include/programs/xmalloc.h: New file.
62963         * catgets/gencat.c: Include it.
62964         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
62965         * elf/pldd.c: Likewise.
62966         * iconv/iconv_charmap.c: Likewise.
62967         * iconv/iconvconfig.c: Likewise.
62968         * iconv/strtab.c: Likewise.
62969         * locale/programs/locale.c: Likewise.
62970         * locale/programs/localedef.h: Likewise.
62971         * locale/programs/simple-hash.c: Likewise.
62972         * nscd/nscd.h: Likewise.
62973         * nss/makedb.c: Likewise.
62974         * sysdeps/generic/ldconfig.h: Likewise.
62976 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62978         * Versions.def: Add GLIBC_2.18.
62979         * include/link.h (struct link_map): New member l_tls_dtor_count.
62980         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
62981         (__call_tls_dtors): Likewise.
62982         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
62983         __cxa_thread_atexit_impl.
62984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62985         Likewise.
62986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62987         Likewise.
62988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
62989         Likewise.
62990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
62991         Likewise.
62992         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
62994         Likewise.
62995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
62996         Likewise.
62997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62999         Likewise.
63000         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
63001         (tests): Add test case tst-tls-atexit.
63002         (modules-names): Add shared library for tst-tls-atexit.
63003         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
63004         (GLIBC_PRIVATE): Add __call_tls_dtors.
63005         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
63006         for libstdc++.
63007         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
63008         * stdlib/tst-tls-atexit.c: New test case.
63009         * stdlib/tst-tls-atexit-lib.c: New test case.
63011         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
63013         * elf/Versions (ld): Add _dl_find_dso_for_object.
63014         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
63015         * elf/dl-open.c (_dl_find_dso_for_object): New function.
63016         (dl_open_worker): Use _dl_find_dso_for_object.
63017         * elf/dl-sym.c (do_sym): Likewise.
63018         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
63020 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63022         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
63023         Syntactic changes only.
63024         (_dl_runtime_profile): Do a tail-call to the resolved function.
63026 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
63028         [BZ #13550]
63029         * sysdeps/x86_64/bp-asm.h: Remove file.
63030         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
63031         <bp-sym.h> and <bp-asm.h>.
63032         (__clone): Do not use BP_SYM.
63033         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
63034         <bp-sym.h> and <bp-asm.h>.
63035         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63036         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
63037         "bp-asm.h".
63038         (_setjmp): Do not use BP_SYM.
63039         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
63040         "bp-asm.h".
63041         (setjmp): Do not use BP_SYM.
63042         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
63043         libc_hidden_def.
63044         (mempcpy): Do not use BP_SYM in weak_alias.
63045         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
63046         "bp-asm.h".
63047         (strchr): Do not use BP_SYM.
63048         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
63049         "bp-asm.h".
63050         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
63051         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
63052         (_start): Do not use BP_SYM.
63053         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
63054         "bp-asm.h".
63055         (strcat): Do not use BP_SYM.
63056         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
63057         "bp-asm.h".
63058         (STRCMP): Do not use BP_SYM.
63059         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
63060         "bp-asm.h".
63061         (STRCPY): Do not use BP_SYM.
63062         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
63063         "bp-asm.h".
63064         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
63065         "bp-asm.h".
63066         (FUNCTION): Do not use BP_SYM.
63067         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
63068         weak_alias.
63069         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
63071 2013-02-17  Andreas Jaeger  <aj@suse.de>
63073         * time/Versions: Sort entries.
63074         * string/Versions: Likewise.
63075         * resolv/Versions: Likewise.
63076         * posix/Versions: Likewise.
63077         * iconv/Versions: Likewise.
63078         * elf/Versions: Likewise.
63079         * wcsmbs/Versions: Likewise.
63081 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63083         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
63084         loop termination condition.
63086         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
63087         variable to calculate EZ.
63088         (__sqr): Likewise.
63090         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
63091         the lower precision input.
63093 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
63095         [BZ #13550]
63096         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
63097         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
63098         (run-via-rtld-prefix): Do not handle %-bp tests.
63099         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
63100         (all-object-suffixes): Remove .ob.
63101         (bppfx): Remove variable.
63102         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
63103         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
63104         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
63105         [$(build-bounded) = yes] (libtype.ob): Likewise.
63106         * Makerules (elide-routines.ob): Remove variable.
63107         (do-tests-clean): Do not handle *-bp.out.
63108         (common-mostlyclean): Do not handle *-bp and *-bp.out.
63109         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
63110         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
63111         (tests): Do not include $(tests-bp.out).
63112         (xtests): Do not include $(xtests-bp.out).
63113         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
63114         [$(build-bounded) = yes] ($(addprefix
63115         $(objpfx),$(binaries-bounded))): Remove rule.
63116         ($(objpfx)%-bp.out): Remove rule.
63117         * config.make.in (build-bounded): Remove variable.
63118         * crypt/Makefile [$(build-bounded) = yes]
63119         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
63120         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
63121         append to variable.
63122         [$(build-bounded) = yes] (install-lib): Likewise.
63123         [$(build-bounded) = yes] (generated): Likewise.
63124         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
63125         Remove rule.
63126         * intl/Makefile [$(build-bounded) = yes]
63127         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
63128         * math/Makefile [$(build-bounded) = yes]
63129         ($(tests:%=$(objpfx)%-bp): Likewise.
63130         * misc/Makefile [$(build-bounded) = yes]
63131         ($(objpfx)tst-tsearch-bp): Likewise.
63132         * nptl/Makeconfig (bounded-thread-library): Remove variable.
63133         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
63134         Remove dependency.
63135         * string/Makefile (o-objects.ob): Remove variable.
63136         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
63137         (CFLAGS-.ob): Remove variable.
63138         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
63139         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
63140         both definitions of variable.
63141         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
63142         (ASFLAGS-.ob): Remove variable.
63144 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
63146         [BZ #13550]
63147         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
63148         Remove __BOUNDED_POINTERS__ from condition.
63149         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
63150         * string/bits/string2.h [!__NO_STRING_INLINES &&
63151         !__BOUNDED_POINTERS__]: Likewise.
63152         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
63153         Likewise.
63154         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
63155         Remove conditional code.
63156         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
63157         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
63158         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
63159         condition.
63161         [BZ #13550]
63162         * csu/libc-start.c: Do not include <bp-sym.h>.
63163         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
63164         * elf/dl-open.c: Do not include <bp-sym.h>.
63165         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
63166         * math/fegetenv.c: Do not include <bp-sym.h>.
63167         (fegetenv): Do not use BP_SYM in versioned symbols.
63168         * nptl/sysdeps/pthread/bits/libc-lockP.h
63169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
63170         <bp-sym.h>.
63171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63172         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
63173         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63174         (__pthread_mutex_destroy): Likewise.
63175         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63176         (__pthread_mutex_lock): Likewise.
63177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63178         (__pthread_mutex_trylock): Likewise.
63179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63180         (__pthread_mutex_unlock): Likewise.
63181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63182         (__pthread_mutexattr_init): Likewise.
63183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63184         (__pthread_mutexattr_destroy): Likewise.
63185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63186         (__pthread_mutexattr_settype): Likewise.
63187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63188         (__pthread_rwlock_init): Likewise.
63189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63190         (__pthread_rwlock_destroy): Likewise.
63191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63192         (__pthread_rwlock_rdlock): Likewise.
63193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63194         (__pthread_rwlock_tryrdlock): Likewise.
63195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63196         (__pthread_rwlock_wrlock): Likewise.
63197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63198         (__pthread_rwlock_trywrlock): Likewise.
63199         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63200         (__pthread_rwlock_unlock): Likewise.
63201         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63202         (__pthread_key_create): Likewise.
63203         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63204         (__pthread_setspecific): Likewise.
63205         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63206         (__pthread_getspecific): Likewise.
63207         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
63208         Likewise.
63209         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63210         (_pthread_cleanup_push_defer): Likewise.
63211         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63212         (_pthread_cleanup_pop_restore): Likewise.
63213         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63214         (pthread_setcancelstate): Likewise.
63215         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
63216         <bp-sym.h>.
63217         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
63218         (memchr): Do not use BP_SYM in weak_alias.
63219         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
63220         (fegetenv): Do not use BP_SYM in versioned symbols.
63221         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
63222         (fesetenv): Do not use BP_SYM in versioned symbols.
63223         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63224         (feupdateenv): Do not use BP_SYM in versioned symbols.
63225         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63226         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63227         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
63228         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
63229         (open64): Do not use BP_SYM in weak_alias.
63230         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
63231         (fegetenv): Do not use BP_SYM in versioned symbols.
63232         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
63233         (fesetenv): Do not use BP_SYM in versioned symbols.
63234         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63235         (feupdateenv): Do not use BP_SYM in versioned symbols.
63236         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
63237         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
63238         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
63239         (feraiseexcept): Do not use BP_SYM in versioned symbols.
63240         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63241         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63242         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
63243         <bp-sym.h>.
63244         (__libc_start_main): Do not use BP_SYM.
63246 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63248         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
63249         redundant return line.
63250         (norm): Likewise.
63251         (denorm): Likewise.
63252         (dbl_mp): Likewise.
63253         (sub_magnitudes): Likewise.
63254         (__add): Likewise.
63255         (__sub): Likewise.
63256         (__mul): Likewise.
63257         (__inv): Likewise.
63258         (__dvd): Likewise.
63259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
63260         (norm): Likewise.
63261         (denorm): Likewise.
63262         (dbl_mp): Likewise.
63263         (sub_magnitudes): Likewise.
63264         (__add): Likewise.
63265         (__sub): Likewise.
63266         (__mul): Likewise.
63267         (__inv): Likewise.
63268         (__dvd): Likewise.
63270         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
63271         instead of __mul.
63272         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
63273         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
63274         (cc32): Likewise.
63276         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
63277         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
63278         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
63279         of __mul for squares.
63280         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
63281         function
63282         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
63283         Likewise.
63284         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
63285         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63287 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
63289         [BZ #13550]
63290         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
63291         code.
63292         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
63293         prototype or function definition.  Rename ubp_* variables and
63294         parameters.  Remove argv definitions conditional on
63295         [__BOUNDED_POINTERS__].
63296         * debug/backtrace.c (__backtrace): Do not use __unbounded.
63297         * elf/dl-runtime.c (_dl_fixup): Likewise.
63298         * include/set-hooks.h (RUN_HOOK): Likewise.
63299         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
63300         definition.
63301         * string/strcpy.c (strcpy): Do not use __unbounded.
63302         * sysdeps/generic/frame.h (struct layout): Likewise.
63303         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
63304         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
63305         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
63306         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
63307         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
63308         (__backtrace): Likewise.
63309         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
63310         use __ptrvalue.
63311         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
63312         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
63313         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
63314         Likewise.
63315         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
63316         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
63317         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
63318         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
63319         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
63320         Do not use __unbounded.
63321         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
63322         Rename __unboundedrlimits parameter to rlimits in prototype.
63323         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
63324         Do not use __unbounded.
63325         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
63326         not use __ptrvalue.
63327         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
63328         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
63329         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
63330         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
63331         __ptrvalue or __unbounded.
63332         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
63333         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
63334         use __unbounded.
63335         (__new_msgctl): Do not use __ptrvalue.
63336         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
63337         __unbounded.
63338         (__libc_msgrcv): Do not use __ptrvalue.
63339         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
63340         startup_info): Do not use __unbounded.
63341         (__libc_start_main): Likewise.  Rename ubp_* variables and
63342         parameters.  Remove argv definitions conditional on
63343         [__BOUNDED_POINTERS__].
63344         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
63345         __ptrvalue.
63346         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
63347         use __unbounded.
63348         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
63349         or __ptrvalue.
63350         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
63351         use __unbounded.
63352         (__new_shmctl): Do not use __ptrvalue.
63353         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
63354         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
63355         Likewise.
63356         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
63357         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
63358         (__libc_sigaction): Likewise.
63359         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
63360         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
63361         Likewise.
63362         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
63364 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
63366         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
63368         * string/mempcpy.c: Implement by calling memcpy.
63370 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63372         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
63374         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
63375         evaluation.
63377         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
63378         values in the mantissa.
63380         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
63381         minimize writes to Z.
63382         (sub_magnitudes): Simplify code a bit.
63384 2013-02-12  Roland McGrath  <roland@hack.frob.com>
63386         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
63387         from the message.  The linker prefixes all warnings with that already.
63389 2013-02-12  Andreas Schwab  <schwab@suse.de>
63391         [BZ #15078]
63392         * posix/regexec.c (extend_buffers): Add parameter min_len.
63393         (check_matching): Pass minimum needed length.
63394         (clean_state_log_if_needed): Likewise.
63395         (get_subexp): Likewise.
63396         * posix/Makefile (tests): Add bug-regex34.
63397         (bug-regex34-ENV): Define.
63398         * posix/bug-regex34.c: New file.
63400         [BZ #11561]
63401         * posix/regcomp.c (parse_bracket_exp): When looking up collating
63402         elements compare against the byte sequence of it, not its name.
63403         * posix/Makefile (tests): Add bug-regex35.
63404         (bug-regex35-ENV): Define.
63405         * posix/bug-regex35.c: New file.
63407 2013-02-11  Tom de Vries  <tom@codesourcery.com>
63409         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
63410         comment.
63411         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
63412         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
63413         (CHECK_EOL): Add undef.
63415 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
63417         * bits/stdlib-bsearch.h: New file.
63418         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
63419         * stdlib/stdlib.h: Likewise.
63421 2013-02-11  Roland McGrath  <roland@hack.frob.com>
63423         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
63424         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
63425         declaration.
63426         * manual/search.texi (Array Search Function): Add missing const in
63427         lfind prototype.
63428         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
63429         declaration to use rlim_t.
63430         (Basic Scheduling Functions): Remove erroneous const from
63431         sched_getparam prototype.  Remove erroneous * from
63432         sched_get_priority_max and sched_get_priority_min prototypes.
63433         (Resource Usage): Fix summary @comment on vtimes to refer to
63434         sys/vtimes.h rather than vtimes.h.
63435         Add missing *s in vtimes prototype.
63436         (Limits on Resources): Fix ulimit prototype to return long int.
63437         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
63438         prototypes to use long int rather than double.
63439         (BSD Random): Fix initstate and setstate to use char *, not void *.
63440         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
63441         prototype to make second argument 'struct aiocb64 *const[]'.
63442         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
63443         (Status of AIO Operations): Remove erroneous const in aio_return and
63444         aio_return64 prototypes.
63445         (Synchronizing I/O): Fix sync prototype to return void.
63446         * manual/startup.texi (Suboptions): Remove an erroneous const in
63447         getsubopt prototype.
63448         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
63449         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
63450         use size_t rather than int.
63451         (Scanning All Users): Likewise for getpwent_r.
63452         (Setting Groups): Add missing const to setgroups prototype.
63453         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
63454         * manual/socket.texi (Host Names): Fix gethostbyaddr and
63455         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
63456         'const void *' rather than 'const char *'.
63457         (Host Address Functions): Likewise for inet_ntop.
63458         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
63459         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
63460         ssize_t for return value.
63461         (Sending Data): Likewise for send, sendto, sendmsg.
63462         (Socket Option Functions): Add a missing const in setsockopt prototype.
63463         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
63464         use wchar_t for the argument.
63465         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
63466         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
63467         take no arguments.
63468         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
63469         double/float/long double for second argument.
63470         Fix return types of significand, significandf, significandl.
63471         * manual/filesys.texi (Setting Permissions): Use mode_t for second
63472         argument in fchmod prototype.
63473         (File Owner): Use uid_t and gid_t in fchown prototype.
63474         (File Times): Add const to utimes, futimes, and lutimes prototypes.
63475         (Making Special Files): Use mode_t and dev_t in mknod prototype.
63476         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
63477         use 'const struct dirent **' as argument types to CMP function pointer
63478         argument.
63479         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
63480         (File Times): Fix summary magic @comment for struct utimbuf and utime
63481         to refer to utime.h, not time.h.
63482         * manual/string.texi (Argz Functions): Add missing const in
63483         argz_extract and argz_next prototypes.
63484         (Finding Tokens in a String): Likewise for basename.
63485         (String/Array Comparison): Fix typo in wcscasecmp prototype.
63486         (Copying and Concatenation): Fix typo in wmemmove prototype.
63487         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
63488         (Signal Stack): Remove erroneous const in sigstack prototype.
63489         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
63490         prototype.
63491         (Simple Calendar Time): Likewise for stime.
63492         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
63493         prototype.
63494         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
63495         say sys/sysctl.h instead.
63496         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
63497         and vsyslog prototypes.
63499 2013-02-11  Tom de Vries  <tom@codesourcery.com>
63501         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
63502         Remove.
63504 2013-02-11  Roland McGrath  <roland@hack.frob.com>
63506         * misc/sys/mman.h: Fix typo in mremap comment.
63508 2013-02-08  Roland McGrath  <roland@hack.frob.com>
63510         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
63511         the '\0' terminator.
63513 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
63515         [BZ #13550]
63516         * debug/segfault.c: Don't include <bp-checks.h>.
63517         * sysdeps/generic/bp-checks.h: Remove file.
63518         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
63519         (__GETDENTS): Don't use CHECK_N.
63520         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
63521         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
63522         (__getgroups): Don't use CHECK_N.
63523         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
63524         (setgroups): Don't use CHECK_N.
63525         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
63526         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
63527         (__libc_msgrcv): Don't use CHECK_N.
63528         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
63529         (__libc_msgsnd): Don't use CHECK_N.
63530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
63531         <bp-checks.h>.
63532         (__libc_pread): Don't use CHECK_N.
63533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
63534         include <bp-checks.h>.
63535         (__libc_pread64): Don't use CHECK_N.
63536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
63537         include <bp-checks.h>.
63538         (__libc_pwrite): Don't use CHECK_N.
63539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
63540         include <bp-checks.h>.
63541         (__libc_pwrite64): Don't use CHECK_N.
63542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
63543         <bp-checks.h>.
63544         (__libc_pread): Don't use CHECK_N.
63545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
63546         include <bp-checks.h>.
63547         (__libc_pread64): Don't use CHECK_N.
63548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
63549         include <bp-checks.h>.
63550         (__libc_pwrite): Don't use CHECK_N.
63551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
63552         include <bp-checks.h>.
63553         (__libc_pwrite64): Don't use CHECK_N.
63554         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
63555         (do_pread): Don't use CHECK_N.
63556         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
63557         (do_pread64): Don't use CHECK_N.
63558         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
63559         (do_pwrite): Don't use CHECK_N.
63560         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
63561         (do_pwrite64): Don't use CHECK_N.
63562         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
63563         (__libc_readv): Don't use CHECK_N.
63564         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
63565         (semop): Don't use CHECK_N.
63566         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
63567         <bp-checks.h>.
63568         (semtimedop): Don't use CHECK_N.
63569         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
63570         (__libc_pread): Don't use CHECK_N.
63571         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
63572         <bp-checks.h>.
63573         (__libc_pread64): Don't use CHECK_N.
63574         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
63575         <bp-checks.h>.
63576         (__libc_pwrite): Don't use CHECK_N.
63577         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
63578         <bp-checks.h>.
63579         (__libc_pwrite64): Don't use CHECK_N.
63580         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
63581         <bp-checks.h>.
63582         (__libc_msgrcv): Don't use CHECK_N.
63583         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
63584         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
63585         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
63586         (__libc_writev): Don't use CHECK_N.
63588 2013-02-08  Roland McGrath  <roland@hack.frob.com>
63590         * string/strcpy.c: Removed unused variable.
63592         * Makeconfig (+sysdep-includes): Define with := rather than =.
63593         Use an existing include/ subdir of each sysdeps dir before it.
63595 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
63597         * nscd/connection.c (register_traced_file): Comment function.
63598         [HAVE_INOTIFY] (union __inev): Define.
63599         [HAVE_INOTIFY] (inotify_check_files): New function.
63600         [HAVE_INOTIFY] (clear_db_cache): Likewise.
63601         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
63602         clear_db_cache.
63603         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
63605 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
63607         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
63608         loaded if not already and that a failure is permanent.
63610 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
63612         [BZ #15006]
63613         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
63614         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
63616 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
63618         [BZ #13550]
63619         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
63620         (CHECK_1_NULL_OK): Likewise.
63621         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
63622         (__fxstat): Do not use CHECK_1.
63623         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
63624         <bp-checks.h>.
63625         (___fxstat64): Do not use CHECK_1.
63626         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
63627         <bp-checks.h>.
63628         (__fxstatat): Do not use CHECK_1.
63629         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
63630         <bp-checks.h>.
63631         (__fxstatat64): Do not use CHECK_1.
63632         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
63633         <bp-checks.h>.
63634         (__fxstat): Do not use CHECK_1.
63635         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
63636         <bp-checks.h>.
63637         (__fxstatat): Do not use CHECK_1.
63638         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
63639         <bp-checks.h>.
63640         (__getresgid): Do not use CHECK_1.
63641         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
63642         <bp-checks.h>.
63643         (__getresuid): Do not use CHECK_1.
63644         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
63645         <bp-checks.h>.
63646         (__lxstat): Do not use CHECK_1.
63647         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
63648         <bp-checks.h>.
63649         (__old_msgctl): Do not use CHECK_1.
63650         (__new_msgctl): Likewise.
63651         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
63652         <bp-checks.h>.
63653         (__new_setrlimit): Do not use CHECK_1.
63654         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63655         <bp-checks.h>.
63656         (__old_shmctl): Do not use CHECK_1.
63657         (__new_shmctl): Likewise.
63658         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
63659         <bp-checks.h>.
63660         (__xstat): Do not use CHECK_1.
63661         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
63662         (__lxstat): Do not use CHECK_1.
63663         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
63664         <bp-checks.h>.
63665         (___lxstat64): Do not use CHECK_1.
63666         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
63667         (__old_msgctl): Do not use CHECK_1.
63668         (__new_msgctl): Likewise.
63669         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
63670         <bp-checks.h>.
63671         (__gettimeofday): Do not use CHECK_1.
63672         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
63673         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
63674         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
63675         <bp-checks.h>.
63676         (__gettimeofday): Do not use CHECK_1.
63677         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
63678         (__old_shmctl): Do not use CHECK_1_NULL_OK.
63679         (__new_shmctl): Do not use CHECK_1.
63680         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
63681         <bp-checks.h>.
63682         (do_sigtimedwait): Do not use CHECK_1.
63683         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
63684         <bp-checks.h>.
63685         (do_sigwaitinfo): Do not use CHECK_1.
63686         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
63687         <bp-checks.h>.
63688         (msgctl): Do not use CHECK_1.
63689         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
63690         <bp-checks.h>.
63691         (shmctl): Do not use CHECK_1.
63692         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
63693         (ustat): Do not use CHECK_1.
63694         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
63695         <bp-checks.h>.
63696         (__fxstat): Do not use CHECK_1.
63697         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
63698         <bp-checks.h>.
63699         (__fxstatat): Do not use CHECK_1.
63700         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
63701         <bp-checks.h>.
63702         (__lxstat): Do not use CHECK_1.
63703         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
63704         <bp-checks.h>.
63705         (__xstat): Do not use CHECK_1.
63706         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
63707         (__xstat): Do not use CHECK_1.
63708         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
63709         (___xstat64): Do not use CHECK_1.
63711         [BZ #13550]
63712         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
63713         definitions.
63714         (CHECK_BOUNDS_HIGH): Likewise.
63715         * string/strcpy.c: Do not include <bp-checks.h>.
63716         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
63718 2013-02-07  Roland McGrath  <roland@hack.frob.com>
63720         * nscd/nscd-client.h (__nscd_drop_map_ref):
63721         Add __attribute__ ((unused)).
63722         * nis/nss-nisplus.h (niserr2nss): Likewise.
63724         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
63725         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
63727         * csu/libc-tls.c (init_static_tls, init_slotinfo):
63728         Remove inline keyword.
63729         * include/rounding-mode.h (round_away): Likewise.
63730         * libio/wfileops.c (adjust_wide_data): Likewise.
63731         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
63732         (__m128i_strloadu_tolower): Likewise.
63733         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
63734         (__m128i_strloadu_tolower): Likewise.
63735         * time/mktime.c (ydhms_diff): Likewise.
63736         * locale/elem-hash.h (elem_hash): Likewise.
63737         * locale/setlocale.c (setdata): Likewise.
63738         * posix/regex_internal.h (re_string_char_size_at): Likewise.
63739         (re_string_wchar_at): Likewise.
63740         (bitset_not, bitset_merge, bitset_mask): Likewise.
63741         [!(__GNUC__ > 3)] (inline): Remove macro.
63742         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
63743         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
63744         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
63745         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
63746         * string/memcmp.c (memcmp_bytes): Likewise.
63747         * locale/programs/locarchive.c (compute_hashval): Likewise.
63748         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
63749         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
63750         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
63751         * nss/getent.c (print_rpc, print_protocols): Likewise.
63752         (print_passwd, print_group, print_aliases): Likewise.
63753         * nis/nss-nisplus.h (niserr2nss): Likewise.
63754         * nscd/connections.c (restart_p): Likewise.
63755         Change return type to bool.
63757 2013-02-05  Roland McGrath  <roland@hack.frob.com>
63759         * Makeconfig (all-Depend-files): Add existing
63760         $(sorted-subdirs:=/Depend) files.
63761         (all-subdirs): Remove nss.
63762         * sysdeps/unix/inet/Subdirs: Add it here instead.
63763         * hesiod/Depend: New file.
63765         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
63766         instead of calling alloca.
63768         * io/lseek.c (__lseek): Rename to __libc_lseek.
63769         Define __lseek as an alias.
63771         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
63773 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
63775         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
63776         else clause and remove check for non-standard endianness.
63778 2013-02-04  David S. Miller  <davem@davemloft.net>
63780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63782 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
63784         [BZ #13550]
63785         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
63786         (__ubp_memchr): Remove prototype.
63787         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
63788         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63789         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
63790         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63791         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
63792         Remove alias.
63793         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
63794         (__ubp_memchr): Likewise.
63795         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
63796         (__ubp_memchr): Likewise.
63797         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
63798         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
63799         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
63800         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
63801         CHECK_STRING.
63802         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
63803         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
63804         (__getcwd): Do not use CHECK_STRING.
63805         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63806         <bp-checks.h>.
63807         (__real_chown): Do not use CHECK_STRING.
63808         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
63809         <bp-checks.h>.
63810         (fchownat): Do not use CHECK_STRING.
63811         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
63812         CHECK_STRING.
63813         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63814         <bp-checks.h>.
63815         (__lchown): Do not use CHECK_STRING.
63816         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
63817         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
63818         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
63819         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
63820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63821         include <bp-checks.h>.
63822         (truncate64): Do not use CHECK_STRING.
63823         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63824         <bp-checks.h>.
63825         (__real_chown): Do not use CHECK_STRING.
63826         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63827         <bp-checks.h>.
63828         (__lchown): Do not use CHECK_STRING.
63829         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63830         <bp-checks.h>.
63831         (__chown): Do not use CHECK_STRING.
63832         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
63833         <bp-checks.h>.
63834         (truncate64): Do not use CHECK_STRING.
63835         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
63836         Likewise.
63837         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
63838         (__xmknod): Do not use CHECK_STRING.
63839         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
63840         <bp-checks.h>.
63841         (__xmknodat): Do not use CHECK_STRING.
63842         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
63843         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
63845 2013-02-04  Andreas Schwab  <schwab@suse.de>
63847         [BZ #14142]
63848         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
63849         * include/netdb.h: Likewise for h_errno.
63850         * elf/tst-stackguard1.c: Include <tls.h>.
63852 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
63854         * elf/link.h (struct link_map): Extend the l_addr comment.
63855         * include/link.h (struct link_map): Likewise.
63857 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
63859         [BZ #13550]
63860         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
63861         (BOUNDED_1): Remove macro.
63862         * debug/backtrace.c: Don't include <bp-checks.h>.
63863         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
63864         (__backtrace): Likewise.
63865         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
63866         <bp-checks.h>.
63867         (__backtrace): Don't use BOUNDED_1.
63868         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
63869         <bp-checks.h>.
63870         (__backtrace): Don't use BOUNDED_1.
63871         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
63872         (__backtrace): Don't use BOUNDED_1.
63873         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
63874         (shmat): Don't use BOUNDED_N.
63876 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
63878         [BZ #13550]
63879         * sysdeps/generic/bp-start.h: Remove file.
63880         * csu/libc-start.c: Don't include <bp-start.h>.
63881         (LIBC_START_MAIN): Set up __environ directly instead of using
63882         INIT_ARGV_and_ENVIRON.
63883         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
63884         <bp-start.h>.
63886         [BZ #13550]
63887         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
63888         definitions.
63889         (CHECK_FCNTL): Likewise.
63890         (CHECK_N_PAGES): Likewise.
63892         [BZ #13550]
63893         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
63894         definitions.
63895         (CHECK_SIGSET_NULL_OK): Likewise.
63896         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
63897         <bp-checks.h>.
63898         (sigpending): Don't use CHECK_SIGSET.
63899         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
63900         <bp-checks.h>.
63901         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63902         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
63903         <bp-checks.h>.
63904         (do_sigsuspend): Don't use CHECK_SIGSET.
63905         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
63906         use CHECK_SIGSET.
63907         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
63908         (do_sigwait): Don't use CHECK_SIGSET.
63909         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
63910         use CHECK_SIGSET.
63911         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
63912         include <bp-checks.h>.
63913         (sigpending): Don't use CHECK_SIGSET.
63914         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
63915         include <bp-checks.h>.
63916         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63917         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
63918         <bp-checks.h>.
63919         (sigpending): Don't use CHECK_SIGSET.
63920         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
63921         <bp-checks.h>.
63922         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
63924         [BZ #13550]
63925         * sysdeps/generic/bp-semctl.h: Remove file.
63926         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
63927         <bp-checks.h> and <bp-semctl.h>.
63928         (__old_semctl): Don't use CHECK_SEMCTL.
63929         (__new_semctl): Likewise.
63930         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
63931         and <bp-semctl.h>.
63932         (__old_semctl): Don't use CHECK_SEMCTL.
63933         (__new_semctl): Likewise.
63934         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
63935         <bp-checks.h> and <bp-semctl.h>.
63936         (__old_semctl): Don't use CHECK_SEMCTL.
63937         (__new_semctl): Likewise.
63938         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
63939         <bp-checks.h> and <bp-semctl.h>.
63940         (semctl): Don't use CHECK_SEMCTL.
63942         [BZ #13550]
63943         * Makerules (elide-bp-thunks): Remove variable.
63944         (elide-routines.oS): Don't use $(elide-bp-thunks).
63945         (elide-routines.os): Likewise.
63946         (elide-routines.o): Likewise.
63947         (elide-routines.op): Likewise.
63948         (elide-routines.og): Likewise.
63949         (objects): Don't use $(bp-thunks).
63950         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
63951         include.
63952         (common-generated): Do not add s-proto-bp.d.
63953         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
63954         (int): Likewise.
63955         (typ): Likewise.
63956         Do not generate makefile rules for bounded-pointer thunks.
63957         * sysdeps/generic/bp-thunks.h: Remove file.
63958         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
63959         * sysdeps/unix/s-proto-bp.S: Likewise.
63961         [BZ #15062]
63962         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
63963         parts of result separately when argument is not close to line from
63964         -i to i and one part of argument is small.
63965         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63966         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63967         * math/libm-test.inc (cacos_test): Add more tests.
63968         (casin_test): Likewise.
63969         (casinh_test): Likewise.
63970         * sysdeps/i386/fpu/libm-test-ulps: Update.
63971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63973 2013-01-31  David S. Miller  <davem@davemloft.net>
63975         * po/de.po: Update from translation team.
63977 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
63979         * time/tzfile.c: Include stdint.h for SIZE_MAX.
63981 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
63983         * configure.in (_AC_PROG_CC_C89): New definition.
63984         * configure: Regenerate.
63986         * configure.in (AC_PROG_CPP): New definition.
63987         * configure: Regenerate.
63989 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
63991         * debug/tst-backtrace.h: New file.
63992         * debug/tst-backtrace2.c: Include tst-backtrace.h.
63993         (ret): Remove variable.
63994         (x): Likewise.
63995         (FAIL): Remove macro.
63996         (NO_INLINE): Likewise.
63997         (fn1): Use match function instead of strstr.
63998         * debug/tst-backtrace3.c: Include tst-backtrace.h.
63999         (ret): Remove variable.
64000         (x): Likewise.
64001         (FAIL): Remove macro.
64002         (NO_INLINE): Likewise.
64003         (fn): Use match function instead of strstr.
64004         * debug/tst-backtrace4.c: Include tst-backtrace.h.
64005         (ret): Remove variable.
64006         (x): Likewise.
64007         (FAIL): Remove macro.
64008         (NO_INLINE): Likewise.
64009         (handle_signal): Use match function instead of strstr.
64010         * debug/tst-backtrace5.c: Include tst-backtrace.h.
64011         (ret): Remove variable.
64012         (x): Likewise.
64013         (FAIL): Remove macro.
64014         (NO_INLINE): Likewise.
64015         (handle_signal): Use match function instead of strstr.
64017 2013-01-23  Roland McGrath  <roland@hack.frob.com>
64019         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
64021 2013-01-23  David S. Miller  <davem@davemloft.net>
64023         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
64024         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
64025         argument of CAS if possible.
64026         * sysdeps/sparc/sparc64/bits/atomic.h
64027         (__arch_compare_and_exchange_val_32_acq): Likewise.
64028         (__arch_compare_and_exchange_val_64_acq): Likewise.
64030 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
64032         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
64033         * sysdeps/posix/ulimit.c: ... this.
64034         Include <limits.h>.
64035         * sysdeps/unix/bsd/ulimit.c: Remove file.
64037 2013-01-23  Adam Conrad  <adconrad@0c3.net>
64039         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
64040         (LDFLAGS-tst-array5): Likewise.
64042 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64044         [BZ #15036]
64045         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
64046         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
64047         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
64048         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
64050 2013-01-21  David S. Miller  <davem@davemloft.net>
64052         * sysdeps/sparc/backtrace.c: New file.
64053         * sysdeps/sparc/sparc32/backtrace.h: New file.
64054         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
64055         * sysdeps/sparc/sparc64/backtrace.h: New file.
64056         * sysdeps/sparc/sparc64/backtrace.c: Delete.
64057         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
64058         -funwind-tables.
64060 2013-01-21  Andreas Schwab  <schwab@suse.de>
64062         [BZ #15020]
64063         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
64064         closed its stdout.
64066 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
64068         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
64069         "mpa2.h".
64070         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64072 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
64073             Mark Mitchell  <mark@codesourcery.com>
64074             Tom de Vries  <tom@codesourcery.com>
64075             Paul Pluzhnikov  <ppluzhnikov@google.com>
64077         * debug/tst-backtrace2.c: New file.
64078         * debug/tst-backtrace3.c: Likewise.
64079         * debug/tst-backtrace4.c: Likewise.
64080         * debug/tst-backtrace5.c: Likewise.
64081         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
64082         (CFLAGS-tst-backtrace3.c): Likewise.
64083         (CFLAGS-tst-backtrace4.c): Likewise.
64084         (CFLAGS-tst-backtrace5.c): Likewise.
64085         (LDFLAGS-tst-backtrace2): Likewise.
64086         (LDFLAGS-tst-backtrace3): Likewise.
64087         (LDFLAGS-tst-backtrace4): Likewise.
64088         (LDFLAGS-tst-backtrace5): Likewise.
64089         (tests): Add new tests tst-backtrace2, tst-backtrace3,
64090         tst-backtrace4 and tst-backtrace5.
64092 2013-01-18  Anton Blanchard  <anton@samba.org>
64093             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64095         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
64096         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
64097         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
64098         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
64099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64100         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
64101         "+r" and remove output regs list as redundant.  Add explicit inline
64102         asm to specify register of return val to work around compiler codegen
64103         bug.  Remove (int) cast on return value.  Add return type parameter to
64104         use in macro so that this macro does not truncate return value for
64105         64-bit values.
64106         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
64107         pass to INTERNAL_VSYSCALL_NCS.
64108         (INLINE_VSYSCALL): Add 'long int' as return type to
64109         INTERNAL_VSYSCALL_NCS macro invocation.
64110         (INTERNAL_VSYSCALL): Add 'long int' as return type to
64111         INTERNAL_VSYSCALL_NCS macro invocation.
64112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64114 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64116         [BZ #14496]
64117         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
64118         Fix application of SIMD FP exception mask.
64120         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
64121         mp_no from a power of two.
64122         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
64123         __mpexp_twomm1.  Use __pow_mp.
64125         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
64126         multiplication.
64128 2013-01-17  David S. Miller  <davem@davemloft.net>
64130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64132 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64134         [BZ #15023]
64135         * include/complex.h: Condition contents on [!_COMPLEX_H].
64136         (__kernel_casinhf): New prototype.
64137         (__kernel_casinh): Likewise.
64138         (__kernel_casinhl): Likewise.
64139         * math/Makefile (libm_calls): Add k_casinh.
64140         * math/k_casinh.c: New file.
64141         * math/k_casinhf.c: Likewise.
64142         * math/k_casinhl.c: Likewise.
64143         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
64144         finite nonzero arguments.
64145         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
64146         finite nonzero arguments.
64147         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
64148         finite nonzero arguments.
64149         * math/s_casinh.c: Do not include <float.h>.
64150         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
64151         * math/s_casinhf.c: Do not include <float.h>.
64152         (__casinhf): Move code for finite nonzero arguments to
64153         k_casinhf.c.
64154         * math/s_casinhl.c: Do not include <float.h>.
64155         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
64156         redefine.
64157         (__casinhl): Move code for finite nonzero arguments to
64158         k_casinhl.c.
64159         * math/libm-test.inc (cacos_test): Add more tests.
64160         * sysdeps/i386/fpu/libm-test-ulps: Update.
64161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64163 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
64165         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
64166         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
64167         [!HAVE_MREMAP]: Remove [defined linux] case.
64168         * malloc/arena.c: Do not include <malloc-sysdep.h>.
64170 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64172         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
64174 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
64176         * elf/elf.h (R_386_SIZE32): New relocation.
64177         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
64178         R_386_SIZE32.
64179         (elf_machine_rela): Likewise.
64180         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64181         R_X86_64_SIZE64 and R_X86_64_SIZE32.
64183 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64185         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
64186         (FP_FAST_FMA): Do not define.
64187         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
64188         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
64189         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
64190         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
64191         !_SOFT_FLOAT]: Likewise.
64192         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
64193         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
64194         value.
64195         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
64196         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
64197         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
64198         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
64199         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
64200         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
64201         file.
64203 2013-01-16  Andreas Schwab  <schwab@suse.de>
64205         [BZ #14327]
64206         * include/stdlib.h (__mktemp): Add declaration.
64207         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
64208         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
64210 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64212         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
64213         definitions.
64214         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
64215         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
64216         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
64217         definitions here.
64218         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
64219         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
64220         definitions.
64221         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
64222         and ONE.
64223         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
64224         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
64225         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
64226         definitions.
64227         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
64228         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
64229         definitions.
64230         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
64232         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
64234 2013-01-15  David S. Miller  <davem@davemloft.net>
64236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64237         trunc{,f} to libm-sysdep_routes.
64238         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
64240         file.
64241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
64242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
64243         file.
64244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
64245         file.
64246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
64247         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
64248         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
64249         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
64250         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
64251         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
64252         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
64253         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
64255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64256         nearbyint{,f} to libm-sysdep_routes.
64257         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
64259         New file.
64260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
64261         file.
64262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
64263         New file.
64264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
64265         file.
64266         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
64267         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
64268         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
64269         file.
64270         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
64271         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
64272         file.
64273         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
64274         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
64275         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
64277         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
64278         libc_feholdexcept and libc_fesetenv.
64280 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
64282         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
64284 2013-01-14  David S. Miller  <davem@davemloft.net>
64286         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
64287         (SPARC_ASM_VIS2_IFUNC): Likewise.
64288         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
64289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
64290         use of 'siam' instruction.
64291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
64292         Likewise.
64293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
64294         Likewise.
64295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
64296         Likewise.
64297         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
64298         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
64299         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
64300         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
64301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
64302         file.
64303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
64304         file.
64305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
64306         file.
64307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
64308         file.
64309         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
64310         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
64311         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
64312         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
64313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
64314         new VIS2 routines.
64315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64318         Likewise.
64319         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64320         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64321         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64322         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
64324         routines to libm-sysdep_routines.
64325         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64328         fdim/fdimf to libm-sysdep_routines.
64329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
64330         file.
64331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
64332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
64333         file.
64334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
64335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
64336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
64337         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
64338         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
64339         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
64340         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
64342 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64344         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
64345         to optimize copies.
64347         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
64348         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64349         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64351         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
64352         local variable MPTWO.
64353         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64354         Likewise.
64356 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64358         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
64359         GLOB_NOESCAPE.
64361 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64363         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
64365 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64367         * manual/pattern.texi (glob_t): Document gl_flags.
64368         (glob64_t): Likewise.
64370 2013-01-11  David S. Miller  <davem@davemloft.net>
64372         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
64373         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
64374         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
64375         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
64376         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
64377         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
64378         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
64379         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
64380         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
64381         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
64382         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
64383         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
64384         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
64386         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
64387         sparc V9 rather than using V8 code.
64388         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64389         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64391         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
64392         Move to...
64393         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
64394         Here.
64396 2013-01-11  Roland McGrath  <roland@hack.frob.com>
64398         [BZ #14941]
64399         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
64400         not in the main loop.
64401         * configure: Regenerated.
64403 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
64405         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
64406         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
64407         to just #else.
64408         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
64409         [!__GLIBC_HAVE_LONG_LONG] case.
64410         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
64411         condition to just #else.
64412         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
64413         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
64414         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
64415         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
64416         unconditional.
64417         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
64418         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64419         #elif condition to just #else.
64420         * sysdeps/unix/sysv/linux/sys/sysmacros.h
64421         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
64422         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64423         #elif condition to just #else.
64425 2013-01-11  Steve Ellcey  <sellcey@mips.com>
64427         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
64428         (EF_MIPS_ARCH_64): Fix value.
64429         (EF_MIPS_ARCH_32R2): New.
64430         (EF_MIPS_ARCH_64R2): New.
64432 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
64434         * Makeconfig (+link-pie-before-libc): New.
64435         (+link-pie-after-libc): Likewise.
64436         (+link-pie-tests): Likewise.
64437         (+link-pie): Rewritten.
64438         (link-before-libc): Remove $(config-LDFLAGS).
64439         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
64440         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
64441         (config-LDFLAGS): Renamed to ...
64442         (rtld-LDFLAGS): This.
64443         (rtld-tests-LDFLAGS): New macro.
64444         (link-libc-rpath-link): Likewise.
64445         (link-libc-tests-rpath-link): Likewise.
64446         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
64447         (link-libc): Prepand $(link-libc-rpath-link).
64448         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
64449         (test-program-prefix): New macro.
64450         (test-via-rtld-prefix): Likewise.
64451         (test-program-cmd): Likewise.
64452         (host-test-program-cmd): Likewise.
64453         * Makefile ($(common-objpfx)testrun.sh): Replace
64454         $(run-program-prefix) with $(test-program-prefix).
64455         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
64456         $(rtld-LDFLAGS).
64457         ($(common-objpfx)shlib.lds): Likewise.
64458         (build-module-helper): Likewise.
64459         ($(common-objpfx)format.lds): Likewise.
64460         * Rules (binaries-pie-tests): New.
64461         (binaries-pie-notests): Likewise.
64462         (binaries-pie): Rewritten.
64463         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
64464         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
64465         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
64466         (make-test-out): Replace $(host-built-program-cmd) with
64467         $(host-test-program-cmd).
64468         * config.make.in (build-hardcoded-path-in-tests): New variable.
64469         * configure.in (--enable-hardcoded-path-in-tests): New configure
64470         option.
64471         (hardcoded_path_in_tests): New AC_SUBST.
64472         * configure: Regenerated.
64473         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
64474         $(built-program-cmd) with $(test-program-cmd).
64475         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
64476         (test_program_cmd): This.
64477         * elf/Makefile ($(objpfx)order.out): Run test with
64478         $(test-program-prefix).
64479         ($(objpfx)order2.out): Likewise.
64480         ($(objpfx)tst-initorder.out): Likewise.
64481         ($(objpfx)tst-initorder2.out): Likewise.
64482         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
64483         $(test-program-cmd).
64484         ($(objpfx)tst-array1-static.out): Likewise.
64485         ($(objpfx)tst-array2.out): Likewise.
64486         ($(objpfx)tst-array3.out): Likewise.
64487         ($(objpfx)tst-array4.out): Likewise.
64488         ($(objpfx)tst-array5.out): Likewise.
64489         ($(objpfx)tst-array5-static.out): Likewise.
64490         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
64491         $(test-program-cmd).
64492         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
64493         $(run-program-prefix) with $(test-program-prefix).
64494         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
64495         (test_program_prefix): This.
64496         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
64497         $(run-program-prefix) with $(test-program-prefix).
64498         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
64499         (test_program_prefix): This.
64500         * iconvdata/tst-tables.sh: Likewise.
64501         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
64502         $(run-program-prefix) with $(test-program-prefix).
64503         ($(objpfx)tst-translit.out): Likewise.
64504         ($(objpfx)tst-gettext2.out): Likewise.
64505         ($(objpfx)tst-gettext4.out): Likewise.
64506         ($(objpfx)tst-gettext6.out): Likewise.
64507         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
64508         (test_program_prefix): This.
64509         * intl/tst-gettext2.sh: Likewise.
64510         * intl/tst-gettext4.sh  Likewise.
64511         * intl/tst-gettext6.sh: Likewise.
64512         * intl/tst-translit.sh: Likewise.
64513         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
64514         with $(test-program-cmd).
64515         * libio/Makefile ($(objpfx)test-freopen.out): Replace
64516         $(run-program-prefix) with $(test-program-prefix).
64517         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
64518         (test_program_prefix): This.
64519         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
64520         $(run-program-prefix) with $(test-program-prefix).
64521         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
64522         (test_program_prefix): This.
64523         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
64524         * posix/Makefile ($(objpfx)globtest.out): Replace
64525         $(run-via-rtld-prefix) and $(test-wrapper) with
64526         $(test-program-prefix) and $(test-via-rtld-prefix).
64527         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
64528         $(test-program-prefix).
64529         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
64530         $(host-test-program-cmd).
64531         (tst-spawn-ARGS): Likewise.
64532         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
64533         $(test-program-prefix).
64534         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
64535         (test_via_rtld_prefix): This.
64536         (test_wrapper): Renamed to ...
64537         (test_program_prefix): This.
64538         (run_program_prefix): Replaced by test_program_prefix.
64539         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
64540         (test_program_prefix): This.
64541         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
64542         with $(host-test-program-cmd).
64543         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
64544         $(run-program-prefix) with $(test-program-prefix).
64545         ($(objpfx)tst-printf.out): Likewise.
64546         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
64547         $(test-program-cmd).
64548         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
64549         (test_program_prefix): This.
64550         * stdio-common/tst-unbputc.sh: Likewise.
64551         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
64552         $(run-program-prefix) with $(test-program-prefix).
64553         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
64554         (test_program_prefix): This.
64555         * string/Makefile ($(objpfx)tst-svc.out):  Replace
64556         $(built-program-cmd) with $(test-program-cmd).
64558 2013-01-11  Andreas Jaeger  <aj@suse.de>
64560         [BZ #15003]
64561         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
64562         value. Sync with Linux 3.7.
64564 2013-01-10  David S. Miller  <davem@davemloft.net>
64566         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
64567         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64568         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64570 2013-01-10  Roland McGrath  <roland@hack.frob.com>
64572         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
64573         never set.
64574         * configure: Regenerated.
64576 2013-01-10  David S. Miller  <davem@davemloft.net>
64578         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
64579         sparc V9 rather than using V8 code.
64580         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64581         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64583 2013-01-10  Roland McGrath  <roland@hack.frob.com>
64585         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
64586         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
64587         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
64588         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
64589         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
64590         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
64591         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
64592         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
64593         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
64594         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
64595         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
64596         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
64597         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
64598         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
64599         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
64600         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
64601         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
64602         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
64603         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
64604         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
64605         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
64606         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
64607         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
64608         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
64609         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
64610         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
64611         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
64613 2013-01-10  David S. Miller  <davem@davemloft.net>
64615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64617 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
64619         * posix/Makefile (tests-static): New variable.
64620         (tests): Add $(tests-static).
64621         (tst-exec-static-ARGS): New variable.
64622         (tst-spawn-static-ARGS): Likewise.
64623         * posix/tst-exec-static.c: New file.
64624         * posix/tst-spawn-static.c: Likewise.
64625         * posix/tst-exec.c: Support run directly.
64626         * posix/tst-spawn.c: Likewise.
64628 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
64630         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
64631         long.
64632         * math/bits/mathcalls.h (llrint): Likewise.
64633         (llround): Likewise.
64634         * stdlib/stdlib.h (struct drand48_data): Likewise.
64635         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
64636         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
64637         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
64638         Likewise.
64639         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
64640         Likewise.
64641         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
64642         (elf_greg_t): Likewise.
64643         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
64644         (__jmp_buf): Likewise.
64645         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
64646         definitions.
64647         (llrint): Likewise, for all definitions.
64648         (llrintl): Likewise.
64650         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
64651         Remove [__GNUC__] condition.
64652         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
64653         condition to just [__USE_ISOC99].
64654         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
64656 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
64658         [BZ #14200]
64659         * sysdeps/unix/sysv/linux/x86/bits/environments.h
64660         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
64661         defined.
64662         (_POSIX_V6_ILP32_OFF32): Likewise.
64663         (_XBS5_ILP32_OFF32): Likewise.
64664         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
64665         (__ILP32_OFFBIG_LDFLAGS): Likewise.
64667 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64669         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
64671         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
64672         doubles __mpexp_twomm1.  Adjust usage.
64673         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
64674         Remove.
64676 2013-01-10  Andreas Schwab  <schwab@suse.de>
64678         [BZ #14964]
64679         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
64680         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
64682 2013-01-09  David S. Miller  <davem@davemloft.net>
64684         [BZ #15003]
64685         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
64686         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
64687         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
64688         (TCP_FASTOPEN): Define.
64689         (tcp_repair_opt): New structure.
64690         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
64691         enum values.
64692         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
64693         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
64694         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
64695         (tcp_cookie_transactions): New structure.
64697 2013-01-09  Anton Blanchard  <anton@samba.org>
64699         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
64700         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
64701         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
64702         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
64704 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
64706         * include/features.h (__USE_ANSI): Remove.
64708 2013-01-09  Roland McGrath  <roland@hack.frob.com>
64710         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
64712         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
64714 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
64716         * sysdeps/s390/fpu/libm-test-ulps: Update.
64718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64720         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
64721         (__acr): Likewise.
64722         (__cpy): Likewise.
64723         (norm): Likewise.
64724         (denorm): Likewise.
64725         (__mp_dbl): Likewise.
64726         (__dbl_mp): Likewise.
64727         (add_magnitudes): Likewise.
64728         (sub_magnitudes): Likewise.
64729         (__add): Likewise.
64730         (__sub): Likewise.
64731         (__mul): Likewise.
64732         (__inv): Likewise.
64733         (__dvd): Likewise.
64734         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
64735         (__acr): Likewise.
64736         (__cpy): Likewise.
64737         (norm): Likewise.
64738         (denorm): Likewise.
64739         (__mp_dbl): Likewise.
64740         (__dbl_mp): Likewise.
64741         (add_magnitudes): Likewise.
64742         (sub_magnitudes): Likewise.
64743         (__add): Likewise.
64744         (__sub): Likewise.
64745         (__mul): Likewise.
64746         (__inv): Likewise.
64747         (__dvd): Likewise.
64748         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
64749         (__acr): Likewise.
64750         (__cpy): Likewise.
64751         (norm): Likewise.
64752         (denorm): Likewise.
64753         (__mp_dbl): Likewise.
64754         (__dbl_mp): Likewise.
64755         (add_magnitudes): Likewise.
64756         (sub_magnitudes): Likewise.
64757         (__add): Likewise.
64758         (__sub): Likewise.
64759         (__mul): Likewise.
64760         (__inv): Likewise.
64761         (__dvd): Likewise.
64763 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
64765         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
64766         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
64767         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
64768         2 && __USE_EXTERN_INLINES]: Likewise.
64770 2013-01-08  Andreas Jaeger  <aj@suse.de>
64772         [BZ# 14985]
64773         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
64774         Remove.
64775         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64776         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64778 2013-01-07  Anton Blanchard  <anton@samba.org>
64780         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
64781         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
64782         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
64783         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
64784         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64785         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64786         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
64787         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
64788         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64789         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64790         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64791         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64792         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
64793         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64794         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
64795         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64796         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64797         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64798         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
64799         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64800         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
64801         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
64802         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64803         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
64804         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
64805         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64806         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
64807         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
64808         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
64809         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
64810         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
64811         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64812         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64813         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
64814         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
64815         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64816         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64817         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64818         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
64819         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
64820         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
64821         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64822         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
64824 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
64826         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
64827         (__MALLOC_PMT): Likewise.
64828         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
64829         [__GNUC__], only on [_LIBC].
64830         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
64831         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
64832         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
64833         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
64834         forward declaration.
64835         (realloc_hook_ini): Likewise.
64836         (memalign_hook_ini): Likewise.
64837         (__libc_memalign): Do not use __MALLOC_PMT in variable
64838         declaration.
64839         (__libc_valloc): Likewise.
64840         (__libc_pvalloc): Likewise.
64841         (__libc_calloc): Likewise.
64842         (__posix_memalign): Likewise.
64844         [BZ #14996]
64845         * math/s_casinh.c: Include <float.h>.
64846         (__casinh): Do not do computation with squaring and square root
64847         for large arguments.
64848         * math/s_casinhf.c: Include <float.h>.
64849         (__casinhf): Do not do computation with squaring and square root
64850         for large arguments.
64851         * math/s_casinhl.c: Include <float.h>.
64852         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
64853         (__casinhl): Do not do computation with squaring and square root
64854         for large arguments.
64855         * math/libm-test.inc (casin_test): Add more tests.
64856         (casinh_test): Likewise.
64857         * sysdeps/i386/fpu/libm-test-ulps: Update.
64858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64860 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
64862         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
64863         (__x86_64_raw_data_cache_size): Likewise.
64864         (__x86_64_data_cache_size_half): Likewise.
64865         (__x86_64_raw_data_cache_size_half): Likewise.
64866         (__x86_64_shared_cache_size): Likewise.
64867         (__x86_64_raw_shared_cache_size): Likewise.
64868         (__x86_64_shared_cache_size_half): Likewise.
64869         (__x86_64_raw_shared_cache_size_half): Likewise.
64870         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
64871         to ...
64872         (__x86_data_cache_size): This.
64873         (__x86_64_raw_data_cache_size): Renamed to ...
64874         (__x86_raw_data_cache_size): This.
64875         (__x86_64_data_cache_size_half): Renamed to ...
64876         (__x86_data_cache_size_half): This.
64877         (__x86_64_raw_data_cache_size_half): Renamed to ...
64878         (__x86_raw_data_cache_size_half): This.
64879         (__x86_64_shared_cache_size): Renamed to ...
64880         (__x86_shared_cache_size): This.
64881         (__x86_64_raw_shared_cache_size): Renamed to ...
64882         (__x86_raw_shared_cache_size): This.
64883         (__x86_64_shared_cache_size_half): Renamed to ...
64884         (__x86_shared_cache_size_half): This.
64885         (__x86_64_raw_shared_cache_size_half): Renamed to ...
64886         (__x86_raw_shared_cache_size_half): This.
64887         * sysdeps/x86_64/memcpy.S: Updated.
64888         * sysdeps/x86_64/memset.S: Likewise.
64889         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
64890         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64891         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64893 2013-01-04  David S. Miller  <davem@davemloft.net>
64895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64897 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
64899         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
64900         1 to avoid redefinition warning.
64901         (__USE_GNU): Don't define.
64902         (init_signaling_nan): Protoize.
64904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64906 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64908         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
64909         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
64910         (__cpymn): Likewise.
64911         (norm): Remove commented code.
64912         (denorm): Likewise.
64913         (__mp_dbl): Likewise.
64914         (__inv): Likewise.
64915         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
64916         (__cpymn): Likewise.
64917         (norm): Remove commented code.
64918         (denorm): Likewise.
64919         (__mp_dbl): Likewise.
64920         (__inv): Likewise.
64922         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
64923         mp_no value for 1.0 and 2.0.
64924         (norm): Use RADIXI instead of radixi.d.
64925         (denorm): Likewise.
64926         (__mul): Use 0.0 instead of zero.d.
64927         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
64928         mp_no value for 1.0 and 2.0.
64929         (norm): Use RADIXI instead of radixi.d.
64930         (denorm): Likewise.
64931         (__mul): Use 0.0 instead of zero.d.
64933 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
64935         [BZ #14994]
64936         * math/s_casinh.c (__casinh): Reduce finite argument to first
64937         quadrant then set signs of results at the end.
64938         * math/s_casinhf.c (__casinhf): Likewise.
64939         * math/s_casinhl.c (__casinhl): Likewise.
64940         * math/libm-test.inc (casin_test): Add more tests.
64941         (casinh_test): Likewise.
64942         * sysdeps/i386/fpu/libm-test-ulps: Update.
64943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64945 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64947         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
64949         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
64951         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
64952         declarations.
64953         (denorm): Likewise.
64954         (__mp_dbl): Likewise.
64955         (__inv): Likewise.
64957         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
64958         and adjust the header comment.
64960         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
64961         variable name from declaration.
64963 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
64965         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64966         Initialize COMMON_CPUID_INDEX_7 element.
64967         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
64968         (CPUID_RTM): Likewise.
64969         (HAS_RTM): Likewise.
64970         (COMMON_CPUID_INDEX_7): New enum.
64972 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
64974         [BZ #14981]
64975         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
64976         size is zero, record memory as freed.
64978 2013-01-03  Andreas Jaeger  <aj@suse.de>
64980         * po/ia.po: Add new Interlingua translation.
64982 2012-01-03  Allan McRae  <allan@archlinux.org>
64984         * locale/programs/localedef.c: Fix description of '--posix' flag.
64986 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
64988         * NEWS: Update dates in second copyright notice.
64989         * README: Update copyright dates in example.
64990         * manual/libc.texinfo: Update copyright dates.
64991         * scripts/test-installation.pl: Update copyright date in --version
64992         output.
64994         * hurd/ctty-input.c: Fix copyright notice formatting.
64995         * hurd/ctty-output.c: Likewise.
64996         * hurd/dtable.c: Likewise.
64997         * hurd/hurd-raise.c: Likewise.
64998         * hurd/hurdprio.c: Likewise.
64999         * hurd/msgportdemux.c: Likewise.
65000         * misc/sys/file.h: Likewise.
65001         * misc/sys/ioctl.h: Likewise.
65002         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
65003         * sysdeps/mach/hurd/chdir.c: Likewise.
65004         * sysdeps/mach/hurd/fchdir.c: Likewise.
65005         * sysdeps/mach/hurd/rename.c: Likewise.
65006         * sysdeps/mach/hurd/rmdir.c: Likewise.
65007         * sysdeps/mach/hurd/seekdir.c: Likewise.
65008         * sysdeps/mach/hurd/setsid.c: Likewise.
65009         * sysdeps/posix/wait3.c: Likewise.
65011         * All files with FSF copyright notices: Update copyright dates
65012         using scripts/update-copyrights.
65013         * intl/plural.c: Regenerated.
65014         * locale/programs/charmap-kw.h: Likewise.
65015         * locale/programs/locfile-kw.h: Likewise.
65017 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65019         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
65020         four values.
65022         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
65023         calculation loop and add branch prediction.
65025         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
65026         check access beyond bounds of m1np.
65028         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65029         MPTWO.
65030         (__inv): Remove local variable MPTWO to use the global
65031         constant.
65032         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
65033         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65034         variable MPTWO.
65035         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
65036         MP3HALFS static const.
65038 2013-01-01  David S. Miller  <davem@davemloft.net>
65040         * po/ca.po: Update from translation team.
65042 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
65044         * scripts/update-copyrights: New file.
65045         * Makeconfig: Reformat copyright notice.
65046         * ctype/ctype.h: Likewise.
65047         * debug/swprintf_chk.c: Likewise.
65048         * elf/dl-cache.c: Likewise.
65049         * elf/dl-debug.c: Likewise.
65050         * elf/dl-object.c: Likewise.
65051         * grp/initgroups.c: Likewise.
65052         * hurd/Makefile: Likewise.
65053         * hurd/hurd/signal.h: Likewise.
65054         * hurd/hurdfault.c: Likewise.
65055         * hurd/hurdioctl.c: Likewise.
65056         * hurd/hurdlookup.c: Likewise.
65057         * hurd/intr-msg.c: Likewise.
65058         * iconv/gconv_open.c: Likewise.
65059         * libio/swprintf.c: Likewise.
65060         * locale/lc-ctype.c: Likewise.
65061         * locale/nl_langinfo.c: Likewise.
65062         * mach/Machrules: Likewise.
65063         * mach/Makefile: Likewise.
65064         * malloc/obstack.h: Likewise.
65065         * manual/Makefile: Likewise.
65066         * manual/tsort.awk: Likewise.
65067         * misc/bits/stab.def: Likewise.
65068         * nis/nis_print_group_entry.c: Likewise.
65069         * nis/nis_table.c: Likewise.
65070         * nis/nss_compat/compat-pwd.c: Likewise.
65071         * nis/nss_compat/compat-spwd.c: Likewise.
65072         * po/Makefile: Likewise.
65073         * posix/fnmatch.c: Likewise.
65074         * posix/regex.h: Likewise.
65075         * resolv/Makefile: Likewise.
65076         * resolv/nss_dns/dns-network.c: Likewise.
65077         * resolv/res_hconf.c: Likewise.
65078         * scripts/gen-sorted.awk: Likewise.
65079         * soft-fp/soft-fp.h: Likewise.
65080         * stdio-common/printf.h: Likewise.
65081         * stdlib/monetary.h: Likewise.
65082         * stdlib/random.c: Likewise.
65083         * stdlib/random_r.c: Likewise.
65084         * sysdeps/generic/Makefile: Likewise.
65085         * sysdeps/gnu/Makefile: Likewise.
65086         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65087         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65088         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65089         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65090         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65091         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65092         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65093         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65094         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65095         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65096         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65097         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65098         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65099         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65100         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
65101         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65102         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65103         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65104         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65105         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65106         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65107         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65108         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65109         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65110         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
65111         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65112         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
65113         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
65114         * sysdeps/mach/hurd/errnos.awk: Likewise.
65115         * sysdeps/mach/hurd/fork.c: Likewise.
65116         * sysdeps/mach/hurd/getcwd.c: Likewise.
65117         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
65118         * sysdeps/mach/hurd/mmap.c: Likewise.
65119         * sysdeps/mach/hurd/utimes.c: Likewise.
65120         * sysdeps/mach/hurd/xmknod.c: Likewise.
65121         * sysdeps/posix/profil.c: Likewise.
65122         * sysdeps/posix/readdir_r.c: Likewise.
65123         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65124         * sysdeps/powerpc/bits/setjmp.h: Likewise.
65125         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
65126         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65127         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65128         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65129         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65130         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65131         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65132         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65133         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65134         * sysdeps/pthread/lio_listio.c: Likewise.
65135         * sysdeps/sparc/dl-procinfo.h: Likewise.
65136         * sysdeps/unix/i386/sysdep.S: Likewise.
65137         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
65138         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
65139         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
65140         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
65141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65142         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
65143         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
65144         * sysdeps/unix/sysv/linux/speed.c: Likewise.
65145         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
65146         * sysdeps/wordsize-32/divdi3.c: Likewise.
65147         * time/sys/time.h: Likewise.
65148         * wcsmbs/Makefile: Likewise.
65150 2013-01-01  David S. Miller  <davem@davemloft.net>
65152         * po/fr.po: Update from translation team.
65154         * catgets/gencat.c: Update copyright year.
65155         * csu/version.c: Likewise.
65156         * debug/catchsegv.sh: Likewise.
65157         * debug/pcprofiledump.c: Likewise.
65158         * debug/xtrace.sh: Likewise.
65159         * elf/ldconfig.c: Likewise.
65160         * elf/ldd.bash.in: Likewise.
65161         * elf/pldd.c: Likewise.
65162         * elf/sotruss.ksh: Likewise.
65163         * elf/sprof.c: Likewise.
65164         * iconv/iconv_prog.c: Likewise.
65165         * iconv/iconvconfig.c: Likewise.
65166         * locale/programs/locale.c: Likewise.
65167         * locale/programs/localedef.c: Likewise.
65168         * login/programs/pt_chown.c: Likewise.
65169         * malloc/memusage.sh: Likewise.
65170         * malloc/memusagestat.c: Likewise.
65171         * malloc/mtrace.pl: Likewise.
65172         * nscd/nscd.c: Likewise.
65173         * nss/getent.c: Likewise.
65174         * nss/makedb.c: Likewise.
65175         * posix/getconf.c: Likewise.
65177 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65179         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
65180         numbers.
65182 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
65184         * math/bits/mathcalls.h (modf): Use __nonnull.
65186 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65188         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
65189         (split): Use macro CN instead of the bare value.
65190         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
65191         could be used.
65192         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
65193         instead of the bare value.
65194         (power1): Likewise.
65196 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65198         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
65199         __ATAN_TWOM.
65200         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65202         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
65203         their values.
65204         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65205         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65206         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
65207         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65209 2012-12-28  Andreas Jaeger  <aj@suse.de>
65211         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
65212         values are from Linux 3.7.
65214         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
65215         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
65217 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65219         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
65220         TRUE case.
65222         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
65223         (norm): Likewise.
65224         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
65225         variables with preprocessor constants.
65226         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65227         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65228         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65230 2012-12-27  Bruno Haible  <bruno@clisp.org>
65232         [BZ #14317]
65233         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
65234         only if needed.
65236 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65238         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
65239         and use variable directly.
65240         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
65242         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65243         MPONE.
65244         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
65245         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65246         variable MPONE.
65247         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65248         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65249         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
65250         include directive.  Remove local variable MPONE.
65251         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
65252         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
65253         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65255 2012-12-25  David S. Miller  <davem@davemloft.net>
65257         * version.h (RELEASE): Set to "development".
65258         (VERSION): Set to "2.17.90".
65259         * NEWS: Add 2.18 section.
65261 2012-12-21  David S. Miller  <davem@davemloft.net>
65263         * po/hr.po: Update from translation team.
65265 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65267         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
65269 2012-12-19  Steve Ellcey  <sellcey@mips.com>
65271         * NEWS:  Mention new memcpy for MIPS.
65273 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65275         * manual/contrib.texi (Contributors): Spelling correction.
65277 2012-12-15  David S. Miller  <davem@davemloft.net>
65279         * po/ru.po: Update from translation team.
65281 2012-12-13  David S. Miller  <davem@davemloft.net>
65283         * NEWS: Mention IFUNC testsuite enhancements.
65285         * po/pl.po: Update from translation team.
65286         * po/bg.po: Likewise.
65288         * manual/contrib.texi (Contributors): Update entries for Hongjiu
65289         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
65291 2012-12-11  David S. Miller  <davem@davemloft.net>
65293         * po/sv.po: Update from translation team.
65295         * po/vi.po: Update from translation team.
65297         * po/cs.po: Update from translation team.
65299         * po/de.po: Update from translation team.
65300         * po/eo.po: Likewise.
65301         * po/nl.po: Likewise.
65303 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65305         [BZ #14246]
65306         * manual/argp.texi (Argp Helper Functions): Move node to follow
65307         Argp Parsing State.
65309         [BZ #14872]
65310         * manual/conf.texi (Limits on File System Capacity): Mention if
65311         terminating null is included in the max size.
65313 2012-12-10  Andreas Jaeger  <aj@suse.de>
65315         * po/cs.po: Update from translation team.
65317 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
65319         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
65320         void pointer and cast to uintptr_t.
65321         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
65322         path.
65323         * sysdeps/s390/s390-64/memcpy.S: Likewise.
65324         * sysdeps/s390/s390-64/memset.S: Likewise.
65326 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
65328         [BZ #14833]
65329         * menual/message.texi (Message Translation): Fix typos.
65330         (Helper programs for gettext): Likewise.
65332 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
65334         [BZ #14898]
65335         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
65336         Change to -1.
65338 2012-12-07  David S. Miller  <davem@davemloft.net>
65340         * po/libc.pot: Update.
65342 2012-12-07  Richard Henderson  <rth@redhat.com>
65344         [BZ #10114]
65345         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
65346         normal/normal case to before the switch.
65347         (_FP_DIV): Likewise.
65349 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
65350             Mike Frysinger  <vapier@gentoo.org>
65352         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
65353         check for __NR_fadvise64_64.
65355 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
65357         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
65358         0, not just to plain "0" as a statement.
65359         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
65360         with cw.
65362 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
65364         * NEWS: Use sourceware.org in Bugzilla URL.
65366 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
65368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
65369         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
65371         * stdio-common/tst-put-error.c (do_test): Add newline to the
65372         padded test to ensure flush.
65374 2012-12-05  Jeff Law  <law@redhat.com>
65376         * sunrpc/etc.rpc (fedfs_admin): Add entry.
65378 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
65380         * README: Don't refer to ports add-on as distributed separately.
65381         Mention AArch64 in list of systems supported in the ports add-on.
65383         * LICENSES: Add more non-FSF copyright and license notices.
65385         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
65386         ((unused)).
65388         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
65390         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
65391         10000 as width of padded output.
65393 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65395         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
65397         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
65398         variable LX with __attribute__ ((unused)).
65399         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
65400         Likewise.
65401         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
65402         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65403         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
65404         with __attribute__ ((unused)).
65406 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
65408         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
65410 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65412         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
65413         (CFLAGS-nldbl-acos.c): New variable.
65414         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
65415         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
65416         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
65417         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
65418         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
65419         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
65420         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
65421         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
65422         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
65423         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
65424         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
65425         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
65426         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
65427         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
65428         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
65429         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
65430         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
65431         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
65432         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
65433         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
65434         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
65435         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
65436         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
65437         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
65438         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
65439         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
65440         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
65441         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
65442         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
65443         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
65444         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
65445         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
65446         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
65447         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
65448         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
65449         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
65450         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
65451         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
65452         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
65453         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
65454         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
65455         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
65456         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
65457         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
65458         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
65459         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
65460         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
65461         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
65462         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
65463         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
65464         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
65465         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
65466         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
65467         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
65468         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
65469         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
65470         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
65471         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
65472         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
65473         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
65474         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
65475         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
65476         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
65477         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
65478         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
65479         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
65480         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
65481         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
65482         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
65483         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
65484         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
65485         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
65486         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
65487         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
65488         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
65489         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
65490         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
65491         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
65492         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
65493         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
65494         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
65495         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
65496         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
65497         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
65498         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
65499         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
65500         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
65501         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
65502         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
65503         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
65504         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
65505         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
65506         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
65507         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
65508         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
65509         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
65510         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
65512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65513         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
65515         [BZ #14914]
65516         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
65517         whole low double instead of just low 47 bits when splitting values
65518         into two parts.
65520 2012-12-03  Allan McRae  <allan@archlinux.org>
65522         * manual/stdio.texi (Predefined Printf Handlers): Remove
65523         @hsep and @vsep usage.
65525 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
65527         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
65528         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
65530 2012-12-03  Jeff Law  <law@redhat.com>
65532         * time/sys/time.h (settimeofday): Do not mark TV argument
65533         as __nonnull.
65535 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
65537         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
65538         when currently writing and seek to current position when not.
65539         * libio/Makefile (tests): Remove bug-fclose1.
65540         * libio/bug-fclose1.c: Delete.
65542 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
65544         * manual/arith.texi (feenableexcept): Fix typo.
65545         (fedisableexcept): Likewise.
65547 2012-11-30  Roland McGrath  <roland@hack.frob.com>
65549         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
65550         second, differently-typed declaration, rather than a cast.
65552 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65554         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
65555         * include/rpc/svc.h: ... here.
65557 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
65559         [BZ #13013]
65560         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
65561         depending n and resplen2 to catch cases where answer
65562         equals answerp2.
65564 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
65566         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
65567         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
65569 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
65571         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
65573 2012-11-29  Roland McGrath  <roland@hack.frob.com>
65575         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
65577 2012-11-28  Jeff Law  <law@redhat.com>
65579         [BZ #13761]
65580         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
65581         dataset_temporary.  Track alloca usage into alloca_used.
65582         If dataset is large allocate and release it via malloc/free.
65584 2012-06-04  Florian Weimer  <fweimer@redhat.com>
65586         [BZ #14197]
65587         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
65589 2012-11-28  David S. Miller  <davem@davemloft.net>
65591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65593 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
65595         [BZ #14803]
65596         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
65597         of pi/2 rounded to nearest to 64 bits.
65598         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
65599         nearest to 64 bits.
65600         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
65601         bits.
65603 2012-11-28  Jeff Law <law@redhat.com>
65604             Martin Osvald <mosvald@redhat.com>
65606         [BZ #14889]
65607         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
65608         * sunrpc/svc.c: Include time.h.
65609         (__svc_accept_failed): New function.
65610         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
65611         any reason other than EINTR, call __svc_accept_failed.
65612         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
65613         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
65615 2012-11-28  Andreas Schwab  <schwab@suse.de>
65617         * scripts/abilist.awk: Also handle indirect functions in .opd
65618         section.
65620 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
65622         [BZ #13881]
65623         * sysdeps/x86/fpu/powl_helper.c: New file.
65624         * sysdeps/x86/fpu/Makefile: Likewise.
65625         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
65626         (p3): New object.
65627         (__ieee754_powl): Use __powl_helper for finite arguments except
65628         integer exponents below 8.
65629         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
65630         (p3): New object.
65631         (__ieee754_powl): Use __powl_helper for finite arguments except
65632         integer exponents below 8.
65633         * math/libm-test.inc (pow_test): Add more tests and enable some
65634         previously disabled tests.
65635         * sysdeps/i386/fpu/libm-test-ulps: Update.
65636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65638 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65639             Carlos O'Donell  <carlos_odonell@mentor.com>
65641         * nss/makedb.c (is_prime): Assert that input is odd and greater
65642         than 4.  Note that fact in a comment too.
65643         (next_prime): Add 4 to input.
65645 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65647         [BZ #11741]
65648         * libio/Makefile (tests): Add test case tst-fwrite-error.
65649         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
65650         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
65651         * libio/tst-fwrite-error.c: New test case.
65653 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
65655         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
65656         before casting to void *.
65657         * include/libc-internal.h (__pointer_type): New macro.
65658         (__integer_if_pointer_type_sub): Likewise.
65659         (__integer_if_pointer_type): Likewise.
65660         (cast_to_integer): Likewise.
65661         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
65662         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
65663         before casting to atomic64_t.
65664         (atomic_exchange_acq): Likewise.
65665         (__arch_exchange_and_add_body): Likewise.
65666         (__arch_add_body): Likewise.
65667         (atomic_add_negative): Likewise.
65668         (atomic_add_zero): Likewise.
65670 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
65672         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
65673         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
65674         (add_fdes): Likewise.
65675         (linear_search_fdes): Likewise.
65676         (binary_search_unencoded_fdes): Likewise.
65678 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
65680         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
65682 2012-11-24  Adam Conrad  <adconrad@0c3.net>
65684         * configure.in: Autodetect C++ header directories.
65685         * configure: Regenerated.
65687 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
65689         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
65691 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
65693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65695 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
65697         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
65698         LDBL_MANT_DIG == 106]: Disable some tests.
65699         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
65700         Likewise.
65701         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
65702         Likewise.
65704         [BZ #14871]
65705         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
65706         input for small inputs.  Return +/- pi/2 for large inputs.
65707         * math/libm-test.inc (atan_test): Add more tests.
65709         * sysdeps/generic/unwind-dw2-fde-glibc.c
65710         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
65711         __attribute__ ((unused)).
65713         [BZ #14645]
65714         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
65715         x * y if x and y are nonzero and z is zero.
65717         [BZ #14811]
65718         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
65719         nonzero exponents with absolute value below 0x1p-117 to +/-
65720         0x1p-117.
65722         [BZ #14869]
65723         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
65724         up arguments below 2**-450, not just those below 2**-500.
65725         * math/libm-test.inc (hypot_test): Add another test.
65727         [BZ #14868]
65728         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
65729         Return a+b for ratio over 2**120, not 2**60.
65730         * math/libm-test.inc (hypot_test): Add another test.
65732         * math/libm-test.inc (clog_test): Use
65733         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
65734         (clog10_test): Likewise.
65736         [BZ #6778]
65737         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
65739 2012-11-22  Andreas Schwab  <schwab@suse.de>
65741         * sysdeps/i386/fpu/libm-test-ulps: Update.
65743 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
65745         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
65746         printf output with newline.
65748 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
65750         [BZ #14865]
65751         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
65752         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
65753         -z nodlopen, -z initfirst and -z execstack support.
65754         * configure: Regenerated.
65756         * elf/elf.h (DF_1_NODIRECT): New macro.
65757         (DF_1_IGNMULDEF): Likewise.
65758         (DF_1_NOKSYMS): Likewise.
65759         (DF_1_NOHDR): Likewise.
65760         (DF_1_EDITED): Likewise.
65761         (DF_1_NORELOC): Likewise.
65762         (DF_1_SYMINTPOSE): Likewise.
65763         (DF_1_GLOBAUDIT): Likewise.
65764         (DF_1_SINGLETON): Likewise.
65765         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
65766         DT_1_SUPPORTED_MASK bits.
65767         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
65769 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
65771         * sysdeps/unix/make-syscalls.sh: Document prefixes.
65773 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
65775         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
65776         macro.
65778         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
65779         (sendmmsg): Move declarations...
65780         * socket/sys/socket.h: ... here.
65781         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
65782         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
65783         include it from...
65784         * socket/recvmmsg.c: ... this new file.
65785         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
65786         (sendmmsg): Rename to __sendmmsg, create weak alias and make
65787         definition of __sendmmsg hidden.
65788         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
65789         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
65790         Move ENOSYS stub into and include it from...
65791         * socket/sendmmsg.c: ... this new file.
65792         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
65793         (sysdep_routines): Move recvmmsg and sendmmsg...
65794         * socket/Makefile (routines): ... here.
65795         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
65796         (GLIBC_PRIVATE): Add __sendmmsg.
65797         * include/sys/socket.h (__sendmmsg): Add declarations.
65798         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
65799         sendmmsg.
65801 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
65803         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
65804         variable I1 with __attribute__ ((unused)).
65805         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
65807 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
65809         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
65810         DUMMY variables with __attribute__ ((unused)).
65812         * bits/byteswap.h: Include <bits/types.h>.
65813         (__bswap_64): Use __uint64_t instead of unsigned long long int.
65815 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
65817         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
65818         string_t.  Do not manually set errno.
65819         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
65820         length with __strnlen.  Make sure to both set errno and return it on
65821         failure.
65823 2012-11-19  David S. Miller  <davem@davemloft.net>
65825         With help from Joseph Myers.
65826         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
65827         very large arguments properly.
65828         * math/libm-test.inc (atan_test): New tests.
65829         (atan2_test): New tests.
65830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65831         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65833 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
65835         [BZ #14856]
65836         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
65837         Define to 3.
65839         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
65840         [POSIX] (EADDRNOTAVAIL): Likewise.
65841         [POSIX] (EAFNOSUPPORT): Likewise.
65842         [POSIX] (EALREADY): Likewise.
65843         [POSIX] (ECONNABORTED): Likewise.
65844         [POSIX] (ECONNREFUSED): Likewise.
65845         [POSIX] (ECONNRESET): Likewise.
65846         [POSIX] (EDESTADDRREQ): Likewise.
65847         [POSIX] (EDQUOT): Likewise.
65848         [POSIX] (EHOSTUNREACH): Likewise.
65849         [POSIX] (EIDRM): Likewise.
65850         [POSIX] (EISCONN): Likewise.
65851         [POSIX] (ELOOP): Likewise.
65852         [POSIX] (EMULTIHOP): Likewise.
65853         [POSIX] (ENETDOWN): Likewise.
65854         [POSIX] (ENETUNREACH): Likewise.
65855         [POSIX] (ENOBUFS): Likewise.
65856         [POSIX] (ENODATA): Likewise.
65857         [POSIX] (ENOLINK): Likewise.
65858         [POSIX] (ENOMSG): Likewise.
65859         [POSIX] (ENOPROTOOPT): Likewise.
65860         [POSIX] (ENOSR): Likewise.
65861         [POSIX] (ENOSTR): Likewise.
65862         [POSIX] (ENOTCONN): Likewise.
65863         [POSIX] (ENOTSOCK): Likewise.
65864         [POSIX] (EOPNOTSUPP): Likewise.
65865         [POSIX] (EOVERFLOW): Likewise.
65866         [POSIX] (EPROTO): Likewise.
65867         [POSIX] (EPROTONOSUPPORT): Likewise.
65868         [POSIX] (EPROTOTYPE): Likewise.
65869         [POSIX] (ESTALE): Likewise.
65870         [POSIX] (ETIME): Likewise.
65871         [POSIX] (ETXTBSY): Likewise.
65872         [POSIX] (EWOULDBLOCK): Likewise.
65873         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
65874         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
65875         [POSIX] (SEEK_CUR): Likewise.
65876         [POSIX] (SEEK_END): Likewise.
65877         [POSIX || UNIX98] (mode_t): Do not require.
65878         [POSIX] (off_t): Likewise.
65879         [POSIX] (pid_t): Likewise.
65880         [POSIX] (sys/stat.h): Do not allow header.
65881         [POSIX] (unistd.h): Likewise.
65882         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
65883         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
65884         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
65885         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
65886         require.
65887         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
65888         sigevent): Specify elements.
65889         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
65890         entry.
65891         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
65892         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
65894         * conform/data/cpio.h-data [POSIX]: Disable whole file.
65895         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
65896         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
65897         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
65898         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
65899         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
65900         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
65901         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
65902         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
65903         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
65904         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
65905         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
65906         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
65907         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
65908         Likewise.
65909         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
65910         Likewise.
65911         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
65912         Likewise.
65913         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
65914         Likewise.
65915         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
65916         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
65917         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
65918         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
65919         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
65920         Specify lower bound on value.
65921         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
65922         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
65923         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
65924         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
65925         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
65926         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
65927         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
65928         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
65929         value.
65930         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
65931         as optional.
65932         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
65933         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
65934         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
65935         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
65936         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
65937         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
65938         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
65939         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
65940         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
65941         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
65942         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
65943         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
65944         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
65945         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
65946         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
65947         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
65948         entry.
65949         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
65950         optional.
65951         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
65952         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
65953         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
65954         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
65955         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
65956         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
65957         Likewise.
65958         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
65959         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
65960         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
65961         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
65962         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
65963         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
65964         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
65965         as optional.
65966         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
65967         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
65968         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
65969         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
65970         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
65971         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
65972         specify as optional.
65973         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
65974         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
65975         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
65976         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
65977         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
65978         [XPG3] (NL_LANGMAX): Likewise.
65979         [POSIX || XPG3] (NL_MSGMAX): Likewise.
65980         [POSIX || XPG3] (NL_NMAX): Likewise.
65981         [POSIX || XPG3] (NL_SETMAX): Likewise.
65982         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
65983         [XPG3] (NZERO): Likewise.
65984         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
65985         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
65986         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
65987         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
65988         (REG_ERANGE): Expect.
65989         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
65990         optional-constant.
65991         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
65992         Use (void) in prototype.
65993         [POSIX] (*_t): Allow.
65994         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
65995         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
65996         (WRDE_BADVAL): Expect.
65998         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
65999         expect.
66000         [XPG3 || XPG4] (O_RSYNC): Likewise.
66001         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
66002         Likewise.
66003         [XPG3 || XPG4] (pthread_sigmask): Likewise.
66004         [XPG3 || XPG4] (sigqueue): Likewise.
66005         [XPG3 || XPG4] (sigtimedwait): Likewise.
66006         [XPG3 || XPG4] (sigwaitinfo): Likewise.
66007         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
66008         [XPG3 || XPG4] (vsnprintf): Likewise.
66009         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
66010         Likewise.
66011         [XPG3 || XPG4] (blksize_t): Likewise.
66012         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
66013         Likewise.
66014         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
66015         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
66016         [XPG3 || XPG4] (struct itimerspec): Likewise.
66017         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
66018         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
66019         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
66020         [XPG3 || XPG4] (clockid_t): Likewise.
66021         [XPG3 || XPG4] (timer_t): Likewise.
66022         [XPG3 || XPG4] (clock_getres): Likewise.
66023         [XPG3 || XPG4] (clock_gettime): Likewise.
66024         [XPG3 || XPG4] (clock_settime): Likewise.
66025         [XPG3 || XPG4] (nanosleep): Likewise.
66026         [XPG3 || XPG4] (timer_create): Likewise.
66027         [XPG3 || XPG4] (timer_delete): Likewise.
66028         [XPG3 || XPG4] (timer_gettime): Likewise.
66029         [XPG3 || XPG4] (timer_getoverrun): Likewise.
66030         [XPG3 || XPG4] (timer_settime): Likewise.
66031         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
66032         [XPG3 || XPG4] (getlogin_r): Likewise.
66033         [XPG3 || XPG4] (pread): Likewise.
66034         [XPG3 || XPG4] (pthread_atfork): Likewise.
66035         [XPG3 || XPG4] (pwrite): Likewise.
66037         [BZ #14835]
66038         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
66039         <bits/siginfo.h>.
66041 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66043         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
66044         finalizing MALLSTREAM.
66046         * sysdeps/mach/hurd/syncfs.c: New file.
66048 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66050         [BZ #14719]
66051         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
66052         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
66053         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
66054         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
66055         (_nss_dns_gethostbyname4_r): Likewise.
66056         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
66057         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
66059 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
66061         [BZ #13763]
66062         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
66064 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
66066         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
66067         * elf/cache.c (print_entry): Print ",AArch64" for
66068         FLAG_AARCH64_LIB64
66070         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
66071         * elf/cache.c (print_entry): Print ",hard-float" for
66072         FLAG_ARM_LIBHF.
66074 2012-11-18  David S. Miller  <davem@davemloft.net>
66076         With help from Joseph Myers.
66077         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
66078         cutoff to 2**-13.
66079         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
66080         cutoff to 2**-25.
66081         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
66082         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
66083         small.
66084         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
66085         * math/libm-test.inc (y0_test): New tests.
66086         (y1_test): New tests.
66087         * sysdeps/i386/fpu/libm-test-ulps: Update.
66088         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66091 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
66093         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
66094         64-bit targets.
66095         * configure: Regenerated.
66097 2012-11-17  David S. Miller  <davem@davemloft.net>
66099         [BZ #14811]
66100         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
66101         nonzero exponents with absolute value below 0x1p-128 to +/-
66102         0x1p-128.
66104 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
66106         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
66108         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
66110         * posix/getconf-speclist.c: New file.
66111         * posix/posix-envs.def: Likewise.
66112         * posix/confstr.c (START_ENV_GROUP): New macro.
66113         (END_ENV_GROUP): Likewise.
66114         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66115         (KNOWN_PRESENT_ENV_STRING): Likewise.
66116         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66117         (UNKNOWN_ENVIRONMENT): Likewise.
66118         (confstr): Include posix-envs.def instead of handling
66119         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
66120         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
66121         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
66122         (END_ENV_GROUP): Likewise.
66123         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66124         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66125         (UNKNOWN_ENVIRONMENT): Likewise.
66126         (__sysconf): Include posix-envs.def instead of handling associated
66127         cases directly here.
66128         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
66129         preprocessing getconf-speclist.c rather than running getconf or
66130         generating empty file.
66132 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
66134         * scripts/check-local-headers.sh: Ignore 'mach' headers.
66136 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
66138         [BZ #14672]
66139         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
66141 2012-11-16  David S. Miller  <davem@davemloft.net>
66143         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
66144         smaller than LDBL_EPSILON/2.0L, just return xm1.
66146 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
66148         * elf/tst-array1.c (init): Set constructor priority to 1000.
66149         (fini): Set destructor priority to 1000.
66150         * elf/tst-array2dep.c: Likewise.
66152 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66154         [BZ #11741]
66155         * libio/fileops.c (_IO_new_file_write): Correctly return error.
66156         (_IO_new_file_xsputn): Also return EOF if none of the input
66157         data was written when overflow failed.
66158         * libio/iopadn.c (_IO_padn): Likewise.
66159         * libio/iowpadn.c (_IO_wpadn): Likewise.
66160         * stdio-common/tst-put-error.c: Add copyright notice.
66161         (do_test): Add case for printing padded string.
66162         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
66163         _IO_padn returned error.
66164         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
66165         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
66166         return EOF.
66168 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66170         * libio/libioP.h: Add comment note that the references to C++
66171         bits are now obsolete.
66173 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66175         * math/libm-test.inc (check_complex): Use asprintf.
66177 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
66179         * debug/pcprofiledump.c (print_version): Update copyright year.
66180         * malloc/memusagestat.c (print_version): Likewise.
66182 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
66184         [BZ #14831]
66185         * elf/Makefile (tests): Add tst-audit8.
66186         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
66187         ($(objpfx)tst-audit8.out): New target.
66188         (tst-audit8-ENV): New variable.
66189         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
66190         audit if l_reloc_result is NULL.
66191         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
66192         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
66193         * elf/tst-audit8.c: New file.
66195 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66197         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
66198         * misc/Makefile (CFLAGS-select.c): Define.
66199         * posix/Makefile (CFLAGS-pause.c): Define.
66201 2012-11-13  David S. Miller  <davem@davemloft.net>
66203         * crypt/Makefile: Move test targets after toplevel Rules
66204         inclusion.  Grab any necessary sysdep routines when linking.
66205         * crypt/md5.c (md5_process_block): Remove define, we will always
66206         name it __md5_process_block.
66207         (md5_finish_ctx): Update md5_process_block call.
66208         (md5_stream): Likewise.
66209         (md5_process_bytes): Likewise.
66210         (md5_process_block): Rename to __md5_process_block and move to ...
66211         * crypt/md5-block.c: ... here.
66212         * crypt/sha256.c (sha256_process_block): Move to ...
66213         * crypt/sha256-block.c: ... here.
66214         * crypt/sha512.c (sha512_process_block): Move to ...
66215         * crypt/sha512-block.c: ... here.
66216         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
66217         path.
66218         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
66219         * sysdeps/sparc/sparc64/multiarch/Makefile
66220         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
66221         crypt subdir.
66222         (localedef-aux): Add md5 crypto assembler when in locale subdir.
66223         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
66224         multiarch changes.
66225         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
66226         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
66227         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
66228         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
66229         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
66230         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
66231         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
66232         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
66233         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
66234         file.
66235         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
66236         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
66237         file.
66238         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
66240 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
66242         * timezone/tzselect.ksh: Update from tzcode git revision
66243         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
66244         * timezone/zdump.c: Likewise.
66245         * timezone/zic.c: Likewise.
66246         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
66247         in TZVERSION setting, not $(PKGVERSION).
66248         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
66249         REPORT_BUGS_TO settings.
66251         [BZ #14838]
66252         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
66253         macro.
66255 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66257         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
66258         detection to immediately after _FP_ROUND().
66259         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
66260         bits are 0.
66262 2012-11-11  David S. Miller  <davem@davemloft.net>
66264         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
66265         inttypes.h
66266         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
66267         __close rather than their public counterparts.
66269 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
66271         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
66272         file.
66273         [UNIX98] (sem_timedwait): Do not expect.
66274         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
66275         [XPG4 || UNIX98] (sockatmark): Do not expect.
66276         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
66277         (clock_getcpuclockid): Do not expect.
66278         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
66279         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
66280         Do not expect.
66281         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
66282         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
66283         [UNIX98] (vwscanf): Likewise.
66284         [UNIX98] (vswscanf): Likewise.
66286 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
66288         * timezone/version.h: Remove file.
66289         * timezone/README: Do not refer to version.h.
66290         * timezone/Makefile ($(objpfx)zic.o): New dependency on
66291         $(objpfx)version.h.
66292         ($(objpfx)zdump.o): Likewise.
66293         ($(objpfx)version.h): New target.
66295         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
66296         2012i.
66297         * timezone/README: Don't mention modification to tzselect.ksh.
66298         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
66299         work on unmodified tzselect.ksh.  Substitute version numbers in
66300         tzselect.ksh.
66302         * Makefile (format-me): Remove.
66303         (INSTALL): Adjust indentation.  Use commands directly instead of
66304         using $(format-me).
66306         * aclocal.m4 (ACX_PKGVERSION): New macro.
66307         (ACX_BUGURL): Likewise.
66308         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
66309         (PKGVERSION): New AC_DEFINE_UNQUOTED.
66310         (REPORT_BUGS_TO): Likewise.
66311         * configure: Regenerated.
66312         * config.h.in (PKGVERSION): New macro.
66313         (REPORT_BUGS_TO): Likewise.
66314         * config.make.in (PKGVERSION): New variable.
66315         (PKGVERSION_TEXI): Likewise.
66316         (REPORT_BUGS_TO): Likewise.
66317         (REPORT_BUGS_TEXI): Likewise.
66318         * Makefile (format-me): Use -I$(common-objpfx)manual.
66319         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
66320         ($(common-objpfx)manual/%): New target.
66321         (manual/%): Remove target.
66322         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
66323         (print_version): Use PKGVERSION.
66324         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
66325         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
66326         and REPORT_BUGS_TO.
66327         ($(objpfx)xtrace): Likewise.
66328         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
66329         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
66330         (print_version): Use PKGVERSION.
66331         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
66332         (do_version): Use PKGVERSION.
66333         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
66334         REPORT_BUGS_TO.
66335         (common-ldd-rewrite): Likewise.
66336         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
66337         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
66338         (print_version): Use PKGVERSION.
66339         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
66340         * elf/pldd.c (argp_program_bug_address): Remove variable.
66341         (more_help): New function.
66342         (argp): Use more_help.
66343         (print_version): Use PKGVERSION.
66344         * elf/sln.c (main): Use PKGVERSION.
66345         (usage): Use REPORT_BUGS_TO.
66346         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
66347         (top level): Use PKGVERSION.
66348         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
66349         (print_version): Use PKGVERSION.
66350         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
66351         (print_version): Use PKGVERSION.
66352         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
66353         (print_version): Use PKGVERSION.
66354         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
66355         (print_version): Use PKGVERSION.
66356         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
66357         (print_version): Use PKGVERSION.
66358         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
66359         (print_version): Use PKGVERSION.
66360         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
66361         and BUGURL.
66362         ($(objpfx)memusage): Likewise.
66363         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
66364         (do_version): Use PKGVERSION.
66365         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
66366         (print_version): Use PKGVERSION.
66367         * malloc/mtrace.pl ($PACKAGE): Remove variable.
66368         ($PKGVERSION): New variable.
66369         ($REPORT_BUGS_TO): Likewise.
66370         (usage): Use $REPORT_BUGS_TO.
66371         (top level): Use $PKGVERSION.
66372         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
66373         ($(objpfx)pkgvers.texi): New rule.
66374         ($(objpfx)stamp-pkgvers): Likewise.
66375         * manual/install.texi: Include pkgvers.texi.
66376         (--with-pkgversion): Document new configure option.
66377         (--with-bugurl): Likewise.
66378         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
66379         than necessarily for this particular distribution.  Use
66380         REPORT_BUGS_TO for where to report bugs.
66381         * INSTALL: Regenerated.
66382         * manual/libc.texinfo: Include pkgvers.texi.
66383         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
66384         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
66385         (print_version): Use PKGVERSION.
66386         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
66387         (print_version): Use PKGVERSION.
66388         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
66389         (print_version): Use PKGVERSION.
66390         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
66391         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
66392         macro.
66393         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
66394         (print_version): Use PKGVERSION.
66395         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
66396         (print_version): Use PKGVERSION.
66397         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
66398         and PKGVERSION.
66400         * timezone/checktab.awk: Update from tzcode 2012i.
66401         * timezone/ialloc.c: Likewise.
66402         * timezone/private.h: Likewise.
66403         * timezone/scheck.c: Likewise.
66404         * timezone/tzfile.h: Likewise.
66405         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
66406         (TZVERSION): Hardcode tzcode version number.
66407         * timezone/zdump.c: Update from tzcode 2012i.
66408         * timezone/zic.c: Likewise.
66409         * timezone/version.h: New file.
66410         * timezone/README: Describe version.h.  Update upstream location.
66412         [BZ #14824]
66413         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
66414         (mktemp): Enable declaration.
66415         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
66416         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
66417         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
66418         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
66419         Likewise.
66420         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
66421         Likewise.
66422         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
66423         Likewise.
66424         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
66425         Likewise.
66426         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
66427         Likewise.
66428         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
66429         Likewise.
66431         [BZ #14821]
66432         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
66433         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
66434         for copies of such integer values.
66435         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66436         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66438 2012-11-09  Andreas Jaeger  <aj@suse.de>
66440         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
66441         definitions and declarations that are provided by
66442         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
66444 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66446         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
66447         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
66448         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
66449         definition.
66451 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66453         * elf/elf.h: Update comment before AArch64 relocations.
66455 2012-11-07  David S. Miller  <davem@davemloft.net>
66457         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
66458         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66459         (__start_context): Declare.
66460         (__makecontext_ret): Delete.
66461         (__makecontext): Hook up __start_context instead of
66462         __makecontext_ret.
66463         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
66464         (sysdep_routines): Add __start_context when in stdlib.
66466 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66468         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
66469         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
66470         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
66471         hardcoded "nm".
66472         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
66473         (READELF): New variable.  Use it instead of hardcoded "readelf".
66475 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
66477         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
66478         * sysdeps/x86/Makefile: Here.
66479         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
66480         * sysdeps/x86/tst-xmmymm.sh: This.
66482 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66484         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
66485         expectations.
66486         [UNIX98] (pthread_barrier_t): Do not expect.
66487         [UNIX98] (pthread_barrierattr_t): Likewise.
66488         [UNIX98] (pthread_spinlock_t): Likewise.
66489         [UNIX98] (pthread_barrier_destroy): Likewise.
66490         [UNIX98] (pthread_barrier_init): Likewise.
66491         [UNIX98] (pthread_barrier_wait): Likewise.
66492         [UNIX98] (pthread_barrierattr_destroy): Likewise.
66493         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
66494         [UNIX98] (pthread_barrierattr_init): Likewise.
66495         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
66496         [UNIX98] (pthread_getcpuclockid): Likewise.
66497         [UNIX98] (pthread_mutex_timedlock): Likewise.
66498         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
66499         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
66500         [UNIX98] (pthread_sigmask): Likewise.
66501         [UNIX98] (pthread_spin_destroy): Likewise.
66502         [UNIX98] (pthread_spin_init): Likewise.
66503         [UNIX98] (pthread_spin_lock): Likewise.
66504         [UNIX98] (pthread_spin_trylock): Likewise.
66505         [UNIX98] (pthread_spin_unlock): Likewise.
66506         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
66507         Do not expect.
66508         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
66509         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
66510         [XPG3 || XPG4] (pthread_cond_t): Likewise.
66511         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
66512         [XPG3 || XPG4] (pthread_key_t): Likewise.
66513         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
66514         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
66515         [XPG3 || XPG4] (pthread_once_t): Likewise.
66516         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
66517         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
66518         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
66519         [XPG3 || XPG4] (pthread_t): Likewise.
66521         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
66522         not expect.
66523         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
66525         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
66526         Change function return type to int.
66528         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
66529         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
66530         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
66531         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
66532         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
66533         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
66534         [!POSIX] (posix_madvise): Likewise.
66535         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
66536         && !UNIX98].
66537         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
66538         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
66539         (mode_t): Likewise.
66540         (posix_mem_offset): Likewise.
66541         (posix_typed_mem_get_info): Likewise.
66542         (posix_typed_mem_open): Likewise.
66544         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
66545         Change condition to [XOPEN2K8].
66547         * conform/conformtest.pl: Preprocess allow-header data with -x c
66548         instead of from stdin.
66549         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
66550         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
66551         [C99-based standards] (cerfc): Likewise.
66552         [C99-based standards] (cexp2): Likewise.
66553         [C99-based standards] (cexpm1): Likewise.
66554         [C99-based standards] (clog10): Likewise.
66555         [C99-based standards] (clog1p): Likewise.
66556         [C99-based standards] (clog2): Likewise.
66557         [C99-based standards] (clgamma): Likewise.
66558         [C99-based standards] (ctgamma): Likewise.
66559         [C99-based standards] (cerff): Likewise.
66560         [C99-based standards] (cerfcf): Likewise.
66561         [C99-based standards] (cexp2f): Likewise.
66562         [C99-based standards] (cexpm1f): Likewise.
66563         [C99-based standards] (clog10f): Likewise.
66564         [C99-based standards] (clog1pf): Likewise.
66565         [C99-based standards] (clog2f): Likewise.
66566         [C99-based standards] (clgammaf): Likewise.
66567         [C99-based standards] (ctgammaf): Likewise.
66568         [C99-based standards] (cerfl): Likewise.
66569         [C99-based standards] (cerfcl): Likewise.
66570         [C99-based standards] (cexp2l): Likewise.
66571         [C99-based standards] (cexpm1l): Likewise.
66572         [C99-based standards] (clog10l): Likewise.
66573         [C99-based standards] (clog1pl): Likewise.
66574         [C99-based standards] (clog2l): Likewise.
66575         [C99-based standards] (clgammal): Likewise.
66576         [C99-based standards] (ctgammal): Likewise.
66577         * conform/data/inttypes.h-data [C99-based standards]: Include
66578         stdint.h-data.  Remove all expectations for stdint.h contents.
66579         [C99-based standards] (PRI*): Do not allow.
66580         [C99-based standards] (SCN*): Likewise.
66581         [C99-based standards] (*_t): Likewise.
66582         [C99-based-standards] (PRId8): Expect macro.
66583         [C99-based-standards] (PRIi8): Likewise.
66584         [C99-based-standards] (PRIo8): Likewise.
66585         [C99-based-standards] (PRIu8): Likewise.
66586         [C99-based-standards] (PRIx8): Likewise.
66587         [C99-based-standards] (PRIX8): Likewise.
66588         [C99-based-standards] (SCNd8): Likewise.
66589         [C99-based-standards] (SCNi8): Likewise.
66590         [C99-based-standards] (SCNo8): Likewise.
66591         [C99-based-standards] (SCNu8): Likewise.
66592         [C99-based-standards] (SCNx8): Likewise.
66593         [C99-based-standards] (PRIdLEAST8): Likewise.
66594         [C99-based-standards] (PRIiLEAST8): Likewise.
66595         [C99-based-standards] (PRIoLEAST8): Likewise.
66596         [C99-based-standards] (PRIuLEAST8): Likewise.
66597         [C99-based-standards] (PRIxLEAST8): Likewise.
66598         [C99-based-standards] (PRIXLEAST8): Likewise.
66599         [C99-based-standards] (SCNdLEAST8): Likewise.
66600         [C99-based-standards] (SCNiLEAST8): Likewise.
66601         [C99-based-standards] (SCNoLEAST8): Likewise.
66602         [C99-based-standards] (SCNuLEAST8): Likewise.
66603         [C99-based-standards] (SCNxLEAST8): Likewise.
66604         [C99-based-standards] (PRIdFAST8): Likewise.
66605         [C99-based-standards] (PRIiFAST8): Likewise.
66606         [C99-based-standards] (PRIoFAST8): Likewise.
66607         [C99-based-standards] (PRIuFAST8): Likewise.
66608         [C99-based-standards] (PRIxFAST8): Likewise.
66609         [C99-based-standards] (PRIXFAST8): Likewise.
66610         [C99-based-standards] (SCNdFAST8): Likewise.
66611         [C99-based-standards] (SCNiFAST8): Likewise.
66612         [C99-based-standards] (SCNoFAST8): Likewise.
66613         [C99-based-standards] (SCNuFAST8): Likewise.
66614         [C99-based-standards] (SCNxFAST8): Likewise.
66615         [C99-based-standards] (PRId16): Likewise.
66616         [C99-based-standards] (PRIi16): Likewise.
66617         [C99-based-standards] (PRIo16): Likewise.
66618         [C99-based-standards] (PRIu16): Likewise.
66619         [C99-based-standards] (PRIx16): Likewise.
66620         [C99-based-standards] (PRIX16): Likewise.
66621         [C99-based-standards] (SCNd16): Likewise.
66622         [C99-based-standards] (SCNi16): Likewise.
66623         [C99-based-standards] (SCNo16): Likewise.
66624         [C99-based-standards] (SCNu16): Likewise.
66625         [C99-based-standards] (SCNx16): Likewise.
66626         [C99-based-standards] (PRIdLEAST16): Likewise.
66627         [C99-based-standards] (PRIiLEAST16): Likewise.
66628         [C99-based-standards] (PRIoLEAST16): Likewise.
66629         [C99-based-standards] (PRIuLEAST16): Likewise.
66630         [C99-based-standards] (PRIxLEAST16): Likewise.
66631         [C99-based-standards] (PRIXLEAST16): Likewise.
66632         [C99-based-standards] (SCNdLEAST16): Likewise.
66633         [C99-based-standards] (SCNiLEAST16): Likewise.
66634         [C99-based-standards] (SCNoLEAST16): Likewise.
66635         [C99-based-standards] (SCNuLEAST16): Likewise.
66636         [C99-based-standards] (SCNxLEAST16): Likewise.
66637         [C99-based-standards] (PRIdFAST16): Likewise.
66638         [C99-based-standards] (PRIiFAST16): Likewise.
66639         [C99-based-standards] (PRIoFAST16): Likewise.
66640         [C99-based-standards] (PRIuFAST16): Likewise.
66641         [C99-based-standards] (PRIxFAST16): Likewise.
66642         [C99-based-standards] (PRIXFAST16): Likewise.
66643         [C99-based-standards] (SCNdFAST16): Likewise.
66644         [C99-based-standards] (SCNiFAST16): Likewise.
66645         [C99-based-standards] (SCNoFAST16): Likewise.
66646         [C99-based-standards] (SCNuFAST16): Likewise.
66647         [C99-based-standards] (SCNxFAST16): Likewise.
66648         [C99-based-standards] (PRId32): Likewise.
66649         [C99-based-standards] (PRIi32): Likewise.
66650         [C99-based-standards] (PRIo32): Likewise.
66651         [C99-based-standards] (PRIu32): Likewise.
66652         [C99-based-standards] (PRIx32): Likewise.
66653         [C99-based-standards] (PRIX32): Likewise.
66654         [C99-based-standards] (SCNd32): Likewise.
66655         [C99-based-standards] (SCNi32): Likewise.
66656         [C99-based-standards] (SCNo32): Likewise.
66657         [C99-based-standards] (SCNu32): Likewise.
66658         [C99-based-standards] (SCNx32): Likewise.
66659         [C99-based-standards] (PRIdLEAST32): Likewise.
66660         [C99-based-standards] (PRIiLEAST32): Likewise.
66661         [C99-based-standards] (PRIoLEAST32): Likewise.
66662         [C99-based-standards] (PRIuLEAST32): Likewise.
66663         [C99-based-standards] (PRIxLEAST32): Likewise.
66664         [C99-based-standards] (PRIXLEAST32): Likewise.
66665         [C99-based-standards] (SCNdLEAST32): Likewise.
66666         [C99-based-standards] (SCNiLEAST32): Likewise.
66667         [C99-based-standards] (SCNoLEAST32): Likewise.
66668         [C99-based-standards] (SCNuLEAST32): Likewise.
66669         [C99-based-standards] (SCNxLEAST32): Likewise.
66670         [C99-based-standards] (PRIdFAST32): Likewise.
66671         [C99-based-standards] (PRIiFAST32): Likewise.
66672         [C99-based-standards] (PRIoFAST32): Likewise.
66673         [C99-based-standards] (PRIuFAST32): Likewise.
66674         [C99-based-standards] (PRIxFAST32): Likewise.
66675         [C99-based-standards] (PRIXFAST32): Likewise.
66676         [C99-based-standards] (SCNdFAST32): Likewise.
66677         [C99-based-standards] (SCNiFAST32): Likewise.
66678         [C99-based-standards] (SCNoFAST32): Likewise.
66679         [C99-based-standards] (SCNuFAST32): Likewise.
66680         [C99-based-standards] (SCNxFAST32): Likewise.
66681         [C99-based-standards] (PRId64): Likewise.
66682         [C99-based-standards] (PRIi64): Likewise.
66683         [C99-based-standards] (PRIo64): Likewise.
66684         [C99-based-standards] (PRIu64): Likewise.
66685         [C99-based-standards] (PRIx64): Likewise.
66686         [C99-based-standards] (PRIX64): Likewise.
66687         [C99-based-standards] (SCNd64): Likewise.
66688         [C99-based-standards] (SCNi64): Likewise.
66689         [C99-based-standards] (SCNo64): Likewise.
66690         [C99-based-standards] (SCNu64): Likewise.
66691         [C99-based-standards] (SCNx64): Likewise.
66692         [C99-based-standards] (PRIdLEAST64): Likewise.
66693         [C99-based-standards] (PRIiLEAST64): Likewise.
66694         [C99-based-standards] (PRIoLEAST64): Likewise.
66695         [C99-based-standards] (PRIuLEAST64): Likewise.
66696         [C99-based-standards] (PRIxLEAST64): Likewise.
66697         [C99-based-standards] (PRIXLEAST64): Likewise.
66698         [C99-based-standards] (SCNdLEAST64): Likewise.
66699         [C99-based-standards] (SCNiLEAST64): Likewise.
66700         [C99-based-standards] (SCNoLEAST64): Likewise.
66701         [C99-based-standards] (SCNuLEAST64): Likewise.
66702         [C99-based-standards] (SCNxLEAST64): Likewise.
66703         [C99-based-standards] (PRIdFAST64): Likewise.
66704         [C99-based-standards] (PRIiFAST64): Likewise.
66705         [C99-based-standards] (PRIoFAST64): Likewise.
66706         [C99-based-standards] (PRIuFAST64): Likewise.
66707         [C99-based-standards] (PRIxFAST64): Likewise.
66708         [C99-based-standards] (PRIXFAST64): Likewise.
66709         [C99-based-standards] (SCNdFAST64): Likewise.
66710         [C99-based-standards] (SCNiFAST64): Likewise.
66711         [C99-based-standards] (SCNoFAST64): Likewise.
66712         [C99-based-standards] (SCNuFAST64): Likewise.
66713         [C99-based-standards] (SCNxFAST64): Likewise.
66714         [C99-based-standards] (PRIdMAX): Likewise.
66715         [C99-based-standards] (PRIiMAX): Likewise.
66716         [C99-based-standards] (PRIoMAX): Likewise.
66717         [C99-based-standards] (PRIuMAX): Likewise.
66718         [C99-based-standards] (PRIxMAX): Likewise.
66719         [C99-based-standards] (PRIXMAX): Likewise.
66720         [C99-based-standards] (SCNdMAX): Likewise.
66721         [C99-based-standards] (SCNiMAX): Likewise.
66722         [C99-based-standards] (SCNoMAX): Likewise.
66723         [C99-based-standards] (SCNuMAX): Likewise.
66724         [C99-based-standards] (SCNxMAX): Likewise.
66725         [C99-based-standards] (PRIdPTR): Likewise.
66726         [C99-based-standards] (PRIiPTR): Likewise.
66727         [C99-based-standards] (PRIoPTR): Likewise.
66728         [C99-based-standards] (PRIuPTR): Likewise.
66729         [C99-based-standards] (PRIxPTR): Likewise.
66730         [C99-based-standards] (PRIXPTR): Likewise.
66731         [C99-based-standards] (SCNdPTR): Likewise.
66732         [C99-based-standards] (SCNiPTR): Likewise.
66733         [C99-based-standards] (SCNoPTR): Likewise.
66734         [C99-based-standards] (SCNuPTR): Likewise.
66735         [C99-based-standards] (SCNxPTR): Likewise.
66736         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
66737         allow.
66738         * conform/data/stdint.h-data: Update comments to clarify
66739         requirements.
66740         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
66741         type.
66742         [C99-based standards] (INT8_MAX): Likewise.
66743         [C99-based standards] (INT16_MIN): Likewise.
66744         [C99-based standards] (INT16_MAX): Likewise.
66745         [C99-based standards] (INT32_MIN): Likewise.
66746         [C99-based standards] (INT32_MAX): Likewise.
66747         [C99-based standards] (INT64_MIN): Likewise.
66748         [C99-based standards] (INT64_MAX): Likewise.
66749         [C99-based standards] (UINT8_MAX): Likewise.
66750         [C99-based standards] (UINT16_MAX): Likewise.
66751         [C99-based standards] (UINT32_MAX): Likewise.
66752         [C99-based standards] (UINT64_MAX): Likewise.
66753         [C99-based standards] (INT_LEAST8_MIN): Likewise.
66754         [C99-based standards] (INT_LEAST8_MAX): Likewise.
66755         [C99-based standards] (INT_LEAST16_MIN): Likewise.
66756         [C99-based standards] (INT_LEAST16_MAX): Likewise.
66757         [C99-based standards] (INT_LEAST32_MIN): Likewise.
66758         [C99-based standards] (INT_LEAST32_MAX): Likewise.
66759         [C99-based standards] (INT_LEAST64_MIN): Likewise.
66760         [C99-based standards] (INT_LEAST64_MAX): Likewise.
66761         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
66762         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
66763         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
66764         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
66765         [C99-based standards] (INT_FAST8_MIN): Likewise.
66766         [C99-based standards] (INT_FAST8_MAX): Likewise.
66767         [C99-based standards] (INT_FAST16_MIN): Likewise.
66768         [C99-based standards] (INT_FAST16_MAX): Likewise.
66769         [C99-based standards] (INT_FAST32_MIN): Likewise.
66770         [C99-based standards] (INT_FAST32_MAX): Likewise.
66771         [C99-based standards] (INT_FAST64_MIN): Likewise.
66772         [C99-based standards] (INT_FAST64_MAX): Likewise.
66773         [C99-based standards] (UINT_FAST8_MAX): Likewise.
66774         [C99-based standards] (UINT_FAST16_MAX): Likewise.
66775         [C99-based standards] (UINT_FAST32_MAX): Likewise.
66776         [C99-based standards] (UINT_FAST64_MAX): Likewise.
66777         [C99-based standards] (INTPTR_MIN): Likewise.
66778         [C99-based standards] (INTPTR_MAX): Likewise.
66779         [C99-based standards] (UINTPTR_MAX): Likewise.
66780         [C99-based standards] (INTMAX_MIN): Likewise.
66781         [C99-based standards] (INTMAX_MAX): Likewise.
66782         [C99-based standards] (UINTMAX_MAX): Likewise.
66783         [C99-based standards] (PTRDIFF_MIN): Likewise.
66784         [C99-based standards] (PTRDIFF_MAX): Likewise.
66785         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
66786         [C99-based standards] (SIZE_MAX): Likewise.
66787         [C99-based standards] (WCHAR_MAX): Likewise.
66788         [C99-based standards] (WINT_MAX): Likewise.
66789         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
66790         constraint on value.
66791         [C99-based standards] (WCHAR_MIN): Likewise.
66792         [C99-based standards] (WINT_MIN): Likewise.
66793         [C99-based standards] (*_t): Allow.
66794         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
66795         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
66796         Include math.h-data and complex.h-data.  Remove all expectations
66797         of math.h and complex.h contents.
66798         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
66799         at end of line.
66800         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
66801         (struct tm): Expect tag.
66802         [C99-based-standards] (wcstof): Expect function.
66803         [C99-based-standards] (wcstold): Likewise.
66804         [C99-based-standards] (wcstoll): Likewise.
66805         [C99-based-standards] (wcstoull): Likewise.
66806         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
66807         macro-int-constant.  Specify type.
66808         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
66809         constraint on value.
66810         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
66811         Specify type.
66812         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
66813         Specify value.
66814         [ISO C standards]: Do not allow headers.
66815         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
66816         wcs[abcdefghijklmnopqrstuvwxyz]*.
66817         [ISO C standards] (*_t): Do not allow.
66818         * conform/data/wctype.h-data [C99-based standards] (iswblank):
66819         Expect function.
66820         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
66821         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
66822         Specify type.
66823         [ISO C standards]: Do not allow headers.
66824         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
66825         is[abcdefghijklmnopqrstuvwxyz]*.
66826         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
66827         to[abcdefghijklmnopqrstuvwxyz]*.
66828         [ISO C standards] (*_t): Do not allow.
66829         * conform/data/stdalign.h-data: New file.
66830         * conform/data/stdbool.h-data: Likewise.
66831         * conform/data/stdnoreturn.h-data: Likewise.
66833 2012-11-07  Roland McGrath  <roland@hack.frob.com>
66835         [BZ #14815]
66836         * manual/filesys.texi (Directory Entries): Typo fix.
66837         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
66839 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66841         * elf/elf.h (EM_AARCH64): New macro.
66842         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
66843         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
66844         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
66845         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
66846         (R_AARCH64_TLSDESC): Likewise.
66847         (NT_ARM_TLS): Likewise.
66848         (NT_ARM_HW_BREAK): Likewise.
66849         (NT_ARM_HW_WATCH): Likewise.
66851 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66853         [BZ #14811]
66854         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
66855         (__ieee754_powl): Saturate nonzero exponents with absolute value
66856         below 0x1p-79 to +/- 0x1p-79.
66857         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
66858         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
66859         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
66860         nonzero exponents with absolute value below 0x1p-32 to +/-
66861         0x1p-32.
66862         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
66863         (__ieee754_powl): Saturate nonzero exponents with absolute value
66864         below 0x1p-79 to +/- 0x1p-79.
66865         * math/libm-test.inc (pow_test): Add more tests.
66867 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66869         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
66870         _dl_s390_cap_flags with kernel. Increase string length.
66871         (_dl_s390_platforms): Add z196 and zEC12.
66873 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66875         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
66876         Change XOPEN21K to XOPEN2K.
66878 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
66880         * string/memmove.c: Use memcpy when possible.
66882 2012-11-06  Andreas Jaeger  <aj@suse.de>
66884         * po/eo.po: Update from translation team.
66886 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
66888         [BZ #14793]
66889         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
66890         exponent and small x and y exponents, scale x or y up.  Increase
66891         by 2 the exponent used in scaling up.
66892         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66893         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66894         * math/libm-test.inc (fma_test): Add more tests.
66895         (fma_test_towardzero): Likewise.
66896         (fma_test_downward): Likewise.
66897         (fma_test_upward): Likewise.
66899 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
66901         [BZ #14805]
66902         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
66903         fenv_t *.
66905         [BZ #14801]
66906         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
66907         namespace for names of struct fields.
66908         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
66909         fenv_t fields.
66910         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
66911         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
66913 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66915         [BZ #3665]
66916         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
66918 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
66920         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
66921         PTR_DEMANGLE.
66923         [BZ #5246]
66924         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
66925         PTR_DEMANGLE.
66927 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
66929         [BZ #14797]
66930         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
66931         definitely overflow as x * y not x * y + z.
66932         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66933         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66934         * math/libm-test.inc (fma_test): Add more tests.
66935         (fma_test_towardzero): Likewise.
66936         (fma_test_downward): Likewise.
66937         (fma_test_upward): Likewise.
66939 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
66941         [BZ #157]
66943         * include/stub-tag.h: Remove file.
66944         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
66945         '#include' of it.
66946         * manual/maint.texi (Porting): Don't reference it.
66947         * Makerules ($(objpfx)stubs): Likewise.
66948         * dirent/closedir.c: Don't include <stub-tag.h>.
66949         * dirent/dirfd.c: Likewise.
66950         * dirent/fdopendir.c: Likewise.
66951         * dirent/getdents.c: Likewise.
66952         * dirent/getdents64.c: Likewise.
66953         * dirent/opendir.c: Likewise.
66954         * dirent/readdir.c: Likewise.
66955         * dirent/readdir64.c: Likewise.
66956         * dirent/readdir64_r.c: Likewise.
66957         * dirent/readdir_r.c: Likewise.
66958         * dirent/rewinddir.c: Likewise.
66959         * dirent/seekdir.c: Likewise.
66960         * dirent/telldir.c: Likewise.
66961         * gmon/profil.c: Likewise.
66962         * grp/setgroups.c: Likewise.
66963         * inet/if_index.c: Likewise.
66964         * io/access.c: Likewise.
66965         * io/chdir.c: Likewise.
66966         * io/chmod.c: Likewise.
66967         * io/chown.c: Likewise.
66968         * io/close.c: Likewise.
66969         * io/dup.c: Likewise.
66970         * io/dup2.c: Likewise.
66971         * io/dup3.c: Likewise.
66972         * io/euidaccess.c: Likewise.
66973         * io/faccessat.c: Likewise.
66974         * io/fchdir.c: Likewise.
66975         * io/fchmod.c: Likewise.
66976         * io/fchmodat.c: Likewise.
66977         * io/fchown.c: Likewise.
66978         * io/fchownat.c: Likewise.
66979         * io/fcntl.c: Likewise.
66980         * io/flock.c: Likewise.
66981         * io/fstatfs.c: Likewise.
66982         * io/fstatfs64.c: Likewise.
66983         * io/fstatvfs.c: Likewise.
66984         * io/fstatvfs64.c: Likewise.
66985         * io/futimens.c: Likewise.
66986         * io/fxstat.c: Likewise.
66987         * io/fxstat64.c: Likewise.
66988         * io/fxstatat.c: Likewise.
66989         * io/fxstatat64.c: Likewise.
66990         * io/getcwd.c: Likewise.
66991         * io/isatty.c: Likewise.
66992         * io/lchmod.c: Likewise.
66993         * io/lchown.c: Likewise.
66994         * io/link.c: Likewise.
66995         * io/linkat.c: Likewise.
66996         * io/lseek.c: Likewise.
66997         * io/lseek64.c: Likewise.
66998         * io/lxstat64.c: Likewise.
66999         * io/mkdir.c: Likewise.
67000         * io/mkdirat.c: Likewise.
67001         * io/mkfifo.c: Likewise.
67002         * io/mkfifoat.c: Likewise.
67003         * io/open.c: Likewise.
67004         * io/open64.c: Likewise.
67005         * io/openat.c: Likewise.
67006         * io/openat64.c: Likewise.
67007         * io/pipe.c: Likewise.
67008         * io/pipe2.c: Likewise.
67009         * io/poll.c: Likewise.
67010         * io/posix_fadvise.c: Likewise.
67011         * io/posix_fadvise64.c: Likewise.
67012         * io/posix_fallocate.c: Likewise.
67013         * io/posix_fallocate64.c: Likewise.
67014         * io/read.c: Likewise.
67015         * io/readlink.c: Likewise.
67016         * io/readlinkat.c: Likewise.
67017         * io/rmdir.c: Likewise.
67018         * io/sendfile.c: Likewise.
67019         * io/sendfile64.c: Likewise.
67020         * io/statfs.c: Likewise.
67021         * io/statfs64.c: Likewise.
67022         * io/statvfs.c: Likewise.
67023         * io/statvfs64.c: Likewise.
67024         * io/symlink.c: Likewise.
67025         * io/symlinkat.c: Likewise.
67026         * io/ttyname.c: Likewise.
67027         * io/ttyname_r.c: Likewise.
67028         * io/umask.c: Likewise.
67029         * io/unlink.c: Likewise.
67030         * io/unlinkat.c: Likewise.
67031         * io/utime.c: Likewise.
67032         * io/utimensat.c: Likewise.
67033         * io/write.c: Likewise.
67034         * io/xmknod.c: Likewise.
67035         * io/xmknodat.c: Likewise.
67036         * io/xstat.c: Likewise.
67037         * io/xstat64.c: Likewise.
67038         * login/getpt.c: Likewise.
67039         * login/grantpt.c: Likewise.
67040         * login/unlockpt.c: Likewise.
67041         * math/e_acoshl.c: Likewise.
67042         * math/e_acosl.c: Likewise.
67043         * math/e_asinl.c: Likewise.
67044         * math/e_atan2l.c: Likewise.
67045         * math/e_atanhl.c: Likewise.
67046         * math/e_coshl.c: Likewise.
67047         * math/e_expl.c: Likewise.
67048         * math/e_fmodl.c: Likewise.
67049         * math/e_gammal_r.c: Likewise.
67050         * math/e_hypotl.c: Likewise.
67051         * math/e_j0l.c: Likewise.
67052         * math/e_j1l.c: Likewise.
67053         * math/e_jnl.c: Likewise.
67054         * math/e_lgammal_r.c: Likewise.
67055         * math/e_log10l.c: Likewise.
67056         * math/e_log2l.c: Likewise.
67057         * math/e_logl.c: Likewise.
67058         * math/e_powl.c: Likewise.
67059         * math/e_rem_pio2l.c: Likewise.
67060         * math/e_sinhl.c: Likewise.
67061         * math/e_sqrtl.c: Likewise.
67062         * math/fclrexcpt.c: Likewise.
67063         * math/fedisblxcpt.c: Likewise.
67064         * math/feenablxcpt.c: Likewise.
67065         * math/fegetenv.c: Likewise.
67066         * math/fegetexcept.c: Likewise.
67067         * math/fegetround.c: Likewise.
67068         * math/feholdexcpt.c: Likewise.
67069         * math/fesetenv.c: Likewise.
67070         * math/fesetround.c: Likewise.
67071         * math/feupdateenv.c: Likewise.
67072         * math/fgetexcptflg.c: Likewise.
67073         * math/fraiseexcpt.c: Likewise.
67074         * math/fsetexcptflg.c: Likewise.
67075         * math/ftestexcept.c: Likewise.
67076         * math/k_cosl.c: Likewise.
67077         * math/k_rem_pio2l.c: Likewise.
67078         * math/k_sinl.c: Likewise.
67079         * math/k_tanl.c: Likewise.
67080         * math/s_asinhl.c: Likewise.
67081         * math/s_atanl.c: Likewise.
67082         * math/s_cbrtl.c: Likewise.
67083         * math/s_erfl.c: Likewise.
67084         * math/s_expm1l.c: Likewise.
67085         * math/s_log1pl.c: Likewise.
67086         * math/s_tanhl.c: Likewise.
67087         * misc/acct.c: Likewise.
67088         * misc/brk.c: Likewise.
67089         * misc/chflags.c: Likewise.
67090         * misc/chroot.c: Likewise.
67091         * misc/fchflags.c: Likewise.
67092         * misc/fgetxattr.c: Likewise.
67093         * misc/flistxattr.c: Likewise.
67094         * misc/fremovexattr.c: Likewise.
67095         * misc/fsetxattr.c: Likewise.
67096         * misc/fsync.c: Likewise.
67097         * misc/ftruncate.c: Likewise.
67098         * misc/futimes.c: Likewise.
67099         * misc/futimesat.c: Likewise.
67100         * misc/getdomain.c: Likewise.
67101         * misc/getdtsz.c: Likewise.
67102         * misc/gethostid.c: Likewise.
67103         * misc/gethostname.c: Likewise.
67104         * misc/getloadavg.c: Likewise.
67105         * misc/getpagesize.c: Likewise.
67106         * misc/getsysstats.c: Likewise.
67107         * misc/getxattr.c: Likewise.
67108         * misc/gtty.c: Likewise.
67109         * misc/ioctl.c: Likewise.
67110         * misc/lgetxattr.c: Likewise.
67111         * misc/listxattr.c: Likewise.
67112         * misc/llistxattr.c: Likewise.
67113         * misc/lremovexattr.c: Likewise.
67114         * misc/lsetxattr.c: Likewise.
67115         * misc/lutimes.c: Likewise.
67116         * misc/madvise.c: Likewise.
67117         * misc/mincore.c: Likewise.
67118         * misc/mlock.c: Likewise.
67119         * misc/mlockall.c: Likewise.
67120         * misc/mmap.c: Likewise.
67121         * misc/mprotect.c: Likewise.
67122         * misc/msync.c: Likewise.
67123         * misc/munlock.c: Likewise.
67124         * misc/munlockall.c: Likewise.
67125         * misc/munmap.c: Likewise.
67126         * misc/preadv.c: Likewise.
67127         * misc/preadv64.c: Likewise.
67128         * misc/ptrace.c: Likewise.
67129         * misc/pwritev.c: Likewise.
67130         * misc/pwritev64.c: Likewise.
67131         * misc/readv.c: Likewise.
67132         * misc/reboot.c: Likewise.
67133         * misc/remap_file_pages.c: Likewise.
67134         * misc/removexattr.c: Likewise.
67135         * misc/revoke.c: Likewise.
67136         * misc/select.c: Likewise.
67137         * misc/setdomain.c: Likewise.
67138         * misc/setegid.c: Likewise.
67139         * misc/seteuid.c: Likewise.
67140         * misc/sethostid.c: Likewise.
67141         * misc/sethostname.c: Likewise.
67142         * misc/setregid.c: Likewise.
67143         * misc/setreuid.c: Likewise.
67144         * misc/setxattr.c: Likewise.
67145         * misc/sstk.c: Likewise.
67146         * misc/stty.c: Likewise.
67147         * misc/swapoff.c: Likewise.
67148         * misc/swapon.c: Likewise.
67149         * misc/sync.c: Likewise.
67150         * misc/syncfs.c: Likewise.
67151         * misc/syscall.c: Likewise.
67152         * misc/truncate.c: Likewise.
67153         * misc/ualarm.c: Likewise.
67154         * misc/usleep.c: Likewise.
67155         * misc/ustat.c: Likewise.
67156         * misc/utimes.c: Likewise.
67157         * misc/vhangup.c: Likewise.
67158         * misc/writev.c: Likewise.
67159         * posix/_exit.c: Likewise.
67160         * posix/alarm.c: Likewise.
67161         * posix/execve.c: Likewise.
67162         * posix/fexecve.c: Likewise.
67163         * posix/fork.c: Likewise.
67164         * posix/fpathconf.c: Likewise.
67165         * posix/getaddrinfo.c: Likewise.
67166         * posix/getegid.c: Likewise.
67167         * posix/geteuid.c: Likewise.
67168         * posix/getgid.c: Likewise.
67169         * posix/getgroups.c: Likewise.
67170         * posix/getlogin.c: Likewise.
67171         * posix/getlogin_r.c: Likewise.
67172         * posix/getpgid.c: Likewise.
67173         * posix/getpid.c: Likewise.
67174         * posix/getppid.c: Likewise.
67175         * posix/getresgid.c: Likewise.
67176         * posix/getresuid.c: Likewise.
67177         * posix/getsid.c: Likewise.
67178         * posix/getuid.c: Likewise.
67179         * posix/glob64.c: Likewise.
67180         * posix/nanosleep.c: Likewise.
67181         * posix/pathconf.c: Likewise.
67182         * posix/pause.c: Likewise.
67183         * posix/posix_madvise.c: Likewise.
67184         * posix/pread.c: Likewise.
67185         * posix/pread64.c: Likewise.
67186         * posix/pwrite.c: Likewise.
67187         * posix/pwrite64.c: Likewise.
67188         * posix/sched_getaffinity.c: Likewise.
67189         * posix/sched_getp.c: Likewise.
67190         * posix/sched_gets.c: Likewise.
67191         * posix/sched_primax.c: Likewise.
67192         * posix/sched_primin.c: Likewise.
67193         * posix/sched_rr_gi.c: Likewise.
67194         * posix/sched_setaffinity.c: Likewise.
67195         * posix/sched_setp.c: Likewise.
67196         * posix/sched_sets.c: Likewise.
67197         * posix/sched_yield.c: Likewise.
67198         * posix/setgid.c: Likewise.
67199         * posix/setlogin.c: Likewise.
67200         * posix/setpgid.c: Likewise.
67201         * posix/setresgid.c: Likewise.
67202         * posix/setresuid.c: Likewise.
67203         * posix/setsid.c: Likewise.
67204         * posix/setuid.c: Likewise.
67205         * posix/sleep.c: Likewise.
67206         * posix/spawni.c: Likewise.
67207         * posix/sysconf.c: Likewise.
67208         * posix/times.c: Likewise.
67209         * posix/wait.c: Likewise.
67210         * posix/wait3.c: Likewise.
67211         * posix/wait4.c: Likewise.
67212         * posix/waitpid.c: Likewise.
67213         * resolv/gai_sigqueue.c: Likewise.
67214         * resource/getpriority.c: Likewise.
67215         * resource/getrlimit.c: Likewise.
67216         * resource/getrusage.c: Likewise.
67217         * resource/nice.c: Likewise.
67218         * resource/setpriority.c: Likewise.
67219         * resource/setrlimit.c: Likewise.
67220         * resource/ulimit.c: Likewise.
67221         * rt/aio_cancel.c: Likewise.
67222         * rt/aio_fsync.c: Likewise.
67223         * rt/aio_read.c: Likewise.
67224         * rt/aio_sigqueue.c: Likewise.
67225         * rt/aio_suspend.c: Likewise.
67226         * rt/aio_write.c: Likewise.
67227         * rt/clock_getres.c: Likewise.
67228         * rt/clock_gettime.c: Likewise.
67229         * rt/clock_nanosleep.c: Likewise.
67230         * rt/clock_settime.c: Likewise.
67231         * rt/lio_listio.c: Likewise.
67232         * rt/mq_close.c: Likewise.
67233         * rt/mq_getattr.c: Likewise.
67234         * rt/mq_notify.c: Likewise.
67235         * rt/mq_open.c: Likewise.
67236         * rt/mq_receive.c: Likewise.
67237         * rt/mq_send.c: Likewise.
67238         * rt/mq_setattr.c: Likewise.
67239         * rt/mq_timedreceive.c: Likewise.
67240         * rt/mq_timedsend.c: Likewise.
67241         * rt/mq_unlink.c: Likewise.
67242         * rt/shm_open.c: Likewise.
67243         * rt/shm_unlink.c: Likewise.
67244         * rt/timer_create.c: Likewise.
67245         * rt/timer_delete.c: Likewise.
67246         * rt/timer_getoverr.c: Likewise.
67247         * rt/timer_gettime.c: Likewise.
67248         * rt/timer_settime.c: Likewise.
67249         * setjmp/__longjmp.c: Likewise.
67250         * setjmp/setjmp.c: Likewise.
67251         * signal/kill.c: Likewise.
67252         * signal/killpg.c: Likewise.
67253         * signal/raise.c: Likewise.
67254         * signal/sigaction.c: Likewise.
67255         * signal/sigaltstack.c: Likewise.
67256         * signal/sigblock.c: Likewise.
67257         * signal/sigignore.c: Likewise.
67258         * signal/sigintr.c: Likewise.
67259         * signal/signal.c: Likewise.
67260         * signal/sigpause.c: Likewise.
67261         * signal/sigpending.c: Likewise.
67262         * signal/sigqueue.c: Likewise.
67263         * signal/sigreturn.c: Likewise.
67264         * signal/sigset.c: Likewise.
67265         * signal/sigsetmask.c: Likewise.
67266         * signal/sigstack.c: Likewise.
67267         * signal/sigsuspend.c: Likewise.
67268         * signal/sigtimedwait.c: Likewise.
67269         * signal/sigvec.c: Likewise.
67270         * signal/sigwait.c: Likewise.
67271         * signal/sigwaitinfo.c: Likewise.
67272         * signal/sysv_signal.c: Likewise.
67273         * socket/accept.c: Likewise.
67274         * socket/accept4.c: Likewise.
67275         * socket/bind.c: Likewise.
67276         * socket/connect.c: Likewise.
67277         * socket/getpeername.c: Likewise.
67278         * socket/getsockname.c: Likewise.
67279         * socket/getsockopt.c: Likewise.
67280         * socket/isfdtype.c: Likewise.
67281         * socket/listen.c: Likewise.
67282         * socket/recv.c: Likewise.
67283         * socket/recvfrom.c: Likewise.
67284         * socket/recvmsg.c: Likewise.
67285         * socket/send.c: Likewise.
67286         * socket/sendmsg.c: Likewise.
67287         * socket/sendto.c: Likewise.
67288         * socket/setsockopt.c: Likewise.
67289         * socket/shutdown.c: Likewise.
67290         * socket/sockatmark.c: Likewise.
67291         * socket/socket.c: Likewise.
67292         * socket/socketpair.c: Likewise.
67293         * stdio-common/ctermid.c: Likewise.
67294         * stdio-common/cuserid.c: Likewise.
67295         * stdio-common/remove.c: Likewise.
67296         * stdio-common/rename.c: Likewise.
67297         * stdio-common/renameat.c: Likewise.
67298         * stdio-common/tempname.c: Likewise.
67299         * stdlib/getcontext.c: Likewise.
67300         * stdlib/makecontext.c: Likewise.
67301         * stdlib/setcontext.c: Likewise.
67302         * stdlib/swapcontext.c: Likewise.
67303         * stdlib/system.c: Likewise.
67304         * streams/fattach.c: Likewise.
67305         * streams/fdetach.c: Likewise.
67306         * streams/getmsg.c: Likewise.
67307         * streams/getpmsg.c: Likewise.
67308         * streams/putmsg.c: Likewise.
67309         * streams/putpmsg.c: Likewise.
67310         * sysdeps/unix/bsd/getpt.c: Likewise.
67311         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
67312         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
67313         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
67314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
67315         Likewise.
67316         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
67317         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
67318         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
67319         * sysvipc/msgctl.c: Likewise.
67320         * sysvipc/msgget.c: Likewise.
67321         * sysvipc/msgrcv.c: Likewise.
67322         * sysvipc/msgsnd.c: Likewise.
67323         * sysvipc/semctl.c: Likewise.
67324         * sysvipc/semget.c: Likewise.
67325         * sysvipc/semop.c: Likewise.
67326         * sysvipc/semtimedop.c: Likewise.
67327         * sysvipc/shmat.c: Likewise.
67328         * sysvipc/shmctl.c: Likewise.
67329         * sysvipc/shmdt.c: Likewise.
67330         * sysvipc/shmget.c: Likewise.
67331         * termios/tcdrain.c: Likewise.
67332         * termios/tcflow.c: Likewise.
67333         * termios/tcflush.c: Likewise.
67334         * termios/tcgetattr.c: Likewise.
67335         * termios/tcgetpgrp.c: Likewise.
67336         * termios/tcsendbrk.c: Likewise.
67337         * termios/tcsetattr.c: Likewise.
67338         * termios/tcsetpgrp.c: Likewise.
67339         * time/adjtime.c: Likewise.
67340         * time/clock.c: Likewise.
67341         * time/getitimer.c: Likewise.
67342         * time/gettimeofday.c: Likewise.
67343         * time/setitimer.c: Likewise.
67344         * time/settimeofday.c: Likewise.
67345         * time/stime.c: Likewise.
67346         * time/time.c: Likewise.
67348 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
67350         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
67351         /usr/old/bin.
67353         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
67354         instead of spaces.
67355         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
67357 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
67359         [BZ #14796]
67360         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
67361         FE_TONEAREST before applying Dekker multiplication and Knuth
67362         addition.  Clear inexact exceptions and check for exact zero
67363         results afterwards.
67364         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67365         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
67366         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67367         * math/libm-test.inc (fma_test): Add more tests.
67368         (fma_test_towardzero): Likewise.
67369         (fma_test_downward): Likewise.
67370         (fma_test_upward): Likewise.
67371         * sysdeps/generic/math_private.h (default_libc_fesetround): New
67372         function.
67373         (libc_fesetround): New macro.
67374         (libc_fesetroundf): Likewise.
67375         (libc_fesetroundl): Likewise.
67376         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
67377         function.
67378         (libc_fesetround_387): Likewise.
67379         (libc_fesetroundf): New macro.
67380         (libc_fesetround): Likewise.
67381         (libc_fesetroundl): Likewise.
67382         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
67383         function.
67384         (libc_fesetroundf): New macro.
67385         (libc_fesetround): Likewise.
67386         (libc_fesetroundl): Likewise.
67387         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
67388         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
67389         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
67390         libm_hidden_ver.
67391         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
67392         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
67393         libm_hidden_def.
67394         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
67395         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
67396         libm_hidden_ver.
67397         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
67398         libm_hidden_def.
67400         [BZ #3439]
67401         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
67402         integer constant usable in #if and use that to give value to enum
67403         constant.
67404         (FE_DIVBYZERO): Likewise.
67405         (FE_UNDERFLOW): Likewise.
67406         (FE_OVERFLOW): Likewise.
67407         (FE_INVALID): Likewise.
67408         (FE_INVALID_SNAN): Likewise.
67409         (FE_INVALID_ISI): Likewise.
67410         (FE_INVALID_IDI): Likewise.
67411         (FE_INVALID_ZDZ): Likewise.
67412         (FE_INVALID_IMZ): Likewise.
67413         (FE_INVALID_COMPARE): Likewise.
67414         (FE_INVALID_SOFTWARE): Likewise.
67415         (FE_INVALID_SQRT): Likewise.
67416         (FE_INVALID_INTEGER_CONVERSION): Likewise.
67417         (FE_TONEAREST): Likewise.
67418         (FE_TOWARDZERO): Likewise.
67419         (FE_UPWARD): Likewise.
67420         (FE_DOWNWARD): Likewise.
67421         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
67422         (FE_DIVBYZERO): Likewise.
67423         (FE_OVERFLOW): Likewise.
67424         (FE_UNDERFLOW): Likewise.
67425         (FE_INEXACT): Likewise.
67426         (FE_TONEAREST): Likewise.
67427         (FE_DOWNWARD): Likewise.
67428         (FE_UPWARD): Likewise.
67429         (FE_TOWARDZERO): Likewise.
67430         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
67431         (FE_UNDERFLOW): Likewise.
67432         (FE_OVERFLOW): Likewise.
67433         (FE_DIVBYZERO): Likewise.
67434         (FE_INVALID): Likewise.
67435         (FE_TONEAREST): Likewise.
67436         (FE_TOWARDZERO): Likewise.
67437         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
67438         (FE_OVERFLOW): Likewise.
67439         (FE_UNDERFLOW): Likewise.
67440         (FE_DIVBYZERO): Likewise.
67441         (FE_INEXACT): Likewise.
67442         (FE_TONEAREST): Likewise.
67443         (FE_TOWARDZERO): Likewise.
67444         (FE_UPWARD): Likewise.
67445         (FE_DOWNWARD): Likewise.
67446         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
67447         (FE_DIVBYZERO): Likewise.
67448         (FE_OVERFLOW): Likewise.
67449         (FE_UNDERFLOW): Likewise.
67450         (FE_INEXACT): Likewise.
67451         (FE_TONEAREST): Likewise.
67452         (FE_DOWNWARD): Likewise.
67453         (FE_UPWARD): Likewise.
67454         (FE_TOWARDZERO): Likewise.
67456 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
67458         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
67460 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
67462         * scripts/cross-test-ssh.sh (command): Use newlines to separate
67463         commands.  Quote $PWD.
67464         (blacklist_exports): Don't use remove_newlines.  Replace "declare
67465         -x" by "export".
67466         (remove_newlines): Remove.
67468 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
67470         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
67471         * stdlib/stdlib.h (atof): Moved to ...
67472         * include/bits/stdlib-float.h: Here.  New file.
67473         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
67474         * stdlib/bits/stdlib-float.h: New file.
67475         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
67476         -mno-sse -mno-mmx.
67477         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
67478         <xmmintrin.h>.
67480 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
67482         * conform/conformtest.pl (@headers): Add fenv.h.
67483         * conform/data/fenv.h-data: New file.
67484         * include/fenv.h [_ISOMAC]: Disable all contents of file except
67485         include of <math/fenv.h>.
67487         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
67488         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
67489         && !UNIX98].  Enables tests for XOPEN2K8.
67490         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
67491         POSIX2008]: Likewise.
67493         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
67494         (struct rusage): Do not expect type or its members.
67496         [BZ #3439]
67497         * math/math.h (FP_NAN): Define macro to integer constant usable in
67498         #if and use that to give value to enum constant.
67499         (FP_INFINITE): Likewise.
67500         (FP_ZERO): Likewise.
67501         (FP_SUBNORMAL): Likewise.
67502         (FP_NORMAL): Likewise.
67504 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
67506         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
67507         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
67508         arguments.
67510 2012-11-02  Roland McGrath  <roland@hack.frob.com>
67512         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
67513         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
67514         autoconf-time if not.
67515         * configure.in: Remove AC_PREREQ.
67517 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67519         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
67520         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
67521         of the internal implementation.
67523 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
67525         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
67526         except include of <misc/sys/syslog.h>.
67528 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
67531         function returns with a NULL context exit with zero.
67533 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67535         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
67537 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
67539         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
67540         (run_program_cmd): This.
67541         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
67542         (tst_langinfo): New variable.  Use it.
67544 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
67546         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
67547         floating point opcodes.
67549 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
67551         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
67552         variable.
67554         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
67556         * sysdeps/mach/hurd/powerpc: Remove directory.
67557         * sysdeps/mach/powerpc: Likewise.
67559 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67561         * scripts/check-local-headers.sh: Ignore c++ headers.
67563 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
67565         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
67566         __libc_cleanup_region_start argument.
67568 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
67570         [BZ #14784]
67571         [BZ #14785]
67572         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
67573         x * y using scaling, not as x * y + z.
67574         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67575         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67576         * math/libm-test.inc (fma_test): Add more tests.
67577         (fma_test_towardzero): Likewise.
67578         (fma_test_downward): Likewise.
67579         (fma_test_upward): Likewise.
67581 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
67583         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
67585 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
67587         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
67588         New variable.
67590 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
67592         * rt/tst-shm.c (worker): Correct checking for mmap failure.
67594 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
67596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67597         Fix sort order.
67598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67599         Likewise.
67601 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67604         Fix the order of the list for glibc 2.17.
67605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67606         Likewise.
67608 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
67610         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67612 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
67614         [BZ #14610]
67615         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
67616         for low part of x being zero before using __atanl (y).
67617         * math/libm-test.inc (atan2_test): Add another test.
67619         * manual/install.texi (Configuring and compiling): Document
67620         general use of test-wrapper and test-wrapper-env.
67621         * INSTALL: Regenerated.
67623         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
67624         (__fma): Do not extract and scale down low bits on after-rounding
67625         systems when result rounded to normal precision would have normal
67626         exponent.
67627         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
67628         (__fmal): Do not extract and scale down low bits on after-rounding
67629         systems when result rounded to normal precision would have normal
67630         exponent.
67631         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
67632         (__fmal): Do not extract and scale down low bits on after-rounding
67633         systems when result rounded to normal precision would have normal
67634         exponent.
67635         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
67636         macro.
67637         (fma_test): Add more tests.
67638         (fma_test_towardzero): Likewise.
67639         (fma_test_downward): Likewise.
67640         (fma_test_upward): Likewise.
67642 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
67644         * sysdeps/i386/tininess.h: Renamed to ...
67645         * sysdeps/x86/tininess.h: This.
67646         * sysdeps/x86_64/tininess.h: Removed.
67648 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
67650         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
67651         input.  Use $(build-program-cmd).
67652         ($(objpfx)tst-array1-static.out): Likewise.
67653         ($(objpfx)tst-array2.out): Likewise.
67654         ($(objpfx)tst-array3.out): Likewise.
67655         ($(objpfx)tst-array4.out): Likewise.
67656         ($(objpfx)tst-array5.out): Likewise.
67657         ($(objpfx)tst-array5-static.out): Likewise.
67659 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
67661         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
67662         if defined.
67664         * nss/nsswitch.h (nss_interface_function): Provide new
67665         macro for use with NSS functions.
67666         * grp/initgroups.c: Use new macro.
67667         * nss/getXXbyYY.c: Likewise.
67668         * nss/getXXbyYY_r.c: Likewise.
67669         * nss/getXXent.c: Likewise.
67670         * nss/getXXent_r.c: Likewise.
67671         * sysdeps/posix/getaddrinfo.c: Likewise.
67673 2012-10-30  Andreas Jaeger  <aj@suse.de>
67675         * po/ru.po: Update Russion translation from translation project.
67677 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
67679         [BZ #14152]
67680         [BZ #14783]
67681         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
67682         result and shift together with sticky bit instead of replicating
67683         round-to-nearest rounding.
67684         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67685         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67686         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
67687         missing underflow exceptions.
67688         (fma_test_towardzero): Add more tests.
67689         (fma_test_downward): Likewise.
67690         (fma_test_upward): Likewise.
67692         [BZ #14047]
67693         * sysdeps/generic/tininess.h: New file.
67694         * sysdeps/i386/tininess.h: Likewise.
67695         * sysdeps/sh/tininess.h: Likewise.
67696         * sysdeps/x86_64/tininess.h: Likewise.
67697         * stdlib/tst-strtod-underflow.c: Likewise.
67698         * stdlib/tst-tininess.c: Likewise.
67699         * stdlib/strtod_l.c: Include <tininess.h>.
67700         (round_and_return): Do not set errno for exact underflow cases.
67701         Force an underflow exception when setting errno for underflow.
67702         Determine underflow based on rounding to normal precision if
67703         TININESS_AFTER_ROUNDING.
67704         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
67705         ERANGE for exact underflow cases.
67706         * stdlib/Makefile (tests): Add tst-tininess and
67707         tst-strtod-underflow.
67708         ($(objpfx)tst-tininess): Use $(link-libm).
67709         ($(objpfx)tst-strtod-underflow): Likewise.
67711 2012-10-30  Andreas Jaeger  <aj@suse.de>
67713         [BZ#14767]
67714         * elf/Makefile (tests): Remove conditional for have-initfini-array
67715         since this is now always required and the variable does not exist
67716         anymore.
67717         (tests-static): Likewise.
67718         (modules-names): Likewise.
67720         * po/eo.po: Add Esperanto translation from translation project.
67722         * elf/tst-array1.c (fini_array): Make writeable so that it can be
67723         merged with constructor/destructor.
67724         (init_array): Likewise.
67725         * elf/tst-array2dep.c (fini_array): Likewise.
67726         (init_array): Likewise.
67728 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
67730         * manual/message.texi: Delete @cartouche tags.
67732 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
67734         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
67735         EOPNOTSUPP.
67736         * sysdeps/mach/hurd/fsync.c: Likewise.
67738         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
67739         [_POSIX_REALTIME_SIGNALS]: Change condition to
67740         [_POSIX_REALTIME_SIGNALS > 0].
67742 2012-10-27  Andreas Jaeger  <aj@suse.de>
67744         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
67745         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
67746         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
67747         [__WORDSIZE != 64]: Likewise.
67749 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
67751         *  iconvdata/tst-table.sh: Remove ${SHELL}.
67752         *  iconvdata/tst-tables.sh: Likewise.
67754 2012-10-25  David S. Miller  <davem@davemloft.net>
67756         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67757         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
67758         of strtoull.
67760         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
67761         ifunc-impl-list.c
67762         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67763         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
67764         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
67765         file.
67767 2012-10-25  Roland McGrath  <roland@hack.frob.com>
67769         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67770         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
67771         __getdirentries.
67773 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67774             Jim Blandy  <jimb@codesourcery.com>
67776         * scripts/cross-test-ssh.sh: New file.
67777         * manual/install.texi (Configuring and compiling): Document use of
67778         cross-test-ssh.sh.
67779         * INSTALL: Regenerated.
67781 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
67783         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
67784         EOPNOTSUPP.
67786 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67788         * Makeconfig (run-program-prefix): Fix comment.
67790 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
67791             Jim Blandy  <jimb@codesourcery.com>
67793         * Makeconfig (test-wrapper): New variable,
67794         (test-wrapper-env): Likewise.
67795         [$(cross-compiling) = yes && $(test-wrapper) != ""]
67796         (run-built-tests): Define to yes.
67797         (run-program-prefix): Use $(test-wrapper).
67798         (built-program-cmd): Likewise.
67799         * Rules (make-test-out): Use $(test-wrapper-env) and
67800         $(host-built-program-cmd).
67801         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
67802         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
67803         tst-pathopt.sh.
67804         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
67805         $(test-wrapper-env) to tst-rtld-load-self.sh.
67806         ($(objpfx)order2.out): Use $(test-wrapper).
67807         ($(objpfx)tst-initorder.out): Likewise.
67808         ($(objpfx)tst-initorder2.out): Likewise.
67809         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
67810         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
67811         (test_wrapper_env): New variable.  Use it to run ld.so.
67812         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
67813         Use it to run ld.so.
67814         (test_wrapper_env): Likewise.
67815         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
67816         $(test-wrapper) to run-iconv-test.sh.
67817         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
67818         (ICONV): Use $test_wrapper.
67819         * posix/Makefile ($(objpfx)globtest.out): Pass
67820         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
67821         globtest.sh, not $(run-program-prefix).
67822         * posix/globtest.sh (run_via_rtld_prefix): New variable.
67823         (test_wrapper): Likewise.
67824         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
67825         set together with run_via_rtld_prefix.
67826         (run_program_prefix): Define in terms of test_wrapper and
67827         run_via_rtld_prefix.
67829 2012-10-24  Roland McGrath  <roland@hack.frob.com>
67831         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
67832         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
67833         Targets removed.
67835         [BZ #14743]
67836         * include/time.h: Remove librt_hidden_proto (clock_gettime).
67837         Declare __clock_getres, __clock_gettime, __clock_settime,
67838         __clock_nanosleep, and __clock_getcpuclockid.
67839         * rt/clock_gettime.c: Define __clock_gettime as an alias.
67840         Remove librt_hidden_def (clock_gettime).
67841         * sysdeps/unix/clock_gettime.c: Likewise.
67842         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
67843         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
67844         * rt/clock_getres.c: Define __clock_getres as an alias.
67845         * sysdeps/posix/clock_getres.c: Likewise.
67846         * rt/clock_settime.c: Define __clock_settime as an alias.
67847         * sysdeps/unix/clock_settime.c: Likewise.
67848         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
67849         * sysdeps/unix/clock_nanosleep.c: Likewise.
67850         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
67851         * rt/clock-compat.c: New file.
67852         * rt/Makefile (librt-routines): Add clock-compat and move
67853         $(clock-routines) to ...
67854         (routines): ... here, new variable.
67855         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
67856         Don't add get_clockfreq here.
67857         * rt/Versions (libc: GLIBC_2.17): New version set.
67858         Add clock_* symbols here.
67859         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
67860         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
67861         (GLIBC_2.17): Add clock_* symbols.
67862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67863         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67864         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67866         Likewise.
67867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67868         Likewise.
67869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67873         * NEWS: Mention the move.
67875         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
67876         Use __open, __read, __close rather than their public counterparts.
67877         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67878         (__get_clockfreq_via_cpuinfo): Likewise.
67879         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
67880         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
67882         * config.h.in (HAVE_IFUNC): New #undef.
67883         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
67884         was successful.
67885         * configure: Regenerated.
67887 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
67889         * configure.in: Move READELF check to start of file.
67890         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
67891         libc_cv_asm_gnu_indirect_function in the process.
67892         * configure: Regenerated.
67894 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
67896         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
67897         send the output to /dev/null.
67898         (libc_cv_cc_with_libunwind): Likewise.
67899         (libc_cv_as_noexecstack): Likewise.
67900         * configure: Regenerate.
67902 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
67904         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
67906         * posix/globtest.sh (TMPDIR): Do not set.
67907         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
67908         (testout): Likewise.
67910 2012-10-24  Andreas Jaeger  <aj@suse.de>
67912         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
67913         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
67914         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
67915         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
67916         posix_fadvise64, posix_fallocate64.
67918         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
67919         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
67920         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
67921         Likewise.
67922         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
67923         Likewise.
67924         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
67926         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
67927         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
67928         <bits/fcntl-linux.h>.
67929         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
67931         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
67932         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
67933         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
67934         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
67935         [__WORDSIZE != 64]: Likewise.
67937 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
67939         * Makeconfig (run-built-tests): New variable.
67940         * Rules [$(cross-compiling) = yes]: Change condition to
67941         [$(run-built-tests) = no].
67942         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
67943         to [$(run-built-tests) = yes].
67944         * elf/Makefile [$(cross-compiling) = no]: Likewise.
67945         * grp/Makefile [$(cross-compiling) = no]: Likewise.
67946         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
67947         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
67948         * intl/Makefile [$(cross-compiling) = no]: Likewise.
67949         * io/Makefile [$(cross-compiling) = no]: Likewise.
67950         * libio/Makefile [$(cross-compiling) = no]: Likewise.
67951         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
67952         * misc/Makefile [$(cross-compiling) = no]: Likewise.
67953         * posix/Makefile [$(cross-compiling) = no]: Likewise.
67954         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
67955         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
67956         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
67957         * string/Makefile [$(cross-compiling) = no]: Likewise.
67959         * posix/Makefile ($(objpfx)globtest.out): Pass
67960         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
67961         $(rtld-installed-name).
67962         * posix/globtest.sh (elf_objpfx): Remove variable.
67963         (rtld_installed_name): Likewise.
67964         (library_path): Likewise.
67965         (run_program_prefix): New variable.  Use for running globtest
67966         binary.
67968 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
67969             Joseph Myers  <joseph@codesourcery.com>
67971         * Makeconfig (host-built-program-cmd): New variable.
67972         * elf/Makefile (tst-stackguard1-ARGS): Use
67973         $(host-built-program-cmd).
67974         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
67975         (tst-spawn-ARGS): Likewise.
67976         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
67978 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
67979             Jim Blandy  <jimb@codesourcery.com>
67981         * Makeconfig (run-via-rtld-prefix): New variable.
67982         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
67983         (built-program-cmd): Likewise.
67985 2012-10-22  Andreas Jaeger  <aj@suse.de>
67987         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
67988         __O_RSYNC if it exists, otherwise to O_SYNC.
67990 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
67991             Joseph Myers  <joseph@codesourcery.com>
67993         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
67994         /dev/null.
67995         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
67996         from /dev/null
67997         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
67998         /dev/null.
68000 2012-10-22  Andreas Jaeger  <aj@suse.de>
68002         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
68003         Define always.
68004         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
68006         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68007         bits/fcntl-linux.h.
68009         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
68010         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
68012         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
68013         to __O_LARGEFILE.
68014         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
68015         to __O_LARGEFILE.
68017 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
68018             Joseph Myers  <joseph@codesourcery.com>
68020         * config.make.in (NM): New variable.
68022 2012-10-21  Andreas Jaeger  <aj@suse.de>
68024         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
68025         definitions and declarations that are provided by
68026         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68028 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68030         [BZ #14683]
68031         * elf/Makefile (tests-static): Add tst-leaks1-static.
68032         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
68033         ($(objpfx)tst-leaks1-static): New rule.
68034         ($(objpfx)tst-leaks1-static-mem): Likewise.
68035         (tst-leaks1-static-ENV): New macro.
68036         * elf/dl-open.c (dl_open_worker): Check the main application
68037         only if SHARED is defined.
68038         * elf/tst-leaks1-static.c: New file.
68040 2012-10-20  Andreas Jaeger  <aj@suse.de>
68042         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
68043         generic values for Linux.
68044         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
68045         and declarations that are provided by <bits/fcntl-linux.h> and
68046         include <bits/fcntl-linux.h>.
68047         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68048         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68050 2012-10-20  Roland McGrath  <roland@hack.frob.com>
68052         * io/fcntl.h: Move include of <bits/types.h> to the top and
68053         include it unconditionally.
68055 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68057         * wcsmbs/Makefile (tests-ifunc): New variable.
68058         (tests): Add $(tests-ifunc).
68059         * wcsmbs/test-wcschr-ifunc.c: New file.
68060         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
68061         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
68062         * wcsmbs/test-wcslen-ifunc.c: Likewise.
68063         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
68064         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
68066         * string/Makefile (tests-ifunc): New variable.
68067         (tests): Add $(tests-ifunc).
68068         * string/test-memccpy.c (TEST_NAME): New macro.
68069         * string/test-memchr.c (TEST_NAME): Likewise.
68070         * string/test-memcmp.c (TEST_NAME): Likewise.
68071         * string/test-memcpy.c (TEST_NAME): Likewise.
68072         * string/test-memmem.c (TEST_NAME): Likewise.
68073         * string/test-memmove.c (TEST_NAME): Likewise.
68074         * string/test-memset.c (TEST_NAME): Likewise.
68075         * string/test-rawmemchr.c (TEST_NAME): Likewise.
68076         * string/test-stpcpy.c (TEST_NAME): Likewise.
68077         * string/test-stpncpy.c (TEST_NAME): Likewise.
68078         * string/test-strcasecmp.c (TEST_NAME): Likewise.
68079         * string/test-strcasestr.c (TEST_NAME): Likewise.
68080         * string/test-strcat.c (TEST_NAME): Likewise.
68081         * string/test-strchr.c (TEST_NAME): Likewise.
68082         * string/test-strcmp.c(TEST_NAME): Likewise.
68083         * string/test-strcpy.c (TEST_NAME): Likewise.
68084         * string/test-strcspn.c (TEST_NAME): Likewise.
68085         * string/test-strlen.c (TEST_NAME): Likewise.
68086         * string/test-strncasecmp.c (TEST_NAME): Likewise.
68087         * string/test-strncmp.c (TEST_NAME): Likewise.
68088         * string/test-strncpy.c (TEST_NAME): Likewise.
68089         * string/test-strnlen.c (TEST_NAME): Likewise.
68090         * string/test-strpbrk.c (TEST_NAME): Likewise.
68091         * string/test-strrchr.c (TEST_NAME): Likewise.
68092         * string/test-strspn.c (TEST_NAME): Likewise.
68093         * string/test-strstr.c (TEST_NAME): Likewise.
68094         * string/test-bcopy-ifunc.c: New file.
68095         * string/test-bzero-ifunc.c: Likewise.
68096         * string/test-memccpy-ifunc.c: Likewise.
68097         * string/test-memchr-ifunc.c: Likewise.
68098         * string/test-memcmp-ifunc.c: Likewise.
68099         * string/test-memcpy-ifunc.c: Likewise.
68100         * string/test-memmem-ifunc.c: Likewise.
68101         * string/test-memmove-ifunc.c: Likewise.
68102         * string/test-mempcpy-ifunc.c: Likewise.
68103         * string/test-memset-ifunc.c: Likewise.
68104         * string/test-rawmemchr-ifunc.c: Likewise.
68105         * string/test-stpcpy-ifunc.c: Likewise.
68106         * string/test-stpncpy-ifunc.c: Likewise.
68107         * string/test-strcasecmp-ifunc.c: Likewise.
68108         * string/test-strcasestr-ifunc.c: Likewise.
68109         * string/test-strcat-ifunc.c: Likewise.
68110         * string/test-strchr-ifunc.c: Likewise.
68111         * string/test-strchrnul-ifunc.c: Likewise.
68112         * string/test-strcmp-ifunc.c: Likewise.
68113         * string/test-strcpy-ifunc.c: Likewise.
68114         * string/test-strcspn-ifunc.c: Likewise.
68115         * string/test-strlen-ifunc.c: Likewise.
68116         * string/test-strncasecmp-ifunc.c: Likewise.
68117         * string/test-strncat-ifunc.c: Likewise.
68118         * string/test-strncmp-ifunc.c: Likewise.
68119         * string/test-strncpy-ifunc.c: Likewise.
68120         * string/test-strnlen-ifunc.c: Likewise.
68121         * string/test-strpbrk-ifunc.c: Likewise.
68122         * string/test-strrchr-ifunc.c: Likewise.
68123         * string/test-strspn-ifunc.c: Likewise.
68124         * string/test-strstr-ifunc.c: Likewise.
68126         * debug/Makefile (tests-ifunc): New variable.
68127         (tests): Add $(tests-ifunc).
68128         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
68129         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
68130         * debug/test-stpcpy_chk-ifunc.c: New file.
68131         * debug/test-strcpy_chk-ifunc.c: Likewise.
68133 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
68135         [BZ #13601]
68136         * elf/dl-load.c (open_verify): Retry read if the entire ELF
68137         header is not read in.
68139 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
68141         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
68142         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
68143         directly.  Pass built executable to script as
68144         $(built-program-cmd).
68145         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
68146         $testprogram without using LD_LIBRARY_PATH and $ldso.
68148         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
68149         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
68150         $(rtld-installed-name).
68151         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
68152         (rtld_installed_name): Likewise.
68153         (library_path): Likewise.
68154         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
68155         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
68156         $(run-program-prefix) to tst-tables.sh.
68157         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
68158         it to run tst-table-from and tst-table-to.
68159         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
68160         Pass it to tst-table.sh.
68161         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
68162         $(run-program-prefix) to tst-gettext.sh.
68163         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
68164         tst-translit.sh.
68165         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
68166         tst-gettext2.sh.
68167         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
68168         to run tst-gettext.
68169         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
68170         to run tst-gettext2.
68171         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
68172         to run tst-translit.
68173         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
68174         $(run-program-prefix) to tst-mtrace.sh.
68175         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
68176         to run tst-mtrace.
68177         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
68178         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
68179         $(rtld-installed-name).
68180         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
68181         (rtld_installed_name): Likewise.
68182         (run_program_prefix): New variable.  Use it to run wordexp-test.
68184         * Makeconfig (ARCH): Remove all definitions.
68185         (machine): Likewise.
68186         [ARCH]: Remove conditional code.
68187         [!objdir]: Give error.
68188         [!objdir] (objpfx): Remove.
68189         [!objdir] (common-objpfx): Likewise.
68190         [!objdir] (common-objdir): Likewise.
68191         * configure.in (config_makefile): Remove.  Hardcode Makefile in
68192         AC_CONFIG_FILES call.
68193         * configure: Regenerated.
68195         [BZ #13888]
68196         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
68197         or TMPDIR.
68198         (testout): Likewise.
68200         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
68201         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
68202         $(rtld-installed-name).
68203         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
68204         (rtld_installed_name): Likewise.
68205         (runit): Remove function.
68206         (run_getconf): New variable,  Use it for running getconf binary.
68208 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
68210         [BZ #14716]
68211         * string/test-memmem.c (check_result): New function.
68212         (do_one_test): Use it.
68213         (check1): New function.
68214         (test_main): Use it.
68216 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
68218         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
68220 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
68222         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
68223         (_G_LSEEK64): Likewise.
68224         (_G_MMAP64): Likewise.
68225         (_G_FSTAT64): Likewise.
68226         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
68227         (_G_LSEEK64): Likewise.
68228         (_G_MMAP64): Likewise.
68229         (_G_FSTAT64): Likewise.
68230         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
68231         unconditional.  Call __mmap64 directly.
68232         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
68233         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
68234         __lseek64 directly.
68235         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
68236         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
68237         __mmap64 directly.
68238         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
68239         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68240         __lseek64 directly.
68241         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
68242         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68243         __lseek64 directly.
68244         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
68245         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
68246         __lseek64 directly.
68247         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
68248         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
68249         __fxstat64 directly.
68250         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
68251         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
68252         unconditional.
68253         (freopen64) [!_G_OPEN64]: Remove conditional code.
68254         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
68255         unconditional.
68256         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
68257         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
68258         unconditional.
68259         (ftello64) [!_G_LSEEK64]: Remove conditional code.
68260         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
68261         unconditional.
68262         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68263         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
68264         unconditional.
68265         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
68266         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
68267         unconditional.
68268         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68269         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
68270         unconditional.
68271         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68272         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
68273         unconditional.
68274         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68276 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68278         [BZ #12140]
68279         * manual/memory.texi (Malloc Tunable Parameters): Add note
68280         about free list pointers overwriting some perturb bytes.
68281         Wording suggested by Roland McGrath.
68283 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
68285         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
68286         (lgamma_test): Likewise.
68287         (tgamma_test): Likewise.
68289 2012-10-16  Florian Weimer  <fweimer@redhat.com>
68291         [BZ #14700]
68292         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
68293         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
68295 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
68297         * NEWS: Mention BZ #14716.
68298         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
68299         when removing AVAILABLE1_USES_J macro.
68301 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
68303         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
68304         (__bswap_64): __uint64_t for unsigned 64-bit int.
68306 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
68308         * include/string.h (memmem): Declare libc hidden alias.
68309         * string/memmem.c (memmem): Define libc hidden alias.
68310         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
68311         __read, __close instead of open, read, close.
68313 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
68315         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
68316         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
68317         global and hidden.
68318         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
68319         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
68320         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
68321         Likewise.
68322         (__rawmemchr_sse2): Likewise.
68323         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
68324         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
68325         (__strchr_sse2): Likewise.
68326         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
68327         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
68328         (__strcasecmp_sse2): Likewise.
68329         (__strncasecmp_sse2): Likewise.
68330         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
68331         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
68332         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
68333         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
68334         (__strrchr_sse2): Likewise.
68335         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
68336         ifunc-impl-list.c.
68337         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
68338         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
68339         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
68340         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
68341         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
68342         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
68343         * sysdeps/x86_64/multiarch/memset.S: Likewise.
68344         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68345         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
68346         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
68347         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
68348         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
68349         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
68350         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
68351         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
68352         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
68353         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
68354         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
68355         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
68356         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
68357         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
68358         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
68359         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
68360         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
68361         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
68362         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68363         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
68364         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
68365         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
68366         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
68368         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
68369         global and hidden.
68370         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
68371         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
68372         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
68373         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
68374         Likewise.
68375         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
68376         Likewise.
68377         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
68378         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
68379         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
68380         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
68381         ifunc-impl-list.c.
68382         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68383         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68384         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68385         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68386         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68387         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68388         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68389         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68390         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68391         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68392         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68393         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68394         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68395         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
68396         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
68397         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68398         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
68399         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
68400         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68401         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68402         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68403         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68404         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68405         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68406         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68407         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
68408         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
68409         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
68410         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
68411         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68412         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
68413         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68414         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68415         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
68416         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68417         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68418         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68419         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68420         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68421         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68422         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
68424         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
68425         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
68426         * include/ifunc-impl-list.h: New file.
68427         * misc/ifunc-impl-list.c: Likewise.
68428         * misc/Makefile (routines): Add ifunc-impl-list.
68429         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
68430         * string/test-string.h: Include <ifunc-impl-list.h>.
68431         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
68432         TEST_NAME]: New variables.
68433         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
68434         are defined.
68435         (test_init): Call __libc_ifunc_impl_list to initialize
68436         func_list if TEST_IFUNC and TEST_NAME are defined.
68438         * string/Makefile (strop-tests): Add bcopy and bzero.
68439         * string/test-bcopy.c: New file.
68440         * string/test-bzero.c: Likewise.
68441         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
68442         defined.
68443         * string/test-memset.c: Support bzero test if TEST_BZERO is
68444         defined.
68445         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
68446         __libc_memmove.
68447         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
68448         __libc_memset.
68449         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
68450         of memset.
68452 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
68454         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
68455         * configure: Regenerated.
68457         * Makeconfig (+link-static-before-libc): Don't include
68458         $(link-static-libc).
68460         * libio/libio.h (_IO_pos_t): Remove.
68462 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68464         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
68465         McGrath.
68467 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68469         * crypt/crypt-entry.c: Include fips-private.h.
68470         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
68471         * crypt/md5c-test.c (main): Tolerate disabled MD5.
68472         * sysdeps/unix/sysv/linux/fips-private.h: New file.
68473         * sysdeps/generic/fips-private.h: New file, dummy fallback.
68475 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68477         * crypt/crypt-private.h: Include stdbool.h.
68478         (_ufc_setup_salt_r): Return bool.
68479         * crypt/crypt-entry.c: Include errno.h.
68480         (__crypt_r): Return NULL with EINVAL for bad salt.
68481         * crypt/crypt_util.c (bad_for_salt): New.
68482         (_ufc_setup_salt_r): Check that salt is long enough and within
68483         the specified alphabet.
68484         * crypt/badsalttest.c: New file.
68485         * crypt/Makefile (tests): Add it.
68486         ($(objpfx)badsalttest): New.
68488 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
68490         * NEWS: Add entry for BZ #14602.
68492 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
68494         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
68495         type-generic.
68496         * math/libm-test.inc: Update comment listing what functions and
68497         macros are tested.
68498         (isgreater_test): New function.
68499         (isgreaterequal_test): Likewise.
68500         (isless_test): Likewise.
68501         (islessequal_test): Likewise.
68502         (islessgreater_test): Likewise.
68503         (isunordered_test): Likewise.
68504         (main): Call the new functions.
68506 2012-10-09  Roland McGrath  <roland@hack.frob.com>
68508         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
68509         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
68510         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
68511         * sysdeps/i386/configure: Regenerated.
68512         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
68513         * sysdeps/mach/configure: Regenerated.
68514         * sysdeps/mach/hurd/configure: Regenerated.
68515         * sysdeps/powerpc/configure: Regenerated.
68516         * sysdeps/powerpc/powerpc32/configure: Regenerated.
68517         * sysdeps/powerpc/powerpc64/configure: Regenerated.
68518         * sysdeps/s390/s390-32/configure: Regenerated.
68519         * sysdeps/s390/s390-64/configure: Regenerated.
68520         * sysdeps/sh/configure: Regenerated.
68521         * sysdeps/sparc/configure: Regenerated.
68522         * sysdeps/unix/sysv/linux/configure: Regenerated.
68523         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
68524         * sysdeps/x86_64/configure: Regenerated.
68526         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
68527         defined.  Don't check if MAP is NULL.
68529 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
68531         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
68532         (_G_stat64): Likewise.
68533         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
68534         (_G_stat64): Likewise.
68535         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
68536         instead of struct _G_stat64.
68537         * libio/fileops.c (mmap_remap_check): Likewise.
68538         (decide_maybe_mmap): Likewise.
68539         (_IO_new_file_seekoff): Likewise.
68540         (_IO_file_stat): Likewise.
68541         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
68542         _G_off64_t.
68543         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
68544         instead of struct _G_stat64.
68545         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
68547 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
68549         [BZ #14602]
68550         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
68551         Replace with ...
68552         (CHECK_EOL): New macro.
68553         (two_way_short_needle): Check beginning of haystack for EOL.  Use
68554         CHECK_EOL.
68555         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
68556         Replace with CHECK_EOL.
68557         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
68558         Replace with CHECK_EOL.
68560 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
68562         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
68563         type-generic.
68564         * math/libm-test.inc: Update comment listing what functions and
68565         macros are tested.
68566         (finite_test): New function.
68567         (isinf_test): Likewise.
68568         (isnan_test): Likewise.
68569         (fpclassify_test): Test subnormal input.
68570         (isfinite_test): Likewise.
68571         (isnormal_test): Likewise.
68572         (main): Call the new functions.
68574 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
68576         [BZ #14660]
68577         * Makerules (%.dynsym): Force C locale when running
68578         $(OBJDUMP) --dynamic-syms.
68580 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
68582         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
68583         <stdint.h>.
68585 2012-10-06  David S. Miller  <davem@davemloft.net>
68587         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
68588         upper 32-bits of the length value in %o2 since we use branch-on-register
68589         tests which consider the entire 64-bit register.
68591 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
68593         * string/test-strstr.c (check2): Add a test for page boundary.
68595 2012-10-05  David S. Miller  <davem@davemloft.net>
68597         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
68598         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
68599         file.
68600         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
68601         sysdep_routines.
68602         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
68603         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
68604         and bzero when HWCAP_SPARC_CRYPTO is present.
68606 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
68608         [BZ #14602]
68609         * string/test-strstr.c (check2): New function.
68610         (test_main): Call check2.
68612         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
68613         and bug-strchr1.
68614         * string/bug-strcasestr1.c (do_test): Moved to ...
68615         * string/test-strcasestr.c (check1): Here.  New function.
68616         (do_one_test): Break out result checking code into ...
68617         (check_result): This.  New function.
68618         (do_one_test): Call check_result.
68619         (test_main): Call check1.
68620         * string/bug-strchr1.c (do_test): Moved to ...
68621         * string/test-strchr.c (check1): Here.  New function.
68622         (do_one_test): Break out result checking code into ...
68623         (check_result): This.  New function.
68624         (do_one_test): Call check_result.
68625         (test_main): Call check1.
68626         * string/bug-strstr1.c (main): Moved to ...
68627         * string/test-strstr.c (check1): Here.  New function.
68628         (do_one_test): Break out result checking code into ...
68629         (check_result): This.  New function.
68630         (do_one_test): Call check_result.
68631         (test_main): Call check1.
68632         * string/bug-strcasestr1.c: Removed.
68633         * string/bug-strchr1.c: Likewise.
68634         * string/bug-strstr1.c: Likewise.
68636         * elf/Makefile (dl-routines): Add hwcaps.
68637         * elf/dl-support.c (_dl_important_hwcaps): Removed.
68638         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
68639         (_dl_important_hwcaps): Moved to ...
68640         * elf/dl-hwcaps.c: Here.  New file.
68641         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
68643         [BZ #14557]
68644         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
68645         if IS_IN_rtld isn't defined.
68647         * elf/dl-support.c (_dl_sysinfo_map): New.
68648         Include "get-dynamic-info.h" and "setup-vdso.h".
68649         (_dl_non_dynamic_init): Call setup_vdso.
68650         * elf/dynamic-link.h: Don't include <assert.h>.
68651         (elf_get_dynamic_info): Moved to ...
68652         * elf/get-dynamic-info.h: Here.  New file.
68653         * elf/dynamic-link.h: Include "get-dynamic-info.h".
68654         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
68655         * elf/setup-vdso.h: Here.  New file.
68656         * elf/rtld.c: Include "setup-vdso.h".
68657         (dl_main): Call setup_vdso.
68659 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
68661         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
68662         creal in comment listing functions tested.  List finite, isinf,
68663         isnan, isless, islessequal, isgreater, isgreaterequal,
68664         islessgreater, isunordered, lgamma_r and pow10 as functions and
68665         macros not tested.  Mention which functions not tested are aliases
68666         for other functions.  Fix typo.  Note that signs of NaNs are not
68667         tested.
68669         * scripts/config.guess: Update from config.git.
68670         * scripts/config.sub: Likewise.
68672 2012-10-04  Roland McGrath  <roland@hack.frob.com>
68674         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
68675         * misc/madvise.c (madvise): Renamed to __madvise.
68676         Make madvise a weak alias.
68677         * include/sys/mman.h: Declare __madvise.
68678         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
68679         * sysdeps/unix/syscalls.list
68680         (madvise): Make __madvise the strong name, and madvise a weak alias.
68681         * sysdeps/unix/sysv/linux/syscalls.list
68682         (madvise, mmap): Remove redundant entries.
68683         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
68684         * malloc/malloc.c (mtrim): Likewise.
68685         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
68687 2012-10-03  Roland McGrath  <roland@hack.frob.com>
68689         * sysdeps/mach/hurd/dl-cache.c: File removed.
68690         * config.h.in (USE_LDCONFIG): New #undef.
68691         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
68692         * configure: Regenerated.
68693         * elf/Makefile (dl-routines): Add dl-cache only under
68694         [$(use-ldconfig) = yes].
68695         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
68696         cache on [USE_LDCONFIG].
68697         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
68698         [USE_LDCONFIG].
68699         * elf/rtld.c (dl_main): Likewise.
68701 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
68703         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
68704         _SC_LEVEL4_CACHE_LINESIZE.
68706 2012-10-03  Roland McGrath  <roland@hack.frob.com>
68708         * sysdeps/unix/bsd/confstr.h: File removed.
68710 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
68712         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
68713         sys/sdt-config.h.
68715 2012-10-02  Roland McGrath  <roland@hack.frob.com>
68717         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
68718         Make 'mapoff' field ElfW(Off) rather than off_t.
68720 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
68722         * nscd/Makefile: Remove nscd-cflags and all its users.
68723         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
68724         (CFLAGS-nonlib): Add compiler flags for nscd modules.
68726         [BZ #10631]
68727         * malloc.c (malloc_printerr): Clarify error message.
68729 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
68731         [BZ #14648]
68732         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68733         Set bit_FMA_Usable if FMA is supported.
68734         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
68735         macro.
68736         (bit_FMA4_Usable): Updated.
68737         (index_FMA_Usable): New macro.
68738         (CPUID_FMA): Likewise.
68739         (HAS_FMA): Defined with bit_FMA_Usable.
68741 2012-10-01  Roland McGrath  <roland@hack.frob.com>
68743         * bits/types.h (__swblk_t): Type removed.
68744         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
68745         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
68746         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68747         (__SWBLK_T_TYPE): Likewise.
68748         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68749         (__SWBLK_T_TYPE): Likewise.
68750         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68751         (__SWBLK_T_TYPE): Likewise.
68752         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68753         (__SWBLK_T_TYPE): Likewise.
68755 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
68756             Honza Horak <hhorak@redhat.com>
68758         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
68759         (xdr_mapname): Use YPMAXMAP as maxsize.
68760         (xdr_peername): Use YPMAXPEER as maxsize.
68761         (xdr_keydat): Use YPAXRECORD as maxsize.
68762         (xdr_valdat): Use YPMAXRECORD as maxsize.
68764 2012-10-01  Roland McGrath  <roland@hack.frob.com>
68766         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
68768         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
68769         * csu/init-first.c: ... here.
68770         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
68771         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
68772         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
68773         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
68774         * sysdeps/i386/init-first.c: File removed.
68775         * sysdeps/sh/init-first.c: File removed.
68777 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
68779         [BZ #14645]
68780         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
68781         if x * y might underflow to zero and z is zero.
68782         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68783         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68784         * math/libm-test.inc (min_subnorm_value): New variable.
68785         (fma_test): Add more tests.
68786         (fma_test_towardzero): Likewise.
68787         (fma_test_downward): Likewise.
68788         (fma_test_upward): Likewise.
68789         (initialize): Set min_subnorm_value.
68791 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
68793         [BZ #14638]
68794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
68795         0 + 0.
68796         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
68797         mode for addition resulting in exact zero.
68798         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
68799         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
68800         exact 0 + 0.
68801         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
68802         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68803         * math/libm-test.inc (fma_test): Add more tests.
68804         (fma_test_towardzero): New function.
68805         (fma_test_downward): Likewise.
68806         (fma_test_upward): Likewise.
68807         (main): Call the new functions.
68809 2012-09-28  David S. Miller  <davem@davemloft.net>
68811         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
68813 2012-09-28  Roland McGrath  <roland@hack.frob.com>
68815         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
68816         instead of SIGALRM.
68818         * sysdeps/gnu/_G_config.h: Moved to ...
68819         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
68820         * sysdeps/mach/hurd/_G_config.h: Moved to ...
68821         * sysdeps/generic/_G_config.h: ... here.
68823         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
68825         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
68827         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
68828         Conditionalize target on [libnss_test1.so-version].
68830         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
68832         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
68833         (elfobjdir): Move out of conditionals.
68835         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
68836         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
68837         (__nss_lookup_function): Conditionalize label remove_from_tree on
68838         [!DO_STATIC_NSS || SHARED], matching its only use.
68840 2012-09-28  David S. Miller  <davem@davemloft.net>
68842         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
68843         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
68844         file.
68845         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
68846         sysdep_routines.
68847         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
68848         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
68849         when HWCAP_SPARC_CRYPTO is present.
68851 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68853         * io/tst-mknodat.c: Create a FIFO instead of a socket.
68855 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
68857         [BZ #6530]
68858         * stdio-common/vfprintf.c (process_string_arg): Revert
68859         2000-07-22 change.
68861 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
68863         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
68864         for testcase.
68865         * stdio-common/tst-sprintf.c: Include <locale.h>
68866         (main): Test sprintf's handling of incomplete multibyte
68867         characters.
68869 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
68871         * elf/dl-runtime.c (VERSYMIDX): Removed.
68872         * elf/dl-version.c (VERSYMIDX): Likewise.
68873         * elf/do-rel.h (VERSYMIDX): Likewise.
68874         (VALIDX): Likewise.
68875         * elf/dynamic-link.h (VERSYMIDX): Likewise.
68876         * elf/rtld.c (VALIDX): Likewise.
68877         (ADDRIDX): Likewise.
68878         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
68879         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
68880         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
68881         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
68882         (VALIDX): Likewise.
68883         (ADDRIDX): Likewise.
68885 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68887         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
68889 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
68891         [BZ #11438]
68892         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
68893         to global scope.
68894         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
68895         addresses are in the same scope as 192.0.2/24.
68896         * posix/gai.conf: Document new scope table defaults.
68898 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68900         [BZ #5298]
68901         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
68902         for ftell.  Compute offsets from write pointers instead.
68903         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
68905 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68907         [BZ #14543]
68908         * libio/Makefile (tests): New test case tst-fseek.
68909         * libio/tst-fseek.c: New test case to verify that fseek/ftell
68910         combination works in wide mode.
68911         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
68912         state when the external buffer state changes.
68914 2012-09-27  David S. Miller  <davem@davemloft.net>
68916         [BZ #14376]
68917         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
68918         pass reloc->r_addend in as the 'high' argument to
68919         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
68921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68923 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
68925         * rt/tst-aio2.c: Include <pthread.h>.
68926         * rt/tst-aio3.c: Likewise.
68928 2012-09-27  Steve Ellcey  <sellcey@mips.com>
68930         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
68932 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
68934         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
68935         contents on [SHARED].
68937 2012-09-26  Marek Polacek  <polacek@redhat.com>
68939         [BZ #14530]
68940         [BZ #13741]
68941         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
68942         for C++ and GCC <4.3 as well as for non GCC compilers.
68944 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
68946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68948 2012-09-25  Roland McGrath  <roland@hack.frob.com>
68950         * Makefile.in (all, install): Declare with .PHONY.
68951         Reported by Michael Hope <michael.hope@linaro.org>.
68953 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68955         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
68956         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
68957         system header.
68958         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
68959         Likewise.
68960         (sydep_routines): Add the new and the internal functions.
68961         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
68962         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
68963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
68964         (GLIBC_2.17): Add the new function.
68965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68966         (GLIBC_2.17): Likewise.
68967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
68968         (GLIBC_2.17): Likewise.
68969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
68970         (GLIBC_2.17): Likewise.
68971         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
68973 2012-09-25  Alan Modra  <amodra@gmail.com>
68975         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
68976         Add release barrier before setting once_control to say
68977         initialisation is done.  Add hints on lwarx.  Use macro in
68978         place of isync.
68979         (clear_once_control): Add release barrier.
68981 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
68983         [BZ #13629]
68984         * math/s_clog.c (__clog): Handle more values close to |z| = 1
68985         specially.
68986         * math/s_clog10.c (__clog10): Likewise.
68987         * math/s_clog10f.c (__clog10f): Likewise.
68988         * math/s_clog10l.c (__clog10l): Likewise.
68989         * math/s_clogf.c (__clogf): Likewise.
68990         * math/s_clogl.c (__clogl): Likewise.
68991         * math/Makefile (libm-calls): Add x2y2m1.
68992         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
68993         (__x2y2m1): Likewise.
68994         (__x2y2m1l): Likewise.
68995         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
68996         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
68997         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
68998         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
68999         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
69000         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
69001         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
69002         * sysdeps/i386/fpu/libm-test-ulps: Update.
69003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69005         [BZ #14621]
69006         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
69007         int as type of variable DEPTH.
69008         (glob): Use size_t instead of int as type of variables NEWCOUNT
69009         and OLD_PATHC.
69011 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69013         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
69014         Add s_sincosf-sse2.
69015         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
69016         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
69017         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
69018         macros for using routine as __sincosf_ia32.
69019         Use macro for function declaration and weak_alias.
69020         * sysdeps/i386/fpu/libm-test-ulps: Update.
69022         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
69023         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69025         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
69026         subnormal argument.
69027         * math/s_cexpf.c (__cexpf): Likewise.
69028         * math/s_csinf.c (__csinf): Likewise.
69029         * math/s_csinhf.c (__csinhf): Likewise.
69030         * math/s_ctanf.c (__ctanf): Likewise.
69031         * math/s_ctanhf.c (__ctanhf): Likewise.
69032         * math/s_ccosh.c (__ccoshf): Likewise.
69033         * math/s_cexp.c (__cexpl): Likewise.
69034         * math/s_csin.c (__csin): Likewise.
69035         * math/s_csinh.c (__csinh): Likewise.
69036         * math/s_ctan.c (__ctan): Likewise.
69037         * math/s_ctanh.c (ctanh): Likewise.
69038         * math/s_ccoshl.c (__ccoshl): Likewise.
69039         * math/s_cexpl.c (__cexpl): Likewise.
69040         * math/s_csinl.c (__csinl): Likewise.
69041         * math/s_csinhl.c (__csinhl): Likewise.
69042         * math/s_ctanl.c (__ctanl): Likewise.
69043         * math/s_ctanhl.c (__ctanhl): Likewise.
69045 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69047         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
69048         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
69049         (_IO_off_t): Define to __off_t, not _G_off_t.
69050         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
69051         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
69052         (_IO_wint_t): Define to wint_t, not _G_wint_t.
69053         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
69054         type of __dummy and __dummy2 fields.
69055         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
69056         (_G_ssize_t): Likewise.
69057         (_G_off_t): Likewise.
69058         (_G_pid_t): Likewise.
69059         (_G_uid_t): Likewise.
69060         (_G_wchar_t): Likewise.
69061         (_G_wint_t): Likewise.
69062         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
69063         (_G_ssize_t): Likewise.
69064         (_G_off_t): Likewise.
69065         (_G_pid_t): Likewise.
69066         (_G_uid_t): Likewise.
69067         (_G_wchar_t): Likewise.
69068         (_G_wint_t): Likewise.
69069         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
69070         (_G_ssize_t): Likewise.
69071         (_G_off_t): Likewise.
69072         (_G_pid_t): Likewise.
69073         (_G_uid_t): Likewise.
69074         (_G_wchar_t): Likewise.
69075         (_G_wint_t): Likewise.
69077 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69079         * malloc/arena.c: Include malloc-sysdep.h.
69080         (shrink_heap): Use check_may_shrink_heap to decide if madvise
69081         is sufficient to shrink the heap or an unmap is needed.
69082         * sysdeps/generic/malloc-sysdep.h: New file.  Define
69083         new function check_may_shrink_heap.
69084         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
69085         new function check_may_shrink_heap.
69087 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69089         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
69090         comments.
69092 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
69094         * catgets/test-gencat.sh: Add "set -e".
69095         * elf/tst-pathopt.sh: Likewise.
69096         * grp/tst_fgetgrent.sh: Likewise.
69097         * iconvdata/run-iconv-test.sh: Likewise.
69098         * intl/tst-gettext.sh: Likewise.
69099         * intl/tst-gettext2.sh: Likewise.
69100         * intl/tst-gettext4.sh: Likewise.
69101         * intl/tst-gettext6.sh: Likewise.
69102         * intl/tst-translit.sh: Likewise.
69103         * io/ftwtest-sh: Likewise.
69104         * libio/test-freopen.sh: Likewise.
69105         * malloc/tst-mtrace.sh: Likewise.
69106         * posix/globtest.sh: Likewise.
69107         * posix/tst-getconf.sh: Likewise.
69108         * posix/wordexp-tst.sh: Likewise.
69109         * stdio-common/tst-printf.sh: Likewise.
69110         * stdio-common/tst-unbputc.sh: Likewise.
69111         * stdlib/tst-fmtmsg.sh: Likewise.
69112         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69113         * catgets/Makefile: Do not specify -e option when running
69114         testsuite shell scripts.
69115         * elf/Makefile: Likewise.
69116         * grp/Makefile: Likewise.
69117         * iconvdata/Makefile: Likewise.
69118         * intl/Makefile: Likewise.
69119         * io/Makefile: Likewise.
69120         * libio/Makefile: Likewise.
69121         * malloc/Makefile: Likewise.
69122         * posix/Makefile: Likewise.
69123         * stdio-common/Makefile: Likewise.
69124         * stdlib/Makefile: Likewise.
69125         * sysdeps/x86_64/Makefile: Likewise.
69127         * io/ftwtest-sh: Add copyright header.
69128         * posix/globtest.sh: Likewise.
69129         * posix/tst-getconf.sh: Likewise.
69130         * posix/wordexp-tst.sh: Likewise.
69131         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69133 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
69135         [BZ #13679]
69136         * Makeconfig (+link): Defined as $(+link-static) if
69137         $(build-shared) isn't yes.
69138         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
69139         isn't yes.
69140         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
69142         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
69144         [BZ #14562]
69145         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
69146         new chunk size with MALLOC_ALIGN_MASK.
69148 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
69150         [BZ #5044]
69151         * stdio-common/printf_fphex.c: Include <stdbool.h> and
69152         <rounding-mode.h>.
69153         (__printf_fphex): Determine rounding using get_rounding_mode and
69154         round_away.
69155         * stdio-common/tst-printf-round.c (struct hex_test): New
69156         structure.
69157         (hex_tests): New variable.
69158         (test_hex_in_one_mode): New function.
69159         (do_test): Also run tests for hex float output.
69161 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
69163         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69164         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69165         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
69166         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69167         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69168         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
69169         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69170         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69172 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
69174         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
69175         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
69176         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
69177         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
69179 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
69181         [BZ #14579]
69182         * elf/rtld.c (dl_main): Limit the check for self loading to normal
69183         mode only.
69184         * elf/tst-rtld-load-self.sh: New test.
69185         * elf/Makefile: Run it.
69187 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
69189         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
69190         (tst-writev-ENV): Remove.
69191         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
69193 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
69195         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
69197 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
69199         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
69200         unconditional.
69201         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
69202         Likewise.
69203         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
69204         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
69205         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
69206         Likewise.
69208 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
69210         [BZ #14587]
69211         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
69212         * config.make.in (have-cpp-asm-debuginfo): Removed.
69213         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
69214         * configure: Regenerated.
69216 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
69218         [BZ #5044]
69219         * stdio-common/printf_fp.c: Include <stdbool.h> and
69220         <rounding-mode.h>.
69221         (___printf_fp): Determine rounding using get_rounding_mode and
69222         round_away.
69223         * stdio-common/tst-printf-round.c: New file.
69224         * stdio-common/Makefile (tests): Add tst-printf-round.
69225         (link-libm): New variable.
69226         ($(objpfx)tst-printf-round): Depend in $(link-libm).
69228 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
69230         [BZ #14576]
69231         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
69232         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
69233         Likewise.
69234         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
69235         Likewise.
69237 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
69239         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
69240         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69241         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69242         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69244 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
69246         [BZ #14518]
69247         * include/rounding-mode.h: New file.
69248         * sysdeps/generic/get-rounding-mode.h: Likewise.
69249         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
69250         * stdlib/strtod_l.c: Include <rounding-mode.h>.
69251         (MAX_VALUE): New macro.
69252         (MIN_VALUE): Likewise.
69253         (overflow_value): New function.
69254         (underflow_value): Likewise.
69255         (round_and_return): Use overflow_value and underflow_value to
69256         determine return values in overflow and underflow cases.  Use
69257         round_away to determine rounding depending on rounding mode.
69258         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
69259         determine return values in overflow and underflow cases.
69260         * stdlib/tst-strtod-round.c: Include <fenv.h>.
69261         (struct test_results): New structure.
69262         (struct test): Use struct test_results to store expected results
69263         for all rounding modes.
69264         (TEST): Include expected results for all rounding modes.
69265         (test_in_one_mode): New function.
69266         (do_test): Use test_in_one_mode to compute and check results.
69267         Check results for all rounding modes.
69268         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
69269         $(link-libm).
69271 2012-12-09  Allan McRae  <allan@archlinux.org>
69273         * sysdeps/i386/fpu/libm-test-ulps: Update
69275 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
69277         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
69278         (_G_int32_t): Likewise.
69279         (_G_uint16_t): Likewise.
69280         (_G_uint32_t): Likewise.
69281         (_G_HAVE_BOOL): Likewise.
69282         (_G_HAVE_ATEXIT): Likewise.
69283         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69284         (_G_HAVE_IO_FILE_OPEN): Likewise.
69285         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
69286         (_G_int32_t): Likewise.
69287         (_G_uint16_t): Likewise.
69288         (_G_uint32_t): Likewise.
69289         (_G_HAVE_BOOL): Likewise.
69290         (_G_HAVE_ATEXIT): Likewise.
69291         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69292         (_G_HAVE_IO_FILE_OPEN): Likewise.
69293         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
69294         (_G_int32_t): Likewise.
69295         (_G_uint16_t): Likewise.
69296         (_G_uint32_t): Likewise.
69297         (_G_HAVE_BOOL): Likewise.
69298         (_G_HAVE_ATEXIT): Likewise.
69299         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69300         (_G_HAVE_IO_FILE_OPEN): Likewise.
69302 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
69304         * csu/libc-tls.c: Update copyright years.
69306 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
69308         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
69309         [!_G_USING_THUNKS]: Remove conditional code.
69310         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
69311         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
69313         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
69314         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
69315         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69316         (_G_VTABLE_LABEL_PREFIX): Likewise.
69317         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69318         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69319         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69320         (_G_VTABLE_LABEL_PREFIX): Likewise.
69321         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69322         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69323         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69324         (_G_VTABLE_LABEL_PREFIX): Likewise.
69325         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69327 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
69329         * libio/Makefile: Include ../Makeconfig before tests.
69330         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
69331         only if $(build-shared) is yes.
69333         * iconv/gconv_db.c: Update copyright years.
69335 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69337         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
69338         unwind info if defined PIC. Fix special cases description.
69339         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
69341         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
69342         DP_HI_MASK entry.
69343         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
69345 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
69347         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
69349         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
69350         is NULL.
69352         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
69353         (LDLIBS-tst-chk4): This.
69354         (LDFLAGS-tst-chk5): Renamed to ...
69355         (LDLIBS-tst-chk5): This.
69356         (LDFLAGS-tst-chk6): Renamed to ...
69357         (LDLIBS-tst-chk6): This.
69358         (LDFLAGS-tst-lfschk4): Renamed to ...
69359         (LDLIBS-tst-lfschk4): This.
69360         (LDFLAGS-tst-lfschk5): Renamed to ...
69361         (LDLIBS-tst-lfschk5): This.
69362         (LDFLAGS-tst-lfschk6): Renamed to ...
69363         (LDLIBS-tst-lfschk6): This.
69365         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
69366         on $(common-objpfx)soversions.mk.
69368 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
69370         [BZ #10014]
69371         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
69372         example host name.
69374 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69376         * malloc/arena.c (arena_get_retry): New function that gets
69377         another arena for the caller to try its request on.
69378         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
69379         current arena cannot fulfill the request.
69380         (__libc_memalign): Likewise.
69381         (__libc_memalign): Likewise.
69382         (__libc_pvalloc): Likewise.
69383         (__libc_calloc): Likewise.
69385 2012-09-05  John Tobey  <john.tobey@gmail.com>
69387         [BZ #13542]
69388         * manual/arith.texi (Operations on Complex): Fix description
69389         of carg branch cut.
69391 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69393         [BZ #10014]
69394         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
69395         host name.
69397         [BZ #10038]
69398         * manual/memory.texi (Memory): Make order of menu items match
69399         order of sections.
69401 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69403         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
69404         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
69405         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
69407 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69409         * csu/libc-tls.c (static_dtv): Renamed to ...
69410         (_dl_static_dtv): This.  Make it global.
69411         (_dl_initial_dtv): Removed.
69412         (__libc_setup_tls): Updated.
69413         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
69414         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
69415         DL_INITIAL_DTV.
69417 2012-09-06  Petr Machata  <pmachata@redhat.com>
69419         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
69420         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
69421         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
69422         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
69424 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69426         [BZ #14545]
69427         * csu/libc-tls.c (_dl_initial_dtv): New variable.
69428         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
69429         freeing dtv[-1].
69431 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69433         [BZ #14544]
69434         * Makeconfig (link-static-before-libc): Replace $(+prector)
69435         with $(+prectorT).
69436         (link-static-after-libc): Replace $(+postctor) with
69437         $(+postctorT).
69438         (link-bounded): Replace $(+prector)/$(+postctor) with
69439         $(+prectorT)/$(+postctorT).
69440         (+prectorT): New macro.
69441         (+postctorT): Likewise.
69443 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69445         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
69446         (round_str): Handle values above the maximum for IBM long double
69447         as inexact.
69448         * stdlib/tst-strtod-round.c (tests): Regenerated.
69450 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69452         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
69453         assembler flag.
69454         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
69455         zarch_nohighgprs around the zarch optimized routines.
69456         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
69457         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
69458         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
69459         for zarch.
69461 2012-09-05  David S. Miller  <davem@davemloft.net>
69463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69465         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
69466         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
69467         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
69468         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69469         entries.
69471 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69473         * malloc/arena.c: Fold copyright years.
69474         * malloc/mcheck.c, malloc/memusage.c: Likewise.
69476 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69478         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
69480 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69482         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
69484 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69486         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
69487         change internal state upon failure.
69489 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69491         * malloc/mcheck.c (mcheck_check_all): Fix typo.
69492         * malloc/memusage.c (mmap): Likewise.
69493         (mmap64, mremap): Likewise.  Adjust name in comment.
69495 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
69497         * libio/fileops.c: Fix typos in comments.
69498         * libio/oldfileops.c: Likewise.
69499         * libio/wfileops.c: Likewise.
69501 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
69503         [BZ #1349]
69504         * malloc/Makefile (tests): Add tst-malloc-usable test case.
69505         (tst-malloc-usable-ENV): Set environment for test case.
69506         * malloc/hooks.c (malloc_check_get_size): New function to get
69507         requested size.
69508         * malloc/malloc.c (musable): Use malloc_check_get_size.
69509         * malloc/tst-malloc-usable.c: New test case.
69511 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69513         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
69515 2012-09-05  Allan McRae  <allan@archlinux.org>
69517         [BZ #13966]
69518         * configure.in (CXX_SYSINCLUDES): Use compiler output to
69519         determine header location.
69520         * configure: Regenerated.
69522 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69524         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
69525         float format.
69526         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
69527         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
69528         format.
69529         (test): Regenerate.
69531 2012-09-04  David S. Miller  <davem@davemloft.net>
69533         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
69534         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
69535         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
69537 2012-09-04  Florian Weimer  <fweimer@redhat.com>
69539         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
69540         failures.
69542         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
69544 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
69546         [BZ #9914]
69547         * libio/iogetdelim.c: Include <limits.h>.
69548         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
69549         + len + 1 would overflow.
69551 2012-09-03  Andreas Jaeger  <aj@suse.de>
69553         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69554         * sysdeps/i386/fpu/libm-test-ulps: Update.
69556 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69558         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
69559         Add s_sinf-sse2, s_conf-sse2.
69561         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
69562         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
69563         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
69564         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
69566         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
69567         for using routine as __sinf_ia32.
69568         Use macro for function declaration and weak_alias.
69569         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
69570         for using routine as __cosf_ia32.
69571         Use macro for function declaration and weak_alias.
69573         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
69574         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
69576         * sysdeps/x86_64/fpu/s_sinf.S: New file.
69577         * sysdeps/x86_64/fpu/s_cosf.S: New file.
69578         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69580         * math/libm-test.inc (cos_test): Add more test cases.
69581         (sin_test): Likewise.
69582         (sincos_test): Likewise.
69584 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69586         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
69587         (IFUNC_RESOLVE): Make pointers to the specialized implementations
69588         hidden.
69589         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69591 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
69593         [BZ #14538]
69594         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
69595         first element of the GOT.
69596         (elf_machine_load_address): Return the difference between
69597         the runtime address of _DYNAMIC and elf_machine_dynamic ().
69599 2012-09-01  Allan McRae  <allan@archlinux.org>
69601         [BZ #13412]
69602         * configure.in (AWK): Require gawk version 3.0 or later.
69603         * configure: Regenerated.
69605 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
69607         * sysdeps/unix/sysv/linux/kernel-features.h
69608         (__ASSUME_POSIX_CPU_TIMERS): Remove.
69609         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
69610         [__NR_clock_getres]: Make code unconditional.
69611         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
69612         (clock_getcpuclockid): Remove code left unreachable by removal of
69613         conditionals.
69614         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
69615         code unconditional.
69616         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
69617         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
69618         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
69619         Make code unconditional.
69620         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
69621         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
69622         * sysdeps/unix/sysv/linux/clock_settime.c
69623         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
69624         conditional code.
69625         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
69626         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
69628 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
69630         [BZ #14476]
69631         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
69632         scripts/test-installation.pl.
69634         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
69635         and $ld_so_version if it is set.
69637 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
69639         [BZ #14516]
69640         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
69641         failure if reading from procfs failed.
69642         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
69644 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
69646         * sysdeps/unix/sysv/linux/kernel-features.h
69647         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
69648         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
69649         Remove conditional code.
69650         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69651         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
69652         Remove conditional code.
69653         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69654         * sysdeps/unix/sysv/linux/i386/fxstat.c
69655         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
69656         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69657         * sysdeps/unix/sysv/linux/i386/fxstatat.c
69658         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
69659         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69660         * sysdeps/unix/sysv/linux/i386/lxstat.c
69661         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
69662         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69663         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
69664         Remove conditional code.
69665         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69666         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
69667         Remove conditional code.
69668         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69669         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
69670         <kernel-features.h>.
69671         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
69672         Remove.
69673         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
69674         Remove conditional code.
69675         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69676         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
69677         Remove conditional.
69679 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
69681         [BZ #5400]
69682         * NEWS: Add fixed bug number.
69684 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
69686         [BZ #14519]
69687         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
69688         underflowing exponent in case of negative sign.
69689         * stdlib/tst-strtod-round-data: Add more tests.
69690         * stdlib/tst-strtod-round.c (tests): Regenerated.
69692         [BZ #3479]
69693         * stdlib/strtod_l.c (NDIG): Remove.
69694         (HEXNDIG): Likewise.
69695         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
69696         smallest representable value.
69697         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
69698         lie within an exact representation of 1/2 ulp of the result.
69699         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
69700         unconditionally.
69701         (TENS_P9_IDX): Define unconditionally.
69702         (TENS_P9_SIZE): Likewise.
69703         (TENS_P10_IDX): Likewise.
69704         (TENS_P10_SIZE): Likewise.
69705         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
69706         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
69707         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
69708         entries for 10^2^13 and 10^2^14.
69709         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
69710         (TENS_P13_IDX): Define.
69711         (TENS_P13_SIZE): Likewise.
69712         (TENS_P14_IDX): Likewise.
69713         (TENS_P14_SIZE): Likewise.
69714         (_fpioconst_pow10): Change array size to
69715         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
69716         unconditional.
69717         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
69718         1024]: Add entries for 10^2^13 and 10^2^14.
69719         [LAST_POW10 > _LAST_POW10]: Remove #error.
69720         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
69721         (_fpioconst_pow10): Change array size to
69722         FPIOCONST_POW10_ARRAY_SIZE.
69723         * stdlib/gen-fpioconst.c: New file.
69724         * stdlib/gen-tst-strtod-round.c: Likewise.
69725         * stdlib/tst-strtod-round-data: Likewise.
69726         * stdlib/tst-strtod-round.c: Likewise.
69727         * stdlib/Makefile (tests): Add tst-strtod-round.
69729         [BZ #14459]
69730         * stdlib/strtod_l.c: Include <stdint.h>.
69731         (NDEBUG): Do not define.
69732         (round_and_return): Change EXPONENT parameter to type intmax_t.
69733         Rearrange calculations to avoid internal overflow possibilities.
69734         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
69735         Rearrange calculations to avoid internal overflow possibilities.
69736         Assert that number fits inside MPNSIZE limbs.
69737         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
69738         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
69739         calculations and add assertions to avoid internal overflow
69740         possibilities.  Add casts to avoid signed/unsigned operations.
69741         * stdlib/tst-strtod-overflow.c: New file.
69742         * stdlib/Makefile (tests): Add tst-strtod-overflow.
69744 2012-08-25  Marek Polacek  <polacek@redhat.com>
69746         * time/time.h: Fix some typos in comments.
69748 2012-08-23  Roland McGrath  <roland@hack.frob.com>
69750         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
69751         * posix/tst-rfc3484-2.c: Likewise.
69752         * posix/tst-rfc3484-3.c: Likewise.
69754 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
69756         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
69757         (EF_ARM_ABI_FLOAT_HARD): Likewise.
69759 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
69761         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
69762         #include of fxstatat64.c.
69764 2012-08-22  Roland McGrath  <roland@hack.frob.com>
69766         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
69767         * shadow/getspent_r.c: Likewise.
69768         * shadow/getspnam.c: Likewise.
69769         * shadow/getspnam_r.c: Likewise.
69770         * gshadow/getsgent.c: Likewise.
69771         * gshadow/getsgent_r.c: Likewise.
69772         * gshadow/getsgnam.c: Likewise.
69773         * gshadow/getsgnam_r.c: Likewise.
69774         * inet/getnetbyad.c: Likewise.
69775         * inet/getnetbyad_r.c: Likewise.
69776         * inet/getnetbynm.c: Likewise.
69777         * inet/getnetbynm_r.c: Likewise.
69778         * inet/getnetent.c: Likewise.
69779         * inet/getnetent_r.c: Likewise.
69780         * inet/getproto.c: Likewise.
69781         * inet/getproto_r.c: Likewise.
69782         * inet/getprtent.c: Likewise.
69783         * inet/getprtent_r.c: Likewise.
69784         * inet/getprtname.c: Likewise.
69785         * inet/getprtname_r.c: Likewise.
69786         * inet/getrpcbyname.c: Likewise.
69787         * inet/getrpcbyname_r.c: Likewise.
69788         * inet/getrpcbynumber.c: Likewise.
69789         * inet/getrpcbynumber_r.c: Likewise.
69790         * inet/getrpcent.c: Likewise.
69791         * inet/getrpcent_r.c: Likewise.
69792         * inet/getaliasent.c: Likewise.
69793         * inet/getaliasent_r.c: Likewise.
69794         * inet/getaliasname.c: Likewise.
69795         * inet/getaliasname_r.c: Likewise.
69796         * nscd/getgrgid_r.c: Likewise.
69797         * nscd/getgrnam_r.c: Likewise.
69798         * nscd/gethstbyad_r.c: Likewise.
69799         * nscd/gethstbynm3_r.c: Likewise.
69800         * nscd/getpwnam_r.c: Likewise.
69801         * nscd/getpwuid_r.c: Likewise.
69802         * nscd/getsrvbynm_r.c: Likewise.
69803         * nscd/getsrvbypt_r.c: Likewise.
69804         * nscd/gai.c: Likewise.
69806         * configure.in (build_nscd): New substituted variable, set
69807         by --disable-build-nscd and defaults to $use_nscd.
69808         * configure: Regenerated.
69809         * config.make.in (build-nscd): New substituted variable.
69810         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
69811         Change conditional to require [$(build-nscd) = yes] as well.
69812         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
69814         [BZ# 13696]
69815         * configure.in (use_nscd): New substituted variable, set by
69816         --disable-nscd.  If enabled, define USE_NSCD.
69817         * configure: Regenerated.
69818         * config.h.in: Add USE_NSCD.
69819         * config.make.in (use-nscd): New substituted variable.
69820         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
69821         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
69822         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
69823         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
69824         (CFLAGS-getgrnam_r.c): Likewise.
69825         (CFLAGS-initgroups.c): Likewise.
69826         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
69827         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
69828         Variables removed.
69829         * inet/getnetgrent_r.c
69830         (nscd_setnetgrent): New function, broken out of ...
69831         (setnetgrent): ... here.  Call it.
69832         (innetgr): Conditionalize nscd bits on [USE_NSCD].
69833         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
69834         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
69835         * nscd/Makefile (routines, aux): Move definitions after include of
69836         Makeconfig.  Conditionalize on [$(use-nscd) != no].
69837         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
69838         Conditionalize on [USE_NSCD].
69839         (is_nscd, nscd_init_cb): Likewise.
69840         (nss_load_library): Conditionalize init callback on [USE_NSCD].
69841         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
69842         * nss/nss_db/db-init.c: Likewise.
69843         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
69844         [USE_NSCD].
69845         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
69846         (make_request): Use it.
69847         (cache_valid_p): New function.
69848         (__check_pf): Use it.
69849         * NEWS: Add item for --disable-nscd.
69851 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
69853         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
69854         to support sed >= 4.2.1-20-ga9bf076.
69855         * configure: Regenerated.
69857 2012-08-22  Roland McGrath  <roland@hack.frob.com>
69859         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
69860         Conditionalize whole body on [IREL].
69862 2012-08-22  Jeff Law <law@redhat.com>
69864         [BZ #14505]
69865         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
69866         if the family is PF_UNSPEC.
69868 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
69870         * Makerules (lib-version): Rename from V.
69871         (install-lib-nosubdir): Change V to lib-version.
69873 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
69875         [BZ #14252]
69876         * powerpc32/power6/wcschr.c: New file.
69877         * powerpc32/power6/wcscpy.c: New file.
69878         * powerpc32/power6/wcsrchr.c: New file.
69879         * powerpc64/power6/wcschr.c: New file.
69880         * powerpc64/power6/wcscpy.c: New file.
69881         * powerpc64/power6/wcsrchr.c: New file.
69883 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
69885         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
69886         (two_way_short_needle): Use it.
69887         * string/strstr.c (AVAILABLE1_USES_J): Define.
69888         * string/strcasestr.c: Likewise.
69890         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
69891         array references.
69892         * string/strcasestr.c (TOLOWER): Make side-effect safe.
69894         [BZ #11607]
69895         * NEWS: Add an entry.
69896         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
69897         define their defaults.
69898         (two_way_short_needle): Detect end-of-string on-the-fly.
69899         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
69900         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
69901         * string/bug-strcasestr1.c: New test.
69902         * string/Makefile: Run it.
69904 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
69906         [BZ #11607]
69907         * string/str-two-way.h (two_way_short_needle): Optimize matching of
69908         the first character.
69910 2012-08-21  Roland McGrath  <roland@hack.frob.com>
69912         * csu/elf-init.c (__libc_csu_irel): Function removed.
69913         * csu/libc-start.c (apply_irel): New function.
69914         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
69916 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
69918         * sysdeps/unix/sysv/linux/kernel-features.h
69919         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
69920         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
69921         <kernel-features.h>.
69922         [__NR_fadvise64_64]: Make code unconditional.
69923         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
69924         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
69925         !__NR_fadvise64_64)]: Likewise.
69926         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
69927         !__NR_fadvise64_64))]: Likewise.
69928         [__NR_fadvise64]: Make code unconditional.
69929         [!__NR_fadvise64]: Remove conditional code.
69930         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
69931         <kernel-features.h>.
69932         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69933         unconditional.
69934         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69935         conditional code.
69936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
69937         not include <kernel-features.h>.
69938         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69939         unconditional.
69940         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69941         conditional code.
69942         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
69943         include <kernel-features.h>.
69944         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
69945         unconditional.
69946         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
69947         conditional code.
69949 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69951         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
69952         slight instruction rearrangements per scrollpipe analysis.
69953         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69955 2012-08-20  Roland McGrath  <roland@hack.frob.com>
69957         * manual/syslog.texi (syslog; vsyslog, closelog):
69958         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
69959         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
69961         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
69962         DSOCAPS to match condition on defining it.
69964 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
69966         * sysdeps/unix/sysv/linux/kernel-features.h
69967         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
69968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
69969         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69970         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
69972         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69973         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
69975         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
69976         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
69978         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
69979         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
69981         * sysdeps/unix/sysv/linux/kernel-features.h
69982         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
69983         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
69984         unconditional.
69985         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69986         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
69987         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
69988         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69989         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
69990         Make code unconditional.
69991         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69992         (__mmap64) [!__NR_mmap2]: Likewise.
69993         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
69994         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
69995         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69996         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
69997         [__NR_mmap2]: Make code unconditional.
69998         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
69999         (__mmap64) [!__NR_mmap2]: Likewise.
70001 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70003         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
70005 2012-08-18  Andreas Jaeger  <aj@suse.de>
70007         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
70009 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70011         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
70012         * include/unistd.h (__have_sock_cloexec): Likewise.
70013         (__have_pipe2): Likewise.
70014         (__have_dup3): Likewise.
70016 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70018         [BZ #9685]
70019         * include/unistd.h (__have_pipe2): Change define into an extern int.
70020         (__have_dup3): Likewise.
70021         * socket/have_sock_cloexec.c: Include fcntl.h.
70022         (__have_pipe2): New variable.
70023         (__have_dup3): Likewise.
70025 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
70027         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
70029 2012-08-17  Marek Polacek  <polacek@redhat.com>
70031         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
70032         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
70034 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70036         * configure.in: Add AC_SUBST for sysheaders.
70037         * configure: Regenerated.
70038         * config.make.in (sysheaders): New substituted variable.
70040         * sysdeps/unix/mkfifo.c: Moved ...
70041         * sysdeps/posix/mkfifo.c: ... here.
70042         * sysdeps/unix/mkfifoat.c: Moved ...
70043         * sysdeps/posix/mkfifoat.c: ... here.
70045         * sysdeps/unix/utime.c: Moved ...
70046         * sysdeps/posix/utime.c: ... here.
70048         * sysdeps/unix/time.c: Moved ...
70049         * sysdeps/posix/time.c: ... here.
70050         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
70051         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
70053         * sysdeps/unix/nice.c: Moved ...
70054         * sysdeps/posix/nice.c: ... here.
70056         * sysdeps/unix/alarm.c: Moved ...
70057         * sysdeps/posix/alarm.c: ... here.
70059         * intl/Makefile ($(codeset_mo)): Depend on the input file.
70061 2012-08-17  Jeff Law <law@redhat.com>
70063         * intl/Makefile (codeset_mo): New variable.
70064         ($(codeset_mo)): New target.
70065         (tst-codeset.out): Depend on that.  Remove explicit rule.
70066         (tst-gettext3.out, tst-gettext5.out): Likewise.
70067         (LOCPATH-ENV, tst-codeset-ENV): New variables.
70068         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
70069         * intl/tst-codeset.sh: Remove.
70070         * intl/tst-gettext3.sh: Likewise.
70071         * intl/tst-gettext5.sh: Likewise.
70073 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70075         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
70076         * sysdeps/unix/syscalls.list: ... here.
70078         * sysdeps/posix/getaddrinfo.c
70079         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
70080         (gaiconf_init, gaiconf_reload): Use them.
70081         [!_STATBUF_ST_NSEC]
70082         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
70083         Define using time_t rather than struct timespec.
70085         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
70086         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
70087         Macros removed.
70088         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
70089         [!NO_THREADS].
70090         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
70091         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
70092         Likewise.
70094         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
70095         __libc_cleanup_push argument.
70097         * bits/param.h: New file.
70098         * misc/sys/param.h: New file.
70099         * include/sys/param.h: New file.
70100         * misc/Makefile (headers): Add bits/param.h.
70101         * sysdeps/generic/sys/param.h: File removed.
70102         * sysdeps/unix/sysv/linux/bits/param.h: New file.
70103         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
70104         * sysdeps/mach/hurd/bits/param.h: New file.
70105         * sysdeps/mach/hurd/sys/param.h: File removed.
70107         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
70108         last change.
70110         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
70111         [_IO_MTSAFE_IO].
70112         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
70113         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
70114         New macros.
70116         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
70117         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
70118         rather than -D_IO_MTSAFE_IO conditionally.
70119         * stdio-common/Makefile (CPPFLAGS): Likewise.
70120         * wcsmbs/Makefile (CPPFLAGS): Likewise.
70121         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
70122         Use $(libio-mtsafe).
70123         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
70124         of -D_IO_MTSAFE_IO.
70125         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
70126         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
70127         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
70128         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
70129         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
70130         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
70131         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
70132         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
70133         (CFLAGS-fread_u_chk.c): Likewise.
70134         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
70135         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
70136         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
70137         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
70138         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
70139         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
70140         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
70141         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
70142         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
70144         * libio/Makefile: Test [$(libc-reentrant) = yes]
70145         instead of [$(filter %REENTRANT, $(defines)) nonempty].
70147         * Makeconfig
70148         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
70149         * sysdeps/pthread/configure: File removed.
70150         * sysdeps/pthread/Makeconfig: New file.
70151         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
70152         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
70154 2012-08-16  Gary Benson  <gbenson@redhat.com>
70156         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
70157         unmapping the first object in a namespace.
70159 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70161         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
70162         (__internal_setnetgrent): ... this.  Add internal_function to
70163         definition.  Add libc_hidden_def.
70164         (setnetgrent): Update caller.
70165         (internal_endnetgrent): Renamed to ...
70166         (__internal_endnetgrent): ... this.  Add internal_function to
70167         definition.  Add libc_hidden_def.
70168         (endnetgrent): Update caller.
70169         (internal_getnetgrent_r): Renamed to ...
70170         (__internal_getnetgrent_r): ... this.  Add internal_function to
70171         definition.  Add libc_hidden_def.
70172         (__getnetgrent_r): Update caller.
70173         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
70175 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70177         * stdlib/longlong.h: Update from GCC.
70179 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70181         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
70182         on _QL, which is set by umul_ppmm but never used.
70183         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
70184         variables, which are set by GMP macros but never used.
70185         * stdio-common/_itowa.c (_itowa): Likewise.
70186         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
70187         * stdlib/mod_1.c (mpn_mod_1): Likewise.
70189 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
70191         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
70192         struct La_sh_regs is not constant.
70193         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
70194         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
70195         and struct La_sparc64_regs are not constant.
70197 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70199         * sysdeps/unix/sysv/linux/kernel-features.h
70200         (__ASSUME_POSIX_TIMERS): Remove.
70201         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70202         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70203         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
70204         Make code unconditional.
70205         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70206         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
70207         Make code unconditional.
70208         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70209         * sysdeps/unix/sysv/linux/clock_nanosleep.c
70210         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
70211         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70212         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
70213         Make code unconditional.
70214         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70215         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
70216         (__libc_missing_posix_timers): Remove.
70218 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70220         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
70221         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
70223         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
70225         * elf/dl-sym.c: Include <stdlib.h>.
70227         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
70228         constants, which avoids warnings in 32-bit builds.
70230         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
70231         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
70233         * misc/lseek.c: File moved to ...
70234         * io/lseek.c: ... here.
70236         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
70238         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
70239         shifting LEN more than 31 bits at once.
70241 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70243         [BZ #14195]
70244         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
70245         segmentation fault for a case of two empty input strings.
70246         * string/test-strncasecmp.c (check1): Renamed to...
70247         (bz12205): ...this.
70248         (bz14195): Add new testcase for two empty input strings and N > 0.
70249         (test_main): Call new testcase, adapt for renamed function.
70251 2012-08-15  Andreas Jaeger  <aj@suse.de>
70253         [BZ #14090]
70254         * crypt/md5test2.c: New test, based on test supplied by Serge
70255         Belyshev <belyshev@depni.sinp.msu.ru>.
70256         * crypt/Makefile (xtests): Add md5test-giant..
70257         * crypt/Makefile ($(objpfx)md5test-giant): Add.
70259 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
70261         [BZ #14090]
70262         * crypt/md5.c (md5_process_block): Don't assume the buffer
70263         length is less than 2**32.
70264         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
70265         length is less than 2**64.
70267 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70269         * string/str-two-way.h: Include <sys/param.h>.
70270         (MAX): Macro removed.
70272         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
70273         Move #define and #undef of memmove to just before and after
70274         including <string.h>.
70276         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
70277         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
70278         and after including <string.h>.  Move declarations of
70279         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
70280         to before #include "string/memmove.c".
70282         * include/dirent.h: Declare __getdirentries.
70284         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
70285         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
70287 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
70289         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
70290         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
70291         * sysdeps/i386/configure: Regenerated.
70292         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
70293         STABS_CURRENT_FILE, and STABS_FUN.
70294         (END): Remove call to STABS_FUN_END.
70295         (STABS_CURRENT_FILE1): Delete.
70296         (STABS_CURRENT_FILE): Likewise.
70297         (STABS_FUN): Likewise.
70298         (STABS_FUN_END): Likewise.
70299         (STABS_FUN2): Likewise.
70300         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
70301         * sysdeps/x86_64/configure: Regenerated.
70303 2012-08-14  Roland McGrath  <roland@hack.frob.com>
70305         * elf/dl-open.c: Include <atomic.h>.
70306         * elf/dl-lookup.c: Likewise.
70308 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
70310         * sysdeps/unix/sysv/linux/kernel-features.h
70311         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
70312         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
70313         unconditionally.
70314         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
70315         unconditionally.
70316         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
70317         condition on __ASSUME_CLONE_THREAD_FLAGS.
70319 2012-08-14  Andreas Jaeger  <aj@suse.de>
70321         * sysdeps/i386/fpu/libm-test-ulps: Update.
70323 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
70325         * include/atomic.h (atomic_exchange_and_add): Split into ...
70326         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
70327         New atomic macros.
70329 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
70331         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70333 2012-08-13  Jeff Law <law@redhat.com>
70335         * manual/stdio.texi (snprintf): Clarify handling of the trailing
70336         null byte in the output string.
70338 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
70340         * sysdeps/unix/sysv/linux/kernel-features.h
70341         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
70342         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
70343         (__ASSUME_ARG_MAX_STACK_BASED): Define.
70344         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
70345         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
70346         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
70347         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
70349 2012-08-09  Jeff Law <law@redhat.com>
70351         [BZ #13939]
70352         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
70353         When avoid_arena is set, don't retry in the that arena.  Pick the
70354         next one, whatever it might be.
70355         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
70356         (arena_lock): Pass in new parameter to arena_get2.
70357         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
70358         arena_get2.
70359         (__libc_malloc): Unify retrying after main arena failure with
70360         __libc_memalign version.
70361         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
70363 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
70365         [BZ #14166]
70366         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
70367         to __redirect_strstr.
70368         (__strstr_sse42): Use typeof __redirect_strstr.
70369         (__strstr_ia32): Likewise.
70370         (__libc_strstr): New prototype.
70371         (strstr): Renamed to ...
70372         (__libc_strstr): This.
70373         (strstr): New strong alias of __libc_strstr.
70374         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70375         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
70376         __redirect_time.
70377         Include <time.h>.
70378         (__libc_time): New prototype.
70379         (time_ifunc): Replace time with __libc_time.
70380         (time): New strong alias and hidden definition of __libc_time.
70381         (__GI_time): Remove strong alias.
70382         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
70383         Include <stddef.h>.
70384         (memmove): Redefined to __redirect_memmove.
70385         (__memmove_sse2): Use typeof __redirect_memmove.
70386         (__memmove_ssse3): Likewise.
70387         (__memmove_ssse3_back): Likewise.
70388         (__libc_memmove): New prototype.
70389         (memmove): Renamed to ...
70390         (__libc_memmove): This.
70391         (memmove): New strong alias of __libc_memmove.
70393 2012-08-08  Mark Salter  <msalter@redhat.com>
70395         * elf/elf.h
70396         (R_MN10300_TLS_GD): Define.
70397         (R_MN10300_TLS_LD): Likewise.
70398         (R_MN10300_TLS_LDO): Likewise.
70399         (R_MN10300_TLS_GOTIE): Likewise.
70400         (R_MN10300_TLS_IE): Likewise.
70401         (R_MN10300_TLS_LE): Likewise.
70402         (R_MN10300_TLS_DTPMOD): Likewise.
70403         (R_MN10300_TLS_DTPOFF): Likewise.
70404         (R_MN10300_TLS_TPOFF): Likewise.
70405         (R_MN10300_SYM_DIFF): Likewise.
70406         (R_MN10300_ALIGN): Likewise.
70407         (R_MN10300_NUM): Update.
70409 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
70411         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
70412         Remove.
70414 2012-08-08  Roland McGrath  <roland@hack.frob.com>
70416         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
70418         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
70419         sysdeps/unix -> sysdeps/posix move.
70420         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
70422 2012-08-07      Allan McRae     <allan@archlinux.org>
70424         [BZ #14303]
70425         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
70426         (SUNOS_CPP): Likewise.
70427         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
70428         not found.
70429         (open_input): Call CPP using execvp.
70431 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
70433         * sysdeps/unix/sysv/linux/kernel-features.h
70434         (__ASSUME_PROT_GROWSUPDOWN): Remove.
70435         (__ASSUME_NO_CLONE_DETACHED): Likewise.
70436         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
70437         (__ASSUME_WAITID_SYSCALL): Likewise.
70438         * sysdeps/unix/sysv/linux/dl-execstack.c
70439         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
70440         code unconditional.
70441         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
70442         conditional code.
70443         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
70444         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
70445         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
70446         code.
70447         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
70448         unconditional.
70449         [__ASSUME_WAITID_SYSCALL]: Likewise.
70450         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
70452 2012-08-07  Roland McGrath  <roland@hack.frob.com>
70454         * sysdeps/unix/closedir.c: Renamed to ...
70455         * sysdeps/posix/closedir.c: ... here.
70456         * sysdeps/unix/dirfd.c: Renamed to ...
70457         * sysdeps/posix/dirfd.c: ... here.
70458         * sysdeps/unix/dirstream.h: Renamed to ...
70459         * sysdeps/posix/dirstream.h: ... here.
70460         * sysdeps/unix/fdopendir.c: Renamed to ...
70461         * sysdeps/posix/fdopendir.c: ... here.
70462         * sysdeps/unix/opendir.c: Renamed to ...
70463         * sysdeps/posix/opendir.c: ... here.
70464         * sysdeps/unix/readdir.c: Renamed to ...
70465         * sysdeps/posix/readdir.c: ... here.
70466         * sysdeps/unix/readdir_r.c: Renamed to ...
70467         * sysdeps/posix/readdir_r.c: ... here.
70468         * sysdeps/unix/rewinddir.c: Renamed to ...
70469         * sysdeps/posix/rewinddir.c: ... here.
70470         * sysdeps/unix/seekdir.c: Renamed to ...
70471         * sysdeps/posix/seekdir.c: ... here.
70472         * sysdeps/unix/telldir.c: Renamed to ...
70473         * sysdeps/posix/telldir.c: ... here.
70474         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
70475         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
70476         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
70477         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
70479         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
70480         * bits/fcntl.h: ... here.
70482         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
70483         not 0.
70484         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
70485         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
70486         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
70487         (struct flock): Move l_start, l_len to the beginning.
70488         Use __pid_t for l_pid.
70489         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
70490         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
70491         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
70492         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
70493         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
70494         [__USE_LARGEFILE64] (struct flock64): New type.
70495         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
70497         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
70498         * bits/dirent.h: ... here.
70500         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
70501         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
70503 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
70505         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70506         Change from 2.6.0 to 2.6.16.
70507         * sysdeps/unix/sysv/linux/configure: Regenerated.
70508         * sysdeps/unix/sysv/linux/kernel-features.h
70509         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
70510         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
70511         version.
70512         (__ASSUME_UTIMES): Likewise.
70513         (__ASSUME_CLONE_STOPPED): Remove.
70514         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
70515         architectures, not kernel version.
70516         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
70517         (__ASSUME_NO_CLONE_DETACHED): Likewise.
70518         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
70519         (__ASSUME_WAITID_SYSCALL): Likewise.
70520         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
70521         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
70522         * README: State 2.6.16 as minimum Linux kernel version.  Do not
70523         refer to older versions.
70525 2012-08-06  Roland McGrath  <roland@hack.frob.com>
70527         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
70528         Define alphasort64 as an alias.
70529         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
70530         Define versionsort64 as an alias.
70531         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
70532         Define scandir64 as an alias.
70533         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
70534         Define scandirat64 as an alias.
70535         * dirent/alphasort64.c (alphasort64):
70536         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
70537         * dirent/versionsort64.c: Likewise.
70538         * dirent/scandir64.c: Likewise.
70539         * dirent/scandirat64.c: Likewise.
70540         * sysdeps/wordsize-64/alphasort.c: File removed.
70541         * sysdeps/wordsize-64/alphasort64.c: File removed.
70542         * sysdeps/wordsize-64/scandir.c: File removed.
70543         * sysdeps/wordsize-64/scandir64.c: File removed.
70544         * sysdeps/wordsize-64/scandirat.c: File removed.
70545         * sysdeps/wordsize-64/scandirat64.c: File removed.
70546         * sysdeps/wordsize-64/versionsort.c: File removed.
70547         * sysdeps/wordsize-64/versionsort64.c: File removed.
70548         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
70549         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
70550         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
70551         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
70552         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
70553         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
70554         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
70555         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
70557         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
70558         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
70559         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
70560         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70561         [defined __arch64__ || defined __sparcv9]
70562         (__INO_T_MATCHES_INO64_T): New macro.
70563         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70564         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
70565         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
70566         * sysdeps/unix/sysv/linux/bits/dirent.h
70567         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
70568         (_DIRENT_MATCHES_DIRENT64): New macro.
70570         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
70571         Define lockf64 as an alias.
70572         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
70573         Define fseeko64 as an alias.
70574         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
70575         Define ftello64 as an alias.
70576         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
70577         Define _IO_fgetpos64 and fgetpos64 as aliases.
70578         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
70579         Define _IO_fsetpos64 and fsetpos64 as aliases.
70580         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
70581         Conditionalize body on this.
70582         * libio/fseeko64.c: Likewise.
70583         * libio/ftello64.c: Likewise.
70584         * libio/iofgetpos64.c: Likewise.
70585         * libio/iofsetpos64.c: Likewise.
70586         * sysdeps/wordsize-64/lockf.c: File removed.
70587         * sysdeps/wordsize-64/lockf64.c: File removed.
70588         * sysdeps/wordsize-64/fseeko.c: File removed.
70589         * sysdeps/wordsize-64/fseeko64.c: File removed.
70590         * sysdeps/wordsize-64/ftello.c: File removed.
70591         * sysdeps/wordsize-64/ftello64.c: File removed.
70592         * sysdeps/wordsize-64/iofgetpos.c: File removed.
70593         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
70594         * sysdeps/wordsize-64/iofsetpos.c: File removed.
70595         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
70596         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
70597         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
70598         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
70599         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
70600         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
70601         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
70602         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
70603         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
70604         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
70605         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
70607         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
70608         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
70609         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
70610         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70611         [defined __arch64__ || defined __sparcv9]
70612         (__OFF_T_MATCHES_OFF64_T): New macro.
70613         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70614         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
70615         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70616         (__OFF_T_MATCHES_OFF64_T): New macro.
70618 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
70620         * stdlib/secure-getenv.c (__secure_getenv): Replace
70621         GLIBC_2_16 with GLIBC_2_17.
70623 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
70625         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
70626         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
70628 2012-08-03  David S. Miller  <davem@davemloft.net>
70630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70632 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
70634         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
70635         Remove.
70636         (__ASSUME_CORRECT_SI_PID): Likewise.
70637         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
70638         (__ASSUME_TMPFS_NAME): Likewise.
70639         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
70640         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
70641         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
70642         (HAVE_AUX_SECURE): Make definition unconditional.
70643         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
70644         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
70646 2012-08-03  Roland McGrath  <roland@hack.frob.com>
70648         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
70649         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
70650         * sysdeps/mach/hurd/eloop-threshold.h: New file.
70651         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
70652         __eloop_threshold instead of SYMLOOP_MAX.
70654         * sysdeps/generic/eloop-threshold.h: New file.
70655         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
70656         of MAXSYMLINKS.
70657         * elf/chroot_canon.c (chroot_canon): Likewise.
70659 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
70661         [BZ #13717]
70662         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70663         Change to 2.6.0 everywhere.
70664         * sysdeps/unix/sysv/linux/configure: Regenerated.
70665         * sysdeps/unix/sysv/linux/kernel-features.h
70666         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
70667         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
70668         kernel versions.
70669         (__ASSUME_POSIX_TIMERS): Define unconditionally.
70670         (__ASSUME_FUTEX_REQUEUE): Remove.
70671         (__ASSUME_STATFS64): Define unconditionally.
70672         (__ASSUME_AT_SECURE): Likewise.
70673         (__ASSUME_CORRECT_SI_PID): Likewise.
70674         (__ASSUME_TGKILL): Define without depending on kernel version for
70675         i386.
70676         (__ASSUME_UTIMES): Likewise.
70677         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
70678         kernel version.
70679         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
70680         (__ASSUME_TMPFS_NAME): Likewise.
70681         * README: Update reference to Linux kernel versions.
70683 2012-08-02  Marek Polacek  <polacek@redhat.com>
70685         [BZ# 14150]
70686         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
70687         libc_cv_asm_type_prefix with %.
70688         * configure: Regenerated.
70689         * include/libc-symbols.h: Remove comment about
70690         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
70691         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
70692         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
70693         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
70694         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
70695         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
70696         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
70697         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
70698         * elf/tst-unique2mod1.c: Likewise.
70699         * elf/tst-unique1mod2.c: Likewise.
70700         * elf/tst-unique1mod1.c: Likewise.
70701         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
70702         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
70703         Replace ASM_TYPE_DIRECTIVE with .type.
70704         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70705         * sysdeps/i386/sysdep.h: Likewise.
70706         * sysdeps/x86_64/sysdep.h: Likewise.
70707         * sysdeps/sh/sysdep.h: Likewise.
70708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70709         Do not define ASM_TYPE_DIRECTIVE.
70710         * sysdeps/powerpc/sysdep.h: Likewise.
70711         * sysdeps/powerpc/powerpc32/sysdep.h:
70712         Replace ASM_TYPE_DIRECTIVE with .type.
70713         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
70714         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
70715         * sysdeps/i386/fpu/e_powf.S: Likewise.
70716         * sysdeps/i386/fpu/e_expl.S: Likewise.
70717         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70718         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70719         * sysdeps/i386/fpu/e_pow.S: Likewise.
70720         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70721         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70722         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70723         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70724         * sysdeps/i386/fpu/e_log2.S: Likewise.
70725         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70726         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70727         * sysdeps/i386/fpu/e_powl.S: Likewise.
70728         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70729         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70730         * sysdeps/i386/fpu/e_logl.S: Likewise.
70731         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70732         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70733         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70734         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70735         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70736         * sysdeps/i386/fpu/e_log.S: Likewise.
70737         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70738         * sysdeps/i386/fpu/e_logf.S: Likewise.
70739         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70740         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70741         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70742         * sysdeps/i386/fpu/e_log10.S: Likewise.
70743         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70744         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70745         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70746         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70747         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70748         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
70749         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70750         * sysdeps/i386/i686/strtok.S: Likewise.
70751         * sysdeps/i386/i386-mcount.S: Likewise.
70752         * sysdeps/i386/strtok.S: Likewise.
70753         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
70754         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70755         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70756         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70757         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70758         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70759         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70760         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70761         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70762         * sysdeps/x86_64/_mcount.S: Likewise.
70763         * sysdeps/x86_64/strtok.S: Likewise.
70764         * sysdeps/sh/_mcount.S: Likewise.
70766 2012-08-01  Roland McGrath  <roland@hack.frob.com>
70768         * libio/iofopen.c: Include <fcntl.h>.
70769         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
70770         (_IO_fopen64, fopen64): Define as aliases.
70771         * libio/iofopen64.c: Include <fcntl.h>.
70772         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
70773         Conditionalize body on this.
70774         * sysdeps/wordsize-64/iofopen.c: File removed.
70775         * sysdeps/wordsize-64/iofopen64.c: File removed.
70777 2012-08-01  Marek Polacek  <polacek@redhat.com>
70779         * libc/Makeconfig: Use elf in place of binfmt-subdir.
70780         Use dlfcn directly instead of a variable.
70781         (binfmt-subdir): Do not define.
70782         (dlfcn): Likewise.
70784 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
70786         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
70787         Remove all definitions.
70788         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
70789         <kernel-features.h>.
70790         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
70791         (miss_F_GETOWN_EX): Remove all definitions.
70792         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
70793         macro definition.
70794         [!__ASSUME_FCNTL64]: Remove conditional code.
70795         [__ASSUME_FCNTL64]: Make code unconditional.
70796         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
70797         <kernel-features.h>.
70798         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
70799         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
70800         (lockf64) [__NR_fcntl64]: Make code unconditional.
70801         (lockf64) [__ASSUME_FCNTL64]: Likewise.
70803         * sysdeps/unix/sysv/linux/kernel-features.h
70804         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
70805         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
70806         Make code unconditional.
70807         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70808         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
70810         [__NR_vfork]: Make code unconditional.
70811         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70812         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
70814         [__NR_vfork]: Make code unconditional.
70815         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70816         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70818 2012-08-01  Roland McGrath  <roland@hack.frob.com>
70820         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
70821         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
70823         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70824         Define mkstemp64 as an alias.
70825         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70826         Define mkstemps64 as an alias.
70827         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70828         Define mkostemp64 as an alias.
70829         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
70830         Define mkostemps64 as an alias.
70831         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
70832         Conditionalize body on this.
70833         * misc/mkostemp64.c: Likewise.
70834         * misc/mkostemps64.c: Likewise.
70835         * misc/mkstemps64.c: Likewise.
70836         * sysdeps/wordsize-64/mkstemp64.c: File removed.
70837         * sysdeps/wordsize-64/mkostemp64.c: File removed.
70838         * sysdeps/wordsize-64/mkostemp.c: File removed.
70839         * sysdeps/wordsize-64/mkstemp.c: File removed.
70840         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
70841         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
70842         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
70843         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
70845         [BZ #14138]
70846         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
70847         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
70848         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
70849         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
70851         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
70852         compat_symbol macros from <shlib-compat.h> rather than the underlying
70853         default_symbol_version and symbol_version macros, so that DEFAULT
70854         lines in shlib-versions are respected.
70855         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
70857 2012-08-01  Florian Weimer  <fweimer@redhat.com>
70859         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
70860         Declare with warn_unused_result.
70861         (setgid, setregid, setegid, setresgid): Likewise.
70862         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
70863         Likewise.
70864         * WUR-REPORT: Remove set*id functions.
70866 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
70868         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
70870 2012-07-31  Roland McGrath  <roland@hack.frob.com>
70872         [BZ #10191]
70873         * include/sys/socket.h (__libc_accept, __libc_accept4):
70874         Add attribute_hidden.
70875         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
70877         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
70878         use of PTR_MANGLE.
70879         * inet/getnetgrent_r.c (setup): Likewise.
70881         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
70883 2012-07-31  David S. Miller  <davem@davemloft.net>
70885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70887 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
70889         [BZ #13629]
70890         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
70891         value between 1.0 and 2.0 and smaller part has absolute value less
70892         than 1.0.
70893         * math/s_clog10.c (__clog10): Likewise.
70894         * math/s_clog10f.c (__clog10f): Likewise.
70895         * math/s_clog10l.c (__clog10l): Likewise.
70896         * math/s_clogf.c (__clogf): Likewise.
70897         * math/s_clogl.c (__clogl): Likewise.
70898         * math/libm-test.inc (clog_test): Add more tests.
70899         (clog10_test): Likewise.
70900         * sysdeps/i386/fpu/libm-test-ulps: Update.
70901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70903 2012-07-31  Florian Weimer  <fweimer@redhat.com>
70905         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
70906         Exit with zero in case no suitable GID is found, and write a
70907         message to standard error.
70909 2012-07-30  Roland McGrath  <roland@hack.frob.com>
70911         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
70912         rather than to 1.
70913         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
70914         (MAXPATHLEN): Removed.
70915         (NOGROUP, NODEV): New macros.
70916         (setbit, clrbit, isset, isclr): New macros.
70917         (howmany, roundup, powerof2): New macros.
70918         (DEV_BSIZE): New macro.
70920         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
70921         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
70923         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
70924         definition on [!__NO_LONG_DOUBLE_MATH].
70926         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
70927         PTR_MANGLE and PTR_DEMANGLE.
70929         * socket/accept4.c (accept4): Rename to __libc_accept4.
70930         Define accept4 as a weak alias.
70932         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
70933         on [_DIRENT_HAVE_D_TYPE].
70934         * io/ftw.c (ftw_dir): Likewise.
70936         * io/xmknod.c (__xmknod): Don't check PATH for being null.
70938         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
70940         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
70941         Use the BSD numbers rather than the arbitrary ones we had.
70942         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
70943         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
70944         (SIGXCPU, SIGXFSZ): New macros.
70945         (_NSIG): Now 32.
70947         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
70948         initializer on [_LIBC_REENTRANT].
70950         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
70951         definitions inside [_POSIX_MAPPED_FILES].
70953         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
70955         * dirent/opendir.c: Include <fcntl.h>.
70957         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
70958         (__libc_getspecific): Likewise.
70959         (__libc_key_create): Likewise.
70961         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
70962         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
70963         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
70964         (tmpfile64): Define as alias.
70965         * sysdeps/wordsize-64/tmpfile.c: File removed.
70966         * sysdeps/wordsize-64/tmpfile64.c: File removed.
70967         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
70968         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
70970         * stdio-common/vfscanf.c: Include <stdbool.h>.
70971         * nss/makedb.c: Likewise.
70972         * stdio-common/_i18n_number.h: Likewise.
70973         * argp/argp-help.c: Likewise.
70974         * posix/wordexp.c: Likewise.
70975         * sysdeps/posix/spawni.c: Likewise.
70976         * nss/nss_files/files-initgroups.c: Likewise.
70977         * stdio-common/reg-modifier.c: Include <stdlib.h>.
70978         * nss/nss_files/files-initgroups.c: Likewise.
70979         * nss/nss_db/db-netgrp.c: Likewise.
70980         * nss/nss_db/db-initgroups.c: Likewise.
70981         * io/fchmodat.c: Include <sys/stat.h>.
70983         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
70984         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
70986         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
70987         [HAVE_MMAP].
70989         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
70990         Add multiple inclusion protection.
70992 2012-07-27  David S. Miller  <davem@davemloft.net>
70994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70996 2012-07-27  Gary Benson  <gbenson@redhat.com>
70998         [BZ #14298]
70999         * elf/rtld.c: Include <stap-probe.h>.
71000         (dl_main): Added static probes "init_start" and "init_complete".
71001         * elf/dl-load.c: Include <stap-probe.h>.
71002         (lose): Take new parameter "nsid".
71003         Added static probe "map_failed".
71004         (_dl_map_object_from_fd): Pass namespace id to lose.
71005         Added static probe "map_start".
71006         (open_verify): Pass namespace id to lose.
71007         * elf/dl-open.c: Include <stap-probe.h>.
71008         (dl_open_worker) Added static probes "map_complete", "reloc_start"
71009         and "reloc_complete".
71010         * elf/dl-close.c: Include <stap-probe.h>.
71011         (_dl_close_worker): Added static probes "unmap_start" and
71012         "unmap_complete".
71013         * elf/rtld-debugger-interface.txt: New file documenting the above.
71015 2012-07-26  Roland McGrath  <roland@hack.frob.com>
71017         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
71018         rather than a string variable.
71019         * sunrpc/rpc_main.c (h_output): Likewise.
71020         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
71022 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
71024         * inet/check_native.c: New file.
71026 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
71028         [BZ #13629]
71029         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
71030         if larger part has absolute value 1.0.
71031         * math/s_clog10.c (__clog10): Likewise.
71032         * math/s_clog10f.c (__clog10f): Likewise.
71033         * math/s_clog10l.c (__clog10l): Likewise.
71034         * math/s_clogf.c (__clogf): Likewise.
71035         * math/s_clogl.c (__clogl): Likewise.
71036         * math/libm-test.inc (clog_test): Add more tests.
71037         (clog10_test): Likewise.
71038         * sysdeps/i386/fpu/libm-test-ulps: Update.
71039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71041         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
71042         (pltexit): Likewise.
71043         (La_regs): Likewise.
71044         (La_retval): Likewise.
71045         (int_retval): Likewise.
71046         Update #error for removed macros to refer only to definitions in
71047         tst-audit.h.
71048         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
71049         macro.
71050         (pltexit): Likewise.
71051         (La_regs): Likewise.
71052         (La_retval): Likewise.
71053         (int_retval): Likewise.
71054         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
71055         macro.
71056         (pltexit): Likewise.
71057         (La_regs): Likewise.
71058         (La_retval): Likewise.
71059         (int_retval): Likewise.
71060         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
71061         macro.
71062         (pltexit): Likewise.
71063         (La_regs): Likewise.
71064         (La_retval): Likewise.
71065         (int_retval): Likewise.
71066         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
71067         macro.
71068         (pltexit): Likewise.
71069         (La_regs): Likewise.
71070         (La_retval): Likewise.
71071         (int_retval): Likewise.
71072         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
71073         macro.
71074         (pltexit): Likewise.
71075         (La_regs): Likewise.
71076         (La_retval): Likewise.
71077         (int_retval): Likewise.
71078         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
71079         macro.
71080         (pltexit): Likewise.
71081         (La_regs): Likewise.
71082         (La_retval): Likewise.
71083         (int_retval): Likewise.
71084         * sysdeps/generic/tst-audit.h: Update comment to refer only to
71085         macro definitions in tst-audit.h.
71086         * sysdeps/i386/tst-audit.h: New file.
71087         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
71088         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
71089         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
71090         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
71091         * sysdeps/sh/tst-audit.h: Likewise.
71092         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
71093         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
71094         * sysdeps/x86_64/tst-audit.h: Likewise.
71096 2012-07-26  Andreas Jaeger  <aj@suse.de>
71098         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
71099         ptrace.
71101         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
71102         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
71103         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
71104         PTRACE_O_MASK.
71105         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
71106         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
71107         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
71109         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
71110         value.
71112         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
71113         _sigsys.
71114         (si_call_addr, si_syscall, si_arch): Define new macro.
71115         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
71116         _sigsys.
71117         (si_call_addr, si_syscall, si_arch): Define new marcro.
71118         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
71119         _sigsys.
71120         (si_call_addr, si_syscall, si_arch): Define new macro.
71121         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
71122         _sigsys.
71123         (si_call_addr, si_syscall, si_arch): Define new macro.
71125 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71127         [BZ #13717]
71128         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71129         Change to 2.4.21 where previously 2.4.1.
71130         * sysdeps/unix/sysv/linux/configure: Regenerated.
71131         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
71132         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
71133         Linux kernel version.
71134         (__ASSUME_STD_AUXV): Remove.
71135         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
71136         kernel version.
71137         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
71138         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
71139         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
71140         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
71141         (__ASSUME_NETLINK_SUPPORT): Likewise.
71142         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
71143         (__no_netlink_support): Remove conditional definition.
71144         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
71145         Remove.
71146         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71147         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
71148         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
71149         (if_nameindex_ioctl): Remove.
71150         (if_nameindex_netlink): Do not handle __no_netlink_support.
71151         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71152         code.
71153         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
71154         Remove conditional code.
71155         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71156         code.
71157         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
71158         unconditional.
71159         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71160         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
71161         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
71162         Remove.
71163         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
71164         [!__ASSUME_STD_AUXV]: Remove conditional code.
71165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
71166         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
71167         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
71168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
71169         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
71170         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71171         code.
71172         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
71174         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
71175         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71176         conditional code.
71177         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
71179         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71180         code.
71181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
71182         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71183         conditional code.
71184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
71185         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71186         code unconditional.
71187         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71188         conditional code.
71189         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71190         unconditional.
71191         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71192         conditional code.
71193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71194         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71195         unconditional.
71196         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71197         conditional code.
71198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
71199         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71200         code unconditional.
71201         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71202         conditional code.
71203         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71204         unconditional.
71205         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71206         conditional code.
71207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
71208         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71209         code unconditional.
71210         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71211         conditional code.
71212         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71213         unconditional.
71214         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71215         conditional code.
71217 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
71219         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
71220         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
71221         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
71222         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
71223         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
71224         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
71225         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
71226         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
71227         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
71228         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
71229         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
71230         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
71231         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
71232         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
71233         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
71234         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
71235         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
71236         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
71237         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
71238         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
71239         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
71240         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
71241         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71243 2012-07-25  Florian Weimer  <fweimer@redhat.com>
71245         * Versions.def: Add GLIBC_2.17.
71246         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
71247         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
71248         Introduce __libc_secure_getenv.
71249         * stdlib/Versions (2.17): Add secure_getenv
71250         (GLIBC_PRIVATE): Add __libc_secure_getenv.
71251         * stdlib/secure-getenv.c: Rename __secure_getenv to
71252         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
71253         symbol __secure_getenv for GLIBC_2.0.
71254         * stdlib/tst-secure-getenv.c: New.
71255         * stdlib/Makefile (tests): Add testcase.
71256         * manual/startup.texi (Environment Access): Document
71257         secure_getenv.
71258         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
71259         __libc_secure_getenv.
71260         * inet/ruserpass.c (ruserpass): Likewise.
71261         * malloc/mtrace.c (mtrace): Likewise.
71262         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
71263         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
71264         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
71265         * sysdeps/posix/tempname.c: Likewise.  Evaluate
71266         HAVE_SECURE_GETENV.
71267         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
71268         __secure_getenv to __libc_secure_getenv.
71269         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
71270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71271         Likewise.
71272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71273         Likewise.
71274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
71275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
71276         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
71278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
71279         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
71282 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71284         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
71285         (struct La_i86_retval): Likewise.
71286         (struct La_x86_64_regs): Likewise.
71287         (struct La_x86_64_retval): Likewise.
71288         (struct La_x32_regs): Likewise.
71289         (struct La_x32_retval): Likewise.
71290         (struct La_ppc32_regs): Likewise.
71291         (struct La_ppc32_retval): Likewise.
71292         (struct La_ppc64_regs): Likewise.
71293         (struct La_ppc64_retval): Likewise.
71294         (struct La_sh_regs): Likewise.
71295         (struct La_sh_retval): Likewise.
71296         (struct La_s390_32_regs): Likewise.
71297         (struct La_s390_32_retval): Likewise.
71298         (struct La_s390_64_regs): Likewise.
71299         (struct La_s390_64_retval): Likewise.
71300         (struct La_sparc32_regs): Likewise.
71301         (struct La_sparc32_retval): Likewise.
71302         (struct La_sparc64_regs): Likewise.
71303         (struct La_sparc64_retval): Likewise.
71304         (struct audit_ifaces): Remove architecture-specific pltenter and
71305         pltexit members.
71306         * sysdeps/i386/ldsodefs.h: New file.
71307         * sysdeps/powerpc/ldsodefs.h: Likewise.
71308         * sysdeps/s390/ldsodefs.h: Likewise.
71309         * sysdeps/sh/ldsodefs.h: Likewise.
71310         * sysdeps/sparc/ldsodefs.h: Likewise.
71311         * sysdeps/x86_64/ldsodefs.h: Likewise.
71313 2012-07-25  Marek Polacek  <polacek@redhat.com>
71315         [BZ #6808]
71316         * math/libm-test.inc (yn_test): Add another test.
71317         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
71318         to ERANGE when the result is +-Inf.
71319         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
71320         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
71321         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
71322         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
71324 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
71326         * conform/data/time.h-data (NULL): Use macro-constant.  Require
71327         equal to 0.
71328         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
71329         clock_t.
71330         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
71332 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
71334         * configure.in <sysdeps resolving>: Correct printing
71335         Implies_before.
71336         * configure: Regenerate.
71338 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
71340         * math/w_ilogb.c: Include <limits.h>.
71341         * math/w_ilogbl.c: Likewise.
71343 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71345         * manual/lang.texi (__va_copy): Document primarily as ISO C99
71346         va_copy.  Document allowing for unavailable va_copy only as
71347         pre-C99 compatibility.
71348         * manual/string.texi (Copying and Concatenation): Use va_copy
71349         instead of __va_copy in concat example.
71351 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
71353         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
71354         (__sendto): Use create_address_port.  Initialize APORT and deallocate
71355         it if not null.
71357         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
71358         with O_NOLINK passed to __file_name_lookup.
71360         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
71361         with O_NOLINK passed to __file_name_lookup.
71363         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
71364         negative N or less than NGIDS.
71366         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
71367         type to string_t.  Set ERANGE as errno and return it if NAME is not big
71368         enough.  Use memcpy instead of strncpy.
71370 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71372         * elf/Makefile (check-data): Remove.
71373         (localplt.data): New vpath directive.
71374         ($(objpfx)check-localplt.out): Use localplt.data from vpath
71375         instead of $(check-data).
71376         * scripts/data/localplt-generic.data: Move to ...
71377         * sysdeps/generic/localplt.data: ... here.
71378         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
71379         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
71380         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
71381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
71382         ... here.
71383         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
71384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
71385         ... here.
71386         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
71387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
71388         ... here.
71389         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
71390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
71391         ... here.
71392         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
71393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
71394         ... here.
71395         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
71396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
71397         ... here.
71399 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71401         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
71402         PPC32 and PPC64 files.
71403         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
71404         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
71406 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71408         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
71409         __makecontext_ret to ...
71410         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
71411         ... here and call exit if uc_link is NULL.  New file.
71412         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
71413         __makecontext_ret.S.
71414         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
71415         __makecontext_ret to ...
71416         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
71417         ... here and call exit if uc_link is NULL.  New file.
71418         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
71419         __makecontext_ret.S.
71421 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71423         * elf/elf.h (R_390_IRELATIVE): New definition.
71424         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
71425         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
71426         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
71427         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
71428         (elf_machine_lazy_rel): Likewise.
71429         * sysdeps/s390/dl-irel.h: New file.
71430         * sysdeps/s390/s390-64/memcpy.S: New asm code.
71431         * sysdeps/s390/s390-64/memset.S: New asm code.
71432         * sysdeps/s390/s390-64/memcmp.S: New asm code.
71433         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
71434         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
71435         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
71436         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
71437         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
71438         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
71439         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
71440         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
71441         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
71442         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
71443         * sysdeps/s390/s390-32/memcpy.S: New asm code.
71444         * sysdeps/s390/s390-32/memset.S: New asm code.
71445         * sysdeps/s390/s390-32/memcmp.S: New asm code.
71447 2012-07-17  Marek Polacek  <polacek@redhat.com>
71449         [BZ #14349]
71450         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
71451         * sysdeps/s390/s390-64/configure.in: Likewise.
71452         * sysdeps/sparc/configure.in: Likewise.
71453         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
71454         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
71455         * sysdeps/i386/configure.in: Likewise.
71456         * sysdeps/x86_64/configure.in: Likewise.
71457         * sysdeps/sh/configure.in: Likewise.
71458         * sysdeps/s390/s390-32/configure: Regenerated.
71459         * sysdeps/s390/s390-64/configure: Likewise.
71460         * sysdeps/x86_64/configure: Likewise.
71461         * sysdeps/sh/configure: Likewise.
71462         * sysdeps/powerpc/powerpc64/configure: Likewise.
71463         * sysdeps/powerpc/powerpc32/configure: Likewise.
71464         * sysdeps/sparc/configure: Likewise.
71465         * sysdeps/i386/configure: Likewise.
71467         * elf/dl-open.c: Comment fixes.
71469 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
71471         * Makefile [CXX] (check-data): Remove.
71472         [CXX] (c++-types.data): New vpath directive.
71473         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
71474         vpath.  Do not allow for C++ type data being missing.
71475         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
71476         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
71477         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
71478         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
71479         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
71480         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
71481         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
71482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
71483         ... here.
71484         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
71485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
71486         ... here.
71487         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
71488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
71489         ... here.
71490         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
71491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
71492         ... here.
71493         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
71494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
71495         ... here.
71496         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
71497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
71498         ... here.
71499         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
71500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
71501         ... here.
71502         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
71503         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
71505         * elf/tls-macros.h (TLS_LE): Move architecture-specific
71506         definitions to architecture-specific files.
71507         (TLS_IE): Likewise.
71508         (TLS_LD): Likewise.
71509         (TLS_GD): Likewise.
71510         * sysdeps/i386/tls-macros.h: New file.
71511         * sysdeps/powerpc/tls-macros.h: Likewise.
71512         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
71513         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
71514         * sysdeps/sh/tls-macros.h: Likewise.
71515         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
71516         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
71517         * sysdeps/x86_64/tls-macros.h: Likewise.
71519 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
71521         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
71522         zero value for regular exit case.
71524         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
71525         (__start_context): Preserve zero value for regular exit case.
71527 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
71528             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71530         * manual/setjmp.texi (setcontext): Clarify normal process
71531         termination when uc_link is the null pointer.
71532         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
71533         exit call.
71535 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
71537         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
71538         preprocessor.  Test for each exception mask separately.
71540 2012-07-16  Andreas Jaeger  <aj@suse.de>
71542         * po/ru.po: Update from translation team.
71544 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
71546         * conform/data/string.h-data (NULL): Use macro-constant.  Require
71547         equal to 0.
71548         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
71549         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
71550         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
71551         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
71552         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71554 2012-07-13  Andreas Jaeger  <aj@suse.de>
71556         * po/fr.po: Update from translation team.
71558 2012-07-12  Marek Polacek  <polacek@redhat.com>
71560         [BZ #14173]
71561         * math/libm-test.inc (yn_test): Add test for BZ #14173.
71562         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
71563         loop condition.
71565 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
71567         [BZ #13717]
71568         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71569         Change to 2.4.1 where previously 2.4.0.
71570         * sysdeps/unix/sysv/linux/configure: Regenerated.
71571         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
71572         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
71573         version.
71574         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
71575         (__ASSUME_AT_CLKTCK): Remove.
71576         (__ASSUME_AT_PAGESIZE): Likewise.
71577         (__ASSUME_AT_XID): Likewise.
71578         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
71579         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
71580         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
71581         unconditionally.
71582         (HAVE_AUX_PAGESIZE): Likewise.
71583         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
71584         [__ASSUME_AT_CLKTCK]: Make code unconditional.
71585         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
71587 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
71589         [BZ #14307]
71590         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
71591         the temporary buffer used to invoke __gethostbyname2_r,
71592         __gethostbyaddr_r and gethostbyname4_r to make room for struct
71593         host_data / struct gaih_addrtuple.
71594         * resolv/nss_dns/dns-host.c (global scope): Move definition of
71595         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
71596         header file nss/nsswitch.h.
71597         * nss/nsswitch.h (global scope): Add definition of implementation
71598         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
71599         resolv/nss_dns/dns-host.c).
71601 2012-07-11  Andreas Jaeger  <aj@suse.de>
71603         * po/fr.po: Update from translation team.
71605         * po/sv.po: Update from translation team
71606         * po/fr.po: Another update from translation team.
71608 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71610         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
71611         for subnormals or multiply small sinh result by itself.
71612         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71615 2012-07-11  David S. Miller  <davem@davemloft.net>
71617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71619 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
71621         [BZ #14347]
71622         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
71623         (INTERNAL_MARK): Shift it here.
71625 2012-07-10  Marek Polacek  <polacek@redhat.com>
71627         [BZ #14151]
71628         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
71629         libc_cv_asm_global_directive with .globl.
71630         * configure: Regenerated.
71631         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
71632         with .globl.
71633         * sysdeps/i386/configure: Regenerated.
71634         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
71635         with .globl.
71636         * sysdeps/x86_64/configure: Regenerated.
71637         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
71638         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
71639         * elf/tst-unique2mod2.c: Likewise.
71640         * elf/tst-unique2mod1.c: Likewise.
71641         * elf/tst-unique1mod2.c: Likewise.
71642         * elf/tst-unique1mod1.c: Likewise.
71643         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71644         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
71645         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71646         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
71647         * sysdeps/mach/sysdep.h: Likewise.
71648         * sysdeps/i386/sysdep.h: Likewise.
71649         * sysdeps/i386/i386-mcount.S: Likewise.
71650         * sysdeps/x86_64/_mcount.S: Likewise.
71651         * sysdeps/x86_64/sysdep.h: Likewise.
71652         * sysdeps/sh/_mcount.S: Likewise.
71653         * sysdeps/sh/sysdep.h: Likewise.
71654         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
71655         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
71656         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
71657         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71658         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
71659         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
71660         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
71661         * locale/localeinfo.h: Likewise.
71662         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
71663         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
71665 2012-07-09  Roland McGrath  <roland@hack.frob.com>
71667         [BZ #14336]
71668         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
71669         system".
71670         * manual/message.texi (The Uniforum approach): Likewise.
71671         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
71672         (glibc iconv Implementation): Likewise.
71674 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
71676         [BZ #14337]
71677         * math/s_clog.c (__clog): Avoid scaling a value down where that
71678         could result in underflow.
71679         * math/s_clog10.c (__clog10): Likewise.
71680         * math/s_clog10f.c (__clog10f): Likewise.
71681         * math/s_clog10l.c (__clog10l): Likewise.
71682         * math/s_clogf.c (__clogf): Likewise.
71683         * math/s_clogl.c (__clogl): Likewise.
71684         * math/libm-test.inc (clog_test): Add more tests.
71685         (clog10_test): Likewise.
71686         * sysdeps/i386/fpu/libm-test-ulps: Update.
71687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71689 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
71691         [BZ #14283]
71692         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
71693         by 7 not 8 to examine high bit of fractional part.
71695         [BZ #14042]
71696         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
71697         for call to __mcount_internal.
71698         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
71699         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
71700         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
71702 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
71704         [BZ #14154]
71705         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
71706         approximation for values within 0x1p-13f of an odd multiple of
71707         pi/4.
71708         * math/libm-test.inc (tan_test): Do not allow spurious underflow
71709         exception.  Add more tests.
71710         * sysdeps/i386/fpu/libm-test-ulps: Update.
71712         [BZ #6778]
71713         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
71714         inputs and return -1 for them.  Do not check for +Inf in case not
71715         reachable for +Inf.
71716         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
71717         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
71718         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
71719         and return -1 for them.  Do not check for +Inf in case not
71720         reachable for +Inf.
71721         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
71722         define.
71723         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
71724         and return -1 for them.  Do not check for +Inf in case not
71725         reachable for +Inf.
71726         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
71727         spurious underflow.
71728         * sysdeps/i386/fpu/libm-test-ulps: Update.
71729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71731 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
71733         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
71735 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
71737         [BZ #14157]
71738         [BZ #14331]
71739         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
71740         could result in spurious underflow.  Scale down values above
71741         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
71742         * math/s_csqrtf.c (__csqrtf): Likewise.
71743         * math/s_csqrtl.c (__csqrtl): Likewise.
71744         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
71745         spurious underflow.
71746         * sysdeps/i386/fpu/libm-test-ulps: Update.
71747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71749 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
71751         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
71752         xopen-msg.sed.
71753         * catgets/xopen-msg.awk: New file.
71754         * catgets/xopen-msg.sed: Removed.
71756         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
71757         po2text.sed.
71758         * intl/po2test.awk: New file.
71759         * intl/po2test.sed: Removed.
71761 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
71763         [BZ #14328]
71764         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
71765         or multiply small sinh result by itself.
71766         * math/s_ctanf.c (__ctanf): Likewise.
71767         * math/s_ctanh.c (__ctanh): Likewise.
71768         * math/s_ctanhf.c (__ctanhf): Likewise.
71769         * math/s_ctanhl.c (__ctanhl): Likewise.
71770         * math/s_ctanl.c (__ctanl): Likewise.
71771         * math/libm-test.inc (ctan_test_tonearest): New function.
71772         (ctan_test_towardzero): Likewise.
71773         (ctan_test_downward): Likewise.
71774         (ctan_test_upward): Likewise.
71775         (ctanh_test_tonearest): Likewise.
71776         (ctanh_test_towardzero): Likewise.
71777         (ctanh_test_downward): Likewise.
71778         (ctanh_test_upward): Likewise.
71779         (main): Call these new functions.
71780         * sysdeps/i386/fpu/libm-test-ulps: Update.
71781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71783 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
71785         * .gitignore: Delete /ports entry.
71787 2012-07-03  Andreas Jaeger  <aj@suse.de>
71789         * po/bg.po: Update from translation team.
71790         * po/cs.po: Likewise.
71791         * po/de.po: Likewise.
71792         * po/hr.po: Likewise.
71793         * po/nl.pl: Likewise.
71794         * po/pl.po: Likewise.
71795         * po/vi.po: Likewise.
71797 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
71799         * Makeconfig [!+link] (+link-before-libc): New variable.
71800         [!+link] (+link-after-libc): Likewise.
71801         [!+link] (+link-tests): Likewise.
71802         [!+link] (+link): Define in terms of $(+link-before-libc) and
71803         $(+link-after-libc).
71804         [!+link-static] (+link-static-before-libc): New variable.
71805         [!+link-static] (+link-static-after-libc): Likewise.
71806         [!+link-static] (+link-static-tests): Likewise.
71807         [!+link-static] (+link-static): Define in terms of
71808         $(+link-static-before-libc) and $(+link-static-after-libc).
71809         [build-shared] (link-libc-before-gnulib): New variable.
71810         [build-shared] (link-libc-tests): Likewise.
71811         [build-shared] (link-libc): Define in terms of
71812         $(link-libc-before-gnulib).
71813         [!build-shared] (link-libc-tests): New variable.
71814         (link-libc-static-tests): New variable.
71815         [!gnulib] (gnulib-arch): New variable.
71816         [!gnulib] (gnulib-tests): Likewise.
71817         [!gnulib] (static-gnulib-arch): Likewise.
71818         [!gnulib] (static-gnulib-tests): Likewise.
71819         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
71820         Define with "=" instead of ":=".
71821         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
71822         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
71823         * Rules (binaries-all-notests): New variable.
71824         (binaries-all-tests): Likewise.
71825         (binaries-static-notests): Likewise.
71826         (binaries-static-tests): Likewise.
71827         (binaries-all): Define using $(binaries-all-notests) and
71828         $(binaries-all-tests).
71829         (binaries-static): Define using $(binaries-static-notests) and
71830         $(binaries-static-tests).
71831         (binaries-shared-tests): New variable.
71832         (binaries-shared-notests): Likewise.
71833         (binaries-shared): Remove variable.
71834         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
71835         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
71836         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
71837         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
71838         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
71839         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
71840         * elf/Makefile (sln-modules): New variable.
71841         (extra-objs): Add $(sln-modules:=.o).
71842         (ldconfig-modules): Add static-stubs.
71843         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
71844         * elf/static-stubs.c: New file.
71846         [BZ #14283]
71847         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
71848         by 7 not 8 to examine high bit of fractional part.  Use volatile
71849         variables when splitting into final array of floats if
71850         __FLT_EVAL_METHOD__ != 0.
71851         * math/libm-test.inc (cos_test): Add another test.
71852         (sin_test): Likewise.
71853         * sysdeps/i386/fpu/libm-test-ulps: Update.
71855         [BZ #14273]
71856         * math/libm-test.inc (cosh_test): Add more tests.
71858         * version.h (RELEASE): Set to "development".
71859         (VERSION): Set to "2.16.90".
71861 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
71863         * NEWS: Update copyright. Remove last-updated date.
71864         Mention math library bug fixes and timezone data changes.
71865         * README: Mention GNU/Hurd, x32, and HPPA support status.
71867 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
71869         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
71871 2012-06-27  Andreas Jaeger  <aj@suse.de>
71873         * manual/contrib.texi (Contributors): Add Samuel Thibault.
71875 2012-06-25  Andreas Jaeger  <aj@suse.de>
71877         * sysdeps/s390/fpu/libm-test-ulps: Update.
71879 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
71880             Thomas Schwinge  <thomas@codesourcery.com>
71882         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
71883         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
71884         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
71885         fanotify_mark.
71887 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
71889         * sysdeps/mach/start.c: Remove file.
71890         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
71891         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
71892         * sysdeps/sh/init-first.c: Likewise.
71894         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
71895         registers for frame unwinding purposes, add CFI directives.
71896         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
71897         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
71898         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
71899         Likewise.
71901         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
71902         __fortify_fail returning.
71903         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
71905         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
71906         sysdeps/sh/____longjmp_chk.S.
71907         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
71908         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
71909         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
71910         (gen-as-const-headers): Append sigaltstack-offsets.sym.
71912         * sysdeps/sh/abort-instr.h: New file.
71913         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
71914         process in case exit returns.
71916         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
71917         initialize the GOT register before use.
71919         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
71920         calculation of ARGC > 4.
71922         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
71923         meaningful names to some local labels.
71925 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71926             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71928         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
71929         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
71930         (__arch_compare_and_exchange_val_16_acq): Likewise.
71931         (__arch_compare_and_exchange_val_32_acq): Likewise.
71932         (atomic_exchange_and_add): Fix gUSA sequence.
71933         (atomic_add): Likewise.
71934         (atomic_add_negative): Likewise.
71935         (atomic_add_zero): Likewise.
71936         (atomic_bit_test_set): Likewise.
71938 2012-06-22  Andreas Schwab  <schwab@redhat.com>
71940         [BZ #13579]
71941         * include/link.h (struct link_map): Add l_free_initfini.
71942         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
71943         l_initfini.
71944         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
71945         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
71946         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
71947         set.
71949 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
71951         * configure.in: Use AC_LANG_SOURCE.
71952         * configure: Regenerate.
71954 2012-06-22  Roland McGrath  <roland@hack.frob.com>
71956         * configure.in (libc_cv_localstatedir): New substituted variable.
71957         * configure: Regenerated.
71958         * config.make.in (localstatedir): New variable, substituted from
71959         libc_cv_localstatedir.
71960         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
71961         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
71962         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
71963         * sysdeps/gnu/configure: Regenerated.
71965 2012-06-21  Jeff Law  <law@redhat.com>
71967         [BZ #14277]
71968         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
71969         free.  Simplify list management for _LIBC case.
71971 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
71973         [BZ #14273]
71974         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
71975         Clear sign bit of 64-bit integer value before comparing against
71976         overflow value.
71978         * sysdeps/mach/configure: Regenerated.
71980 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
71982         [BZ #14278]
71983         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
71985 2012-06-21  Jeff Law  <law@redhat.com>
71987         [BZ #13882]
71988         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
71989         uint16_t for elements in the "seen" array to avoid char overflows.
71990         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71991         * elf/dl-open.c (dl_open_worker): Likewise.
71993 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
71995         * scripts/list-sources.sh: Scan PORTS for translations.
71996         * po/libc.pot: Regenerated.
71998 2012-06-21  Andreas Jaeger  <aj@suse.de>
72000         [BZ #12194]
72001         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
72002         warning.
72003         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
72004         * bits/byteswap-16.h (__bswap_16): Likewise.
72005         * bits/byteswap.h (__bswap_constant_16): Likewise.
72007 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
72009         [BZ #14117]
72010         * sysdeps/i386/fpu_control.h: Removed.
72011         * sysdeps/x86_64/fpu_control.h: Moved to ...
72012         * sysdeps/x86/fpu_control.h: Here.
72014         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
72015         (_FPU_SETCW): Likewise.
72017 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
72019         [BZ #14117]
72020         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
72021         * sysdeps/x86/fpu/bits/mathinline.h: This.
72022         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
72024         [BZ #14050]
72025         [BZ #14117]
72026         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
72027         functions if __x86_64__ is defined.
72029 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
72031         * string/endian.h: Add !__ASSEMBLER__ condition for including
72032         conversion interfaces.
72034 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
72036         [BZ #14241]
72037         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
72038         of ABS(x) in calculating zero to negative powers other than odd
72039         integers.
72040         * math/libm-test.inc (pow_test): Add more tests.
72042 2012-06-15  Andreas Jaeger  <aj@suse.de>
72044         * manual/contrib.texi (Contributors): Update entry of Liubov
72045         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
72046         Machado Filho.
72048 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
72050         * string/string.h: Add __wur to GNU version of strerror_r.
72052 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
72054         [BZ #14229]
72055         * string/Makefile (tests): Add tst-strtok_r.
72056         * string/tst-strtok_r.c: New file.
72057         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
72058         RAX_LP/RDX_LP on SAVE_PTR.
72060 2012-06-14  Roland McGrath  <roland@hack.frob.com>
72062         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
72064 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
72066         * libm_test.inc (csqrt_test): Allow more spurious underflow
72067         exceptions.
72068         (j0_test): Likewise.
72069         (j1_test): Likewise.
72070         (y0_test): Likewise.
72071         (y1_test): Likewise.
72073 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
72075         * po/Makefile (libc.pot): Use UTF-8 charset.
72077 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
72079         [BZ #14210]
72080         Suppress sign-conversion warning from FD_SET.
72081         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
72082         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
72083         not unsigned long int.
72084         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
72086 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
72088         [BZ #14050]
72089         [BZ #14117]
72090         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
72091         __extern_always_inline instead of __extern_inline.
72092         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
72093         (__signbit): Likewise.
72094         (__signbitl): Support C++ namespace.
72095         (lrintf): New inline function.
72096         (lrint): Likewise.
72097         (llrintf): Likewise.
72098         (llrint): Likewise.
72099         (fmaxf): Likewise.
72100         (fmax): Likewise.
72101         (fminf): Likewise.
72102         (fmin): Likewise.
72103         (rint): Likewise.
72104         (rintf): Likewise.
72105         (ceil): Likewise.
72106         (ceilf): Likewise.
72107         (floor): Likewise.
72108         (floorf): Likewise.
72109         (nearbyint): Likewise.
72110         (nearbyintf): Likewise.
72112 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
72114         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
72115         non-default versions.
72117 2012-06-11  Roland McGrath  <roland@hack.frob.com>
72119         [BZ #14218]
72120         * manual/argp.texi (Argp): Reword argp_parse description slightly.
72122 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
72124         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
72125         (FE_UPWARD, FE_DOWNWARD): Don't define.
72126         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
72127         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72129         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
72130         reading it.
72131         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72132         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72134 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72136         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
72137         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
72138         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
72139         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
72141 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
72143         [BZ #14117]
72144         * sysdeps/i386/fpu/bits/fenv.h: Removed.
72145         * sysdeps/i386/fpu/Implies: New file.
72146         * sysdeps/x86_64/fpu/Implies: Likewise.
72147         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
72148         * sysdeps/x86/fpu/bits/fenv.h: This.
72150         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
72151         __SSE_MATH__.
72153 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
72155         [BZ #14134]
72156         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
72157         character 0xffff that matches the last element of the
72158         conversion table.
72160 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72162         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
72163         fmodl commit.
72165 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72167         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
72168         values higher than 25.6283.
72170 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72172         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
72173         subnormal exponent extraction and add some __builtin_expect.
72174         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
72175         Fix for subnormal mantissa calculation.
72177 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
72179         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
72180         cpu2 is -1 and errno is not ENOSYS.
72182 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
72184         [BZ #14117]
72185         * sysdeps/i386/i486/bits/string.h: Renamed to ...
72186         * sysdeps/x86/bits/string.h: This.
72187         * sysdeps/x86_64/bits/string.h: Removed.
72189         * sysdeps/i386/i486/bits/string.h: Define inline functions only
72190         if not compiling for x86-64, but compiling for >= i486.
72192         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
72193         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
72195         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
72196         New macro from Linux kernel 3.4.0.
72197         (FP_XSTATE_MAGIC2): Likewise.
72198         (FP_XSTATE_MAGIC2_SIZE): Likewise.
72199         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
72200         (struct _fpx_sw_bytes): New struct.
72201         (struct _xsave_hdr): Likewise.
72202         (struct _ymmh_state): Likewise.
72203         (struct _xstate): Likewise.
72205         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
72206         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
72207         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
72208         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
72209         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
72210         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
72212         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
72213         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
72214         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
72215         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
72216         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
72217         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
72219 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72221         [BZ #13743]
72222         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
72223         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
72224         (sysdep_headers): Include sys/platform/ppc.h.
72225         * sysdeps/powerpc/test-gettimebase.c: Test for
72226         __ppc_get_timebase() to catch future ISA opcode/insn changes.
72227         * manual/Makefile (appendices): Include platform.texi.
72228         * manual/contrib.texi (Contributors): Update @node pointers.
72229         * manual/maint.texi (Maintenance): Likewise.
72230         (Platform): New node.
72231         * manual/platform.texi: New file.  Document the new features.
72233 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72234             Jakub Jelinek  <jakub@redhat.com>
72236         [BZ #14188]
72237         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
72238         where __builtin_expect is unavailable.
72240 2012-06-03  David S. Miller  <davem@davemloft.net>
72242         * stdlib/longlong.h: Updated from GCC.
72244 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
72246         [BZ #14042]
72247         * sysdeps/powerpc/powerpc32/mcount.c: New file.
72248         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
72249         __mcount_internal.
72250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
72251         (GLIBC_2.16): Likewise.
72253 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72255         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
72257 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
72260         (default-abi): New variable.
72261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
72262         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
72263         variable.
72264         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
72265         Likewise.
72266         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
72267         Likewise.
72268         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
72269         Likewise.
72271         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
72272         definition.  Document in comment.
72274 2012-06-01  David S. Miller  <davem@davemloft.net>
72276         * stdlib/longlong.h: Updated from GCC.
72278 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72280         [BZ #14117]
72281         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
72282         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
72283         sys/debugreg.h sys/io.h here.
72284         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
72285         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
72286         sys/io.h.
72287         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
72288         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
72289         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
72290         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
72291         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
72292         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
72294         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
72295         Define only if __x86_64__ is defined.
72297 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72299         [BZ #14048]
72300         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
72301         Use int64_t for variable i.
72302         * math/libm-test.inc (fmod_test): Add more tests.
72304         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
72305         z computation is not scheduled after fetestexcept.
72306         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
72307         Use math_force_eval instead of asm to ensure calculation scheduled
72308         before exception test.
72309         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
72310         Ensure a1 + u.d computation is not scheduled after fetestexcept.
72312 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
72314         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
72315         computation is not scheduled after fetestexcept.
72317 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72319         [BZ #14117]
72320         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
72321         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
72323 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72325         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
72326         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72328 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72330         [BZ #14117]
72331         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
72332         <bits/wordsize.h>.
72333         (__WCHAR_MIN): Support __WORDSIZE == 64.
72334         (__WCHAR_MAX): Likewise.
72336         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
72337         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
72339         [BZ #14183]
72340         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
72341         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
72343         [BZ #14117]
72344         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
72345         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
72347         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
72348         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
72350         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
72351         Defined to 1 if __x86_64__ isn't defined.
72352         (_STAT_VER_LINUX_OLD): New.
72353         (st_atime): Remove duplicate.
72354         (st_mtime): Likewise.
72355         (st_ctime): Likewise.
72357 2012-05-31  David S. Miller  <davem@davemloft.net>
72359         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
72360         entries.
72362 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
72364         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
72365         gen-libm-test.pl.
72367         [BZ #14132]
72368         * elf/dl-reloc.c: Include <_itoa.h>.
72369         (_dl_reloc_bad_type): Remove use of INTUSE.
72370         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
72371         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
72372         * stdio-common/psiginfo.c (psiginfo): Likewise.
72373         * stdio-common/psignal.c (psignal): Likewise.
72374         * string/strsignal.c (strsignal): Likewise.
72375         * include/signal.h (_sys_siglist): Declare hidden proto.
72376         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
72377         INTVARDEF with libc_hidden_data_def.
72378         * stdio-common/itoa-udigits.c: Likewise.
72379         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
72380         (_itoa_lower_digits_internal): Remove declaration.
72381         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
72382         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
72383         (_sys_sigabbrev_internal): Remove aliases.
72384         (_sys_siglist): Define hidden alias.
72386 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
72388         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72389         bits/sysctl.h.
72391 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72393         [BZ #14117]
72394         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
72395         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
72397         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
72398         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
72399         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
72400         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
72401         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
72402         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
72404         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
72405         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
72406         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
72408         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
72409         with __addr.
72410         (insw): Likewise.
72411         (insl): Likewise.
72412         (outsb): Likewise.
72413         (outsw): Likewise.
72414         (outsl): Likewise.
72416         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
72417         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
72418         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
72420         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
72421         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
72422         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
72423         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
72424         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
72425         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
72427         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
72428         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
72430         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
72431         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
72433         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
72434         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
72435         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
72437         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
72438         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
72439         to ...
72440         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
72442         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
72443         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
72444         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
72446         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
72447         for x86-64.
72448         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
72450 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
72452         * math/math.h (M_El): Use two more decimal places.
72453         (M_LOG2El): Likewise.
72454         (M_LOG10El): Likewise.
72455         (M_LN2l): Likewise.
72456         (M_LN10l): Likewise.
72457         (M_PIl): Likewise.
72458         (M_PI_2l): Likewise.
72459         (M_PI_4l): Likewise.
72460         (M_1_PIl): Likewise.
72461         (M_2_PIl): Likewise.
72462         (M_2_SQRTPIl): Likewise.
72463         (M_SQRT2l): Likewise.
72464         (M_SQRT1_2l): Likewise.
72466 2012-05-31  David S. Miller  <davem@davemloft.net>
72468         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
72469         values between float registers.
72470         * sysdeps/sparc/sparc64/memset.S: Likewise.
72471         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72473 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
72475         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
72476         -D_FORTIFY_SOURCE=1.
72477         (CPPFLAGS-tst-longjmp_chk.c): Define.
72478         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
72479         (CPPFLAGS-tst-longjmp_chk2.c): Define.
72480         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
72481         CFLAGS-tst-wchar-h.c.
72483 2012-05-31  Marek Polacek  <polacek@redhat.com>
72485         [BZ #14132]
72486         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
72487         __endmntent_internal): Remove declaration.
72488         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
72489         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
72490         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
72492 2012-05-30  David S. Miller  <davem@davemloft.net>
72494         * sysdeps/sparc/sparc32/soft-fp/q_util.c
72495         (___Q_simulate_exceptions): Use real FP ops rather than writing
72496         into the %fsr.
72497         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
72498         Likewise.
72500 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72502         [BZ #14117]
72503         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
72504         * sysdeps/x86/bits/xtitypes.h: This.
72506         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
72507         * sysdeps/x86/bits/wordsize.h: This.
72509         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
72510         * sysdeps/x86/bits/huge_vall.h: This.
72512         * sysdeps/i386/bits/select.h: Removed.
72513         * sysdeps/x86_64/bits/select.h: Renamed to ...
72514         * sysdeps/x86/bits/select.h: This.
72516         * sysdeps/i386/bits/setjmp.h: Removed.
72517         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
72518         * sysdeps/x86/bits/setjmp.h: This.
72520         * sysdeps/i386/bits/mathdef.h: Removed.
72521         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
72522         * sysdeps/x86/bits/mathdef.h: This.
72524 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
72526         [BZ #14132]
72527         * include/sys/socket.h (__connect_internal)
72528         (__libc_sa_len_internal): Remove declaration.
72529         (__connect, __libc_sa_len): Declare hidden_proto.
72530         (SA_LEN): Remove use of INTUSE.
72531         * socket/connect.c: Add libc_hidden_def.
72532         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
72533         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
72534         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
72535         alias.
72536         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
72537         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
72538         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
72539         of adding _internal alias.
72541 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72543         [BZ #14117]
72544         * sysdeps/i386/bits/link.h: Removed.
72545         * sysdeps/i386/bits/linkmap.h: Likewise.
72546         * sysdeps/x86_64/bits/link.h: Renamed to ...
72547         * sysdeps/x86/bits/link.h: This.
72548         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
72549         * sysdeps/x86/bits/linkmap.h: This.
72551         * sysdeps/i386/bits/endian.h: Removed.
72552         * sysdeps/x86_64/bits/endian.h: Renamed to ...
72553         * sysdeps/x86/bits/endian.h: This.
72555         * sysdeps/i386/bits/byteswap.h: Removed.
72556         * sysdeps/i386/bits/byteswap-16.h: Likewise.
72557         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
72558         * sysdeps/x86/bits/byteswap.h: This.
72559         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
72560         * sysdeps/x86/bits/byteswap-16.h: This.
72561         * sysdeps/i386/Implies: Add x86.
72562         * sysdeps/x86_64/Implies: Likewise.
72564 2012-05-30  David S. Miller  <davem@davemloft.net>
72566         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
72567         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
72568         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
72569         (FP_TRAPPING_EXCEPTIONS): Define.
72570         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
72571         (FP_TRAPPING_EXCEPTIONS): Define.
72572         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
72573         subnormals only when inexact has been signalled or underflow
72574         exceptions are enabled.
72575         (_FP_PACK_CANONICAL): Likewise.
72577 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72579         [BZ #14183]
72580         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
72581         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
72583 2012-05-30  Richard Henderson  <rth@twiddle.net>
72585         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
72586         with #ifndef NOT_IN_libc.
72588         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
72589         marked to avoid plt entry.
72591 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72593         [BZ #14112]
72594         * Makeconfig (default-abi): New macro.
72595         (abi-includes): Likewise.
72596         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
72597         $(abi-$(default-abi)-lib-soname) for soname if defined.
72598         ($(common-objpfx)gnu/lib-names.stmp): Generate from
72599         abi-variants.
72600         * Makefile (installed-stubs): Likewise.
72601         * include/stubs-biarch.h: Removed.
72602         * scripts/lib-names.awk: Only handle one library at a time.
72603         * scripts/soversions.awk: Remove WORDSIZE support.
72604         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
72605         entries.
72606         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
72607         Removed.
72608         (syscall-list-default-condition): Likewise.
72609         (syscall-list-default-condition): Likewise.
72610         (syscall-list-includes): Likewise.
72611         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
72612         syscall-list-* with abi-*.  Handle undefined abi-variants.
72613         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
72614         * sysdeps/unix/sysv/linux/i386/Implies: New file.
72615         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
72616         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
72617         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
72618         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
72619         Removed.
72620         (syscall-list-32-options): Likewise.
72621         (syscall-list-32-condition): Likewise.
72622         (syscall-list-64-options): Likewise.
72623         (syscall-list-64-condition): Likewise.
72624         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
72625         macro.
72626         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
72627         Renamed to ...
72628         (abi-*): This.
72629         (abi-64-ld-soname): New macro.
72630         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
72631         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
72632         Renamed to ...
72633         (abi-*): This.
72634         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
72635         * sysdeps/x86_64/x32/shlib-versions: Likewise.
72637 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
72639         * sysdeps/unix/sysv/linux/kernel-features.h
72640         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
72641         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
72642         include <kernel-features.h>.
72643         [!__NR_ftruncate64]: Remove conditional code.
72644         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72645         [__NR_ftruncate64]: Make code unconditional.
72646         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72647         * sysdeps/unix/sysv/linux/truncate64.c: Do not
72648         include <kernel-features.h>.
72649         [!__NR_ftruncate64]: Remove conditional code.
72650         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72651         [__NR_ftruncate64]: Make code unconditional.
72652         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
72654         include <kernel-features.h>.
72655         [!__NR_ftruncate64]: Remove conditional code.
72656         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72657         [__NR_ftruncate64]: Make code unconditional.
72658         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
72660         include <kernel-features.h>.
72661         [!__NR_ftruncate64]: Remove conditional code.
72662         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72663         [__NR_ftruncate64]: Make code unconditional.
72664         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72666         * configure.in (libc_cv_fpie): Weaken to a compile test using
72667         LIBC_TRY_CC_OPTION.
72668         * configure: Regenerated.
72670 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
72673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
72674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
72675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
72676         Refreshed.
72677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
72678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
72679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
72680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
72681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
72682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
72683         Refreshed.
72685 2012-05-27  David S. Miller  <davem@davemloft.net>
72687         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
72688         (___Q_zero): New.
72689         (__Q_simulate_exceptions): Return void.  Change to simulate
72690         exceptions by writing into the %fsr.
72691         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
72692         (__Qp_handle_exceptions): Likewise.
72693         (numbers): Delete.
72694         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
72695         __Qp_handle_exceptions.
72696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
72697         __Qp_handle_exceptions.
72698         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
72699         as unused and give dummy FP_RND_NEAREST initializer.
72700         (FP_INHIBIT_RESULTS): Define.
72701         (___Q_simulate_exceptions): Update declaration.
72702         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
72703         formatting.
72704         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
72705         as unused and give dummy FP_RND_NEAREST initializer.
72706         (__Qp_handle_exceptions): Update declaration.
72707         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
72708         formatting.
72710 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
72712         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
72713         the temporary FPU control word.
72714         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
72715         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
72716         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
72717         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72718         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
72719         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
72720         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
72721         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72722         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
72723         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
72724         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72726 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72728         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
72729         fields.
72731 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
72733         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
72734         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
72735         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
72736         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
72737         Likewise.
72738         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
72739         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
72740         Likewise.
72742 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
72744         * po/h.po: Update from translation team.
72746 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
72748         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
72750         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
72751         handling of denormals.
72752         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72753         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
72754         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72755         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72756         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72757         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
72758         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
72759         Likewise.
72761 2012-05-26  Marek Polacek  <polacek@redhat.com>
72763         [BZ #14152]
72764         * math/libm-test.inc (fma_test): Don't always expect underflow
72765         exception.
72767 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
72769         [BZ #12416]
72770         * elf/tst-execstack.c: Include stackinfo.h.
72771         (do_test): Adjust test case to ensure that pthread_getattr_np
72772         behaviour remains the same after marking stack executable.
72774 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
72776         * sysdeps/unix/sysv/linux/kernel-features.h
72777         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
72778         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
72779         kernel-features.h.
72780         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72781         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72782         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
72783         kernel-features.h.
72784         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72785         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72787 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
72789         * configure.in: Define the default includes to being none.
72790         * configure: Regenerated.
72792 2012-05-25  Roland McGrath  <roland@hack.frob.com>
72794         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
72795         * sysdeps/x86_64/setjmp.S: Likewise.
72796         * sysdeps/i386/bsd-setjmp.S: Likewise.
72797         * sysdeps/i386/bsd-_setjmp.S: Likewise.
72798         * sysdeps/i386/setjmp.S: Likewise.
72799         * sysdeps/i386/__longjmp.S: Likewise.
72800         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72801         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
72803         * include/stap-probe.h: New file.
72804         * configure.in: Handle --enable-systemtap.
72805         * configure: Regenerated.
72806         * config.h.in (USE_STAP_PROBE): New #undef.
72807         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
72808         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
72809         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
72811 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
72813         [BZ #13717]
72814         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
72815         to 2.4.0 where earlier.
72816         * sysdeps/unix/sysv/linux/configure: Regenerated.
72817         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
72818         <kernel-features.h>.
72819         [__ASSUME_32BITUIDS]: Make code unconditional.
72820         [!__ASSUME_32BITUIDS]: Remove conditional code.
72821         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
72822         <kernel-features.h>.
72823         [__ASSUME_32BITUIDS]: Make code unconditional.
72824         [!__ASSUME_32BITUIDS]: Remove conditional code.
72825         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
72826         [__ASSUME_32BITUIDS]: Make code unconditional.
72827         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
72828         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
72829         <kernel-features.h>.
72830         [__ASSUME_32BITUIDS]: Make code unconditional.
72831         [!__ASSUME_32BITUIDS]: Remove conditional code.
72832         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
72833         <kernel-features.h>.
72834         [__ASSUME_32BITUIDS]: Make code unconditional.
72835         [!__ASSUME_32BITUIDS]: Remove conditional code.
72836         * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
72869         <kernel-features.h>.
72870         [__NR_setresgid] (__setresgid): Do not declare.
72871         [__ASSUME_32BITUIDS]: Make code unconditional.
72872         [!__ASSUME_32BITUIDS]: Remove conditional code.
72873         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
72874         <kernel-features.h>.
72875         [__NR_setresuid] (__setresuid): Do not declare.
72876         [__ASSUME_32BITUIDS]: Make code unconditional.
72877         [!__ASSUME_32BITUIDS]: Remove conditional code.
72878         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
72879         <kernel-features.h>.
72880         [__ASSUME_32BITUIDS]: Make code unconditional.
72881         [!__ASSUME_32BITUIDS]: Remove conditional code.
72882         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
72883         <kernel-features.h>.
72884         [__ASSUME_32BITUIDS]: Make code unconditional.
72885         [!__ASSUME_32BITUIDS]: Remove conditional code.
72886         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
72887         <kernel-features.h>.
72888         [__ASSUME_32BITUIDS]: Make code unconditional.
72889         [!__ASSUME_32BITUIDS]: Remove conditional code.
72890         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
72891         <kernel-features.h>.
72892         [__ASSUME_32BITUIDS]: Make code unconditional.
72893         [!__ASSUME_32BITUIDS]: Remove conditional code.
72894         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
72895         <kernel-features.h>.
72896         [__ASSUME_32BITUIDS]: Make code unconditional.
72897         [!__ASSUME_32BITUIDS]: Remove conditional code.
72898         * sysdeps/unix/sysv/linux/i386/setresgid.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/i386/setresuid.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/i386/setreuid.c: Do not include
72907         <kernel-features.h>.
72908         [__ASSUME_32BITUIDS]: Make code unconditional.
72909         [!__ASSUME_32BITUIDS]: Remove conditional code.
72910         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
72911         <kernel-features.h>.
72912         [__ASSUME_32BITUIDS]: Make code unconditional.
72913         [!__ASSUME_32BITUIDS]: Remove conditional code.
72914         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
72915         <kernel-features.h>.
72916         [__ASSUME_32BITUIDS]: Make code unconditional.
72917         [!__ASSUME_32BITUIDS]: Remove conditional code.
72918         * sysdeps/unix/sysv/linux/kernel-features.h
72919         (__ASSUME_SETRESUID_SYSCALL): Remove.
72920         (__ASSUME_SETRESGID_SYSCALL): Likewise.
72921         (__ASSUME_32BITUIDS): Likewise.
72922         (__ASSUME_LDT_WORKS): Likewise.
72923         (__ASSUME_O_DIRECTORY): Likewise.
72924         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
72925         architecture but not kernel version.
72926         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
72927         (__ASSUME_MMAP2_SYSCALL): Likewise.
72928         (__ASSUME_STAT64_SYSCALL): Likewise.
72929         (__ASSUME_IPC64): Likewise.
72930         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
72931         <kernel-features.h>.
72932         [__ASSUME_32BITUIDS]: Make code unconditional.
72933         [!__ASSUME_32BITUIDS]: Remove conditional code.
72934         * sysdeps/unix/sysv/linux/opendir.c: Do not include
72935         <kernel-features.h>.
72936         [__ASSUME_O_DIRECTORY]: Make code unconditional.
72937         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
72938         132096]: Remove conditional code.
72939         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
72940         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
72941         <kernel-features.h>.
72942         [__ASSUME_32BITUIDS]: Make code unconditional.
72943         [!__ASSUME_32BITUIDS]: Remove conditional code.
72944         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
72945         <kernel-features.h>.
72946         [__ASSUME_32BITUIDS]: Make code unconditional.
72947         [!__ASSUME_32BITUIDS]: Remove conditional code.
72948         * sysdeps/unix/sysv/linux/setegid.c: Do not include
72949         <kernel-features.h>.
72950         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
72951         unconditional.
72952         (__setresgid): Do not declare.
72953         [__ASSUME_32BITUIDS]: Make code unconditional.
72954         [!__ASSUME_32BITUIDS]: Remove conditional code.
72955         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
72956         <kernel-features.h>.
72957         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
72958         unconditional.
72959         (__setresuid): Do not declare.
72960         [__ASSUME_32BITUIDS]: Make code unconditional.
72961         [!__ASSUME_32BITUIDS]: Remove conditional code.
72962         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
72963         <kernel-features.h>.
72964         [__ASSUME_32BITUIDS]: Make code unconditional.
72965         [!__ASSUME_32BITUIDS]: Remove conditional code.
72966         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
72967         <kernel-features.h>.
72968         [__ASSUME_32BITUIDS]: Make code unconditional.
72969         [!__ASSUME_32BITUIDS]: Remove conditional code.
72971 2012-05-25  Richard Henderson  <rth@twiddle.net>
72973         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
72974         dl_hwcap to ifunc resolver.
72975         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
72976         elf_ifunc_invoke.
72977         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
72978         dl_hwcap to ifunc resolver.
72979         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
72981 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
72983         [BZ #14153]
72984         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
72985         for |x| <= 2**-26, not 2**-57.
72986         * math/libm-test.inc (acos_test): Do not allow spurious underflow
72987         exception.
72989 2012-05-24  Jeff Law  <law@redhat.com>
72991         * stdio-common/Makefile (tests): Add bug25.
72992         * stdio-common/bug25.c: New test.
72994 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
72996         [BZ #13576]
72997         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
72998         multiple of MALLOC_ALIGNMENT in size.
72999         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
73001 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73003         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
73004         Require >= 256.
73005         (FILENAME_MAX): Use macro-int-constant.
73006         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
73007         (_IOFBF): Use macro-int-constant.
73008         (_IOLBF): Likewise.
73009         (_IONBF): Likewise.
73010         (SEEK_CUR): Likewise.
73011         (SEEK_END): Likewise.
73012         (SEEK_SET): Likewise.
73013         (TMP_MAX): Likewise.
73014         (EOF): Use macro-int-constant.  Require < 0.
73015         (NULL): Use macro-constant.  Require == 0.
73016         (stdin): Require type to be FILE *.
73017         (stdout): Likewise.
73018         (stderr): Likewise.
73019         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
73020         macro-int-constant.
73021         (EXIT_SUCCESS): Likewise.
73022         (NULL): Use macro-constant.  Require == 0.
73023         (RAND_MAX): Use macro-int-constant.
73024         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
73025         [C99-based standards] (strtof): Require function.
73026         [C99-based standards] (strtold): Likewise.
73027         [C99-based standards] (strtoll): Likewise.
73028         [C99-based standards] (strtoull): Likewise.
73029         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73030         [ISO || ISO99 || ISO11] (limits.h): Likewise.
73031         [ISO || ISO99 || ISO11] (math.h): Likewise.
73032         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
73033         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73034         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73036 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
73038         [BZ #14132]
73039         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
73040         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
73041         * intl/dgettext.c (DCGETTEXT): Likewise.
73042         * intl/gettext.c (DCGETTEXT): Likewise.
73043         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
73044         * posix/regex_internal.h (gettext): Likewise.
73045         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
73046         Remove declaration.
73047         * include/argz.h (__argz_count_internal)
73048         (__argz_stringify_internal): Remove declaration.
73049         (__argz_count, __argz_stringify): Declare hidden proto.
73050         * intl/dcgettext.c: Remove use of INTDEF.
73051         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
73052         * string/argz-stringify.c: Likewise.
73053         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73054         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73055         Declare hidden proto.
73056         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73057         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73058         Declare hidden proto.
73059         * include/stdio.h (__asprintf_internal): Don't declare.
73060         (__asprintf): Don't define as macro.  Declare hidden proto.
73061         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
73062         (__fsetlocking): Declare hidden proto.
73063         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
73064         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
73065         hidden proto.
73066         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
73067         (_IO_setlinebuf): Remove use of INTUSE.
73068         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
73069         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
73070         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
73071         Remove declaration.
73072         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
73073         (_IO_do_flush): Remove use of INTUSE.
73074         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
73075         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
73076         (_IO_adjust_column, _IO_least_wmarker)
73077         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
73078         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
73079         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
73080         (_IO_default_doallocate, _IO_wdefault_doallocate)
73081         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
73082         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
73083         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
73084         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
73085         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
73086         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
73087         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
73088         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
73089         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
73090         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
73091         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
73092         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
73093         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
73094         proto.
73095         (_IO_flush_all_internal, _IO_adjust_column_internal)
73096         (_IO_default_uflow_internal, _IO_default_finish_internal)
73097         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
73098         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
73099         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
73100         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
73101         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
73102         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
73103         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
73104         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
73105         (_IO_file_close_internal, _IO_file_close_it_internal)
73106         (_IO_file_underflow_internal, _IO_file_overflow_internal)
73107         (_IO_file_init_internal, _IO_file_attach_internal)
73108         (_IO_file_fopen_internal, _IO_file_read_internal)
73109         (_IO_file_sync_internal, _IO_file_seek_internal)
73110         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
73111         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
73112         (_IO_str_underflow_internal, _IO_str_overflow_internal)
73113         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
73114         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
73115         (_IO_list_all_internal, _IO_link_in_internal)
73116         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
73117         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
73118         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
73119         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
73120         (_IO_do_write_internal, _IO_padn_internal)
73121         (_IO_getline_info_internal, _IO_getline_internal)
73122         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
73123         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
73124         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
73125         (_IO_vfscanf_internal, _IO_vfprintf_internal)
73126         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
73127         (_IO_init_internal, _IO_un_link_internal): Don't declare.
73128         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
73129         with libc_hidden_ver, remove use of INTUSE.
73130         * libio/genops.c: Likewise.
73131         * libio/freopen.c: Likewise.
73132         * libio/freopen64.c: Likewise.
73133         * libio/iofclose.c: Likewise.
73134         * libio/iofdopen.c: Likewise.
73135         * libio/iofflush.c: Likewise.
73136         * libio/iofflush_u.c: Likewise.
73137         * libio/iofgets.c: Likewise.
73138         * libio/iofgets_u.c: Likewise.
73139         * libio/iofopen.c: Likewise.
73140         * libio/iofopncook.c: Likewise.
73141         * libio/iofread.c: Likewise.
73142         * libio/iofread_u.c: Likewise.
73143         * libio/ioftell.c: Likewise.
73144         * libio/iofwrite.c: Likewise.
73145         * libio/iogetline.c: Likewise.
73146         * libio/iogets.c: Likewise.
73147         * libio/iogetwline.c: Likewise.
73148         * libio/iopadn.c: Likewise.
73149         * libio/iopopen.c: Likewise.
73150         * libio/ioseekoff.c: Likewise.
73151         * libio/ioseekpos.c: Likewise.
73152         * libio/iosetbuffer.c: Likewise.
73153         * libio/iosetvbuf.c: Likewise.
73154         * libio/ioungetc.c: Likewise.
73155         * libio/ioungetwc.c: Likewise.
73156         * libio/iovdprintf.c: Likewise.
73157         * libio/iovsprintf.c: Likewise.
73158         * libio/iovsscanf.c: Likewise.
73159         * libio/memstream.c: Likewise.
73160         * libio/obprintf.c: Likewise.
73161         * libio/oldfileops.c: Likewise.
73162         * libio/oldiofclose.c: Likewise.
73163         * libio/oldiofdopen.c: Likewise.
73164         * libio/oldiofopen.c: Likewise.
73165         * libio/oldiopopen.c: Likewise.
73166         * libio/oldstdfiles.c: Likewise.
73167         * libio/putc.c: Likewise.
73168         * libio/setbuf.c: Likewise.
73169         * libio/setlinebuf.c: Likewise.
73170         * libio/stdfiles.c: Likewise.
73171         * libio/strops.c: Likewise.
73172         * libio/vasprintf.c: Likewise.
73173         * libio/vscanf.c: Likewise.
73174         * libio/vsnprintf.c: Likewise.
73175         * libio/vswprintf.c: Likewise.
73176         * libio/wfiledoalloc.c: Likewise.
73177         * libio/wfileops.c: Likewise.
73178         * libio/wgenops.c: Likewise.
73179         * libio/wmemstream.c: Likewise.
73180         * libio/wstrops.c: Likewise.
73181         * libio/__fpurge.c: Likewise.
73182         * libio/__fsetlocking.c: Likewise.
73183         * assert/assert.c: Likewise.
73184         * debug/fgets_chk.c: Likewise.
73185         * debug/fgets_u_chk.c: Likewise.
73186         * debug/fread_chk.c: Likewise.
73187         * debug/fread_u_chk.c: Likewise.
73188         * debug/gets_chk.c: Likewise.
73189         * debug/obprintf_chk.c: Likewise.
73190         * debug/vasprintf_chk.c: Likewise.
73191         * debug/vdprintf_chk.c: Likewise.
73192         * debug/vsnprintf_chk.c: Likewise.
73193         * debug/vsprintf_chk.c: Likewise.
73194         * malloc/mtrace.c: Likewise.
73195         * misc/error.c: Likewise.
73196         * misc/syslog.c: Likewise.
73197         * stdio-common/asprintf.c: Likewise.
73198         * stdio-common/fxprintf.c: Likewise.
73199         * stdio-common/getw.c: Likewise.
73200         * stdio-common/isoc99_fscanf.c: Likewise.
73201         * stdio-common/isoc99_scanf.c: Likewise.
73202         * stdio-common/isoc99_vfscanf.c: Likewise.
73203         * stdio-common/isoc99_vscanf.c: Likewise.
73204         * stdio-common/isoc99_vsscanf.c: Likewise.
73205         * stdio-common/printf-prs.c: Likewise.
73206         * stdio-common/printf_fp.c: Likewise.
73207         * stdio-common/printf_fphex.c: Likewise.
73208         * stdio-common/printf_size.c: Likewise.
73209         * stdio-common/putw.c: Likewise.
73210         * stdio-common/scanf.c: Likewise.
73211         * stdio-common/sprintf.c: Likewise.
73212         * stdio-common/tmpfile.c: Likewise.
73213         * stdio-common/vfprintf.c: Likewise.
73214         * stdio-common/vfscanf.c: Likewise.
73215         * stdlib/strfmon_l.c: Likewise.
73216         * sunrpc/openchild.c: Likewise.
73217         * sunrpc/xdr_stdio.c: Likewise.
73218         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
73219         * sysdeps/mach/hurd/tmpfile.c: Likewise.
73221 2012-05-24  Roland McGrath  <roland@hack.frob.com>
73223         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
73225         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
73226         in the third column, to generate for the shared library an IFUNC
73227         that uses _dl_vdso_vsym.
73228         * Makerules (COMPILE.c, compile-stdin.c): New variables.
73229         * Makeconfig (object-suffixes-noshared): New variable.
73231         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
73232         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
73233         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
73234         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
73236         [BZ #14132]
73237         * include/sys/time.h (__gettimeofday): Remove macro.
73238         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
73239         * time/gettimeofday.c (__gettimeofday): Remove #undef.
73240         Remove INTDEF.
73241         (__gettimeofday): Add libc_hidden_def.
73242         (gettimeofday): Add libc_hidden_weak.
73243         * sysdeps/mach/gettimeofday.c: Likewise.
73244         * sysdeps/posix/gettimeofday.c: Likewise.
73245         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
73246         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
73247         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
73248         (__gettimeofday_internal): Remove strong_alias.
73249         (__gettimeofday): Add libc_hidden_def.
73250         (gettimeofday): Add libc_hidden_weak.
73251         * sysdeps/unix/syscalls.list (gettimeofday):
73252         Remove __gettimeofday_internal alias.
73254 2012-05-24  Daniel Jacobowitz  <drow@false.org>
73255             H.J. Lu  <hongjiu.lu@intel.com>
73257         [BZ #12495]
73258         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
73259         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
73260         (largebin_index_32_big): New.
73261         (largebin_index): Use it for 16-byte alignment.
73262         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
73263         correction with front_misalign.
73265 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
73268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
73269         Likewise.
73270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
73271         Likewise.
73272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
73273         Likewise.
73274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
73275         Likewise.
73276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
73277         Likewise.
73278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
73279         Likewise.
73280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
73281         Likewise.
73282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
73283         Likewise.
73284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
73285         Likewise.
73286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
73287         Likewise.
73288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
73289         Likewise.
73290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
73291         Likewise.
73293         * scripts/data/c++-types-x32-linux-gnu.data: New file.
73294         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
73296 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73298         [BZ #10846]
73299         [BZ #14036]
73300         * math/libm-test.inc (exp_test): Add test from bug 14036.
73301         (pow_test): Add test from bug 10846.
73303         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
73304         and other flags.
73305         (special_function): Do not include flags in test name.
73306         (parse_args): Likewise.
73307         * sysdeps/i386/fpu/libm-test-ulps: Update.
73308         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73309         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
73310         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
73311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73313         * math/gen-libm-test.pl (%beautify): Add entries for underflow
73314         exceptions.
73315         * math/libm-test.inc ("Philosophy"): Update comment about
73316         exception testing.
73317         (UNDERFLOW_EXCEPTION): New macro.
73318         (UNDERFLOW_EXCEPTION_OK): Likewise.
73319         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
73320         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
73321         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
73322         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
73323         (INVALID_EXCEPTION_OK): Update value.
73324         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
73325         (OVERFLOW_EXCEPTION_OK): Likewise.
73326         (IGNORE_ZERO_INF_SIGN): Likewise.
73327         (test_exceptions): Handle underflow exceptions.
73328         (acos_test): Update for underflow exception expectations.
73329         (cexp_test): Likewise.
73330         (clog_test): Likewise.
73331         (clog10_test): Likewise.
73332         (csqrt_test): Likewise.
73333         (ctan_test): Likewise.
73334         (ctanh_test): Likewise.
73335         (exp_test): Likewise.
73336         (exp10_test): Likewise.
73337         (exp2_test): Likewise.
73338         (expm1_test): Likewise.
73339         (fma_test): Likewise.
73340         (j0_test): Likewise.
73341         (jn_test): Likewise.
73342         (nexttoward_test): Likewise.
73343         (pow_test): Likewise.
73344         (scalbn_test): Likewise.
73345         (scalbln_test): Likewise.
73346         (tan_test): Likewise.
73347         (y1_test): Likewise.
73348         * sysdeps/i386/fpu/libm-test-ulps: Update.
73349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73351 2012-05-23  David S. Miller  <davem@davemloft.net>
73353         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73354         (__libc_sigaction): Remove unused local variables.
73356 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73358         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
73360 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
73362         mktime: avoid signed integer overflow
73363         * time/mktime.c (__mktime_internal): Do not mishandle the case
73364         where diff == INT_MIN.
73366         mktime: simplify computation of average
73367         * time/mktime.c (ranged_convert): Use new time_t_avg function
73368         instead of rolling our own (probably-slower) code.
73370         mktime: do not assume signed right shift propagates sign bit
73371         * time/mktime.c (isdst_differ): New static function.
73372         (__mktime_internal): No need to normalize tm_isdst now.
73373         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
73374         tm_isdst values.
73376         mktime: merge another wrapv change from gnulib
73377         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
73378         from some compilers.
73380         mktime: remove incorrect attempt at unusual arithmetics
73381         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
73382         The code didn't really work on such machines anyway.
73383         (TYPE_MINIMUM): Assume two's complement.
73384         (twos_complement_arithmetic): Verify that long_int and time_t
73385         are two's complement (or unsigned, in the latter case).
73387         mktime: check signed shifts on long_int and time_t, too
73388         * time/mktime.c (SHR): Check that shifts work as desired
73389         on the types long_int and time_t too, as SHR is used on
73390         such types.
73392         mktime: do not assume 'long' is wide enough
73393         * time/mktime.c (verify): Move decl up.
73394         (long_int): New type.
73395         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
73396         to remove assumption in the code that 'long' is wide enough to
73397         store year values.  This assumption is not true on x32 and on
73398         some non-glibc platforms.
73400         mktime: merge wrapv change from gnulib
73401         * time/mktime.c (WRAPV): New macro.
73402         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
73403         (guess_time_tm, __mktime_internal): Do not assume that signed
73404         integer overflow wraps around; modern compilers generate code
73405         where this assumption is no longer valid.
73407 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73409         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
73410         Replace "jmp L(pseudo_end)" with "ret".
73411         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
73412         Likewise.
73414 2012-05-23  Andreas Jaeger  <aj@suse.de>
73416         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
73417         * sysdeps/unix/sysv/linux/poll.c: Remove file.
73419 2012-05-23  Andreas Jaeger  <aj@suse.de>
73420             Maximilian Attems  <max@stro.at>
73422         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
73423         New macros.
73425 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73427         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
73428         code so that pseudo_end is just ret and the stack pointer is
73429         correct also for static library in error case.
73431 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
73433         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
73434         move to syscalls.list.
73435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
73436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
73437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
73438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
73440         * manual/install.texi (Running make install): Do not mention Linux
73441         kernel version for which pt_chown is not needed.
73442         (Linux): Do not mention problems with nscd with 2.0 kernels.
73443         * INSTALL: Regenerated.
73445 2012-05-23  Andreas Jaeger  <aj@suse.de>
73447         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
73448         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
73449         macro.
73450         * sysdeps/unix/sysv/linux/s390/bits/mman.h
73451         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73452         * sysdeps/unix/sysv/linux/sh/bits/mman.h
73453         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73454         * sysdeps/unix/sysv/linux/i386/bits/mman.h
73455         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73456         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
73457         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73458         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
73459         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73460         * sysdeps/unix/sysv/linux/bits/in.h
73461         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
73463 2012-05-22  Roland McGrath  <roland@hack.frob.com>
73465         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
73466         (PREPARE_VERSION): Just use assert instead, it will be elided
73467         under [NDEBUG] anyway.
73469 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73471         * sysdeps/unix/sysv/linux/Makefile: Include
73472         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
73473         (sysdep_routines): Remove sysctl.
73474         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
73475         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
73476         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
73477         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
73478         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
73480 2012-05-22  Andreas Jaeger  <aj@suse.de>
73482         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
73483         that pseudo_end is just ret and the stack pointer is correct also
73484         for static library in error case.
73486 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
73488         [BZ #14122]
73489         * nss/nsswitch.c (defconfig_entries): New variable.
73490         (__nss_database_lookup): Don't leak defconfig entries.
73491         (nss_parse_service_list): Don't leak on error paths.
73492         (free_database_entries): New function.
73493         (free_defconfig): New function.
73494         (free_mem): Move common code to free_database_entries.
73496 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73498         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
73499         Add arch_prctl.
73500         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
73502         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
73503         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
73504         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
73505         New macro.
73506         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
73507         (INTERNAL_SYSCALL_TYPES): Likewise.
73508         (LOAD_ARGS_TYPES_[1-6]): Likewise.
73509         (LOAD_REGS_TYPES_[1-6]): Likewise.
73510         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
73511         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
73513 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73515         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
73516         copysignl for GLIBC_2_0.
73517         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
73518         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
73519         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
73520         logbl for GLIBC_2_0.
73521         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
73522         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
73524 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73526         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
73527         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73529         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
73530         Use "neg %eax".
73532         * time/mktime.c: Update copyright years.
73534 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
73536         mktime: merge comment-quoting-style change from gnulib
73537         * time/mktime.c: Quote 'like this' in comments.
73538         The GNU coding standards suggest that we no longer quote `like this',
73539         as "`" and "'" are typically rendered asymmetrically nowadays.
73540         The typical gnulib style is to quote 'like this' when quoting
73541         code, and "like this" when quoting English.
73543         * time/mktime.c (compile-command): Add "-I.".
73545         mktime: merge mktime-internal.h change from gnulib
73546         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
73548         mktime: merge time_r change from gnulib
73549         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
73551         mktime: merge DEBUG change from gnulib
73552         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
73553         case system <time.h> has a #define.
73555         mktime: merge <sys/types.h> change from gnulib
73556         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
73557         since <time.t> is now guaranteed to define time_t.
73559         mktime: merge HAVE_CONFIG_H change from gnulib
73560         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
73562 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73564         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
73565         Use "neg %eax".
73567         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
73568         __rlim_t cast.
73569         (struct rusage): Use anonymous union to pad each field to
73570         __syscall_slong_t.
73572 2012-05-21  David S. Miller  <davem@davemloft.net>
73574         * Makefules (o-iterator): Remove .s cases.
73575         (compile-command.s): Delete.
73576         (COMPILE.s): Delete.
73577         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
73579 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
73581         * configure.in (libc_cv_predef_stack_protector): Only consider
73582         "foobar" and "__stack_chk_fail" lines in libc_undefs.
73583         * configure: Regenerated.
73585 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
73587         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
73588         New macro.  Use R*LP on int and pointer.
73589         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
73590         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
73591         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
73592         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
73594         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
73595         [__WORDSIZE_TIME64_COMPAT32] instead of
73596         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
73597         (struct utmp): Likewise.
73598         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
73599         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
73600         Renamed to ...
73601         (__WORDSIZE_TIME64_COMPAT32): This.
73602         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
73603         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
73604         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
73605         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
73606         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
73607         (__WORDSIZE_TIME64_COMPAT32): New macro.
73609 2012-05-21  Andreas Jaeger  <aj@suse.de>
73611         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
73612         only if [SHARED]. Add prototype for __wcschr_ia32.
73614 2012-05-21  Roland McGrath  <roland@hack.frob.com>
73616         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
73617         of %rbp unmolested in the jmp_buf while mangling the low bits.
73618         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
73619         unmolested high bits of %rbp while demangling the low bits.
73620         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
73622 2012-05-21  Andreas Jaeger  <aj@suse.de>
73624         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
73625         * sunrpc/svc_simple.c: Use it for registerrpc.
73626         * sunrpc/xcrypt.c: Use it for passwd2des.
73628         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
73630 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
73632         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
73633         Don't define if [__SYSCALL_WORDSIZE != 32].
73634         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
73635         New macro.
73637 2012-05-21  Bruno Haible  <bruno@clisp.org>
73638             Andreas Jaeger  <aj@suse.de>
73640         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
73641         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
73642         inptr and inend for must_buffer_ch.
73643         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
73644         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
73645         * stdio-common/Makefile (tests): Remove bug15.
73646         (bug15-ENV): Remove macro.
73647         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
73648         anymore.
73650 2012-05-19  Andreas Jaeger  <aj@suse.de>
73651             Roland McGrath  <roland@hack.frob.com>
73653         * manual/contrib.texi: Completely rewritten. It contains now an
73654         alphabetical list of contributors and their contributions.
73656 2012-05-21  Richard Henderson  <rth@twiddle.net>
73658         * misc/getauxval.c (__getauxval): Use unsigned long int.
73659         * misc/sys/auxv.h: Include <sys/cdefs.h>.
73660         (getauxval): Use unsigned long int.
73662 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
73664         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
73666 2012-05-21  Roland McGrath  <roland@hack.frob.com>
73668         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
73669         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
73670         __alignof__ (long double).
73672 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73676 2012-05-20  Richard Henderson  <rth@twiddle.net>
73678         * misc/getauxval.c: New file.
73679         * misc/sys/auxv.h: New file.
73680         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
73681         (routines): Add getauxval.
73682         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
73683         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
73684         * elf/dl-sysdep.c (_dl_auxv): Remove.
73685         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
73686         * elf/dl-support.c (_dl_auxv): New variable.
73687         (_dl_aux_init): Initialize it.
73688         * manual/startup.texi (Auxiliary Vector): New node.
73689         * sysdeps/generic/bits/hwcap.h: New file.
73690         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
73691         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
73692         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
73693         * sysdeps/sparc/sysdep.h: ... here.  Include it.
73694         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
73695         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
73696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73697         Update.
73698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
73699         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
73700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
73701         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
73702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
73703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
73704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
73705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
73707 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73711 2012-05-19  David S. Miller  <davem@davemloft.net>
73713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73715 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
73717         [BZ #14123]
73718         * math/s_ccosh.c: Include <float.h>
73719         (__ccosh): Avoid internal overflow calculating sinh and cosh
73720         values before multiplying by sin and cos values.
73721         * math/s_ccoshf.c: Likewise.
73722         * math/s_ccoshl.c: Likewise.
73723         * math/s_csin.c: Likewise.
73724         * math/s_csinf.c: Likewise.
73725         * math/s_csinl.c: Likewise.
73726         * math/s_csinh.c: Likewise.
73727         * math/s_csinhf.c: Likewise.
73728         * math/s_csinhl.c: Likewise.
73729         * math/libm-test.inc (ccos_test): Add more tests.
73730         (ccosh_test): Likewise.
73731         (csin_test): Likewise.
73732         (csinh_test): Likewise.
73733         * sysdeps/i386/fpu/libm-test-ulps: Update.
73734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73736 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
73738         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
73739         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
73741         * sysdeps/x86_64/x32/_itoa.h: Add comment.
73743 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
73745         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
73746         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
73747         * sysdeps/powerpc/soft-fp/Versions: Likewise.
73748         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
73749         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
73750         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
73751         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
73752         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
73753         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
73754         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
73755         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
73756         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
73757         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
73758         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
73759         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
73760         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
73761         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
73762         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
73763         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
73764         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
73765         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
73766         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
73767         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
73768         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
73769         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
73770         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
73771         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
73772         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
73773         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
73774         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
73775         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
73777 2012-05-18  Andreas Jaeger  <aj@suse.de>
73779         * csu/.gitignore: Delete.
73781 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73783         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
73784         (timex): Use __syscall_slong_t.
73786 2012-05-18  Andreas Jaeger  <aj@suse.de>
73787             Carlos O'Donell  <carlos_odonell@mentor.com>
73789         * manual/install.texi (Configuring and compiling): Update
73790         description about files modified in the source directory.
73791         * INSTALL: Regenerated.
73793 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73795         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
73796         value.  Use "or" to set return value to -1.
73797         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
73798         negate return value.
73800 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73802         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
73803         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
73804         failure if the compiler has Graphite support disabled.
73805         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
73806         Likewise.
73807         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
73808         (CFLAGS-memmove.c): Likewise.
73809         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
73810         Likewise.
73812 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73814         * sysdeps/x86_64/x32/_itoa.h: New file.
73816         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
73817         getdents system call only if kernel and user dirents have the
73818         same d_ino and d_off.
73820         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
73821         LLONG_MAX != LONG_MAX.
73822         (_itoa_word): Use _ITOA_WORD_TYPE on value.
73823         (_fitoa_word): Likewise.
73825         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
73826         years.
73827         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
73828         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
73829         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
73831         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
73832         include <bits/wordsize.h>.  Check __x86_64__ instead of
73833         __WORDSIZE.
73834         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
73835         if __x86_64__ is defined.  Use anonymous union on fpstate.
73837         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
73838         anonymous union.
73840 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
73842         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
73843         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
73844         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
73845         Refer to _rtld_local_ro instead of _rtld_global_ro.
73846         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
73847         Likewise.
73848         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
73849         Likewise.
73850         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
73851         Likewise.
73852         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
73853         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
73854         of _rtld_global, and rtld_progname instead of _dl_argv[0].
73856         [BZ #10882]
73857         * sysdeps/powerpc/powerpc32/dl-machine.c
73858         (__elf_machine_runtime_setup) [PROF]: Don't reference
73859         _dl_prof_resolve.
73861 2012-05-18  Andreas Jaeger  <aj@suse.de>
73863         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
73864         function only available for GCCs before 3.4 since GCC 3.4
73865         introduced a builtin.
73866         (lrint): Likewise.
73867         (llrintf): Likewise.
73868         (llrint): Likewise.
73869         (fmaxf): Likewise.
73870         (fmax): Likewise.
73871         (fminf): Likewise.
73872         (fmin): Likewise.
73873         (rint): Likewise.
73874         (rintf): Likewise.
73875         (nearbyint): Likewise.
73876         (nearbyintf): Likewise.
73877         (ceil): Likewise.
73878         (ceilf): Likewise.
73879         (floor): Likewise.
73880         (floorf): Likewise.
73882 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73884         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
73885         on both fields and cast pointer to __syscall_ulong_t.
73887         * bits/types.h (__fsword_t): New type.
73888         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
73889         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
73890         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73891         (__FSWORD_T_TYPE): Likewise.
73892         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73893         (__FSWORD_T_TYPE): Likewise.
73894         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73895         (__FSWORD_T_TYPE): Likewise.
73896         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
73897         (__FSWORD_T_TYPE): Likewise.
73898         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
73899         __SWORD_TYPE with __fsword_t.
73900         (statfs64): Likewise.
73902 2012-05-17  David S. Miller  <davem@davemloft.net>
73904         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
73906 2012-05-17  Andreas Jaeger  <aj@suse.de>
73908         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
73909         warning.
73911 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73913         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
73915 2012-05-17  Andreas Jaeger  <aj@suse.de>
73917         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
73918         when it is used.
73920 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
73922         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
73924 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73926         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
73927         * sysdeps/x86_64/tst-mallocalign1.c: New file.
73929 2012-05-17  Andreas Jaeger  <aj@suse.de>
73930             Carlos O'Donell  <carlos_odonell@mentor.com>
73932         [BZ #14059]
73933         * sysdeps/x86_64/multiarch/init-arch.h
73934         (bit_YMM_Usable): Rename to...
73935         (bit_AVX_Usable): ... this.
73936         (bit_FMA4_Usable): New macro.
73937         (bit_XMM_state): New macro.
73938         (bit_YMM_state): New macro.
73939         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
73940         [__ASSEMBLER__] (index_AVX_Usable): ... this.
73941         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
73942         (CPUID_OSXSAVE): New macro.
73943         (CPUID_AVX): New macro.
73944         (CPUID_FMA4): New macro.
73945         (index_YMM_Usable): Rename to...
73946         (index_AVX_Usable): ... this.
73947         (HAS_AVX): Use HAS_ARCH_FEATURE.
73948         (HAS_FMA4): Likewise.
73949         (HAS_YMM_USABLE): Remove.
73950         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73951         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
73952         are present.
73953         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
73954         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
73955         * sysdeps/x86_64/multiarch/Makefile: Likewise.
73956         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
73957         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
73959 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
73961         * math/libm-test.c: Support platforms without multiple rounding modes.
73962         * math/bug-nextafter.c: Support platforms without FP exceptions.
73963         * math/bug-nexttoward.c: Likewise.
73964         * math/test-fenv.c: Likewise.
73965         * math/test-misc.c: Likewise.
73966         * stdlib/bug-getcontext.c: Likewise.
73968 2012-05-17  Andreas Jaeger  <aj@suse.de>
73970         * manual/examples/search.c (critter_cmp): Change signature to
73971         avoid warnings.
73972         * manual/string.texi (Collation Functions): Likewise.
73974 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73976         * bits/types.h: Fold copyright years.
73977         * bits/typesizes.h: Likewise.
73978         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
73979         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
73980         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
73981         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
73982         * time/time.h: Likewise.
73984 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
73986         [BZ #208]
73987         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
73988         in instead of returning them.  Return void.
73989         (__libc_mallinfo): Accumulate over all arenas.
73990         (__malloc_stats): Adjust for change in int_mallinfo interface.
73992 2012-05-16  Roland McGrath  <roland@hack.frob.com>
73994         [BZ #10375]
73995         * configure.in (NM): Add AC_CHECK_TOOL for it.
73996         (libc_extra_cflags): New substituted variable.
73997         Check for -fstack-protector being used implicitly.
73998         * configure: Regenerated.
73999         * config.make.in (config-extra-cflags): New variable,
74000         gets @libc_extra_cflags@.
74001         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
74003         [BZ #10375]
74004         * configure.in: Check for _FORTIFY_SOURCE being predefined.
74005         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
74006         * configure: Regenerated.
74007         * config.make.in (CPPUNDEFS): New substituted variable.
74008         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
74009         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
74010         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
74012 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74014         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
74015         (mq_attr): Use __syscall_slong_t.
74017 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74019         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
74020         Check __x86_64__ instead of __WORDSIZE.
74021         (_STAT_VER_LINUX): Likewise.
74022         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
74023         __syscall_ulong_t and __syscall_slong_t.
74024         (stat64): Likewise.
74026 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74028         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
74030 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74032         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
74034 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74036         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
74037         __syscall_ulong_t.
74039         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
74040         include <bits/wordsize.h>.  Check __x86_64__ instead of
74041         __WORDSIZE.
74042         (greg_t): Use "__extension__ long long int" if __x86_64__ is
74043         defined.
74044         (mcontext_t): Replace "unsigned long" with "unsigned long long".
74046         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
74047         include <bits/wordsize.h>.  Check __x86_64__ instead of
74048         __WORDSIZE.
74049         (user_regs_struct): Use "__extension__ unsigned long long"
74050         instead of "unsigned long" if __x86_64__ is defined.
74051         (user): Likewise.  Pad after pointer field if __ILP32__ is
74052         defined.
74054 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
74056         * configure.in (makeinfo): Require version 4.5 or later.  Allow
74057         versions 5 to 9.
74058         * configure: Regenerated.
74059         * manual/install.texi (texinfo): Increase version requirement to
74060         4.5 or later.
74061         * INSTALL: Regenerated.
74063         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
74065 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74067         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
74069         * sysdeps/x86_64/x32/ffs.c: New file.
74071         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
74072         __syscall_ulong_t.
74073         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
74074         defined.  Use __syscall_ulong_t.
74075         (shminfo): Use __syscall_ulong_t.
74076         (shm_info): Likewise.
74078         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
74079         __syscall_ulong_t.
74081         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
74082         <bits/wordsize.h>.
74083         (msgqnum_t): Use __syscall_ulong_t.
74084         (msglen_t): Likewise.
74085         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
74086         __syscall_ulong_t.
74088         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
74089         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74091         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
74093         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
74094         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
74096         * sysvipc/sys/msg.h (msgbuf): Replace long int with
74097         __syscall_slong_t.
74099         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
74100         include <bits/wordsize.h>.  Check __x86_64__ instead of
74101         __WORDSIZE.
74103         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
74104         "unsigned long long int" if __x86_64__ is defined.
74105         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
74107         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
74108         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74109         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
74111         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
74112         <stdint.h>.
74113         (GET_PC): Cast to uintptr_t first.
74114         (GET_FRAME): Likewise.
74115         (GET_STACK): Likewise.
74117         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
74118         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
74119         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
74120         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
74121         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
74122         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
74123         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
74124         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
74125         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
74126         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
74127         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
74128         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
74129         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74130         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
74131         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
74132         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
74133         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
74134         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
74135         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
74136         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
74137         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
74138         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
74139         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
74140         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
74141         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
74142         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
74143         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
74144         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
74145         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
74147 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
74149         * Makerules (+depfiles): Also collect depfiles from .oS in
74150         $(extra-objs).
74151         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
74152         .oS, $(libnldbl-routines)).
74154         * Makerules (native-compile-mkdep-flags): Define.
74155         * sunrpc/Makefile (extra-objs): Add $(addprefix
74156         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
74157         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
74158         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
74159         calling $(make-target-directory).
74161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74163         * bits/types.h (__snseconds_t): Removed.
74164         * time/time.h (struct timespec): Replace __snseconds_t with
74165         __syscall_slong_t.
74166         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
74167         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
74168         Likewise.
74169         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74170         (__SNSECONDS_T_TYPE): Likewise.
74171         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74172         (__SNSECONDS_T_TYPE): Likewise.
74173         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74174         (__SNSECONDS_T_TYPE): Likewise.
74176 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74178         * sysdeps/mach/hurd/bits/typesizes.h
74179         (__SYSCALL_SLONG_TYPE): New macro.
74180         (__SYSCALL_ULONG_TYPE): Likewise.
74182 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74184         * bits/types.h (__syscall_slong_t): New type.
74185         (__syscall_ulong_t): Likewise.
74187         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
74188         (__SYSCALL_ULONG_TYPE): Likewise.
74189         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74190         (__SYSCALL_SLONG_TYPE): Likewise.
74191         (__SYSCALL_ULONG_TYPE): Likewise.
74192         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74193         (__SYSCALL_SLONG_TYPE): Likewise.
74194         (__SYSCALL_ULONG_TYPE): Likewise.
74195         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74196         (__SYSCALL_SLONG_TYPE): Likewise.
74197         (__SYSCALL_ULONG_TYPE): Likewise.
74199 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74201         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
74202         Add sigaltstack-offsets.sym.
74203         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
74204         <sigaltstack-offsets.h>.
74205         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
74206         longjmp_msg pointer.
74207         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
74208         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
74209         signal stack.
74210         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
74212 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74214         * elf/stackguard-macros.h: Remove file.
74215         * sysdeps/generic/stackguard-macros.h: New file.
74216         * sysdeps/i386/stackguard-macros.h: Likewise.
74217         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
74218         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
74219         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
74220         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
74221         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
74222         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
74223         * sysdeps/x86_64/stackguard-macros.h: Likewise.
74224         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
74225         <elf/stackguard-macros.h>.
74227         [BZ #14109]
74228         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
74229         __aligned__ in attribute.
74230         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
74231         (gregset_t): Likewise.
74233 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74235         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
74236         * sysdeps/x86_64/64/Implies-after: Here.  New file.
74237         * sysdeps/x86_64/x32/Implies-after: New file.
74239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74241         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
74242         and access return value for _dl_profile_fixup.  Use R10_LP to
74243         load frame size.
74245 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74247         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
74249 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74251         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
74252         * sysdeps/x86_64/x32/sysdep.h: New file.
74254 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74256         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
74257         * sysdeps/x86_64/setjmp.S: Likewise.
74259 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74261         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
74262         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
74263         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
74264         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
74265         remove unused global constant.
74267 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
74269         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
74270         include of <not-cancel.h>.
74272 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74274         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
74276 2012-05-15  Jeff Law  <law@redhat.com>
74277             Andreas Jaeger  <aj@suse.de>
74279         [BZ #13594]
74280         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
74281         out from...
74282         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
74283         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
74284         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
74285         code changing __hst_map_handle.map.
74287 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74289         * configure.in (sysnames): Look for Implies-before and Implies-after
74290         files.
74291         * configure: Regenerated.
74293 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74295         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
74296         8-byte data alignment with LP_SIZE alignment.
74298 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74300         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
74301         into R10_LP.
74303 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74305         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
74307 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74309         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
74310         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
74311         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
74312         Likewise.
74313         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
74315 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74317         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
74318         (stackinfo_sub_sp): Likewise.
74320 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74322         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
74323         RAX_LP.
74325 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74327         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
74328         into R*_LP.
74330 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74332         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
74333         sizes into R*_LP.
74335 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74337         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
74339 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74341         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
74342         into R11_LP and load __x86_64_shared_cache_size_half into
74343         R8_LP.
74345 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74347         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
74348         R8_LP.
74350 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74352         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
74353         logb for POWER7.
74354         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
74355         logbf for POWER7.
74356         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
74357         logbl for POWER7.
74358         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
74359         powerpc32/power7/fpu/s_logb.c via #include.
74360         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
74361         powerpc32/power7/fpu/s_logbf.c via #include.
74362         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
74363         powerpc32/power7/fpu/s_logbl.c via #include.
74365 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74367         * README.libm: Remove file.
74369 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74371         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
74372         count for x32.  Use R*_LP and omit operand-size suffix.
74374 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74376         * shlib-versions: Move x86_64-.*-linux.* entries to ...
74377         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
74378         * sysdeps/x86_64/x32/shlib-versions: New file.
74380 2012-05-14  Roland McGrath  <roland@hack.frob.com>
74382         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
74383         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
74384         Use _dl_fatal_printf instead.
74386 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
74388         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
74389         set if not set by the user.  Do not allow for being unset.
74390         * sysdeps/unix/sysv/linux/configure: Regenerated.
74392 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74394         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
74395         the `q' suffix from lea and replace .quad with ASM_ADDR.
74397 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74399         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
74400         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
74401         instead of $17.
74402         (PTR_DEMANGLE): Likewise.
74404 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74406         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
74407         (LP_OP): Likewise.
74408         (ASM_ADDR): Likewise.
74409         (RAX_LP): Likewise.
74410         (RBP_LP): Likewise.
74411         (RBX_LP): Likewise.
74412         (RCX_LP): Likewise.
74413         (RDI_LP): Likewise.
74414         (RSI_LP): Likewise.
74415         (RSP_LP): Likewise.
74416         (R8_LP): Likewise.
74417         (R9_LP): Likewise.
74418         (R10_LP): Likewise.
74419         (R10_LP): Likewise.
74420         (R11_LP): Likewise.
74421         (R12_LP): Likewise.
74422         (R13_LP): Likewise.
74423         (R14_LP): Likewise.
74424         (R15_LP): Likewise.
74426 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74428         * sysdeps/x86_64/x32/dl-machine.h: New file.
74430 2012-05-14  Andreas Jaeger  <aj@suse.de>
74432         * manual/Makefile (subdir): Remove export of subdir.
74433         (all): Remove target.
74434         (.PHONY): Remove all from list.
74435         (mkinstalldirs): Remove.
74436         (.PHONY): Remove installdirs from list.
74437         ($(inst_infodir)/libc.info): Use make-target-directory.
74438         (installdirs): Remove.
74439         (subdir_%): Remove.
74440         (glibc-targets): Remove.
74441         (lib): Remove.
74442         (stubs): Remove.
74443         ($(objpfx)stubs ../po/manual.pot): Remove.
74444         ($(objpfx)stamp%): Remove.
74445         (make-target-directory): Remove.
74446         (subdir_install): Remove.
74447         (routines): Remove.
74448         (aux): Remove.
74449         (sources): Remove.
74450         (objects): Remove.
74451         (headers): Remove.
74453         [BZ #13750]
74454         * manual/.gitignore: Remove, it's not needed anymore.
74455         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
74456         all files in it.
74457         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
74458         directory.
74459         (texis): Renamed to $(objpfx)texis.
74460         (texis-path): New, contains path to generated files.
74461         (chapters.%): Use texis-path for complete path, add extra argument
74462         libc-texinfo.sh.
74463         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
74464         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
74465         (summary,texi, stamp-summary): Use complete path of
74466         files. Generate files in build dir.
74467         (dir-add.texi): Build in build dir.
74468         (libm-err.texi,stamp-libm-err): Likewise.
74469         (version.texi, stamp-version): Likewise.
74470         (.%c.texi): Likewise.
74471         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
74472         (mostlyclean): Remove target.
74473         (realclean): Remove target.
74474         (generated): Add new variable with contents from mostlyclean and
74475         realclean, remove entries duplicated in common-mostlyclean, add
74476         stamp-libm-err and stamp-version.
74477         (generated-dirs): Add libc directory.
74478         ($(inst_infodir)/libc.info): Install files from build dir.
74480         * manual/install.texi (Configuring and compiling): Adjust since
74481         the info files are not part of the tar ball anymore.
74483 2012-05-14  Andreas Jaeger  <aj@suse.de>
74485         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
74486         variable.
74488 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
74490         [BZ #13717]
74491         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74492         to 2.2.0 where earlier.
74493         * sysdeps/unix/sysv/linux/configure: Regenerated.
74494         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
74495         Remove conditional code.
74496         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
74497         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
74498         Remove conditional code.
74499         [!__NR_lchown]: Likewise.
74500         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74501         [__NR_lchown]: Likewise.
74502         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
74503         comment referencing __ASSUME_LCHOWN_SYSCALL.
74504         * sysdeps/unix/sysv/linux/i386/sigaction.c
74505         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74506         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74507         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
74508         Remove conditional code.
74509         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
74510         (__protocol_available): Remove #if 0 code.
74511         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
74512         conditional code.
74513         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
74514         * sysdeps/unix/sysv/linux/kernel-features.h
74515         (__ASSUME_GETCWD_SYSCALL): Don't define.
74516         (__ASSUME_REALTIME_SIGNALS): Likewise.
74517         (__ASSUME_PREAD_SYSCALL): Likewise.
74518         (__ASSUME_PWRITE_SYSCALL): Likewise.
74519         (__ASSUME_POLL_SYSCALL): Likewise.
74520         (__ASSUME_LCHOWN_SYSCALL): Likewise.
74521         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
74522         non-SPARC.
74523         (__ASSUME_SIOCGIFNAME): Don't define.
74524         (__ASSUME_MSG_NOSIGNAL): Likewise.
74525         (__ASSUME_SENDFILE): Define unconditionally.
74526         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
74527         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
74528         conditional code.
74529         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
74530         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
74531         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
74532         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74533         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
74534         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
74535         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
74537         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74538         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
74540         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74541         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
74543         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74544         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
74546         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74547         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
74549         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74550         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
74552         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74553         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
74555         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74556         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
74558         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74559         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74560         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
74561         Remove conditional code.
74562         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74563         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
74564         Remove conditional code.
74565         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74566         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
74567         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
74568         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
74569         Remove conditional code.
74570         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74571         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
74572         Remove conditional code.
74573         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74574         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
74575         Remove conditional code.
74576         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74577         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
74578         Remove conditional code.
74579         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74580         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
74581         Remove conditional code.
74582         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74583         * sysdeps/unix/sysv/linux/sh/pwrite64.c
74584         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74585         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74586         * sysdeps/unix/sysv/linux/sigaction.c
74587         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74588         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74589         * sysdeps/unix/sysv/linux/sigpending.c
74590         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74591         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74592         * sysdeps/unix/sysv/linux/sigprocmask.c
74593         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74594         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74595         * sysdeps/unix/sysv/linux/sigsuspend.c
74596         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74597         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74598         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
74599         (__libc_missing_rt_sigs): Remove.
74600         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
74601         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
74602         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
74603         Remove conditional code.
74604         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
74605         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
74606         return 1.
74607         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
74608         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
74609         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
74610         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
74612 2012-05-14  Andreas Jaeger  <aj@suse.de>
74614         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
74615         it's not used in glibc.
74616         (__coshm1): Likewise.
74617         (__acosh1p): Likewise.
74618         (__sgn): Likewise.
74620         * manual/string.texi (Copying and Concatenation): Add missing
74621         variable in concat example.
74622         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
74624 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74626         [BZ #14103]
74627         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
74628         __builtin_clzl with __builtin_clzll.
74630 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74632         [BZ #14104]
74633         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
74634         libc_freeres_ptr.
74636 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74638         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
74639         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
74640         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
74641         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
74643 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
74645         * NEWS: Update ia64 info.
74647 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
74649         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
74650         used as bcopy.
74652 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
74654         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
74655         * sysdeps/unix/syscalls.list (dup3): Likewise.
74656         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
74657         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
74659 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
74661         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
74662         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
74664 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
74666         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
74667         thread pointer.
74668         (TLS_IE): Use mov/add instead of movq/addq to load thread
74669         pointer.
74670         (TLS_GD_PREFIX): New.
74671         (TLS_GD): Use it.
74673 2012-05-11  David S. Miller  <davem@davemloft.net>
74675         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
74676         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
74677         (_FPU_SETCW): Likewise.
74679 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74681         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
74682         is 32-byte aligned.
74684 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
74686         [BZ #11837]
74687         * iconvdata/gb18030.c: Update tables.
74688         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
74689         characters specially.
74690         (BODY for TO_LOOP): Add encoding of missing ranges.
74692 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
74694         [BZ #13673]
74695         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
74696         * sysdeps/mach/hurd/dup3.c: Likewise.
74697         * sysdeps/mach/hurd/readlinkat.c: Likewise.
74698         * sysdeps/powerpc/memmove.c:: Likewise.
74700 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74702         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
74703         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
74705 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74707         * elf/elf.h (R_X86_64_RELATIVE64): New.
74708         (R_X86_64_NUM): Updated.
74709         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
74710         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
74711         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
74712         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
74713         tst-quad1pie tst-quad2pie
74714         (modules-names): Add tst-quadmod1 tst-quadmod2.
74715         ($(objpfx)tst-quad1): New dependency.
74716         ($(objpfx)tst-quad2): Likewise.
74717         ($(objpfx)tst-quad1pie): Likewise.
74718         ($(objpfx)tst-quad2pie): Likewise.
74719         * sysdeps/x86_64/tst-quad1.c: New file.
74720         * sysdeps/x86_64/tst-quad1pie.c: New file.
74721         * sysdeps/x86_64/tst-quad2.c: Likewise.
74722         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
74723         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
74724         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
74725         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
74726         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
74728 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74730         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
74731         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
74732         * streams/stropts.h (t_scalar_t): Define type.
74734         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
74735         (_PATH_PRESERVE): Set to "/var/lib".
74736         (_PATH_RWHODIR): Set to "/var/spool/rwho".
74738         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
74739         instead of int.
74741         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
74742         if __dir_mkfile succeeded.
74744         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
74745         checking for _hurd_dtablesize.  Unlock it right after having
74746         finished _hurd_dtable allocation.
74748 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74750         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
74751         * sysdeps/mach/hurd/configure: Regenerated.
74752         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
74753         special-casing to...
74754         * sysdeps/gnu/configure.in: ... this new file.
74755         * sysdeps/unix/sysv/linux/configure: Regenerated.
74756         * sysdeps/gnu/configure: New generated file.
74758         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
74759         for Linux: use nsec instead of usec, as well as:
74760         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
74761         members of type struct timespec.
74762         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
74763         New macros.
74764         (struct stat64): Likewise.
74765         (_STATBUF_ST_NSEC): New macro.
74766         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
74768         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
74769         __strtoul_internal rather than strtoul.
74771 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74773         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
74774         and reject them.
74776 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74778         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
74779         which preserves existing values.
74780         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
74782 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74784         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
74785         TIMEOUT values.  Return EINVAL for NFDS values either negative or
74786         greater than FD_SETSIZE.
74788 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74790         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
74791         allocated, call __vm_protect to finish enabling the existing space, and
74792         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
74793         allocate the remainder.
74795 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74797         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
74798         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
74800 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74802         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
74803         sysdeps/mach/hurd/readlink.c.
74805         * posix/tst-sysconf.c (posix_options): Only use
74806         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
74807         _POSIX_SYNCHRONIZED_IO when they are defined
74808         * sysdeps/mach/hurd/bits/posix_opt.h:
74809         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
74810         (_XOPEN_REALTIME): Undefine macro.
74811         (_XOPEN_REALTIME_THREADS): Undefine macro.
74812         (_XOPEN_SHM): Undefine macro.
74813         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
74814         macro to -1.
74815         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
74816         macro to -1.
74817         (_POSIX_ASYNC_IO): Undefine macro.
74818         (_POSIX_PRIORITIZED_IO): Undefine macro.
74819         (_POSIX_SPIN_LOCKS): Define macro to -1.
74821         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
74822         SA_NODEFER, SA_RESETHAND.
74823         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
74824         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
74825         F_DUPFD_CLOEXEC.
74827 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74829         * elf/Makefile (pldd-modules): Define unconditionally.
74831 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74833         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
74835 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74837         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
74838         Return ENOENT when name is empty.
74839         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
74841 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74843         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
74845         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
74847 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74849         Fix mlock in all cases except non-readable pages.
74850         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
74851         instead of VM_PROT_ALL as parameter to __vm_wire function.
74853         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
74854         (__mkdir): When path is `/', just fail with EEXIST.
74855         * sysdeps/mach/hurd/mkdirat.c: Likewise.
74857 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74859         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
74860         <sys/uio.h> (for writev).
74861         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
74862         and <sys/param.h> (for MIN).
74864 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74866         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
74867         REQUESTED_TIME.  Properly set the remaining time and return EINTR
74868         if interrupted.
74870 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74872         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
74873         Depend on against $(link-rpcuserlibs).
74875 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74877         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
74878         (__libc_stack_end): Do not use attribute_relro.
74879         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
74880         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
74881         to libthread-provided value.
74882         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
74883         attribute_relro.
74885 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74887         [BZ #3748]
74888         * bits/libc-lock.h (__libc_once_get): New macro.
74889         * sysdeps/mach/bits/libc-lock.h: Likewise.
74890         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
74891         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
74892         instead of using implementation details.
74894         * libio/fileops.c: Unconditionally include <kernel-features.h>.
74895         * libio/freopen.c: Likewise.
74896         * libio/freopen64.c: Likewise.
74897         * misc/syslog.c: Likewise.
74898         * nscd/connections.c: Likewise.
74899         * nscd/netgroupcache.c: Likewise.
74900         * sysdeps/posix/getcwd.c: Likewise.
74902 2012-05-10  Roland McGrath  <roland@hack.frob.com>
74904         * math/w_ilogbf.c: Add #include <limits.h>.
74906 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74908         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
74909         path instead of returning without unlocking.
74911         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
74912         immediate-write ioctls.
74913         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
74915 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74917         * sysdeps/mach/hurd/i386/init-first.c (init): Use
74918         __builtin_frame_address instead of making assumptions about the
74919         location of the return address relative to DATA.  Force early load of
74920         the return address.
74921         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
74922         __builtin_frame_address.
74924         dup3 for GNU Hurd.
74925         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
74926         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
74927         implement dup3 and do some further code clean-ups.
74928         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
74929         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
74931 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74933         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
74935         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
74936         HURD_CRITICAL_END around holding _hurd_dtable_lock.
74937         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
74938         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
74939         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
74940         d->port.lock.
74942         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
74943         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
74944         when handler == SIG_ERR, not when handler != SIG_ERR.
74946 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74948         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
74949         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
74950         definitions.
74952         accept4 for GNU Hurd.
74953         * include/sys/socket.h (__libc_accept4): New prototype.
74954         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
74955         to implement __libc_accept4.
74956         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
74957         __libc_accept4.
74958         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
74960         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
74961         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
74962         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
74963         signal-defines.sym.
74965 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74967         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
74969 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74971         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
74972         assertion on O_CLOEXEC flag.
74973         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
74974         * hurd/intern-fd.c: Likewise.
74975         * hurd/port2fd.c: Likewise.
74977 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74979         [BZ #3906]
74980         * bits/in.h (IPV6_PKTINFO): Define new macro.
74981         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
74983 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74985         [BZ #13954]
74986         [BZ #13955]
74987         [BZ #13956]
74988         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
74989         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74990         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
74991         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
74992         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
74993         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
74994         * math/libm-test.inc (logb_test) : Additional logb tests.
74996 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
74997             Andreas Jaeger  <aj@suse.de>
74999         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
75000         * configure: Regenerated.
75001         * config.h.in (LINK_OBSOLETE_RPC): New macro.
75002         * config.make.in (link-obsolete-rpc): New substituted variable.
75003         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
75004         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
75005         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75006         (shared-only-routines): Don't set it under [link-obsolete-rpc],
75007         so that libc.a contains the symbols.
75008         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75009         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
75010         * sunrpc/auth_none.c: Likewise.
75011         * sunrpc/auth_unix.c: Likewise.
75012         * sunrpc/authdes_prot.c: Likewise.
75013         * sunrpc/authuxprot.c: Likewise.
75014         * sunrpc/clnt_gen.c: Likewise.
75015         * sunrpc/clnt_perr.c: Likewise.
75016         * sunrpc/clnt_raw.c: Likewise.
75017         * sunrpc/clnt_simp.c: Likewise.
75018         * sunrpc/clnt_tcp.c: Likewise.
75019         * sunrpc/clnt_udp.c: Likewise.
75020         * sunrpc/clnt_unix.c: Likewise.
75021         * sunrpc/des_crypt.c: Likewise.
75022         * sunrpc/des_soft.c: Likewise.
75023         * sunrpc/get_myaddr.c: Likewise.
75024         * sunrpc/key_call.c: Likewise.
75025         * sunrpc/key_prot.c: Likewise.
75026         * sunrpc/netname.c: Likewise.
75027         * sunrpc/pm_getmaps.c: Likewise.
75028         * sunrpc/pm_getport.c: Likewise.
75029         * sunrpc/pmap_clnt.c: Likewise.
75030         * sunrpc/pmap_prot.c: Likewise.
75031         * sunrpc/pmap_prot2.c: Likewise.
75032         * sunrpc/pmap_rmt.c: Likewise.
75033         * sunrpc/publickey.c: Likewise.
75034         * sunrpc/rpc_cmsg.c: Likewise.
75035         * sunrpc/rpc_common.c: Likewise.
75036         * sunrpc/rpc_dtable.c: Likewise.
75037         * sunrpc/rpc_prot.c: Likewise.
75038         * sunrpc/rpc_thread.c: Likewise.
75039         * sunrpc/rtime.c: Likewise.
75040         * sunrpc/svc.c: Likewise.
75041         * sunrpc/svc_auth.c: Likewise.
75042         * sunrpc/svc_raw.c: Likewise.
75043         * sunrpc/svc_run.c: Likewise.
75044         * sunrpc/svc_tcp.c: Likewise.
75045         * sunrpc/svc_udp.c: Likewise.
75046         * sunrpc/svc_unix.c: Likewise.
75047         * sunrpc/svcauth_des.c: Likewise.
75048         * sunrpc/xcrypt.c: Likewise.
75049         * sunrpc/xdr.c: Likewise.
75050         * sunrpc/xdr_array.c: Likewise.
75051         * sunrpc/xdr_float.c: Likewise.
75052         * sunrpc/xdr_intXX_t.c: Likewise.
75053         * sunrpc/xdr_mem.c: Likewise.
75054         * sunrpc/xdr_rec.c: Likewise.
75055         * sunrpc/xdr_ref.c: Likewise.
75056         * sunrpc/xdr_sizeof.c: Likewise.
75057         * sunrpc/xdr_stdio.c: Likewise.
75059 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75061         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
75062         change.  Update copyright years.
75064 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75066         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
75068 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
75069             Joseph Myers  <joseph@codesourcery.com>
75070             Paul Pluzhnikov  <ppluzhnikov@google.com>
75072         [BZ #14012]
75073         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
75074         requiring rpcgen.
75075         [cross-compiling] (extra-libs): Likewise.
75076         [cross-compiling] (extra-libs-others): Likewise.
75077         [cross-compiling] (librpcsvc-routines): Likewise.
75078         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
75079         [cross-compiling] (omit-deps): Likewise.
75080         (sunrpc-CPPFLAGS): New variable.
75081         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
75082         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
75083         (cross-rpcgen-objs): New variable.
75084         (extra-objs): Append $(cross-rpcgen-objs).
75085         ($(cross-rpcgen-objs)): New rule.
75086         ($(objpfx)cross-rpcgen): Likewise.
75087         (rpcgen-cmd): Define to use $(built-program-file).  Expand
75088         comment.
75089         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
75090         ($(objpfx)x%.stmp): Likewise.
75091         * sunrpc/proto.h [IS_IN_build] (_): Define.
75092         [IS_IN_build] (_libc_intl_domainname): Likewise.
75094 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75096         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
75097         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
75098         and R_X86_64_TPOFF64.
75100 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75102         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
75103         sysdeps/unix/sysv/syscalls.list.
75104         (stime): Likewise.
75105         (utime): Likewise.
75106         * sysdeps/unix/sysv/syscalls.list: Remove file.
75108 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
75110         [BZ #3440]
75111         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
75112         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
75113         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
75114         (__LC_IDENTIFICATION): Make these macros useful in #if
75115         expressions, as required by C99.
75117 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
75119         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
75120         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
75121         after this.
75123 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
75125         * stdlib/longlong.h: Updated from GCC.
75127 2012-05-09  Andreas Jaeger  <aj@suse.de>
75129         * nscd/nscd.c (run_modes): Make named enum, reorder so that
75130         default is first entry.
75131         (run_mode): Set type.
75132         (main): Remove informal message about syslog.
75133         (options): Fix typo.
75135         [BZ #14053]
75136         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
75137         to asm.
75138         (lrint): Likewise.
75139         (llrintf): Likewise.
75140         (llrint): Likewise.
75141         (rint): Likewise.
75142         (rintf): Likewise.
75143         (nearbyint): Likewise.
75144         (nearbyintf): Likewise.
75146 2012-05-09  Andreas Jaeger  <aj@suse.de>
75147             Pedro Alves  <palves@redhat.com>
75149         * nscd/nscd.c (run_mode): Use enum.
75150         (main): Cleanup coding style issue.
75152 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
75153             Andreas Jaeger  <aj@suse.de>
75155         * nscd/nscd.c (go_background): Replaced with...
75156         (run_mode): ... this.
75157         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
75158         (options): Add -F --foreground.
75159         (main): Implement it.
75160         (parse_opt): Parse it.
75162 2012-05-09  Andreas Jaeger  <aj@suse.de>
75164         [BZ #14083]
75165         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
75166         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
75167         -Wconversion warning.
75168         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
75169         Likewise.
75171 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
75173         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
75174         == 0.
75175         (LC_ALL): Use macro-int-constant.
75176         (LC_COLLATE): Likewise.
75177         (LC_CTYPE): Likewise.
75178         (LC_MESSAGES): Likewise.
75179         (LC_MONETARY): Likewise.
75180         (LC_NUMERIC): Likewise.
75181         (LC_TIME): Likewise.
75182         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
75183         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75184         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75185         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
75186         Specify type.
75187         [C99-based standards] (float_t): Expect type.
75188         [C99-based standards] (double_t): Expect type.
75189         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
75190         type.
75191         [C99-based standards] (HUGE_VALL): Likewise.
75192         [C99-based standards] (INFINITY): Likewise.
75193         [C99-based standards] (NAN): Likewise.
75194         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
75195         [C99-based standards] (FP_NAN): Likewise.
75196         [C99-based standards] (FP_NORMAL): Likewise.
75197         [C99-based standards] (FP_SUBNORMAL): Likewise.
75198         [C99-based standards] (FP_ZERO): Likewise.
75199         [C99-based standards] (FP_FAST_FMA): Use
75200         optional-macro-int-constant.  Specify type.  Require == 1.
75201         [C99-based standards] (FP_FAST_FMAF): Likewise.
75202         [C99-based standards] (FP_FAST_FMAL): Likewise.
75203         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
75204         [C99-based standards] (FP_ILOGBNAN): Likewise.
75205         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
75206         Specify type.
75207         [C99-based standards] (MATH_ERREXCEPT): Likewise.
75208         [C99-based standards] (math_errhandling): Specify type.
75209         [ISO99 || ISO11] (signgam): Do not allow.
75210         [non-C99-based standards] (copysignf): Do not allow.
75211         [non-C99-based standards] (exp2f): Likewise.
75212         [non-C99-based standards] (log2f): Likewise.
75213         [non-C99-based standards] (modff): Allow.
75214         [non-C99-based standards] (erff): Do not allow.
75215         [non-C99-based standards] (erfcf): Likewise.
75216         [non-C99-based standards] (gammaf): Likewise.
75217         [non-C99-based standards] (hypotf): Likewise.
75218         [non-C99-based standards] (j0f): Likewise.
75219         [non-C99-based standards] (j1f): Likewise.
75220         [non-C99-based standards] (jnf): Likewise.
75221         [non-C99-based standards] (lgammaf): Likewise.
75222         [non-C99-based standards] (tgammaf): Likewise.
75223         [non-C99-based standards] (y0f): Likewise.
75224         [non-C99-based standards] (y1f): Likewise.
75225         [non-C99-based standards] (ynf): Likewise.
75226         [non-C99-based standards] (isnanf): Likewise.
75227         [non-C99-based standards] (acoshf): Likewise.
75228         [non-C99-based standards] (asinhf): Likewise.
75229         [non-C99-based standards] (atanhf): Likewise.
75230         [non-C99-based standards] (cbrtf): Likewise.
75231         [non-C99-based standards] (expm1f): Likewise.
75232         [non-C99-based standards] (ilogbf): Likewise.
75233         [non-C99-based standards] (log1pf): Likewise.
75234         [non-C99-based standards] (logbf): Likewise.
75235         [non-C99-based standards] (nextafterf): Likewise.
75236         [non-C99-based standards] (remainderf): Likewise.
75237         [non-C99-based standards] (rintf): Likewise.
75238         [non-C99-based standards] (scalbf): Likewise.
75239         [non-C99-based standards] (copysignl): Likewise.
75240         [non-C99-based standards] (exp2l): Likewise.
75241         [non-C99-based standards] (log2l): Likewise.
75242         [non-C99-based standards] (modfl): Allow.
75243         [non-C99-based standards] (erfl): Do not allow.
75244         [non-C99-based standards] (erfcl): Likewise.
75245         [non-C99-based standards] (gammal): Likewise.
75246         [non-C99-based standards] (hypotl): Likewise.
75247         [non-C99-based standards] (j0l): Likewise.
75248         [non-C99-based standards] (j1l): Likewise.
75249         [non-C99-based standards] (jnl): Likewise.
75250         [non-C99-based standards] (lgammal): Likewise.
75251         [non-C99-based standards] (tgammal): Likewise.
75252         [non-C99-based standards] (y0l): Likewise.
75253         [non-C99-based standards] (y1l): Likewise.
75254         [non-C99-based standards] (ynl): Likewise.
75255         [non-C99-based standards] (isnanl): Likewise.
75256         [non-C99-based standards] (acoshl): Likewise.
75257         [non-C99-based standards] (asinhl): Likewise.
75258         [non-C99-based standards] (atanhl): Likewise.
75259         [non-C99-based standards] (cbrtl): Likewise.
75260         [non-C99-based standards] (expm1l): Likewise.
75261         [non-C99-based standards] (ilogbl): Likewise.
75262         [non-C99-based standards] (log1pl): Likewise.
75263         [non-C99-based standards] (logbl): Likewise.
75264         [non-C99-based standards] (nextafterl): Likewise.
75265         [non-C99-based standards] (remainderl): Likewise.
75266         [non-C99-based standards] (rintl): Likewise.
75267         [non-C99-based standards] (scalbl): Likewise.
75268         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75269         [non-C99-based standards] (FP_*): Do not allow.
75270         [C99-based standards] (FP_*): Change to
75271         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75272         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75273         allow.
75274         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
75275         (SIG_ERR): Likewise.
75276         [X/Open-based standards] (SIG_HOLD): Likewise.
75277         (SIG_IGN): Likewise.
75278         (SIGABRT): Use macro-int-constant.  Specify type.  Require
75279         positive value.
75280         (SIGFPE): Likewise.
75281         (SIGILL): Likewise.
75282         (SIGINT): Likewise.
75283         (SIGSEGV): Likewise.
75284         (SIGTER): Likewise.
75285         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
75286         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
75287         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
75288         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
75289         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
75290         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
75291         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
75292         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
75293         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
75294         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
75295         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
75296         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
75297         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
75298         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
75299         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
75300         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
75301         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
75302         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
75303         [X/Open-based standards] (SIGTRAP): Likewise.
75304         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
75305         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
75306         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
75307         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
75308         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75309         allow.
75311 2012-05-08  Ian Wienand  <ianw@vmware.com>
75313         [BZ #14080]
75314         * time/tzset.c (__tzset_parse_tz): Update default rules for
75315         daylight time changes in the Energy Policy Act of 2005.
75317 2012-05-09  Andreas Jaeger  <aj@suse.de>
75319         [BZ #13983]
75320         * elf/ldconfig.c (parse_conf): Change string to make clear that
75321         ldconfig only issued a warning if ld.so.conf does not exist.
75323 2012-05-08  David S. Miller  <davem@davemloft.net>
75325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
75326         movxtod instead of popping the value on the stack.
75328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75330 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
75332         * config.h.in: Add HAVE_ARM_PCS_VFP.
75334 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
75336         [BZ #13979]
75337         * include/features.h: Warn if user requests __FORTIFY_SOURCE
75338         checking but the checks are disabled for any reason.
75340 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
75342         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
75343         and ELF64_R_TYPE with ELFW(R_TYPE).
75345 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
75347         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
75348         (ulimit): Likewise.
75350         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
75351         (settimeofday): Likewise.
75353 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
75355         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
75356         a struct th_u2 inside the union, and move tu_block/tu_code into
75357         a new th_u3 union of tu_block/tu_code inside of that.  Move
75358         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
75359         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
75360         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
75361         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
75362         (th_stuff): Change to th_u1.tu_stuff.
75363         (th_data): Define.
75364         (th_msg): Change to th_u1.th_u2.tu_data.
75366 2012-05-07  David S. Miller  <davem@davemloft.net>
75368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75370         [BZ #14074]
75371         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
75372         (SETUP_PIC_REG): Use it.
75373         (SETUP_PIC_REG_LEAF): Use it.
75375 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
75377         [BZ #13885]
75378         [BZ #13923]
75379         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75380         USE_AS_EXPM1L.
75381         (EXPL_FINITE): Likewise.
75382         (FLDLOG): Likewise.
75383         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75384         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75385         e_expl.S.
75386         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75387         USE_AS_EXPM1L.
75388         (EXPL_FINITE): Likewise.
75389         (FLDLOG): Likewise.
75390         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75391         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75392         e_expl.S.
75393         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
75394         test of -max_value argument for long double.
75395         * sysdeps/i386/fpu/libm-test-ulps: Update.
75396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75398 2012-05-06  David S. Miller  <davem@davemloft.net>
75400         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
75401         quad soft-float symbols whose references which are compiler
75402         generated.
75403         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75405 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
75407         [BZ #13884]
75408         [BZ #13914]
75409         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75410         USE_AS_EXP10L.
75411         (EXPL_FINITE): Likewise.
75412         (FLDLOG): Likewise.
75413         (c0): Likewise.
75414         (c1): Likewise.
75415         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75416         Adjust comments for base varying.
75417         (__expl_finite): Change alias to EXPL_FINITE.
75418         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
75419         e_expl.S.
75420         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
75421         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
75422         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
75423         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
75424         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75425         USE_AS_EXP10L.
75426         (EXPL_FINITE): Likewise.
75427         (FLDLOG): Likewise.
75428         (c0): Likewise.
75429         (c1): Likewise.
75430         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75431         Adjust comments for base varying.
75432         (__expl_finite): Change alias to EXPL_FINITE.
75433         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
75434         tests for bugs.
75435         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75437         [BZ #14064]
75438         * math/libm-test.inc (check_float_internal): Correct ulp
75439         calculation for subnormal expected results.
75441 2012-05-06  Andreas Jaeger  <aj@suse.de>
75443         * Makeconfig (+math-flags): New, set to -frounding-math.
75444         (+cflags): Add +math-flags so that all of glibc gets compiled with
75445         it.
75447         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
75449 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
75451         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
75452         Disable one test.
75454         [BZ #13787]
75455         [BZ #13922]
75456         [BZ #14036]
75457         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
75458         (__ieee754_expl): Allow for and saturate large arguments.
75459         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
75460         (u_threshold): Likewise.
75461         (__exp): Call __ieee754_exp before checking for overflow and
75462         underflow.
75463         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
75464         (u_threshold): Likewise.
75465         (__expf): Call __ieee754_expf before checking for overflow and
75466         underflow.
75467         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
75468         (u_threshold): Likewise.
75469         (__expl): Call __ieee754_expl before checking for overflow and
75470         underflow.
75471         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
75472         (__ieee754_expl): Allow for and saturate large arguments.
75473         * math/libm-test.inc (exp_test): Add another test.  Do not allow
75474         missing overflow exception on overflow.
75475         (expm1_test): Do not allow missing overflow exception on overflow.
75477         * sysdeps/i386/fpu/e_expl.c: Move to ...
75478         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
75479         rather than using inline asm.
75480         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
75481         * sysdeps/x86_64/fpu/e_expl.S: Copy from
75482         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
75484         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
75485         (nice): Likewise.
75486         (poll): Likewise.
75487         (signal): Likewise.
75488         (time): Likewise.
75489         (times): Likewise.
75491 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
75493         * sysdeps/unix/syscalls.list (adjtime): Add entry from
75494         sysdeps/unix/common/syscalls.list.
75495         (fchmod): Likewise.
75496         (fchown): Likewise.
75497         (ftruncate): Likewise.
75498         (getrusage): Likewise.
75499         (gettimeofday): Likewise.
75500         (setpgid): Likewise.
75501         (setregid): Likewise.
75502         (setreuid): Likewise.
75503         (sigaction): Likewise.
75504         (truncate): Likewise.
75505         (vhangup): Likewise.
75506         * sysdeps/unix/common/syscalls.list: Remove file.
75507         * sysdeps/unix/bsd/Implies: Don't include unix/common.
75508         * sysdeps/unix/sysv/linux/Implies: Likewise.
75510 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
75512         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
75513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
75514         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
75515         Moved to ...
75516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
75517         Here.
75518         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
75519         to ...
75520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
75521         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
75522         to ...
75523         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
75524         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
75525         to ...
75526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
75527         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
75528         to ...
75529         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
75530         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
75531         to ...
75532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
75533         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
75534         to ...
75535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
75536         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
75537         to ...
75538         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
75539         Here.
75540         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
75541         to ...
75542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
75543         Here.
75544         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
75545         to ...
75546         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
75547         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
75548         Moved to ...
75549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
75550         Here.
75551         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
75552         to ...
75553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
75555 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
75557         * sysdeps/unix/common/bits/dirent.h: Remove file.
75558         * sysdeps/unix/common/bits/fcntl.h: Likewise.
75560         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
75561         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
75562         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
75563         * sysdeps/unix/bsd/isatty.c: Likewise.
75564         * sysdeps/unix/bsd/tcdrain.c: Likewise.
75565         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
75566         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
75568 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75570         [BZ #13563]
75571         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
75572         long double comparison inaccuracies.
75573         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
75574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75576 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
75578         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
75579         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
75581 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
75583         [BZ #14049]
75584         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
75585         nonzero digits before rounding a hex value.
75586         * stdlib/tst-strtod.c (tests): Add another test.
75588 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75590         * sysdeps/s390/fpu/libm-test-ulps: Update.
75592 2012-05-03  Andreas Jaeger  <aj@suse.de>
75594         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
75595         does not get optimized out.
75596         (malloc_opt_barrier): New.
75598 2012-05-03  Andreas Jaeger  <aj@suse.de>
75599             Roland McGrath  <roland@hack.frob.com>
75601         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
75602         intermediate file deletion.
75603         (generated): Add .symlist files.
75605 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
75607         [BZ #13775]
75608         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
75609         Redirect under this condition.
75610         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
75611         [__USE_GNU] (__dprintf_chk): Not under this condition.
75612         [__USE_GNU] (__vdprintf_chk): Likewise.
75613         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
75614         under this condition.
75615         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
75616         [__USE_XOPEN2K8] (dprintf): Define under this condition.
75617         [__USE_XOPEN2K8] (vdprintf): Likewise.
75618         [__USE_GNU] (__dprintf_chk): Not under this condition.
75619         [__USE_GNU] (__vdprintf_chk): Likewise.
75620         [__USE_GNU] (dprintf): Likewise.
75621         [__USE_GNU] (vdprintf): Likewise.
75623 2012-05-03  Roland McGrath  <roland@hack.frob.com>
75625         * elf/Makefile (common-generated): Set this instead of generated for
75626         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
75627         $(all-built-dso)-derived lists.
75629 2012-05-03  Andreas Jaeger  <aj@suse.de>
75631         * sysdeps/i386/fpu/libm-test-ulps: Update.
75633         * FAQ: Removed.
75634         * FAQ.in: Likewise.
75635         * scripts/gen-FAQ.pl: Likewise.
75636         * manual/install.texi (Installation): Point to online location of
75637         FAQ.
75638         * Makefile (files-for-dist): Remove FAQ.
75639         (FAQ): Remove.
75641 2012-05-02  Allan McRae  <allan@archlinux.org>
75643         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
75644         (LDFLAGS-reldepmod5.so): Likewise.
75645         (LDFLAGS-reldep6mod1.so): Likewise.
75646         (LDFLAGS-reldep6mod4.so): Likewise.
75647         (LDFLAGS-reldep8mod3.so): Likewise.
75648         (LDFLAGS-unload4mod1.so): Likewise.
75649         (LDFLAGS-unload4mod2.so): Likewise.
75650         (LDFLAGS-tst-initorder): Likewise.
75651         (LDFLAGS-tst-initordera2.so): Likewise.
75652         (LDFLAGS-tst-initordera3.so): Likewise.
75653         (LDFLAGS-tst-initordera4.so): Likewise.
75654         (LDFLAGS-tst-initorderb2.so): Likewise.
75655         (LDFLAGS-noload): Likewise.
75656         (LDFLAGS-next): Likewise.
75657         (LDFLAGS-order2mod1.so): Likewise.
75658         (LDFLAGS-order2mod2.so): Likewise.
75659         (LDFLAGS-tst-initorder2): Likewise.
75660         (LDFLAGS-tst-initorder2a.so): Likewise.
75661         (LDFLAGS-tst-initorder2b.so): Likewise.
75662         (LDFLAGS-tst-initorder2c.so): Likewise.
75663         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
75665 2012-05-02  David S. Miller  <davem@davemloft.net>
75667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75669 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
75671         [BZ #14055]
75672         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
75674 2012-05-02  Andreas Jaeger  <aj@suse.de>
75676         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
75677         since we manipulate rounding mode.
75678         (CPPFLAGS-test-idouble.c): Likewise.
75679         (CPPFLAGS-test-ifloat.c): Likewise.
75680         (CFLAGS-test-ldouble.c): Likewise.
75681         (CFLAGS-test-double.c): Likewise.
75682         (CFLAGS-test-float.c): Likewise.
75683         (CFLAGS-test-misc.c): Likewise.
75684         (CFLAGS-test-test-fenv.c): Likewise.
75686 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75688         [BZ #2550]
75689         [BZ #2570]
75690         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
75691         comparisons to determine direction to adjust input.
75693 2012-05-01  Roland McGrath  <roland@hack.frob.com>
75695         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
75696         output to the target.
75698         * scripts/localplt.awk: New file.
75699         * elf/Makefile ($(objpfx)check-localplt): Target removed.
75700         (check-localplt-CFLAGS): Variable removed.
75701         ($(all-built-dso:=.jmprel)): New static pattern rule.
75702         (generated): Add those targets.
75703         (localplt-built-dso): New variable.
75704         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
75706         * elf/check-localplt.c: File removed.
75708         * scripts/check-execstack.awk: New file.
75709         * elf/Makefile ($(objpfx)check-execstack): Target removed.
75710         (check-execstack-CFLAGS): Variable removed.
75711         ($(objpfx)check-execstack.h): Target removed.
75712         ($(objpfx)execstack-default): New target.
75713         (generated): Add that instead of check-execstack.h.
75714         ($(all-built-dso:=.phdr)): New static pattern rule.
75715         (generated): Add those targets.
75716         * elf/check-execstack.c: File removed.
75718         * scripts/check-textrel.awk: New file.
75719         * elf/Makefile ($(objpfx)check-textrel): Target removed.
75720         (check-textrel-CFLAGS): Variable removed.
75721         (all-built-dso): Use := to define.o
75722         ($(all-built-dso:=.dyn)): New static pattern rule.
75723         (generated): Add those targets.
75724         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
75725         * config.make.in (READELF): New substituted variable.
75726         * elf/check-textrel.c: File removed.
75728 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
75730         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75731         allow.
75732         * conform/data/ctype.h-data [C99-based standards] (isblank):
75733         Expect function.
75734         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
75735         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
75736         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75737         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
75738         Specify type.  Require positive value.
75739         (EILSEQ): Likewise.
75740         (ERANGE): Likewise.
75741         [ISO || POSIX] (EILSEQ): Do not expect.
75742         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
75743         Specify type.  Require positive value.
75744         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
75745         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
75746         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
75747         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
75748         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
75749         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
75750         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
75751         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
75752         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
75753         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
75754         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
75755         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
75756         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
75757         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
75758         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
75759         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
75760         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
75761         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
75762         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
75763         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
75764         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
75765         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
75766         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
75767         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
75768         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
75769         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
75770         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
75771         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
75772         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
75773         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
75774         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
75775         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
75776         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
75777         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
75778         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
75779         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
75780         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
75781         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
75782         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
75783         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
75784         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
75785         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
75786         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
75787         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
75788         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
75789         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
75790         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
75791         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
75792         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
75793         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
75794         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
75795         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
75796         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
75797         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
75798         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
75799         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
75800         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
75801         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
75802         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
75803         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
75804         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
75805         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
75806         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
75807         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
75808         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
75809         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
75810         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
75811         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
75812         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
75813         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
75814         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
75815         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
75816         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
75817         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
75818         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
75819         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
75820         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
75821         Require >= 2.
75822         (FLT_ROUNDS): Expect as macro, not constant.
75823         (FLT_MANT_DIG): Use macro-int-constant.
75824         (DBL_MANT_DIG): Likewise.
75825         (LDBL_MANT_DIG): Likewise.
75826         (FLT_DIG): Likewise.
75827         (DBL_DIG): Likewise.
75828         (LDBL_DIG): Likewise.
75829         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
75830         (DBL_MIN_EXP): Likewise.
75831         (LDBL_MIN_EXP): Likewise.
75832         (FLT_MAX_EXP): Use macro-int-constant.
75833         (DBL_MAX_EXP): Likewise.
75834         (LDBL_MAX_EXP): Likewise.
75835         (FLT_MAX_10_EXP): Likewise.
75836         (DBL_MAX_10_EXP): Likewise.
75837         (LDBL_MAX_10_EXP): Likewise.
75838         (FLT_MAX): Use macro-constant.
75839         (DBL_MAX): Likewise.
75840         (LDBL_MAX): Likewise.
75841         (FLT_EPSILON): Use macro-constant.  Give upper bound.
75842         (DBL_EPSILON): Likewise.
75843         (LDBL_EPSILON): Likewise.
75844         (FLT_MIN): Likewise.
75845         (DBL_MIN): Likewise.
75846         (LDBL_MIN): Likewise.
75847         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
75848         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
75849         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
75850         [ISO11] (FLT_HAS_SUBNORM): Likewise.
75851         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
75852         [ISO11] (DBL_DECIMAL_DIG): Likewise.
75853         [ISO11] (FLT_DECIMAL_DIG): Likewise.
75854         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
75855         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
75856         [ISO11] (FLT_TRUE_MIN): Likewise.
75857         [ISO11] (LDBL_TRUE_MIN): Likewise.
75858         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75859         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
75860         (SCHAR_MIN): Use macro-int-constant.  Specify type.
75861         (SCHAR_MAX): Likewise.
75862         (UCHAR_MAX): Likewise.
75863         (CHAR_MIN): Likewise.
75864         (CHAR_MAX): Likewise.
75865         (MB_LEN_MAX): Use macro-int-constant.
75866         (SHRT_MIN): Use macro-int-constant.  Specify type.
75867         (SHRT_MAX): Likewise.
75868         (USHRT_MAX): Likewise.
75869         (INT_MAX): Likewise.
75870         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
75871         bound negative.
75872         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75873         bound with "U".
75874         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75875         bound with "L".
75876         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
75877         bound negative.  Suffix upper bound with "L".
75878         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
75879         bound with "UL".
75880         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
75881         Specify type.
75882         [C99-based standards] (LLONG_MAX): Likewise.
75883         [C99-based standards] (ULLONG_MAX): Likewise.
75884         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
75885         == 0.
75886         [ISO11] (max_align_t): Require type.
75887         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75889         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
75890         from $CFLAGS, without defining away __attribute__ calls.
75891         (checknamespace): Use $CFLAGS_namespace.
75893         * conform/conformtest.pl (@keywords): Only include C99 keywords
75894         for standards based on C99 or C11.
75896         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
75897         Disable tests.
75898         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
75899         UNIX98]: Likewise.
75901         * conform/conformtest.pl: Handle "macro-int-constant" and test for
75902         usability of symbols in #if.
75904         * conform/conformtest.pl: If macro or constant types start
75905         "promoted:", expect the symbol to be of the following type
75906         promoted by the integer promotions.
75908         * conform/conformtest.pl: Parse all "constant" and "macro" lines
75909         in one place.  Also handle "macro-constant".
75911         * conform/conformtest.pl: Only accept expected macro values with
75912         "==".  Parse all "macro" lines in one place.
75913         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
75915         * conform/conformtest.pl: Handle braced types on "constant" lines
75916         instead of handling "typed-constant".
75917         * conform/data/signal.h-data: Use "constant" instead of
75918         "typed-constant".
75920         * conform/conformtest.pl: Handle "optional-" at start of lines in
75921         one place rather than duplicating several cases.  Handle each
75922         format of "macro" line with initial "optional-".
75924         * conform/conformtest.pl: Only accept expected constant or
75925         optional-constant values with "==".  Parse all "constant" lines in
75926         one place.  Parse all "optional-constant" lines in one place.
75927         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
75928         * conform/data/fmtmsg.h-data: Likewise.
75929         * conform/data/netinet/in.h-data: Likewise.
75930         * conform/data/tar.h-data: Likewise.
75931         * conform/data/limits.h-data: Use "==" form on "constant" and
75932         "optional-constant" lines.
75934         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
75935         Use -std=c99 for XOPEN2K.
75936         (@knownproblems): Remove.
75937         (newtoken): Don't check %isknown.
75939         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
75940         Do not expect macro.
75941         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
75942         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
75943         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
75944         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
75945         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
75946         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
75947         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
75948         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
75949         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
75950         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
75951         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
75952         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
75953         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
75954         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
75955         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
75956         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
75957         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
75958         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
75959         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
75960         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
75961         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
75962         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
75963         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
75964         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
75965         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
75966         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
75967         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
75968         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
75969         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
75970         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
75971         [XPG3] (acosh): Likewise.
75972         [XPG3] (asinh): Likewise.
75973         [XPG3] (atanh): Likewise.
75974         [XPG3] (cbrt): Likewise.
75975         [XPG3] (expm1): Likewise.
75976         [XPG3] (ilogb): Likewise.
75977         [XPG3] (log1p): Likewise.
75978         [XPG3] (logb): Likewise.
75979         [XPG3] (nextafter): Likewise.
75980         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
75981         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
75982         [XPG3] (remainder): Likewise.
75983         [XPG3] (rint): Likewise.
75984         [XPG3 || XPG4 || UNIX98] (round): Likewise.
75985         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
75986         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
75987         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
75988         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
75989         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
75990         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
75991         [UNIX98 || XOPEN2K] (scalb): Expect.
75992         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
75993         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
75994         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
75995         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
75996         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
75997         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
75998         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
75999         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
76000         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
76001         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
76002         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
76003         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
76004         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
76005         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
76006         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
76007         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
76008         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
76009         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
76010         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
76011         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
76012         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
76013         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
76014         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
76015         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
76016         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
76017         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
76018         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
76019         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
76020         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
76021         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
76022         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
76023         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
76024         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
76025         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
76026         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
76027         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
76028         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
76029         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
76030         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
76031         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
76032         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
76033         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
76034         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
76035         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
76036         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
76037         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
76038         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
76039         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
76040         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
76041         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
76042         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
76043         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
76044         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
76045         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
76046         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
76047         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
76048         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
76049         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
76050         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
76051         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
76052         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
76053         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
76054         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
76055         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
76056         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
76057         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
76058         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
76059         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
76060         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
76061         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
76062         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
76063         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
76064         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
76065         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
76066         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
76067         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
76068         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
76069         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
76070         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
76071         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
76072         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
76073         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
76074         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
76075         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
76076         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
76077         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
76078         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
76079         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
76080         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
76081         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
76082         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
76083         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
76084         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
76085         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
76086         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
76087         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
76088         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
76089         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
76090         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
76091         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
76092         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
76093         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
76094         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
76095         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
76096         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
76097         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
76098         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
76099         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
76100         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
76101         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
76102         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
76103         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
76104         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
76105         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
76106         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
76107         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
76108         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
76109         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
76110         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
76111         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
76112         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
76113         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
76114         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
76115         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
76116         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
76117         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
76118         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
76119         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
76120         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
76121         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
76122         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
76123         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
76124         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
76125         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
76126         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
76127         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
76128         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
76130         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
76131         _XOPEN_SOURCE_EXTENDED for XPG4.
76133         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
76135         * Makeconfig (localtime): Remove variable.
76136         (inst_localtime-file): Likewise.
76138 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
76141         Update.
76142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76143         Update.
76144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
76145         Update.
76146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
76147         Update.
76148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
76149         Update.
76150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
76151         Update.
76152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76153         Update.
76154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
76155         Update.
76156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76157         Update.
76159 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76161         [BZ #2550]
76162         [BZ #2570]
76163         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
76164         comparisons to determine direction to adjust input.
76165         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
76166         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
76167         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
76168         Likewise.
76169         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
76170         Likewise.
76171         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
76172         Likewise.
76173         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
76174         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
76175         Likewise.
76176         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
76177         Likewise.
76178         * math/libm-test.inc (nexttoward_test): Add more tests.
76180 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76182         [BZ #14040]
76183         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
76184         in version GLIBC_2.1, not GLIBC_2.0.
76185         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
76186         Likewise.
76188 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
76190         [BZ #13942]
76191         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
76192         (1 - x) * (1 + x).
76193         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76194         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
76195         * math/libm-test.inc (acos_test): Add more tests.
76196         (asin_test): Likewise.
76197         * sysdeps/i386/fpu/libm-test-ulps: Update.
76198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76200         [BZ #14034]
76201         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
76202         of square root.
76203         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
76204         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76205         * math/libm-test.inc (acos_test_tonearest): New function.
76206         (acos_test_towardzero): Likewise.
76207         (acos_test_downward): Likewise.
76208         (acos_test_upward): Likewise.
76209         (asin_test_tonearest): Likewise.
76210         (asin_test_towardzero): Likewise.
76211         (asin_test_downward): Likewise.
76212         (asin_test_upward): Likewise.
76213         (main): Call the new functions.
76214         * sysdeps/i386/fpu/libm-test-ulps: Update.
76215         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76217         [BZ #13884]
76218         [BZ #13924]
76219         * math/e_exp10.c: Include <float.h>.
76220         (__ieee754_exp10): Handle underflow here rather than multiplying
76221         large negative argument by M_LN10.
76222         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
76223         of __ieee754_expf.
76224         * math/e_exp10l.c: Include <float.h>.
76225         (__ieee754_exp10l): Handle underflow here rather than multiplying
76226         large negative argument by M_LN10l.
76227         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
76228         spurious overflow exception on underflow.
76230 2012-04-29  Marek Polacek  <polacek@redhat.com>
76232         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
76233         (__fortify_function): New macro.
76234         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
76235         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
76236         __extern_always_inline.
76237         * libio/bits/stdio2.h: Likewise.
76238         * libio/bits/stdio.h: Likewise.
76239         * string/string.h: Likewise.
76240         * string/bits/string3.h: Likewise.
76241         * include/stdio.h: Likewise.
76242         * stdlib/bits/stdlib.h: Likewise.
76243         * stdlib/stdlib.h: Likewise.
76244         * rt/bits/mqueue2.h: Likewise.
76245         * rt/mqueue.h: Likewise.
76246         * posix/bits/unistd.h: Likewise.
76247         * posix/unistd.h: Likewise.
76248         * io/bits/poll2.h: Likewise.
76249         * io/bits/fcntl2.h: Likewise.
76250         * io/fcntl.h: Likewise.
76251         * io/sys/poll.h: Likewise.
76252         * misc/bits/syslog.h: Likewise.
76253         * misc/bits/syslog-ldbl.h: Likewise.
76254         * misc/sys/syslog.h: Likewise.
76255         * socket/bits/socket2.h: Likewise.
76256         * socket/sys/socket.h: Likewise.
76257         * debug/tst-chk1.c: Likewise.
76258         * wcsmbs/bits/wchar2.h: Likewise.
76259         * wcsmbs/bits/wchar-ldbl.h: Likewise.
76260         * wcsmbs/wchar.h: Likewise.
76262 2012-04-29  Andreas Jaeger  <aj@suse.de>
76264         * Makerules (tests): Remove enable-check-abi protection.
76265         (check-abi-warn): Remove.
76266         (check-abi-%): Remove check-abi-warn usage.
76268         * configure.in: Remove check-abi configure option.
76269         * configure: Regenerated.
76270         * config.make.in (enable-check-abi): Remove.
76272 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
76274         [BZ #14033]
76275         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
76276         double functions to double *_finite functions.
76278         [BZ #13941]
76279         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
76280         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
76281         LDBL_MIN_EXP.
76282         * stdio-common/Makefile (tests): Add tst-sprintf3.
76283         * stdio-common/tst-sprintf3.c: New file.
76285         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
76286         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
76288 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
76290         * conform/conformtest.pl: Remove duplicate typed-constant
76291         handling.
76293 2012-04-28  David S. Miller  <davem@davemloft.net>
76295         * Makerules (%.abilist): Add vpath on sysdep_dirs.
76296         (check-abi-%): Remove AWK script prerequisite and explicit
76297         abilist directory.
76298         (check-abi): Rewrite to just diff the symlist with the abilist.
76299         (config-tls, config-abi-config): Delete, no longer used.
76300         (update-abi-%): Remove AWK script and explicit abilist directory.
76301         (update-abi): Rewrite to simply compare and conditionally copy the
76302         symlist and the sysdep abilist file.  Remove update-abi-config
76303         checks.
76304         * abilist/ld.abilist: Remove.
76305         * abilist/libBrokenLocale.abilist: Remove.
76306         * abilist/libanl.abilist: Remove.
76307         * abilist/libcrypt.abilist: Remove.
76308         * abilist/libdl.abilist: Remove.
76309         * abilist/librt.abilist: Remove.
76310         * abilist/libthread_db.abilist: Remove.
76311         * abilist/libutil.abilist: Remove.
76312         * scripts/extract-abilist.awk: Remove.
76313         * scripts/merge-abilist.awk: Remove.
76314         * sysdeps/generic/libcidn.abilist: New file.
76315         * sysdeps/generic/libnss_compat.abilist: New file.
76316         * sysdeps/generic/libnss_db.abilist: New file.
76317         * sysdeps/generic/libnss_dns.abilist: New file.
76318         * sysdeps/generic/libnss_files.abilist: New file.
76319         * sysdeps/generic/libnss_hesiod.abilist: New file.
76320         * sysdeps/generic/libnss_nis.abilist: New file.
76321         * sysdeps/generic/libnss_nisplus.abilist: New file.
76322         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
76323         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
76324         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
76325         file.
76326         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
76327         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
76328         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
76329         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
76330         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
76331         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
76332         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
76333         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
76334         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
76335         file.
76336         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
76337         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
76338         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
76339         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
76340         file.
76341         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
76342         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
76343         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
76344         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
76345         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
76346         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
76347         file.
76348         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
76349         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
76350         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
76351         file.
76352         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
76353         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
76354         New file.
76355         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
76356         New file.
76357         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
76358         New file.
76359         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
76360         New file.
76361         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
76362         New file.
76363         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
76364         New file.
76365         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
76366         New file.
76367         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
76368         New file.
76369         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
76370         New file.
76371         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
76372         New file.
76373         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
76374         New file.
76375         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
76376         New file.
76377         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
76378         New file.
76379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
76380         file.
76381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
76382         New file.
76383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
76384         New file.
76385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
76386         file.
76387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
76388         New file.
76389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
76390         New file.
76391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
76392         file.
76393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
76394         New file.
76395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76396         New file.
76397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
76398         New file.
76399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
76400         New file.
76401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
76402         New file.
76403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
76404         New file.
76405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
76406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
76407         file.
76408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
76409         New file.
76410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
76411         file.
76412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
76413         file.
76414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
76415         file.
76416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
76417         file.
76418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
76419         file.
76420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
76421         New file.
76422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
76423         file.
76424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
76425         file.
76426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
76427         New file.
76428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
76429         file.
76430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
76431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
76432         file.
76433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
76434         New file.
76435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
76436         file.
76437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
76438         file.
76439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
76440         file.
76441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
76442         file.
76443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
76444         file.
76445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
76446         New file.
76447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
76448         file.
76449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
76450         file.
76451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
76452         New file.
76453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
76454         file.
76455         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
76456         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
76457         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
76458         file.
76459         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
76460         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
76461         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
76462         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
76463         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
76464         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
76465         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
76466         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
76467         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
76468         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
76469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
76470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
76471         file.
76472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
76473         New file.
76474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
76475         file.
76476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
76477         file.
76478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
76479         file.
76480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
76481         file.
76482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
76483         file.
76484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
76485         New file.
76486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
76487         New file.
76488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
76489         file.
76490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
76491         New file.
76492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
76493         file.
76494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
76495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
76496         file.
76497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
76498         New file.
76499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
76500         file.
76501         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
76502         file.
76503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
76504         file.
76505         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
76506         file.
76507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
76508         file.
76509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
76510         New file.
76511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
76512         New file.
76513         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
76514         file.
76515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
76516         New file.
76517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
76518         file.
76520 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
76522         * conform/conformtest.pl: Fix typo in handling typed-constant from
76523         allow-header.
76525 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
76527         * README: Cut down references to pre-2.6 Linux kernels and
76528         Linuxthreads.  Update lists of configurations in libc and ports
76529         and sort alphabetically.  Say "or newer" with Linux kernel version
76530         requirements.
76532         * config.h.in [IS_IN_build]: Allow compiling without optimization.
76534 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
76536         [BZ #887]
76537         * math/libm-test.inc (logb_test_downward): New test to expose
76538         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
76539         rounding mode.
76541 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
76543         [BZ #14027]
76544         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
76545         to be done.
76546         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
76547         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
76549 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
76551         * sysdeps/unix/i386/brk.S: Remove file.
76552         * sysdeps/unix/i386/dl-brk.S: Likewise.
76553         * sysdeps/unix/i386/pipe.S: Likewise.
76554         * sysdeps/unix/i386/sigreturn.S: Likewise.
76555         * sysdeps/unix/i386/syscall.S: Likewise.
76556         * sysdeps/unix/i386/vfork.S: Likewise.
76557         * sysdeps/unix/i386/wait.S: Likewise.
76559         * sysdeps/unix/common/tcsendbrk.c: Move to ...
76560         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
76562         * configure.in (arm*-none*): Do not allow without
76563         --enable-hacker-mode.
76564         (netbsd*): Remove case setting base_os.
76565         (386bsd*): Likewise.
76566         (freebsd*): Likewise.
76567         (bsdi*): Likewise.
76568         (osf*): Likewise.
76569         (sunos*): Likewise.
76570         (ultrix*): Likewise.
76571         (newsos*): Likewise.
76572         (dynix*): Likewise.
76573         (*bsd*): Likewise.
76574         (sysv*): Likewise.
76575         (isc*): Likewise.
76576         (esix*): Likewise.
76577         (sco*): Likewise.
76578         (minix*): Likewise.
76579         (irix4*): Likewise.
76580         (irix6*): Likewise.
76581         (solaris[2-9]*): Likewise.
76582         (none): Likewise.
76583         * configure: Regenerated.
76585 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76587         [BZ #11521]
76588         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
76589         overflow or cancellation in calculating denominator.
76590         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
76591         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
76592         down expression to avoid unexpected rounding in newer GCCs.
76593         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
76595 2012-04-26  David S. Miller  <davem@davemloft.net>
76597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
76598         long-double compat symbols.
76599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
76600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
76601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
76602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
76603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
76604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
76605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
76606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
76607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
76608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
76609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
76610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
76611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
76613 2012-04-25  David S. Miller  <davem@davemloft.net>
76615         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
76616         HWCAP_* values only after the memory barriers have been defined.
76617         (atomic_full_barrier): Define.
76618         (atomic_read_barrier): Define.
76619         (atomic_write_barrier): Define.
76621 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
76623         * shlib-versions: Add libgcc_s version information.
76624         * sysdeps/generic/libgcc_s.h: Remove.
76625         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
76626         libgcc_s.h.
76627         * sysdeps/gnu/unwind-resume.c: Likewise.
76628         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
76630 2012-04-25  David S. Miller  <davem@davemloft.net>
76632         * sysdeps/unix/sparc/brk.S: Delete.
76633         * sysdeps/unix/sparc/dl-brk.S: Delete.
76634         * sysdeps/unix/sparc/pipe.S: Delete.
76635         * sysdeps/unix/sparc/sysdep.S: Delete.
76636         * sysdeps/unix/sparc/sysdep.h: Delete.
76637         * sysdeps/unix/sparc/vfork.S: Delete.
76638         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
76639         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
76640         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
76641         (ret_ERRVAL, r0, r1, MOVE): Define.
76642         (JUMPTARGET): Remove.
76643         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
76644         sysdeps/unix/sparc/sysdep.h
76645         (ENTRY, END): Remove.
76646         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76648 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
76650         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
76651         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
76652         -DIS_IN_build.
76654         * timezone/README: Update upstream location and email address for
76655         tzcode and tzdata.
76656         * timezone/zdump.c: Update from tzcode 2012b.
76657         * timezone/zic.c: Likewise.
76659         * configure.in (libc_cv_as_needed): Remove test.
76660         * configure: Regenerated.
76661         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
76662         conditional definition.
76663         [$(have-as-needed) != yes] (no-as-needed): Likewise.
76664         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
76665         * config.make.in (have-as-needed): Remove variable.
76667 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
76668             Paul Pluzhnikov  <ppluzhnikov@google.com>
76670         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
76671         strings correctly.
76673 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
76675         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
76676         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
76677         * sysdeps/sh/strlen.S: Likewise.
76679 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76681         * sysdeps/unix/fork.S: Remove file.
76682         * sysdeps/unix/i386/fork.S: Likewise.
76683         * sysdeps/unix/sparc/fork.S: Likewise.
76685         * sysdeps/unix/system.c: Remove file.
76686         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
76688         * sysdeps/unix/getegid.S: Remove file.
76689         * sysdeps/unix/geteuid.S: Likewise.
76691 2012-04-24  Roland McGrath  <roland@hack.frob.com>
76693         * scripts/check-localplt.awk: New file.
76694         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
76695         of diff.
76696         * scripts/data/localplt-generic.data: Add a comment.
76698         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
76699         NODE when __dir_mkfile failed.
76700         * sysdeps/mach/hurd/symlinkat.c: Likewise.
76701         Reported by Ludovic Courtès <ludo@gnu.org>.
76703 2012-04-24  Andreas Jaeger  <aj@suse.de>
76705         * Makerules (common-clean): Also remove gen-as-const-headers
76706         files.
76708 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76710         * Makerules (native-compile): Do not change working directory for
76711         build.  Use $(OUTPUT_OPTION) in command.
76712         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
76714 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76716         [BZ #13886]
76717         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
76718         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
76719         * math/libm-test.inc (floor_test): Add more tests.
76720         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
76722 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76724         * sysdeps/unix/getdents.c: Remove file.
76725         * sysdeps/unix/sysv/getdents.c: Likewise.
76726         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
76728         * sysdeps/unix/syscalls.list (madvise): Add syscall from
76729         sysdeps/unix/mman/syscalls.list.
76730         (mmap): Likewise.
76731         (mprotect): Likewise.
76732         (msync): Likewise.
76733         (munmap): Likewise.
76734         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
76735         * sysdeps/unix/mman/syscalls.list: Remove.
76736         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
76738         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
76739         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
76740         * configure: Regenerated.
76741         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
76742         $(libgcc_s_suffix).
76743         * config.make.in (libgcc_s_suffix): Remove variable.
76745 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
76747         * sysdeps/unix/sysv/gethostname.c: Move to ...
76748         * sysdeps/posix/gethostname.c: ... here.
76750         * sysdeps/unix/execve.S: Remove file.
76752         * sysdeps/unix/_exit.S: Remove file.
76754 2012-04-23  Andreas Jaeger  <aj@suse.de>
76756         [BZ #13739]
76757         * manual/Makefile: Remove make dist support, there's no
76758         need for a stand-alone documentation tar ball.
76759         (TEXI2DVI): Define always, it's not in Makeconfig.
76760         (dist): Removed.
76761         (tar-it): Removed.
76762         (edition): Removed.
76763         (glibc-doc-$(edition).tar): Removed
76764         (%.Z): Removed.
76765         (%.gz): Removed.
76766         (%.uu): Removed.
76767         (ETAGS): Remove, it's in Makeconfig.
76768         (move-if-change): Remove, it's in Makeconfig.
76770 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
76772         [BZ #13970]
76773         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
76774         (strtod, strtof, strtold, strtol, strtoul, strtoq)
76775         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
76776         (strtod_l, strtof_l, strtold_l): Remove __wur.
76777         It is not necessarily an error to ignore strtol's return value.
76778         One can reliably look at the stored endptr to decide whether
76779         the number had valid syntax.
76781 2012-04-21  Andreas Jaeger  <aj@suse.de>
76783         [BZ #13739]
76784         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
76786 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
76788         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
76789         * sysdeps/unix/sysv/Versions: Remove file.
76791 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
76793         [BZ #13927]
76794         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76796 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
76798         [BZ #7064]
76799         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
76800         version from __vm86.
76802 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
76804         * sysdeps/unix/common/lxstat.c: Remove file.
76805         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
76807         * sysdeps/unix/sysv/Makefile: Remove file.
76809         * sysdeps/unix/sysv/direct.h: Remove file.
76811         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
76812         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
76813         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
76814         * sysdeps/unix/sysv/bits/signum.h: Likewise.
76815         * sysdeps/unix/sysv/bits/stat.h: Likewise.
76816         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
76817         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
76819         * sysdeps/unix/sysv/setrlimit.c: Remove file.
76821         * sysdeps/unix/xmknod.c: Remove file.
76822         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
76824         * sysdeps/unix/sysv/settimeofday.c: Remove file.
76826         * sysdeps/unix/sysv/i386/time.S: Remove file.
76828         * sysdeps/unix/fxstat.c: Remove file.
76829         * sysdeps/unix/xstat.c: Likewise.
76830         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
76832         * sysdeps/unix/sysv/sigaction.c: Remove file.
76834         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
76835         (sysdep_headers): Remove variable.
76836         [termio.h not in sysdep_headers] (generated): Likewise.
76837         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
76838         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
76839         * sysdeps/unix/sysv/tcdrain.c: Likewise.
76840         * sysdeps/unix/sysv/tcflow.c: Likewise.
76841         * sysdeps/unix/sysv/tcflush.c: Likewise.
76842         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
76843         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
76844         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
76845         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
76846         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
76848         * sysdeps/unix/siglist.c: Remove file.
76850         * sysdeps/unix/getppid.S: Remove file.
76852         * sysdeps/unix/mkdir.c: Remove file.
76853         * sysdeps/unix/rmdir.c: Likewise.
76855 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
76857         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
76858         ERR_MAX value.
76859         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
76860         errlist-compat value.
76862 2012-04-18  David S. Miller  <davem@davemloft.net>
76864         * sysdeps/generic/memcopy.h (reg_char): Delete.
76865         * debug/strcat_chk.c: Use char, not reg_char.
76866         * debug/strcpy_chk.c: Likewise.
76867         * debug/strncat_chk.c: Likewise.
76868         * debug/strncpy_chk.c: Likewise.
76869         * string/memchr.c: Likewise.
76870         * string/memrchr.c: Likewise.
76871         * string/rawmemchr.c: Likewise.
76872         * string/strcat.c: Likewise.
76873         * string/strchr.c: Likewise.
76874         * string/strchrnul.c: Likewise.
76875         * string/strcmp.c: Likewise.
76876         * string/strcpy.c: Likewise.
76877         * string/strncat.c: Likewise.
76878         * string/strncmp.c: Likewise.
76879         * string/strncpy.c: Likewise.
76881 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76883         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
76884         __builtin_memcopy is called when src and dest ranges are known to not
76885         overlap.
76887 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76889         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
76890         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
76891         fwd_align_merge macro call.
76892         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
76893         bwd_align_merge macro call.
76894         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
76896 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
76898         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
76899         bwd_align_merge macros.
76900         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
76901         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
76902         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
76904 2012-04-18  David S. Miller  <davem@davemloft.net>
76906         * sysdeps/sparc/sparc64/memcopy.h: Delete.
76908 2012-04-18  Andreas Jaeger  <aj@suse.de>
76910         [BZ# 6794]
76911         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
76912         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
76913         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76915         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
76916         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
76917         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76919         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
76920         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
76921         Adjust for changed ldbl-128 files.
76923         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
76924         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
76925         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
76927 2012-04-17  David S. Miller  <davem@davemloft.net>
76929         * sysdeps/sparc/sparc32/memcopy.h: Delete.
76931 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
76933         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
76934         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
76935         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
76936         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
76937         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
76938         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
76940 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76942         [BZ #6794]
76943         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
76944         * math/libm-test.inc: Add ilogb errno and exception tests.
76945         * math/w_ilogb.c: New file: ilogb wrapper.
76946         * math/w_ilogbf.c: New file: ilogbf wrapper.
76947         * math/w_ilogbl.c: New file: ilogbl wrapper.
76948         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
76949         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
76950         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
76951         exception being thrown with 0.0 as argument.
76952         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
76953         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
76954         exception being thrown with 0.0 as argument.
76955         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
76956         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
76957         exception being thrown with 0.0 as argument.
76958         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
76959         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
76960         exception being thrown with 0.0 as argument.
76961         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
76962         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
76963         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76964         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
76965         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
76966         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
76967         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
76968         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
76969         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
76971 2012-04-17  Petr Baudis  <pasky@ucw.cz>
76973         * include/sys/uio.h: Change __vector to __iovec to avoid clash
76974         with altivec.
76976 2012-04-16  Marek Polacek  <polacek@redhat.com>
76978         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
76980 2012-04-16  Marek Polacek  <polacek@redhat.com>
76982         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
76983         operands of fdivp instruction.
76985 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
76987         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
76988         * elf/tst-auditmod3b.c: Likewise.
76989         * elf/tst-auditmod4b.c: Likewise.
76990         * elf/tst-auditmod5b.c: Likewise.
76991         * elf/tst-auditmod6b.c: Likewise.
76992         * elf/tst-auditmod6c.c: Likewise.
76993         * elf/tst-auditmod7b.c: Likewise.
76994         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
76995         * sysdeps/x86_64/preconfigure.in: Likewise.
76996         * sysdeps/x86_64/preconfigure: Regenerated.
76998 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77000         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
77001         __ILP32__.
77003 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
77005         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
77006         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
77008 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
77010         [BZ #13973]
77011         * locale/iso-639.def: Fix gl language name. Spotted by
77012         Yaron Shahrabani.
77014 2012-04-12  Roland McGrath  <roland@hack.frob.com>
77016         [BZ #2074]
77017         * libio/libio.h (__io_write_fn): Update comment.
77019 2012-04-12  Petr Baudis  <pasky@ucw.cz>
77021         [BZ #2074]
77022         * stdio.texi (Hook Functions): The user provided writer function
77023         is not allowed to return -1.
77025 2012-04-11  David S. Miller  <davem@davemloft.net>
77027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77029 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
77031         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
77032         Add a leading slash to rtkaio.
77034 2012-04-11  Jim Meyering  <meyering@redhat.com>
77036         [BZ #11959]
77037         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
77038         It is not necessarily an error to ignore fwrite's return
77039         value.  One can reliably use ferror to test for errors after
77040         the fact.
77042 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77044         * bits/types.h (__snseconds_t): New type.
77045         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
77047         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
77048         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77049         (__SNSECONDS_T_TYPE): Likewise.
77050         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77051         (__SNSECONDS_T_TYPE): Likewise.
77052         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77053         (__SNSECONDS_T_TYPE): Likewise.
77055 2012-04-10  Andreas Jaeger  <aj@suse.de>
77057         [BZ #2636]
77058         * manual/time.texi (Processor Time): Return type of times is
77059         elapsed real time since an arbitrary point in the past.
77060         (CPU Time): Move CLK_TCK from here...
77061         (Processor Time): ...to here.  Correct description.
77062         * manual/conf.texi (Constants for Sysconf): Correct description of
77063         _SC_CLK_TCK.
77065 2012-04-10  David S. Miller  <davem@davemloft.net>
77067         [BZ #13967]
77068         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
77069         where the is a gap between DT_REL(A) and DT_JMPREL.
77071 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77073         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
77074         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77075         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77077 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
77079         * elf/dl-support.c (_dl_inhibit_cache): New variable.
77080         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
77081         (dl_main): Handle --inhibit-cache.
77082         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
77083         _dl_inhibit_cache.
77084         * elf/dl-load.c (_dl_map_object): Use it.
77085         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
77087 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77089         [BZ #13872]
77090         * sysdeps/i386/fpu/e_powl.S (p78): New object.
77091         (__ieee754_powl): Saturate large exponents rather than testing for
77092         overflow of y*log2(x).
77093         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77094         * math/libm-test.inc (pow_test): Do not permit spurious overflow
77095         exceptions.
77097         [BZ #11521]
77098         * math/s_ctan.c: Include <float.h>.
77099         (__ctan): Avoid internal overflow or cancellation in calculating
77100         denominator.
77101         * math/s_ctanf.c: Likewise.
77102         * math/s_ctanl.c: Likewise.
77103         * math/s_ctanh.c: Likewise.
77104         * math/s_ctanhf.c: Likewise.
77105         * math/s_ctanhl.c: Likewise.
77106         * math/libm-test.inc (ctan_test): Add more tests.
77107         (ctanh_test): Likewise.
77108         * sysdeps/i386/fpu/libm-test-ulps: Update.
77109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77111 2012-04-09  Andreas Jaeger  <aj@suse.de>
77113         [BZ #6894]
77114         * manual/filesys.texi (Directory Entries): Mention that d_namlen
77115         is an optional BSD extension.
77117         [BZ #10254]
77118         * manual/stdio.texi (Opening Streams): Document additional fopen
77119         parameters.
77121 2012-04-09  Roland McGrath  <roland@hack.frob.com>
77123         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
77124         %eax without telling the compiler.
77126 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
77128         [BZ # 13963]
77129         * manual/install.texi: Use sourceware.org.
77131 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77133         [BZ #13873]
77134         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
77135         (__ieee754_pow): Generate overflow and underflow using huge*huge
77136         and tiny*tiny rather than just returning constant infinity or zero
77137         for large exponents.
77138         * math/libm-test.inc (pow_test): Require overflow exceptions for
77139         applicable cases of large exponents.
77141         [BZ #706]
77142         * sysdeps/i386/fpu/e_pow.S (p10): New object.
77143         (__ieee754_pow): Use iterative multiplication algorithm only for
77144         integer exponents with absolute value below 1024.  Check for odd
77145         integer exponents when using algorithm for real exponents.
77146         * math/libm-test.inc (pow_test): Add more tests.
77147         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77149 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
77151         [BZ #13705]
77152         * math/libm-test.inc (exp_test): Do not allow overflow exception
77153         on underflow test.
77155 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
77157         [BZ #13705]
77158         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
77159         instead of __kernel_standard_f.
77161 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
77163         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
77164         * sysdeps/x86_64/memset_chk.S: Likewise.
77166 2012-04-08  Andreas Jaeger  <aj@suse.de>
77168         [BZ #10153]
77169         * manual/startup.texi (Environment Access): Describe return value
77170         for putenv and setenv.
77172         [BZ #6895]
77173         * manual/filesys.texi (Directory Entries): Add description for
77174         DT_LNK.
77176         [BZ #6890]
77177         * manual/filesys.texi (Directory Entries): Clarify that it's file
77178         system not operating system in the description of DT_UNKNOWN.
77180         [BZ #6578]
77181         * manual/syslog.texi (closelog): Fix reference, it's openlog.
77183 2012-04-08  Stephen Compall  <s11@member.fsf.org>
77185         [BZ #6649]
77186         * manual/llio.texi (Opening and Closing Files): Add cross
77187         reference to explain mode argument.
77189 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
77191         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
77192         * sysdeps/x86_64/memset_chk.S: Likewise.
77194 2012-04-07  David S. Miller  <davem@davemloft.net>
77196         * elf/elf.h (R_SPARC_WDISP10): Define.
77197         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
77198         R_SPARC_SIZE32.
77199         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
77200         R_SPARC_SIZE64 and R_SPARC_H34.
77202 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
77204         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
77205         conditions and remove no longer applicable assertion.
77207 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77209         * bits/byteswap.h: Include <features.h>.
77210         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77211         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77213 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77215         * bits/byteswap.h (__bswap_16): Removed.
77216         Include <bits/byteswap-16.h> to get __bswap_16.
77217         * sysdeps/i386/bits/byteswap.h: Likewise.
77218         * sysdeps/s390/bits/byteswap.h: Likewise.
77219         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77220         * bits/byteswap-16.h: New file.
77221         * sysdeps/i386/bits/byteswap-16.h: Likewise.
77222         * sysdeps/s390/bits/byteswap-16.h: Likewise.
77223         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
77224         * string/Makefile (headers): Add bits/byteswap-16.h.
77226 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77228         [BZ #13895]
77229         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
77230         extra indirection.
77231         * nss/Makefile (tests-static, tests): Add tst-nss-static.
77232         * nss/tst-nss-static.c: New.
77234 2012-04-06  Robert Millan  <rmh@gnu.org>
77236         [BZ #6486]
77237         * manual/llio.texi (File Position Primitive): lseek
77238         refers to WHENCE when it really means OFFSET.
77240 2012-04-06  Andreas Jaeger  <aj@suse.de>
77242         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
77243         strncmp declarations.
77245         * abilist/libc.abilist: Add __poll and __ppoll.
77247 2012-04-05  David S. Miller  <davem@davemloft.net>
77249         * scripts/check-local-headers.sh: Accept a host triplet in the
77250         path matched by the exclude regexp.
77252         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
77253         definition.
77254         * sysdeps/powerpc/powerpc32/dl-machine.h
77255         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
77256         * sysdeps/s390/s390-32/dl-machine.h
77257         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77258         * sysdeps/sparc/sparc32/dl-machine.h
77259         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77260         * sysdeps/sparc/sparc64/dl-machine.h
77261         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77263         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
77264         lazy binding.
77265         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
77266         undefined symbol errors.
77268         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
77269         DT_NEEDED entries.
77271 2012-04-05  Michael Matz  <matz@suse.de>
77273         [BZ #13592]
77274         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
77276 2012-04-05  Andreas Jaeger  <aj@suse.de>
77278         [BZ #13908]
77279         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
77280         comment.
77282 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77284         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
77285         which ROUND is no valid rounding mode.
77287 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77289         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
77290         read again.
77291         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
77293 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77295         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
77296         an exception using FPU order intentionally.
77298 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77300         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
77301         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
77302         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
77303         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
77305 2012-04-05  Simon Josefsson  <simon@josefsson.org>
77307         [BZ #12340]
77308         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
77309         EINVAL when BUFLEN is too smal.
77311 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
77313         [BZ #13553]
77314         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
77315         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
77317 2012-04-03  Andreas Jaeger  <aj@suse.de>
77319         [BZ #13938]
77320         * manual/setjmp.texi (System V contexts): Fix sentence.
77322         [BZ #13926]
77323         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
77324         New macro for this case.
77325         [!__GNUC__] (__bswap_64): New inline function for this case.
77326         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77327         * bits/byteswap.h: Likewise.
77328         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
77329         ull, guard with __GLIBC_HAVE_LONG_LONG.
77331         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
77332         __GLIBC_HAVE_LONG_LONG.
77334         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
77335         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
77337 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
77339         [BZ #13691]
77340         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
77341         inptr and inend, rather than using last_ch.
77343 2012-04-02  David S. Miller  <davem@davemloft.net>
77345         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
77346         * stdio-common/printf-parse.h (read_int): Change return type to
77347         'int', return -1 on INT_MAX overflow.
77348         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
77349         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
77350         overflows INT_MAX.  Check for overflow of in-format-string precision
77351         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
77352         SIZE_MAX not INT_MAX for integer overflow test.
77353         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
77354         skip the construct in the format string but do not record anything.
77355         * stdio-common/bug22.c: Adjust to test both width/prevision
77356         INT_MAX overflow as well as total length INT_MAX overflow.  Check
77357         explicitly for proper errno values.
77359 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
77361         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
77362         CHAR_MAX.
77363         * string/test-strcmp.c [! WIDE]: Likewise.
77364         * time/tst-mktime2.c: Likewise for INT_MAX.
77365         * string/test-string.h: #include <sys/param.h> for MIN.
77367         * csu/init-first.c (__libc_init_first): Call __ctype_init.
77368         * sysdeps/i386/init-first.c (init): Likewise.
77369         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
77370         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
77371         * sysdeps/sh/init-first.c (init): Likewise.
77373 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
77375         * po/ru.po: Update from translation team.
77376         * po/vi.po: Likewise.
77378 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
77380         * resolv/nss_dns/dns-host.c: Merge copyright years.
77382 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77384         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77385         Optimize memcpy with prefetch if
77386         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
77387         src, dst pointers have unequal 16 byte alignments.
77389 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
77391         [BZ #13928]
77392         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
77393         from a CNAME entry and return the minimum ttl for the query.
77394         (gaih_getanswer_slice): Likewise.
77396 2012-03-30  Jeff Law  <law@redhat.com>
77398         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
77399         due to long keys.
77400         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
77401         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
77403         * resolv/nss_dns/dns-host.c: Update copyright year.
77405 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
77407         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
77408         requests to save a system call.  Fix check that all bytes are sent.
77410         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
77411         comments for sendmmsg.
77413 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77415         [BZ #13691]
77416         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
77417         with only 1 character between 0x0041 and 0x01b0.
77418         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
77419         * wcsmbs/tst-mbsnrtowcs.c: New file.
77421 2012-03-29  David S. Miller  <davem@davemloft.net>
77423         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
77424         small copies by hand.
77426 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
77428         [BZ #13761]
77429         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
77430         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
77431         group memberships.
77433 2012-03-28  David S. Miller  <davem@davemloft.net>
77435         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
77436         that branches into memcpy.
77437         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
77438         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
77439         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
77440         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
77441         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
77442         bits.
77443         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
77444         implementation too.
77445         * sysdeps/sparc/mempcpy.S: New file.
77447         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
77448         the IFUNC routine in the libc case.
77449         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77451         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
77452         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
77453         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
77454         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
77455         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
77456         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
77457         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
77458         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
77460         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
77461         loop to 256 bytes instead of 64 bytes and fix test signedness.
77463         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
77464         * sysdeps/sparc/sparc32/Makefile: rather than here...
77465         * sysdeps/sparc/sparc64/Makefile: and here.
77467 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
77469         * malloc/mallocbug.c: Avoid warnings about unused variables.
77471 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
77473         [BZ #13760]
77474         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
77475         in the right place. Discard and retry query if response is
77476         larger than input buffer size.
77478 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
77480         [BZ #369]
77481         [BZ #2678]
77482         [BZ #3866]
77483         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
77484         x for large integer exponent.
77485         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
77486         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
77487         sign of result as needed afterwards.
77488         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
77489         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
77490         result for underflowing pow the same as for overflow.
77491         (__kernel_standard_l): Handle powl overflow and underflow here
77492         rather than calling __kernel_standard.
77493         * math/libm-test.inc (pow_test): Add more tests.
77495         [BZ #3868]
77496         [BZ #13879]
77497         [BZ #13910]
77498         [BZ #13911]
77499         [BZ #13912]
77500         [BZ #13913]
77501         [BZ #13915]
77502         [BZ #13916]
77503         [BZ #13917]
77504         [BZ #13918]
77505         [BZ #13919]
77506         [BZ #13920]
77507         [BZ #13921]
77508         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
77509         * sysdeps/ieee754/k_standard.c: Include <float.h>.
77510         (__kernel_standard_l): New function.
77511         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
77512         __kernel_standard.
77513         * math/w_acosl.c (__acosl): Likewise.
77514         * math/w_asinl.c (__asinl): Likewise.
77515         * math/w_atan2l.c (__atan2l): Likewise.
77516         * math/w_atanhl.c (__atanhl): Likewise.
77517         * math/w_coshl.c (__coshl): Likewise.
77518         * math/w_exp10l.c (__exp10l): Likewise.
77519         * math/w_exp2l.c (__exp2l): Likewise.
77520         * math/w_fmodl.c (__fmodl): Likewise.
77521         * math/w_hypotl.c (__hypotl): Likewise.
77522         * math/w_j0l.c (__j0l, __y0l): Likewise.
77523         * math/w_j1l.c (__j1l, __y1l): Likewise.
77524         * math/w_jnl.c (__jnl, __ynl): Likewise.
77525         * math/w_lgammal.c (__lgammal): Likewise.
77526         * math/w_log10l.c (__log10l): Likewise.
77527         * math/w_log2l.c (__log2l): Likewise.
77528         * math/w_logl.c (__logl): Likewise.
77529         * math/w_powl.c (__powl): Likewise.
77530         * math/w_remainderl.c (__remainderl): Likewise.
77531         * math/w_scalbl.c (sysv_scalbl): Likewise.
77532         * math/w_sinhl.c (__sinhl): Likewise.
77533         * math/w_sqrtl.c (__sqrtl): Likewise.
77534         * math/w_tgammal.c (__tgammal): Likewise.
77535         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
77536         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
77537         * math/libm-test.inc (acos_test): Add more tests.
77538         (acosh_test): Likewise.
77539         (asin_test): Likewise.
77540         (atanh_test): Likewise.
77541         (exp_test): Likewise.
77542         (exp10_test): Likewise.
77543         (exp2_test): Likewise.
77544         (expm1_test): Likewise.
77545         (lgamma_test): Likewise.
77546         (log_test): Likewise.
77547         (log10_test): Likewise.
77548         (log1p_test): Likewise.
77549         (log2_test): Likewise.
77550         (pow_test): Do not allow some spurious overflow exceptions.
77551         (sqrt_test): Add more tests.
77552         (tgamma_test): Likewise.
77553         (y0_test): Likewise.
77554         (y1_test): Likewise.
77555         (yn_test): Likewise.
77557 2012-03-27  Anton Blanchard  <anton@samba.org>
77559         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
77560         MAP_HUGETLB.
77561         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
77562         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
77563         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
77565 2012-03-27  David S. Miller  <davem@davemloft.net>
77567         * conform/Makefile: Run run-conformtest.sh using $(BASH).
77569         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
77570         have-as-vis3 check.
77572 2012-03-27  Andreas Jaeger  <aj@suse.de>
77574         * sysdeps/x86_64/elf/configure.in: Moved to ...
77575         * sysdeps/x86_64/configure.in: ... here.
77576         * sysdeps/x86_64/elf/start.S: Moved to ...
77577         * sysdeps/x86_64/start.S: ... here.
77578         * sysdeps/x86_64/elf/configure: Delete.
77580         * sysdeps/x86_64/configure.in: Merge contents from
77581         sysdeps/i386/configure.in (without i686 check).
77583         * sysdeps/i386/elf/Versions: Merge into ...
77584         * sysdeps/i386/Versions: ... this.
77585         * sysdeps/i386/elf/Versions: Delete file.
77586         * sysdeps/i386/elf/start.S: Moved to ...
77587         * sysdeps/i386/start.S: ...here.
77588         * sysdeps/i386/elf/configure.in: Merge into...
77589         * sysdeps/i386/configure.in: ...here.
77590         * sysdeps/i386/elf/configure.in: Delete file.
77591         * sysdeps/i386/elf/configure: Delete file.
77593         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
77594         * debug/backtracesyms.c: ... here.
77595         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
77596         * debug/backtracesymsfd.c: ... here.
77597         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
77598         * sysdeps/generic/ifunc-sel.h: ... here.
77600         * sysdeps/unix/i386/start.c: Delete file.
77601         * sysdeps/unix/sparc/start.c: Delete file.
77602         * sysdeps/unix/start.c: Delete file.
77604         * sysdeps/sh/elf/configure.in: Moved to ...
77605         * sysdeps/sh/configure.in: ... here.
77606         * sysdeps/sh/elf/start.S: Moved to ...
77607         * sysdeps/sh/start.S: ... here.
77608         * sysdeps/sh/elf/configure: Delete file.
77610         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
77611         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
77612         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
77613         * sysdeps/powerpc/powerpc64/entry.h: ... here.
77614         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
77615         * sysdeps/powerpc/powerpc64/start.S: here.
77616         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
77617         * sysdeps/powerpc/powerpc64/Makefile: ... this.
77618         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
77619         * sysdeps/powerpc/powerpc64/configure.in: ... this.
77620         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
77622         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
77623         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
77624         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
77625         * sysdeps/powerpc/powerpc32/start.S: ... here.
77626         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
77627         * sysdeps/powerpc/powerpc32/configure.in: ... this.
77628         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
77630         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
77631         * sysdeps/powerpc/ifunc-sel.h: ... here.
77632         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
77633         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
77635         * sysdeps/sparc/elf/configure.in: Moved to ...
77636         * sysdeps/sparc/configure.in: ... here.
77637         * sysdeps/sparc/elf/configure: Delete file.
77638         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
77639         * sysdeps/sparc/sparc32/start.S: ... here.
77640         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
77641         * sysdeps/sparc/sparc64/start.S: ... here.
77642         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
77643         * sysdeps/sparc/sparc32/Makefile: ... this.
77644         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
77645         * sysdeps/sparc/sparc64/Makefile: ... this.
77647         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
77648         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
77649         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
77650         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
77651         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
77652         * sysdeps/s390/s390-32/setjmp.S: ... here.
77653         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
77654         * sysdeps/s390/s390-32/configure.in: ... here.
77655         * sysdeps/s390/s390-32/elf/configure: Delete file.
77656         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
77657         * sysdeps/s390/s390-32/start.S: ... here.
77659         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
77660         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
77661         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
77662         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
77663         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
77664         * sysdeps/s390/s390-64/setjmp.S: ... here.
77665         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
77666         * sysdeps/s390/s390-64/configure.in: ... here
77667         * sysdeps/s390/s390-64/elf/configure: Delete file.
77668         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
77669         * sysdeps/s390/s390-64/start.S: ... here.
77670         * sysdeps/s390/s390-64/elf/configure: Delete.
77672         * configure.in: Remove support for elf directories in sysdeps.
77674         * configure: Regenerated.
77675         * sysdeps/i386/configure: Regenerated.
77676         * sysdeps/powerpc/powerpc32/configure: Regenerated.
77677         * sysdeps/powerpc/powerpc64/configure: Regenerated.
77678         * sysdeps/s390/s390-32/configure: Regenerated.
77679         * sysdeps/s390/s390-64/configure: Regenerated.
77680         * sysdeps/sh/configure: Regenerated.
77681         * sysdeps/sparc/configure: Regenerated.
77682         * sysdeps/x86_64/configure: Regenerated.
77684 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
77686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77688         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
77689         denormal result into account.
77691 2012-03-25  Roland McGrath  <roland@hack.frob.com>
77693         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
77694         Reported by Allan McRae <allan@archlinux.org>.
77696 2012-03-23  Jeff Law  <law@redhat.com>
77698         * nss/getnssent.c (__nss_getent): Fix typo.
77700 2012-03-23  David S. Miller  <davem@davemloft.net>
77702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77704 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
77706         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
77707         to pad to uint64_t for each field.
77708         (dl_tls_index): Replace unsigned long with uint64_t.
77710 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
77711         Paul Pluzhnikov  <ppluzhnikov@google.com>
77713         [BZ #6528]
77714         * grp/Makefile (otherlibs): Don't set it.
77715         * inet/Makefile (otherlibs): Likewise.
77716         * login/Makefile (otherlibs): Likewise.
77717         * nscd/Makefile (otherlibs): Likewise.
77718         * posix/Makefile (otherlibs): Likewise.
77719         * pwd/Makefile (otherlibs): Likewise.
77720         * rt/Makefile (otherlibs): Likewise.
77721         * sunrpc/Makefile (otherlibs): Likewise.
77722         * nss/Makefile (otherlibs): Likewise.
77723         Add libnss_files to routines and static-only-routines.
77724         ($(objpfx)getent): Remove rule.
77725         * resolv/Makefile: Add libnss_dns and libresolv to routines and
77726         static-only-routines.
77728 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
77730         [BZ #13892]
77731         * math/s_cexp.c: Include <float.h>.
77732         (__cexp): Handle exp result overflowing not necessarily
77733         overflowing both real and imaginary parts of result.
77734         * math/s_cexpf.c: Likewise.
77735         * math/s_cexpl.c: Likewise.
77736         * math/libm-test.inc (cexp_test): Add more tests.
77737         * sysdeps/i386/fpu/libm-test-ulps: Update.
77738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77740 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77742         * include/link.h (ELFW): New macro.
77743         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
77744         Replace ELF64_R_TYPE with ELFW(R_TYPE).
77746 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77748         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
77749         with uint64_t.
77751 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77753         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
77754         declaration.
77755         (struct La_x32_retval): Likewise.
77757 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77759         * sysdeps/x86_64/preconfigure.in: New file.
77760         * sysdeps/x86_64/preconfigure: New generated file.
77762 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
77764         [BZ #13824]
77765         * math/e_exp2l.c: Include <float.h>.
77766         (__ieee754_exp2l): Handle overflow and underflow cases
77767         separately.  Only pass fractional part of argument to
77768         __ieee754_expl.
77769         * math/libm-test.inc (exp2_test): Add more tests.
77771         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
77772         negating x to take absolute value.
77773         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
77774         Likewise.
77775         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
77776         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
77777         Likewise.
77778         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
77779         computing low part if x was negated.
77780         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
77782 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77784         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
77785         la_x32_gnu_pltexit.
77786         (pltexit): Cast int_retval to ptrdiff_t.
77787         * elf/tst-auditmod3b.c: Likewise.
77788         * elf/tst-auditmod4b.c: Likewise.
77789         * elf/tst-auditmod5b.c: Likewise.
77790         * elf/tst-auditmod6b.c: Likewise.
77791         * elf/tst-auditmod6c.c: Likewise.
77792         * elf/tst-auditmod7b.c: Likewise.
77794         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
77795         and x32_gnu_pltexit.
77797         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
77798         __ELF_NATIVE_CLASS.
77799         (La_x32_regs): New macro.
77800         (La_x32_retval): Likewise.
77801         (la_x32_gnu_pltenter): New function prototype.
77802         (la_x32_gnu_pltexit): Likewise.
77804 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
77806         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
77807         exponent.
77809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77811         * configure.in (libc_cv_cc_nofma): Check for option to disable
77812         generation of FMA instructions.
77813         * configure: Regenerate.
77814         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
77815         * sysdeps/ieee754/dbl-64/Makefile: New file.
77816         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
77817         Remove brandred-fma4.
77818         (CFLAGS-brandred-fma4.c): Remove.
77819         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
77820         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
77821         define.
77822         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
77823         define.
77825 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77827         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
77828         LLONG_MAX != LONG_MAX.
77829         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77830         (_fitoa_word): Likewise.
77831         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
77832         LLONG_MAX != LONG_MAX.
77833         * stdio-common/_itowa.h: Include <_itoa.h>.
77834         (_itowa_word): Use _ITOA_WORD_TYPE on value.
77835         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
77836         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
77837         only if not defined.
77838         (_ITOA_WORD_TYPE): Likewise.
77839         (_itoa_word): Use _ITOA_WORD_TYPE on value.
77840         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
77842 2012-03-21  David S. Miller  <davem@davemloft.net>
77844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77846 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77848         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
77849         of x86_64 when setting libc_cv_slibdir, libdir and
77850         libc_cv_localedir.
77851         * sysdeps/unix/sysv/linux/configure: Regenerated.
77853 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77855         * manual/lang.texi (Old Varargs): Remove section.
77856         (How Variadic): Update menu.
77857         (va_start): Do not mention varargs.h.
77859 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
77860             Joseph Myers  <joseph@codesourcery.com>
77862         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
77863         link test.
77864         * configure: Regenerated.
77866 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
77868         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
77869         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
77870         conformtest.pl
77872 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77874         * NOTES: Remove.
77875         * Makefile (files-for-dist): Remove NOTES.
77876         (NOTES): Remove rule.
77877         * README: Don't refer to NOTES.
77878         * manual/creature.texi: Don't include macros.texi.
77879         * manual/intro.texi (creature.texi): Remove comment referring to
77880         NOTES.
77882         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
77883         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
77884         * configure: Regenerated.
77885         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
77886         LIBC_TRY_CC_OPTION.
77887         (libc_cv_as_i686): Likewise.
77888         (libc_cv_cc_avx): Likewise.
77889         (libc_cv_cc_sse2avx): Likewise.
77890         (libc_cv_cc_fma4): Likewise.
77891         (libc_cv_cc_novzeroupper): Likewise.
77892         * sysdeps/i386/configure: Regenerated.
77894         [BZ #13883]
77895         * sysdeps/i386/fpu/s_cexp.S: Remove.
77896         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77897         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77898         * math/libm-test.inc (cexp_test): Add more tests.
77899         * sysdeps/i386/fpu/libm-test-ulps: Update.
77900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77902 2012-03-21  Allan McRae  <allan@archlinux.org>
77904         * timezone/Makefile: Do not install iso3166.tab and zone.tab
77906 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
77908         [BZ #13871]
77909         * math/w_exp2.c: Do not include <float.h>.
77910         (o_threshold, u_threshold): Remove.
77911         (__exp2): Calculate result before checking finiteness and calling
77912         __kernel_standard.
77913         * math/w_exp2f.c: Likewise.
77914         * math/w_exp2l.c: Likewise.
77915         * math/libm-test.inc (exp2_test): Require overflow exception for
77916         1e6 input.
77918         [BZ #3866]
77919         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
77920         range of signed 64-bit integers before using fistpll.  Remove
77921         checks for whether integers fit in mantissa bits.
77922         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
77923         the range of signed 32-bit integers before using fistpl.  Remove
77924         checks for whether integers fit in mantissa bits.
77925         * sysdeps/i386/fpu/e_powl.S (p64): New object.
77926         (__ieee754_powl): Test for y outside the range of signed 64-bit
77927         integers before using fistpll.  Reduce 64-bit values to 63-bit
77928         ones as needed.
77929         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
77930         divide-by-zero is raised for zero to large negative powers.
77931         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
77932         (__ieee754_powl): Test for y outside the range of signed 64-bit
77933         integers before using fistpll.  Reduce 64-bit values to 63-bit
77934         ones as needed.
77935         * math/libm-test.inc (pow_test): Add more tests.
77937 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77939         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
77940         <stdio-common/_itoa.h>.
77941         * debug/segfault.c: Likewise.
77942         * elf/dl-cache.c: Likewise.
77943         * elf/dl-minimal.c: Likewise.
77944         * elf/dl-misc.c: Likewise.
77945         * elf/dl-sysdep.c: Likewise.
77946         * elf/dl-version.c: Likewise.
77947         * elf/rtld.c: Likewise.
77948         * hurd/hurdsock.c: Likewise.
77949         * hurd/lookup-retry.c: Likewise.
77950         * malloc/malloc.c: Likewise.
77951         * malloc/mtrace.c: Likewise.
77952         * nscd/nscd_getgr_r.c: Likewise.
77953         * nscd/nscd_getpw_r.c: Likewise.
77954         * nscd/nscd_getserv_r.c: Likewise.
77955         * posix/getopt_init.c: Likewise.
77956         * posix/wordexp.c: Likewise.
77957         * stdio-common/_itoa.c: Likewise.
77958         * stdio-common/printf_fphex.c: Likewise.
77959         * stdio-common/vfprintf.c: Likewise.
77960         * string/_strerror.c: Likewise.
77961         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
77962         * sysdeps/i386/i686/hp-timing.h: Likewise.
77963         * sysdeps/mach/_strerror.c: Likewise.
77964         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
77965         * sysdeps/mach/hurd/sethostid.c: Likewise.
77966         * sysdeps/mach/hurd/xmknodat.c: Likewise.
77967         * sysdeps/mach/xpg-strerror.c: Likewise.
77968         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
77969         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
77970         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
77971         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
77972         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
77973         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
77974         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
77975         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
77976         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
77977         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
77978         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
77979         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
77980         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
77981         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
77982         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
77983         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
77984         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
77985         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
77986         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
77987         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
77988         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
77990         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
77992         * stdio-common/_itoa.h: Moved to ...
77993         * sysdeps/generic/_itoa.h: Here.
77995         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
77997         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
77998         instead of "_itoa.h" and "_itowa.h".
77999         * stdio-common/vfprintf.: Likewise.
78001 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78003         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
78004         <bits/wordsize.h>.
78005         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
78006         (__signbit): Likewise.
78007         (llrintf): Likewise.
78008         (llrint): Likewise.
78010 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78012         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
78013         __WORDSIZE != 64.
78015 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
78017         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
78018         OVERFLOW_EXCEPTION_OK.
78019         * math/libm-test.inc ("Philosophy"): Update comment about
78020         exception testing.
78021         (OVERFLOW_EXCEPTION): Define.
78022         (OVERFLOW_EXCEPTION_OK): Likewise.
78023         (INVALID_EXCEPTION_OK): Renumber.
78024         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
78025         (IGNORE_ZERO_INF_SIGN): Likewise.
78026         (test_exceptions): Handle FE_OVERFLOW.
78027         (exp10_test): Expect overflow exceptions.
78028         (exp2_test): Likewise.
78029         (expm1_test): Likewise.
78030         (nextafter_test): Likewise.
78031         (pow_test): Likewise.
78032         (scalbn_test): Likewise.
78033         (scalbln_test): Likewise.
78035 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78037         * sysdeps/x86_64/bits/atomic.h
78038         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
78039         64bit integer.
78040         (atomic_exchange_acq): Likewise.
78041         (__arch_exchange_and_add_body): Likewise.
78042         (__arch_add_body): Likewise.
78043         (atomic_add_negative): Likewise.
78044         (atomic_add_zero): Likewise.
78046 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78048         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
78049         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
78051 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78053         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
78054         Check __x86_64__ instead of __WORDSIZE.
78056 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78058         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
78060 2012-03-19  David S. Miller  <davem@davemloft.net>
78062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78064         * sysdeps/sparc/fpu/fenv_private.h: New file.
78065         * sysdeps/sparc/fpu/math_private.h: Use it.
78066         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
78067         Remove.
78068         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
78069         (libc_feholdexcept_setroundl): Remove.
78070         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
78071         Remove.
78072         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
78073         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
78075 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78077         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
78078         int64_t instead of long int.
78079         (INSERT_WORDS64): Likewise.
78081 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78083         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
78084         _Unwind_GetCFA return to _Unwind_Ptr first.
78086 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
78088         [BZ #13629]
78089         * math/s_clog.c: Include <float.h>.
78090         (__clog): Scale large or subnormal inputs.
78091         * math/s_clogf.c: Likewise.
78092         * math/s_clogl.c: Likewise.
78093         * math/s_clog10.c: Include <float.h>.
78094         (M_LOG10_2): Define.
78095         (__clog10): Scale large or subnormal inputs.
78096         * math/s_clog10f.c: Likewise.
78097         * math/s_clog10l.c: Likewise.
78098         * math/libm-test.inc (clog_test): Add more tests.
78099         (clog10_test): Likewise.
78100         * sysdeps/i386/fpu/libm-test-ulps: Update.
78101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78103         [BZ #11451]
78104         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
78105         x and y.
78106         * math/libm-test.inc (atan2_test): Add another test.
78108         * Makerules (common-objdir-compile): Remove.
78109         * sysdeps/unix/Makefile (config-generated): Do not add
78110         $(unix-generated) to variable.
78111         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
78112         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
78113         Remove rule.
78114         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
78115         Likewise.
78116         [generic bits/local_lim.h] (before-compile): Do not append to
78117         variable.
78118         [generic bits/local_lim.h] (common-generated): Likewise.
78119         [generic sys/param.h] (before-compile): Do not append to variable.
78120         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
78121         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
78122         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
78123         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
78124         include.
78125         [generic sys/param.h] (sys/param.h-includes): Remove variable.
78126         [generic sys/param.h] (sys/param.h-includes): Remove rule.
78127         [generic sys/param.h] ($(addprefix
78128         $(common-objpfx),$(sys/param.h-includes))): Likewise.
78129         [generic sys/param.h] (common-generated): Do not append to
78130         variable.
78131         [generic sys/param.h] (sysdep_headers): Likewise.
78132         [generic bits/errno.h] (before-compile): Do not append to
78133         variable.
78134         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
78135         rule.
78136         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
78137         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
78138         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
78139         [generic bits/errno.h] (common-generated): Do not append to
78140         variable.
78141         [generic bits/ioctls.h] (before-compile): Do not append to
78142         variable.
78143         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
78144         rule.
78145         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
78146         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
78147         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
78148         rule.
78149         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
78150         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
78151         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
78152         [generic bits/ioctls.h] (common-generated): Do not append to
78153         variable.
78154         [generic sys/syscall.h] (syscall.h): Remove variable.
78155         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
78156         rule.
78157         [generic sys/syscall.h] (before-compile): Do not append to
78158         variable.
78159         [generic sys/syscall.h] (common-generated): Likewise.
78160         * sysdeps/unix/errnos-tmpl.c: Remove file.
78161         * sysdeps/unix/errnos.awk: Likewise.
78162         * sysdeps/unix/ioctls-tmpl.c: Likewise.
78163         * sysdeps/unix/ioctls.awk: Likewise.
78164         * sysdeps/unix/mk-local_lim.c: Likewise.
78165         * sysdeps/unix/snarf-ioctls: Likewise.
78167 2012-03-19  Richard Henderson  <rth@twiddle.net>
78169         * sysdeps/i386/fpu/fenv_private.h: New file.
78170         * sysdeps/i386/fpu/math_private.h: Use it.
78171         (math_opt_barrier, math_force_eval): Remove.
78172         (libc_feholdexcept_setround_53bit): Remove.
78173         (libc_feupdateenv_53bit): Remove.
78174         * sysdeps/x86_64/fpu/math_private.h: Likewise.
78175         (math_opt_barrier, math_force_eval): Remove.
78176         (libc_feholdexcept): Remove.
78177         (libc_feholdexcept_setround): Remove.
78178         (libc_fetestexcept, libc_fesetenv): Remove.
78179         (libc_feupdateenv_test): Remove.
78180         (libc_feupdateenv, libc_feholdsetround): Remove.
78181         (libc_feresetround): Remove.
78183         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
78184         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
78186         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
78187         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
78188         (libc_feupdateenv_testl): New.
78189         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
78190         (libc_feupdateenv_testf): New.
78191         (libc_feupdateenv): Use libc_feupdateenv_test.
78192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
78193         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
78195         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
78196         (libc_feholdsetroundf, libc_feholdsetroundl): New.
78197         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
78198         (libc_feresetround_noex): New.
78199         (libc_feresetround_noexf): New.
78200         (libc_feresetround_noexl): New.
78201         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
78202         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
78203         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
78204         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
78205         SET_RESTORE_ROUND.
78206         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
78207         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
78208         (__cos): Likewise.
78209         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
78210         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
78211         SET_RESTORE_ROUND_NOEX.
78212         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
78213         SET_RESTORE_ROUND_NOEXF.
78214         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
78215         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
78216         (libc_feholdsetroundf): New.
78217         (libc_feresetround, libc_feresetroundf): New.
78219         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
78220         (libc_feholdexcept_setround_53bit): Convert from macro to function.
78221         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
78223         * sysdeps/generic/math_private.h: Include <fenv.h>.
78224         (default_libc_feholdexcept): New.
78225         (default_libc_feholdexcept_setround): New.
78226         (default_libc_fesetenv, default_libc_feupdateenv): New.
78227         (libc_feholdexcept): Only define if undefined.
78228         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
78229         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
78230         (libc_feholdexcept_setroundl): Likewise.
78231         (libc_feholdexcept_setround_53bit): Likewise.
78232         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
78233         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
78234         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
78235         (libc_feupdateenv_53bit): Likewise.
78236         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
78237         (libc_feholdexcept): Convert from macro to inline function.
78238         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
78239         (libc_fesetenv, libc_feupdateenv): Likewise.
78241         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
78242         not previously defined.
78243         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
78244         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
78245         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
78246         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
78247         * sysdeps/ieee754/flt-32/math_private.h: New file.
78248         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
78249         math_private.h below SET_FLOAT_WORD.
78250         (__isnan, __isinf_ns, __finite): Remove.
78251         (__isnanf, __isinf_nsf, __finitef): Remove.
78253 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
78255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78257 2012-03-17  David S. Miller  <davem@davemloft.net>
78259         [BZ #6471]
78260         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
78261         for 2.16.
78263 2012-03-16  David S. Miller  <davem@davemloft.net>
78265         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
78266         warnings.
78268         [BZ #6471]
78269         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
78270         properly.
78271         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
78272         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
78273         sysdep_routines when subdir is sysvipc.
78274         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
78275         __getshmlba helper.
78277         * sysdeps/sparc/fpu/libm-test/ulps: Update.
78279 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78281         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
78282         [__LP64__].
78284 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78286         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
78287         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
78288         (__lround): Renamed to ...
78289         (__llround): This.  Replace long int with long long int.
78290         Define lround functions as aliases of llround functions.
78291         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
78293 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78295         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
78296         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
78297         adresses to uintptr_t.  Replace "long int" and "unsigned long
78298         int" with "greg_t" on va_arg.
78300 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78302         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
78303         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
78305         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
78306         Move e_machine check before EI_CLASS check.  Handle x32
78307         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
78308         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
78309         SKIP_EM_IA_64 and include
78310         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
78312         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
78313         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
78314         (add_system_dir): New macro.
78316         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
78317         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
78319 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78321         [BZ #2551]
78322         [BZ #2552]
78323         [BZ #2553]
78324         [BZ #2554]
78325         [BZ #2562]
78326         [BZ #2563]
78327         [BZ #2565]
78328         [BZ #2566]
78329         [BZ #2576]
78330         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
78331         (y0): Likewise.
78332         * math/w_j0f.c (j0f): Likewise.
78333         (y0f): Likewise.
78334         * math/w_j0l.c (__j0l): Likewise.
78335         (__y0l): Likewise.
78336         * math/w_j1.c (j1): Likewise.
78337         (y1): Likewise.
78338         * math/w_j1f.c (j1f): Likewise.
78339         (y1f): Likewise.
78340         * math/w_j1l.c (__j1l): Likewise.
78341         (__y1l): Likewise.
78342         * math/w_jn.c (jn): Likewise.
78343         (yn): Likewise.
78344         * math/w_jnf.c (jnf): Likewise.
78345         (ynf): Likewise.
78346         * math/w_jnl.c (__jnl): Likewise.
78347         (__ynl): Likewise.
78348         * math/libm-test.inc (j0_test): Add more tests.
78349         (j1_test): Likewise.
78350         (jn_test): Likewise.  Add trailing semicolon to existing test.
78351         (y0_test): Likewise.
78352         (y1_test): Likewise.
78353         * sysdeps/i386/fpu/libm-test-ulps: Update.
78354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78356         [BZ #13851]
78357         [BZ #13854]
78358         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
78359         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
78360         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
78361         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
78362         (__tanl): Set errno for infinite argument.
78363         * sysdeps/i386/fpu/mptan.c: Remove.
78364         * sysdeps/i386/fpu/s_tan.S: Likewise.
78365         * sysdeps/i386/fpu/s_tanl.S: Likewise.
78366         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
78367         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
78368         * math/libm-test.inc (tan_test): Add more tests and enable more
78369         tests for double and long double.
78370         * sysdeps/i386/fpu/libm-test-ulps: Update.
78371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78373 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
78375         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
78376         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
78378 2012-03-16  Roland McGrath  <roland@hack.frob.com>
78380         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
78381         * configure.in: Use it for both main tree and add-ons.
78382         * configure: Regenerated.
78384 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78386         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
78388 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78390         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
78391         in comment.
78393         [BZ #13851]
78394         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
78395         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
78396         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
78397         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
78398         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
78399         infinite argument.
78400         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
78401         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
78402         != 0 for prec == 2.
78403         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
78404         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
78405         * sysdeps/i386/fpu/s_cosl.S: Likewise.
78406         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
78407         * sysdeps/i386/fpu/s_sinl.S: Likewise.
78408         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
78409         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
78410         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
78411         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
78412         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
78413         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
78414         * math/libm-test.inc (cos_test): Add more tests and enable more
78415         tests for long double.
78416         (sin_test): Likewise.
78417         (sincos_test): Likewise.
78418         * sysdeps/i386/fpu/libm-test-ulps: Update.
78419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78421 2012-03-16  David S. Miller  <davem@davemloft.net>
78423         * sysdeps/sparc/fpu/math_private.h: New file.
78425 2012-03-15  David S. Miller  <davem@davemloft.net>
78427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
78428         file.
78429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
78430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
78431         file.
78432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
78433         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
78434         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
78435         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
78436         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
78437         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
78438         sysdep routines.
78439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
78441         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
78442         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
78444         * sysdeps/sparc/sparc-ifunc.h: New file.
78445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
78446         sparc-ifunc.h
78447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
78448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
78449         Likewise.
78450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
78451         Likewise.
78452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
78453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
78454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
78456         Likewise.
78457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
78459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
78461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
78462         Likewise.
78463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
78464         Likewise.
78465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
78467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
78468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
78469         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
78470         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
78471         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
78472         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
78473         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
78474         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
78475         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
78476         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
78477         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
78478         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
78479         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
78480         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
78481         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
78482         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
78483         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
78484         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
78485         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
78486         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
78487         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
78488         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
78490 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
78492         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
78493         scaling.
78494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78496 2012-03-15  Andreas Jaeger  <aj@suse.de>
78498         [BZ #13852]
78499         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
78500         ieee754/flt-32 implementation for sin, cos and sincos.
78501         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
78502         * sysdeps/i386/fpu/s_cosf.S: Likewise.
78503         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
78504         * sysdeps/i386/fpu/s_sinf.S: Likewise.
78505         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
78506         ieee754/flt-32 implementation for tan.
78508         * math/libm-test.inc (cos_test): Enable some large input tests for
78509         float as well
78510         (sin_test): Likewise.
78511         (sincos_test): Likewise.
78512         (tan_test): Add tests for large input.
78514         * sysdeps/i386/fpu/libm-test-ulps: Update.
78516 2012-03-15  Andreas Jaeger  <aj@suse.de>
78518         [BZ #13658]
78519         * math/libm-test.inc (cos_test): Add more test cases.
78520         (sin_test): Likewise.
78521         (sincos_test): Likewise.
78523 2012-03-15  Andreas Jaeger  <aj@suse.de>
78525         [BZ #13837]
78526         * math/libm-test.inc (cos_test): Add a test case for large input
78527         value.
78528         (sin_test): Likewise.
78529         (sincos_test): Likewise.
78531 2012-03-15  Andreas Jaeger  <aj@suse.de>
78532             Joseph Myers  <joseph@codesourcery.com>
78534         [BZ #13658]
78535         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
78536         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
78537         * sysdeps/i386/fpu/branred.c: Likewise.
78538         * sysdeps/i386/fpu/dosincos.c: Likewise.
78539         * sysdeps/i386/fpu/mpa.c: Likewise.
78540         * sysdeps/i386/fpu/s_cos.S: Likewise.
78541         * sysdeps/i386/fpu/s_sin.S: Likewise.
78542         * sysdeps/i386/fpu/s_sincos.S: Likewise.
78543         * sysdeps/i386/fpu/sincos32.c: Likewise.
78545         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
78546         Define.
78547         (libc_feupdateenv_53bit): Define.
78548         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
78549         Define.
78550         (libc_feupdateenv_53bit): Define.
78552         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
78553         53 bit (without extend i386 double precision).
78555         * math/libm-test.inc (sincos_test): Add tests for large input.
78556         (sin): Likewise.
78557         (cos): Likewise.
78559         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
78561 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
78563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78565 2012-03-15  David S. Miller  <davem@davemloft.net>
78567         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
78568         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
78569         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
78570         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
78571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
78572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
78573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
78574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
78575         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
78576         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
78577         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
78578         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
78579         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
78580         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
78581         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
78582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
78583         file.
78584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
78585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
78586         file.
78587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
78588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
78589         file.
78590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
78591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
78592         file.
78593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
78594         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
78595         fmin/fmax sysdep routines.
78596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
78598 2012-03-14  David S. Miller  <davem@davemloft.net>
78600         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
78601         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
78602         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
78603         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
78604         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
78605         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
78606         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
78607         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
78608         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
78609         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
78610         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
78611         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
78612         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
78613         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
78614         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
78615         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
78616         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
78617         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
78618         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
78619         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
78620         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
78621         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
78622         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
78623         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
78624         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
78625         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
78626         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
78627         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
78628         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
78629         routines.
78630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
78631         file.
78632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
78633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
78634         file.
78635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
78636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
78637         file.
78638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
78639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
78640         file.
78641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
78642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
78643         file.
78644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
78645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
78646         file.
78647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
78648         file.
78649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
78650         file.
78651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
78652         file.
78653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
78654         New file.
78655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
78656         file.
78657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
78658         file.
78659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
78660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
78661         file.
78662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
78663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
78664         file.
78665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
78666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
78667         file.
78668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
78669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
78670         VIS3 routines.
78672         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
78673         New file.
78675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78677         * sysdeps/sparc/configure.in: New file.
78678         * sysdeps/sparc/configure: Generate.
78679         * configure.in (libc_cv_sparc_as_vis3): Substitute.
78680         * configure: Regenerate.
78681         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
78682         * config.make.in (have-as-vis3): New.
78683         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
78684         available use -Av9d instead of -Av9a.
78685         * sysdeps/sparc/sparc64/Makefile: Likewise.
78686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
78687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
78688         New file.
78689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
78690         file.
78691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
78692         New file.
78693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
78694         file.
78695         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
78696         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
78697         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
78698         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
78699         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
78701         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
78702         fzeros/fnegs to load 0x80000000 into a float register instead of
78703         using the stack.
78704         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
78706 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
78708         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78709         bits/syscall.h.
78710         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
78711         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
78712         ($(inst_includedir)/bits/syscall.h): Remove rule.
78713         ($(objpfx)bits/syscall.d): Include instead of
78714         $(objpfx)syscall-list.d.
78715         (generated): Change syscall-list.h and syscall-list.d to
78716         bits/syscall.h and bits/syscall.d.
78718 2012-03-14  Roland McGrath  <roland@hack.frob.com>
78720         [BZ #13846]
78721         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
78723 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
78725         [BZ #13841]
78726         * math/s_csqrt.c: Include <float.h>.
78727         (__csqrt): Scale large or subnormal inputs.
78728         * math/s_csqrtf.c: Likewise.
78729         * math/s_csqrtl.c: Likewise.
78730         * math/libm-test.inc (csqrt_test): Add more tests.
78731         * sysdeps/i386/fpu/libm-test-ulps: Update.
78732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78734         [BZ #13840]
78735         * math/libm-test.inc (hypot_test): Add more tests.
78737 2012-03-13  David S. Miller  <davem@davemloft.net>
78739         [BZ #13840]
78740         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
78741         double-precision for the calculation instead of scaling.
78743 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
78745         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
78746         manipulate bits before adding and subtracting TWO52[sx].
78747         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
78748         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
78749         Likewise.
78750         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
78752 2012-03-13  David S. Miller  <davem@davemloft.net>
78754         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
78755         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
78756         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
78757         rtld-global-offsets.h
78758         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78760         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
78761         large parameters.
78763         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
78765         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
78766         'err' in the ifdef scope in which it is actually used.
78768         * nss/nss_db/db-init.c: Include string.h
78770 2012-03-12  David S. Miller  <davem@davemloft.net>
78772         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78773         masking out of the most significant byte of random value used.
78774         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78775         Fix coding style in previous change.
78777         * sysdeps/unix/sysv/linux/kernel-features.h
78778         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
78779         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
78780         expression.
78781         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
78782         later.
78784 2012-03-11  David S. Miller  <davem@davemloft.net>
78786         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
78787         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
78788         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
78789         for 'resultvar' otherwise things get truncated on 64-bit.
78791         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78792         Fix masking out of the most significant byte of random value used.
78794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78796 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
78798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78800 2012-03-09  David S. Miller  <davem@davemloft.net>
78802         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
78803         variables with appropriate CPP guards.
78804         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
78805         from the frame pointer, not the stack pointer.  Correct layout
78806         comments.  Fix test on resulting framesize and the management of
78807         the outregs buffer for pltexit.  Preserve floating point return
78808         values across _dl_call_pltexit call.
78809         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
78810         framesize and the management of the outregs buffer for pltexit.
78811         Preserve floating point return values across _dl_call_pltexit
78812         call.
78813         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
78814         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
78815         (la_sparc64_gnu_pltexit): New functions.
78816         (print_exit): Fix format string for return register value.
78818 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
78820         * sunrpc/Makefile (others): Add rpcgen.
78821         ($(objpfx)rpcgen): Remove special build rule and dependency on
78822         libc.
78823         * sunrpc/rpcgen.c: New file.
78825 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
78827         [BZ #13673]
78828         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
78829         * stdio-common/bug-vfprintf-nargs.c: Likewise.
78830         * sysdeps/i386/crti.S: Likewise.
78831         * sysdeps/i386/crtn.S: Likewise.
78832         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
78833         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
78834         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
78835         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
78836         * sysdeps/sh/crti.S: Likewise.
78837         * sysdeps/sh/crtn.S: Likewise.
78838         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78840         [BZ #13673]
78841         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
78842         with URL.
78843         * locale/programs/locfile-kw.gperf: Likewise.
78844         * locale/programs/charmap-kw.h: Regenerated.
78845         * locale/programs/locfile-kw.h: Likewise.
78847         [BZ #13673]
78848         * intl/plural.y: Replace FSF snail mail address with URL.
78849         * intl/plural.c: Regenerated.
78851 2012-03-09  Richard Henderson  <rth@twiddle.net>
78853         * include/math_private.h: Remove file.
78854         * math/math_private.h: Move file ...
78855         * sysdeps/generic/math_private.h: ... here.
78857         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
78858         * sysdeps/powerpc/fpu/math_private.h: Likewise.
78859         * sysdeps/x86_64/fpu/math_private.h: Likewise.
78861         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
78862         and <math_private.h>.
78863         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78864         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78865         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78866         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78867         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78868         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
78869         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
78870         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
78871         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78872         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78873         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78874         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78875         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78876         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78877         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78878         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78879         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78880         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78881         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78882         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78883         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78884         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78885         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78886         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78887         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
78888         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78889         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78890         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78891         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78892         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78893         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78894         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
78895         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
78896         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
78897         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78898         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78899         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
78900         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78901         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78902         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78903         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
78904         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78905         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78906         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
78907         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
78908         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78909         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
78910         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
78911         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
78912         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78913         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
78914         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
78915         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
78916         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78917         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
78918         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
78919         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
78920         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
78921         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
78922         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
78923         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
78924         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
78925         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
78926         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78927         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
78928         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
78929         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
78930         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
78931         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
78932         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
78933         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
78934         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
78935         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
78936         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
78937         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
78938         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
78939         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
78940         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78941         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
78942         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
78943         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
78944         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
78945         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
78946         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
78947         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
78948         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
78949         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
78950         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
78951         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78952         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78953         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78954         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78955         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78956         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78957         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78958         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78959         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78960         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78961         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78962         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78963         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78964         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78965         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78966         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78967         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78968         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78969         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78970         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78971         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78972         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78973         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78974         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78975         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78976         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78977         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
78978         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
78979         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78980         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78981         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78982         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
78983         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78984         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78985         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
78986         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
78987         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78988         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78989         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78990         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
78991         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78992         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
78993         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
78994         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
78995         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78996         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
78997         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
78998         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78999         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79000         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
79001         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
79002         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79003         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79004         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
79005         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
79006         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
79007         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
79008         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
79009         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
79010         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
79011         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
79012         * sysdeps/ieee754/k_standard.c: Likewise.
79013         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
79014         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
79015         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
79016         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
79017         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
79018         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
79019         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
79020         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
79021         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
79022         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
79023         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79024         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
79025         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
79026         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
79027         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
79028         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
79029         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
79030         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
79031         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
79032         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
79033         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
79034         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
79035         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
79036         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
79037         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
79038         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
79039         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
79040         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
79041         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
79042         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
79043         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
79044         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
79045         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
79046         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
79047         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
79048         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
79049         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
79050         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
79051         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
79052         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
79053         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
79054         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
79055         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
79056         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
79057         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
79058         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
79059         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
79060         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
79061         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
79062         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
79063         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
79064         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
79065         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
79066         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
79067         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
79068         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
79069         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
79070         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
79071         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
79072         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
79073         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
79074         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
79075         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
79076         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
79077         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
79078         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
79079         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
79080         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
79081         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
79082         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
79083         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
79084         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79085         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
79086         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
79087         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
79088         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
79089         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
79090         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
79091         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79092         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
79093         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
79094         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
79095         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
79096         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
79097         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
79098         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
79099         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
79100         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
79101         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79102         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
79103         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
79104         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
79105         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
79106         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
79107         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
79108         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
79109         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
79110         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
79111         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
79112         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
79113         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
79114         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
79115         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
79116         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
79117         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
79118         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
79119         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
79120         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
79121         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
79122         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
79123         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
79124         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
79125         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
79126         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
79127         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
79128         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79129         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
79130         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
79131         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79132         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
79133         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79134         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
79135         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
79136         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
79137         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
79138         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
79139         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
79140         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
79141         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
79142         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
79143         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
79144         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
79145         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
79146         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
79147         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
79148         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
79149         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
79150         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
79151         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
79152         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
79153         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
79154         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
79155         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
79156         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
79157         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
79158         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
79159         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
79160         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
79161         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
79162         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
79163         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
79164         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79165         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
79166         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
79167         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
79168         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
79169         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
79170         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
79171         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
79172         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
79173         * sysdeps/ieee754/s_lib_version.c: Likewise.
79174         * sysdeps/ieee754/s_matherr.c: Likewise.
79175         * sysdeps/ieee754/s_signgam.c: Likewise.
79176         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
79177         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
79178         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
79179         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
79180         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
79181         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
79182         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
79183         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
79184         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
79185         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
79186         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
79187         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
79188         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
79189         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
79190         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
79191         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
79192         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
79193         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
79194         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
79195         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
79196         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
79198 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79200         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
79201         * sunrpc/rpc_main.c: Likewise.
79202         * sunrpc/rpc_svcout.c: Likewise.
79204 2012-03-09  David S. Miller  <davem@davemloft.net>
79206         * include/math_private.h: New file.
79208 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79210         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
79211         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
79212         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
79213         from <bits/socket_type.h>.
79214         (enum __socket_type): Don't define here.
79215         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
79216         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79217         bits/socket_type.h.
79219         [BZ #13566]
79220         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
79221         checking __USE_GNU.
79223         * Makerules ($(inst_includedir)/%.h): New rule.
79224         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
79225         (install-others): Remove variable setting.
79226         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
79228 2012-03-08  Richard Henderson  <rth@twiddle.net>
79230         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
79231         from macro to inline function; merge with the
79232         !__LIBC_INTERNAL_MATH_INLINES version.
79233         (__ieee754_sqrtf): Likewise.
79235         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
79236         to inline function.
79237         (__rintf, __floor, __floorf): Likewise.
79239         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
79240         macro to inline function.
79241         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
79243         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
79244         not <math/math_private.h>.
79246 2012-03-08  David S. Miller  <davem@davemloft.net>
79248         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
79249         copyright year.
79250         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
79252 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
79254         * resolv/gai_misc.c (handle_requests): Fix struct timespec
79255         normalization.
79256         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
79257         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
79259 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
79261         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
79262         be defined individually, they must be defined as a block.  Define
79263         S for printing a string instead of hidint the different by using a
79264         macro for adding the 'l'.
79265         * stdio-common/tst-fphex-wide.c: Adjust.
79267 2012-03-07  Marek Polacek  <polacek@redhat.com>
79269         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
79271 2012-03-08  Marek Polacek  <polacek@redhat.com>
79273         [BZ #13806]
79274         * stdio-common/Makefile (tests): Add tst-fphex-wide.
79275         * stdio-common/tst-fphex.c: Define a few macros to make the
79276         test reusable.  Use them.
79277         * stdio-common/tst-fphex-wide.c: New file.
79279 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
79281         [BZ #6911]
79282         * manual/macros.texi (gnusystems): New macro.
79283         (nongnusystems): Likewise.
79284         (gnulinuxhurdsystems): Likewise.
79285         (gnuhurdsystems): Likewise..
79286         (gnulinuxsystems): Likewise.
79287         * manual/charset.texi: Use new macros or @theglibc{} to refer to
79288         variants of the GNU system, not "GNU system".
79289         * manual/conf.texi: Likewise.
79290         * manual/errno.texi: Likewise.  Update example of errno macro
79291         expansion.
79292         * manual/filesys.texi: Likewise.
79293         (getumask): Document as specific to GNU/Hurd.
79294         * manual/install.texi: Likewise.  Reword some references to
79295         GNU/Linux.
79296         * manual/intro.texi: Likewise.
79297         * manual/io.texi: Likewise.
79298         (File Name Portability): Detail which constraints are inapplicable
79299         to all GNU systems and which are only inapplicable to GNU/Hurd.
79300         * manual/job.texi: Likewise.
79301         * manual/llio.texi: Likewise.
79302         (O_NOCTTY): Document as present on GNU/Linux.
79303         * manual/maint.texi: Likewise.
79304         * manual/memory.texi: Likewise.
79305         * manual/pattern.texi: Likewise.
79306         * manual/pipe.texi: Likewise.
79307         * manual/process.texi: Likewise.
79308         * manual/resource.texi: Likewise.
79309         (RUSAGE_CHILDREN): Remove statement about specifying a particular
79310         child on GNU/Hurd.
79311         * manual/setjmp.texi: Likewise.
79312         * manual/signal.texi: Likewise.
79313         * manual/startup.texi: Likewise.
79314         * manual/stdio.texi: Likewise.
79315         * manual/terminal.texi: Likewise.
79316         (ONLCR): Document as POSIX.
79317         (OXTABS): Document availability on GNU/Linux as XTABS.
79318         (ONOEOT): Document availability separately from other bits.
79319         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
79320         * manual/time.texi: Likewise.
79321         * manual/users.texi: Likewise.
79322         * INSTALL: Regenerated.
79323         * sysdeps/gnu/errlist.c: Regenerated.
79325         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
79326         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
79327         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
79328         puts.
79329         * configure: Regenerated.
79331 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
79333         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
79334         default includes instead of AC_HEADER_CHECK.
79335         * sysdeps/i386/configure: Regenerated.
79337         [BZ #10716]
79338         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
79339         * math/s_cacoshf.c (__cacoshf): Likewise.
79340         * math/s_cacoshl.c (__cacoshl): Likewise.
79341         * math/s_casinh.c (__casinh): Set signs of result from argument.
79342         * math/s_casinhf.c (__casinhf): Likewise.
79343         * math/s_casinhl.c (__casinhl): Likewise.
79344         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
79345         (casinh_test): Add more tests.
79346         * sysdeps/i386/fpu/libm-test-ulps: Update.
79347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79349 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
79351         * po/zh_TW.po: Update from translation team.
79353         * login/Makefile (distribute): Remove variable.
79354         * catgets/Makefile: Likewise.
79355         * mach/Makefile: Likewise.
79356         * malloc/Makefile: Likewise.
79357         * misc/Makefile: Likewise.
79358         * iconv/Makefile: Likewise.
79359         * nscd/Makefile: Likewise.
79360         * hurd/Makefile: Likewise.
79361         * manual/Makefile: Likewise.
79362         * locale/Makefile: Likewise.
79363         * intl/Makefile: Likewise.
79364         * conform/Makefile: Likewise.
79365         * nss/Makefile: Likewise.
79366         * time/Makefile: Likewise.
79367         * soft-fp/Makefile: Likewise.
79368         * dirent/Makefile: Likewise.
79369         * gmon/Makefile: Likewise.
79370         * po/Makefile: Likewise.
79371         * rt/Makefile: Likewise.
79372         * socket/Makefile: Likewise.
79373         * math/Makefile: Likewise.
79374         * signal/Makefile: Likewise.
79375         * debug/Makefile: Likewise.
79376         * elf/Makefile: Likewise.
79377         * timezone/Makefile: Likewise.
79378         * stdlib/Makefile: Likewise.
79379         * iconvdata/Makefile: Likewise.
79380         * sunrpc/Makefile: Likewise.
79381         * io/Makefile: Likewise.
79382         * argp/Makefile: Likewise.
79383         * inet/Makefile: Likewise.
79384         * hesiod/Makefile: Likewise.
79385         * grp/Makefile: Likewise.
79386         * csu/Makefile: Likewise.
79387         * wctype/Makefile: Likewise.
79388         * crypt/Makefile: Likewise.
79389         * libio/Makefile: Likewise.
79390         * string/Makefile: Likewise.
79391         * nis/Makefile: Likewise.
79392         * resolv/Makefile: Likewise.
79393         * stdio-common/Makefile: Likewise.
79394         * wcsmbs/Makefile: Likewise.
79395         * dlfcn/Makefile: Likewise.
79396         * posix/Makefile: Likewise.
79398         [BZ #6959]
79399         * timezone/Makefile: Don't install timezone files, just the programs
79400         and scripts.
79402 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
79404         * nss/databases.def: Add missing gshadow entry.
79406         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
79408 2012-03-06  Marek Polacek  <polacek@redhat.com>
79410         [BZ #13726]
79411         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
79412         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
79413         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
79414         * stdio-common/tst-long-dbl-fphex.c: New file.
79416 2012-03-06  David S. Miller  <davem@davemloft.net>
79418         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
79419         (set_obp_int): New function.
79420         (get_obp_int): New function.
79421         (__get_clockfreq_via_dev_openprom): Likewise.
79422         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
79423         Avoid unused variable warnings on 'val' and use builtin_expect.
79424         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
79425         __builtin_expect.
79426         (INLINE_CLONE_SYSCALL): Likewise.
79428 2012-03-05  David S. Miller  <davem@davemloft.net>
79430         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79432 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
79434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79436         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
79437         only for |x| >= 40.
79438         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79440 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
79442         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
79443         Replace gettimeofday with __vdso_gettimeofday.
79445         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79446         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
79447         __vdso_clock_gettime and __vdso_getcpu.
79449         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
79450         time with __vdso_time.
79452 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79454         * manual/lang.texi (size_t): Note types to which size_t may be
79455         equivalent with the GNU C Library, but do not describe when
79456         differences between them are significant.
79458 2012-03-05  Andreas Jaeger  <aj@suse.de>
79460         * sysdeps/i386/fpu/libm-test-ulps: Update.
79462 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79464         [BZ #3976]
79465         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
79466         (__ieee754_pow): Save and restore rounding mode and use
79467         round-to-nearest for main computations.
79468         * math/libm-test.inc (pow_test_tonearest): New function.
79469         (pow_test_towardzero): Likewise.
79470         (pow_test_downward): Likewise.
79471         (pow_test_upward): Likewise.
79472         (main): Call the new functions.
79473         * sysdeps/i386/fpu/libm-test-ulps: Update.
79474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79476         [BZ #3976]
79477         * math/libm-test.inc (cosh_test_tonearest): New function.
79478         (cosh_test_towardzero): Likewise.
79479         (cosh_test_downward): Likewise.
79480         (cosh_test_upward): Likewise.
79481         (sinh_test_tonearest): Likewise.
79482         (sinh_test_towardzero): Likewise.
79483         (sinh_test_downward): Likewise.
79484         (sinh_test_upward): Likewise.
79485         (main): Call the new functions.
79486         * sysdeps/i386/fpu/libm-test-ulps: Update.
79487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79489 2012-03-05  Tom de Vries  <tom@codesourcery.com>
79491         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
79492         default stack guard is set in last bytes.
79493         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
79495 2012-03-05  Kees Cook  <keescook@chromium.org>
79497         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
79499         [BZ #13656]
79500         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
79501         possibly allocate from heap instead of stack.
79502         * stdio-common/bug-vfprintf-nargs.c: New file.
79503         * stdio-common/Makefile (tests): Add nargs overflow test.
79505 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
79507         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79509 2012-03-03  Marek Polacek  <polacek@redhat.com>
79511         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
79512         * math/math_private.h: Likewise.
79513         * stdlib/tst-strtod.c: Likewise.
79514         * sysdeps/i386/i486/bits/atomic.h: Likewise.
79515         * sysdeps/x86_64/bits/atomic.h: Likewise.
79517 2012-03-02  David S. Miller  <davem@davemloft.net>
79519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
79520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
79521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
79522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
79523         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
79524         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
79525         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
79526         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
79528 2012-03-02  Roland McGrath  <roland@hack.frob.com>
79530         [BZ #13792]
79531         * manual/examples/README: New file, says the example source files
79532         can be used under GPL>=2.
79533         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
79534         line containing just "*/".
79535         * manual/examples/add.c: Add copyright header (GPL>=2).
79536         * manual/examples/argp-ex1.c: Likewise.
79537         * manual/examples/argp-ex2.c: Likewise.
79538         * manual/examples/argp-ex3.c: Likewise.
79539         * manual/examples/argp-ex4.c: Likewise.
79540         * manual/examples/atexit.c: Likewise.
79541         * manual/examples/db.c: Likewise.
79542         * manual/examples/dir.c: Likewise.
79543         * manual/examples/dir2.c: Likewise.
79544         * manual/examples/execinfo.c: Likewise.
79545         * manual/examples/filecli.c: Likewise.
79546         * manual/examples/filesrv.c: Likewise.
79547         * manual/examples/fmtmsgexpl.c: Likewise.
79548         * manual/examples/genpass.c: Likewise.
79549         * manual/examples/inetcli.c: Likewise.
79550         * manual/examples/inetsrv.c: Likewise.
79551         * manual/examples/isockad.c: Likewise.
79552         * manual/examples/longopt.c: Likewise.
79553         * manual/examples/memopen.c: Likewise.
79554         * manual/examples/memstrm.c: Likewise.
79555         * manual/examples/mkfsock.c: Likewise.
79556         * manual/examples/mkisock.c: Likewise.
79557         * manual/examples/mygetpass.c: Likewise.
79558         * manual/examples/pipe.c: Likewise.
79559         * manual/examples/popen.c: Likewise.
79560         * manual/examples/rprintf.c: Likewise.
79561         * manual/examples/search.c: Likewise.
79562         * manual/examples/select.c: Likewise.
79563         * manual/examples/setjmp.c: Likewise.
79564         * manual/examples/sigh1.c: Likewise.
79565         * manual/examples/sigusr.c: Likewise.
79566         * manual/examples/stpcpy.c: Likewise.
79567         * manual/examples/strdupa.c: Likewise.
79568         * manual/examples/strftim.c: Likewise.
79569         * manual/examples/strncat.c: Likewise.
79570         * manual/examples/subopt.c: Likewise.
79571         * manual/examples/swapcontext.c: Likewise.
79572         * manual/examples/termios.c: Likewise.
79573         * manual/examples/testopt.c: Likewise.
79574         * manual/examples/testpass.c: Likewise.
79575         * manual/examples/timeval_subtract.c: Likewise.
79577         [BZ #13792]
79578         * manual/time.texi (Elapsed Time): Move timeval_subtract example
79579         function to ...
79580         * manual/timeval_subtract.c.texi: ... here, new file.
79582 2012-03-02  David S. Miller  <davem@davemloft.net>
79584         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
79586 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
79588         [BZ #3976]
79589         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
79590         (__sin): Save and restore rounding mode and use round-to-nearest
79591         for all computations.
79592         (__cos): Save and restore rounding mode and use round-to-nearest
79593         for all computations.
79594         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
79595         <fenv.h>.
79596         (tan): Save and restore rounding mode and use round-to-nearest for
79597         all computations.
79598         * math/libm-test.inc (cos_test_tonearest): New function.
79599         (cos_test_towardzero): Likewise.
79600         (cos_test_downward): Likewise.
79601         (cos_test_upward): Likewise.
79602         (sin_test_tonearest): Likewise.
79603         (sin_test_towardzero): Likewise.
79604         (sin_test_downward): Likewise.
79605         (sin_test_upward): Likewise.
79606         (tan_test_tonearest): Likewise.
79607         (tan_test_towardzero): Likewise.
79608         (tan_test_downward): Likewise.
79609         (tan_test_upward): Likewise.
79610         (main): Call the new functions.
79611         * sysdeps/i386/fpu/libm-test-ulps: Update.
79612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79614         [BZ #10135]
79615         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
79616         small n, then large n, before computing and testing k+n.
79617         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
79618         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
79619         Likewise.
79620         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
79621         Likewise.
79622         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
79623         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
79624         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
79625         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
79626         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
79627         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
79628         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
79629         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
79630         * math/libm-test.inc (scalbn_test): Add more tests.
79631         (scalbln_test): Likewise.
79633         * manual/filesys.texi (mode_t): Describe constraints on size and
79634         signedness, not exact equivalence to a particular type.
79635         (ino_t): Likewise.
79636         (ino64_t): Likewise.
79637         (dev_t): Likewise.
79638         (nlink_t): Likewise.
79639         (blkcnt_t): Likewise.
79640         (blkcnt64_t): Likewise.
79641         * manual/llio.texi (off_t): Likewise.
79643         [BZ #3976]
79644         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
79645         (__ieee754_exp): Save and restore rounding mode and use
79646         round-to-nearest for all computations.
79647         * math/libm-test.inc (exp_test_tonearest): New function.
79648         (exp_test_towardzero): Likewise.
79649         (exp_test_downward): Likewise.
79650         (exp_test_upward): Likewise.
79651         (main): Call the new functions.
79652         * sysdeps/i386/fpu/libm-test-ulps: Update.
79653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79655 2012-03-01  Chris Demetriou  <cgd@google.com>
79657         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
79658         have predictable order.
79660 2012-03-01  David S. Miller  <davem@davemloft.net>
79662         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
79664         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
79665         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
79666         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
79667         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
79669         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
79670         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
79671         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
79672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
79673         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
79674         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
79675         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
79676         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
79677         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
79679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79681         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
79682         * sysdeps/sparc/fpu/libm-test-ulps: to here.
79683         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
79685         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
79686         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
79687         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
79688         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
79689         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
79690         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
79691         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
79692         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
79693         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
79694         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
79695         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
79696         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79697         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
79698         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
79699         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
79700         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79701         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
79702         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
79703         * sysdeps/sparc/elf/configure: Regenerated.
79705 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
79707         * configure.in (AS, LD): Require binutils 2.20 or later.
79708         * configure: Regenerated.
79709         * manual/install.texi (Tools for Compilation): Give binutils 2.20
79710         as required minimum version.
79711         * INSTALL: Regenerated.
79713         [BZ #2541]
79714         [BZ #4108]
79715         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
79716         before squaring exponent.
79717         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
79718         bottom long double and 27 bits of top long double before squaring
79719         exponent.
79720         * math/libm-test.inc (erfc_test): Add more tests.
79721         * sysdeps/i386/fpu/libm-test-ulps: Update.
79722         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79725 2012-03-01  Kai Tietz  <ktietz@redhat.com>
79727         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
79728         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
79729         containing bit-fields.
79730         * soft-fp/extended.h (_FP_UNION_E): Likewise.
79731         * soft-fp/single.h (_FP_UNION_S): Likewise.
79732         * soft-fp/double.h (_FP_UNION_D): Likewise.
79734 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
79736         [BZ #13786]
79737         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
79738         not include ../strcmp.S.
79739         [USE_AS_STRNCASECMP_L]: Likewise.
79740         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
79741         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
79742         * sysdeps/i386/i686/multiarch/strncase_l-c.c
79743         (__strncasecmp_l_ia32): Define as alias to
79744         __strncasecmp_l_nonascii.
79746         [BZ #5794]
79747         * math/libm-test.inc (expm1_test): Add test for bug 5794.
79748         * sysdeps/i386/fpu/libm-test-ulps: Update.
79749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79751         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
79752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79754 2012-02-29  Jeff Law  <law@redhat.com>
79756         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
79757         out of bounds read.
79759 2012-02-29  Marek Polacek  <polacek@redhat.com>
79761         [BZ #13706]
79762         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
79763         * elf/Makefile: Add rules to run tst-unused-dep.out.
79765 2012-02-28  David S. Miller  <davem@davemloft.net>
79767         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
79768         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
79769         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
79770         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
79771         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
79772         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
79774 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
79776         * math/libm-test.inc (llround_test): Move one test from
79777         lround_test.  Use TEST_f_L in moved test.
79778         (lround_test): Move misplaced test to llround_test.  Add testcase
79779         from bug 2561.
79781 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
79783         * sysdeps/x86_64/fpu/e_expf.S: New file.
79784         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
79786 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
79788         [BZ #13637]
79789         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
79790         of remain_len that may cause incomplete multi-byte character and
79791         false match.
79792         * posix/bug-regex33.c: New file.
79793         * posix/Makefile (tests): Add bug-regex33.
79795 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
79797         * manual/macros.texi: New file.
79798         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
79799         * manual/libc.texinfo: Include macros.texi.
79800         * manual/creatute.texi: Likewise.
79801         * manual/install.texi: Likewise.
79802         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
79803         @glibcadj{} in references to the GNU C Library.
79804         * manual/charset.texi: Likewise.
79805         * manual/conf.texi: Likewise.
79806         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
79807         when not using those macros.
79808         * manual/creature.texi: Likewise.
79809         * manual/crypt.texi: Likewise.
79810         * manual/errno.texi: Likewise.
79811         * manual/filesys.texi: Likewise.
79812         * manual/header.texi: Likewise.
79813         * manual/install.texi: Likewise.
79814         * manual/intro.texi: Likewise.
79815         * manual/io.texi: Likewise.
79816         * manual/job.texi: Likewise.
79817         * manual/lang.texi: Likewise.
79818         * manual/libc.texiinfo: Likewise.
79819         * manual/llio.texi: Likewise.
79820         * manual/locale.texi: Likewise.
79821         * manual/maint.texi: Likewise.
79822         * manual/math.texi: Likewise.
79823         * manual/memory.texi: Likewise.
79824         * manual/message.texi: Likewise.
79825         * manual/nss.texi: Likewise.
79826         * manual/pattern.texi: Likewise.
79827         * manual/process.texi: Likewise.
79828         * manual/resource.texi: Likewise.
79829         * manual/search.texi: Likewise.
79830         * manual/setjmp.texi: Likewise.
79831         * manual/signal.texi: Likewise.
79832         * manual/socket.texi: Likewise.
79833         * manual/startup.texi: Likewise.
79834         * manual/stdio.texi: Likewise.
79835         * manual/string.texi: Likewise.
79836         * manual/sysinfo.texi: Likewise.
79837         * manual/syslog.texi: Likewise.
79838         * manual/terminal.texi: Likewise.
79839         * manual/time.texi: Likewise.
79840         * manual/users.texi: Likewise.
79841         * INSTALL: Regenerated.
79842         * NOTES: Regenerated.
79843         * sysdeps/gnu/errlist.c: Regenerated.
79845 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
79847         * include/dirent.h: Include <dirstream.h> before
79848         <dirent/dirent.h>.
79850 2012-02-28  David S. Miller  <davem@davemloft.net>
79852         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
79853         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
79854         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
79855         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
79857 2012-02-27  David S. Miller  <davem@davemloft.net>
79859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
79860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
79861         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
79862         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
79864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
79865         frame pointer instead of stack pointer relative arg slot.
79866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
79867         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
79868         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
79870 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
79872         [BZ #3992]
79873         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
79875 2012-02-27  David S. Miller  <davem@davemloft.net>
79877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
79878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
79879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
79880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
79881         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
79882         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
79883         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
79884         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
79886 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
79888         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
79889         later.  Allow versions 5-9.
79890         * configure: Regenerated.
79891         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
79892         required minimum version and 4.6 as recommended version.  Do not
79893         mention bugs in GCC 2.7 and 2.8.
79894         * INSTALL: Regenerated.
79896 2012-02-27  David S. Miller  <davem@davemloft.net>
79898         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
79899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
79900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
79901         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
79902         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
79903         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
79904         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
79905         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
79907         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
79908         manipulate bits before adding and subtracting TWO112[sx].
79909         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
79911 2012-02-27  Roland McGrath  <roland@hack.frob.com>
79913         [BZ #13775]
79914         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
79915         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
79916         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
79917         being in POSIX, because they are in 1003.1-2008.
79919         * rt/tst-aio.c: Include <fcntl.h>.
79920         * rt/tst-aio7.c: Likewise.
79921         * rt/tst-aio64.c: Likewise.
79923         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
79925 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
79927         * manual/install.texi (--with-headers): Describe headers as
79928         interface headers, not private headers.
79929         (Specific advice for GNU/Linux systems): Describe use of headers
79930         from "make headers_install", not private headers from older
79931         kernels.
79932         * INSTALL: Regenerated.
79933         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
79934         Change to 2.6.19.
79935         * sysdeps/unix/sysv/linux/configure: Regenerated.
79937         * manual/llio.texi (fclean): Remove documentation.
79939         * manual/Makefile (libc-texi-generated): New variable.  Include
79940         version.texi.
79941         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
79942         $(libc-texi-generated), not duplicated list of files.
79943         (version.texi, stamp-version): New rules.
79944         (realclean): Remove $(libc-texi-generated), not individual files
79945         from that list.  Do not remove dir-add.texinfo.
79946         * manual/libc.texinfo: Comment out uses of edition numbers and
79947         references to printed manual.  Remove last-updated dates.
79948         (EDITION): Comment out.
79949         (ISBN): Likewise.
79950         (VERSION, UPDATED): Remove.
79951         (version.texi): Include.
79953 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
79955         * sysdeps/posix/spawni.c: Include <signal.h>.
79956         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
79957         * sysdeps/pthread/aio_fsync.c: Likewise.
79959 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
79961         * conform/Makefile (tests): Run only when not cross-compiling and
79962         when fast-check is not defined.
79964         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
79965         * conform/data/limits.h-data: Fixes for POSIX2008.
79966         * conform/run-conformtest.sh: Run all tests.
79967         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
79968         headers.
79969         * include/bits/dlfcn.h: Likewise.
79970         * include/langinfo.h: Likewise.
79971         * include/monetary.h: Likewise.
79972         * include/sys/poll.h: Likewise.
79974         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
79975         for __USE_GNU.
79976         * posix/spawn.h: Define __need_sigset_t.
79977         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
79978         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
79979         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
79980         to get sigevent_t only.
79981         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
79982         only for __USE_GNU.
79983         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79984         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79985         process_vm_writev only for __USE_GNU.
79986         * termios/termios.h: Declare tcgetsid also for POSIX2008.
79988         * conform/Makefile: For now ignore errors from run-conformtest.
79989         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
79990         POSIX to avoid namespace pollution.  Don't prepend headers.
79991         * conform/data/aio.h-data: Fixes for POSIX testing.
79992         * conform/data/fcntl.h-data: Likewise.
79993         * conform/data/glob.h-data: Likewise.
79994         * conform/data/grp.h-data: Likewise.
79995         * conform/data/pthread.h-data: Likewise.
79996         * conform/data/pwd.h-data: Likewise.
79997         * conform/data/signal.h-data: Likewise.
79998         * conform/data/spawn.h-data: Likewise.
79999         * conform/data/stdio.h-data: Likewise.
80000         * conform/data/stdlib.h-data: Likewise.
80001         * conform/data/stropts.h-data: Likewise.
80002         * conform/data/sys/mman.h-data: Likewise.
80003         * conform/data/sys/stat.h-data: Likewise.
80004         * conform/data/sys/types.h-data: Likewise.
80005         * conform/data/sys/wait.h-data: Likewise.
80006         * conform/data/time.h-data: Likewise.
80007         * conform/data/unistd.h-data: Likewise.
80008         * conform/data/utime.h-data: Likewise.
80010         * io/sys/stat.h: fchmod was always in POSIX.
80011         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
80012         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
80013         * rt/aio.h: Define __need_timespec before including <time.h>.
80014         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
80015         struct.  Add forward declaration of pthread_attr_t and use it in
80016         sigevent.
80017         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80018         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80019         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
80020         always remove CLK_TCK definition.
80022 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
80024         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
80026 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
80028         * conform/run-conformtest.sh: New file.
80029         * conform/Makefile: Run run-conformtest for tests.
80030         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
80031         support.
80033         * conform/data/uchar.h-data: New file.
80034         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
80035         * conform/data/arpa/inet.h-data: Likewise.
80036         * conform/data/assert.h-data: Likewise.
80037         * conform/data/complex.h-data: Likewise.
80038         * conform/data/cpio.h-data: Likewise.
80039         * conform/data/ctype.h-data: Likewise.
80040         * conform/data/dirent.h-data: Likewise.
80041         * conform/data/dlfcn.h-data: Likewise.
80042         * conform/data/errno.h-data: Likewise.
80043         * conform/data/fcntl.h-data: Likewise.
80044         * conform/data/float.h-data: Likewise.
80045         * conform/data/fmtmsg.h-data: Likewise.
80046         * conform/data/fnmatch.h-data: Likewise.
80047         * conform/data/ftw.h-data: Likewise.
80048         * conform/data/glob.h-data: Likewise.
80049         * conform/data/grp.h-data: Likewise.
80050         * conform/data/iconv.h-data: Likewise.
80051         * conform/data/inttypes.h-data: Likewise.
80052         * conform/data/langinfo.h-data: Likewise.
80053         * conform/data/libgen.h-data: Likewise.
80054         * conform/data/limits.h-data: Likewise.
80055         * conform/data/locale.h-data: Likewise.
80056         * conform/data/math.h-data: Likewise.
80057         * conform/data/monetary.h-data: Likewise.
80058         * conform/data/mqueue.h-data: Likewise.
80059         * conform/data/ndbm.h-data: Likewise.
80060         * conform/data/net/if.h-data: Likewise.
80061         * conform/data/netdb.h-data: Likewise.
80062         * conform/data/netinet/in.h-data: Likewise.
80063         * conform/data/nl_types.h-data: Likewise.
80064         * conform/data/poll.h-data: Likewise.
80065         * conform/data/pthread.h-data: Likewise.
80066         * conform/data/pwd.h-data: Likewise.
80067         * conform/data/regex.h-data: Likewise.
80068         * conform/data/sched.h-data: Likewise.
80069         * conform/data/search.h-data: Likewise.
80070         * conform/data/semaphore.h-data: Likewise.
80071         * conform/data/setjmp.h-data: Likewise.
80072         * conform/data/signal.h-data: Likewise.
80073         * conform/data/spawn.h-data: Likewise.
80074         * conform/data/stdarg.h-data: Likewise.
80075         * conform/data/stdio.h-data: Likewise.
80076         * conform/data/stdlib.h-data: Likewise.
80077         * conform/data/string.h-data: Likewise.
80078         * conform/data/strings.h-data: Likewise.
80079         * conform/data/stropts.h-data: Likewise.
80080         * conform/data/sys/ipc.h-data: Likewise.
80081         * conform/data/sys/mman.h-data: Likewise.
80082         * conform/data/sys/msg.h-data: Likewise.
80083         * conform/data/sys/resource.h-data: Likewise.
80084         * conform/data/sys/select.h-data: Likewise.
80085         * conform/data/sys/sem.h-data: Likewise.
80086         * conform/data/sys/shm.h-data: Likewise.
80087         * conform/data/sys/socket.h-data: Likewise.
80088         * conform/data/sys/stat.h-data: Likewise.
80089         * conform/data/sys/statvfs.h-data: Likewise.
80090         * conform/data/sys/time.h-data: Likewise.
80091         * conform/data/sys/timeb.h-data: Likewise.
80092         * conform/data/sys/times.h-data: Likewise.
80093         * conform/data/sys/types.h-data: Likewise.
80094         * conform/data/sys/uio.h-data: Likewise.
80095         * conform/data/sys/un.h-data: Likewise.
80096         * conform/data/sys/utsname.h-data: Likewise.
80097         * conform/data/sys/wait.h-data: Likewise.
80098         * conform/data/syslog.h-data: Likewise.
80099         * conform/data/tar.h-data: Likewise.
80100         * conform/data/termios.h-data: Likewise.
80101         * conform/data/utime.h-data: Likewise.
80102         * conform/data/utmpx.h-data: Likewise.
80103         * conform/data/varargs.h-data: Likewise.
80104         * conform/data/wchar.h-data: Likewise.
80105         * conform/data/wctype.h-data: Likewise.
80106         * conform/data/wordexp.h-data: Likewise.
80108         * include/stropts.h: New file.
80109         * include/uchar.h: New file.
80110         * include/aio.h: Changes to allow conformtest.pl to use the headers.
80111         * include/assert.h: Likewise.
80112         * include/ctype.h: Likewise.
80113         * include/dirent.h: Likewise.
80114         * include/dlfcn.h: Likewise.
80115         * include/fcntl.h: Likewise.
80116         * include/fnmatch.h: Likewise.
80117         * include/glob.h: Likewise.
80118         * include/grp.h: Likewise.
80119         * include/libio.h: Likewise.
80120         * include/locale.h: Likewise.
80121         * include/math.h: Likewise.
80122         * include/net/if.h: Likewise.
80123         * include/netdb.h: Likewise.
80124         * include/netinet/in.h: Likewise.
80125         * include/pthread.h: Likewise.
80126         * include/pwd.h: Likewise.
80127         * include/regex.h: Likewise.
80128         * include/sched.h: Likewise.
80129         * include/search.h: Likewise.
80130         * include/setjmp.h: Likewise.
80131         * include/signal.h: Likewise.
80132         * include/stdio.h: Likewise.
80133         * include/stdlib.h: Likewise.
80134         * include/string.h: Likewise.
80135         * include/sys/cdefs.h: Likewise.
80136         * include/sys/mman.h: Likewise.
80137         * include/sys/msg.h: Likewise.
80138         * include/sys/resource.h: Likewise.
80139         * include/sys/select.h: Likewise.
80140         * include/sys/socket.h: Likewise.
80141         * include/sys/stat.h: Likewise.
80142         * include/sys/statvfs.h: Likewise.
80143         * include/sys/time.h: Likewise.
80144         * include/sys/times.h: Likewise.
80145         * include/sys/uio.h: Likewise.
80146         * include/sys/utsname.h: Likewise.
80147         * include/sys/wait.h: Likewise.
80148         * include/termios.h: Likewise.
80149         * include/time.h: Likewise.
80150         * include/ulimit.h: Likewise.
80151         * include/unistd.h: Likewise.
80152         * include/utime.h: Likewise.
80153         * include/wchar.h: Likewise.
80154         * include/wctype.h: Likewise.
80155         * include/wordexp.h: Likewise.
80157         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
80159         * time/time.h: TIME_UTC must be a macro.
80160         Make timespec_get available for ISO C11 only as well.
80162 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
80164         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
80165         Reported by Peng Haitao <penght@cn.fujitsu.com>.
80167 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80169         * configure.in: Use -o not -a in test for unsupported multi-arch.
80171 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80173         * manual/texinfo.tex: Update to version 2012-01-19.16.
80175 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80177         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
80179 2012-02-24  Roland McGrath  <roland@hack.frob.com>
80181         [BZ #13738]
80182         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
80183         * manual/fdl-1.3.texi: New file.
80184         * manual/fdl-1.1.texi: File removed.
80186         [BZ #13738]
80187         * manual/libc.texinfo (FDL_VERSION): New @set.
80188         Use it for mention of FDL in cover text.
80189         (Documentation License): Use it in @include file name.
80191 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80192             Roland McGrath  <roland@hack.frob.com>
80194         [BZ #5461]
80195         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
80196         (not LONG_LONG_MAX and LONG_LONG_MIN.
80197         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
80198         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
80199         name.
80200         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
80202 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80204         [BZ #2547]
80205         [BZ #11365]
80206         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
80207         manipulate bits before adding and subtracting TWO23[sx].
80208         * math/libm-test.inc (nearbyint_test): Add more tests.
80210 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80212         [BZ #2548]
80213         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
80214         bits before adding and subtracting TWO23[sx].
80215         * math/libm-test.inc (rint_test): Add more tests.
80216         (rint_test_tonearest): Likewise.
80217         (rint_test_towardzero): Likewise.
80218         (rint_test_downward): Likewise.
80219         (rint_test_upward: Likewise.
80221 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80223         [BZ #10110]
80224         * include/stdc-predef.h: New file.  Extracted from features.h.
80225         * include/features.h: Include stdc-predef.h.
80226         * Makefile (headers): Add stdc-predef.h.
80227         * CONFORMANCE (Compiler limitations): Update.
80229 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80231         * manual/libc.texinfo (VERSION, UPDATED): Revert.
80233 2012-02-21  David S. Miller  <davem@davemloft.net>
80235         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
80236         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80238 2012-02-20  David S. Miller  <davem@davemloft.net>
80240         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
80241         using a normal save/restore sequence, rather than allocating a
80242         dummy stack frame just to store a frame pointer and restore.
80243         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80245 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80247         * manual/install.texi: Fix stray word in line-wrapped comment.
80249 2012-02-20  David S. Miller  <davem@davemloft.net>
80251         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
80252         both binutils and gcc support GOTDATA.
80254         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
80255         "rd %pc" in the PIC register setup sequences.
80257         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
80258         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
80259         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80260         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
80261         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80262         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
80263         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80264         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80265         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
80266         (SYSCALL_ERROR_HANDLER): Likewise.
80267         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80268         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80269         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
80270         (SYSCALL_ERROR_HANDLER): Likewise.
80272         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
80273         (HAVE_GCC_GOTDATA): New.
80274         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
80275         relocation support in both binutils and gcc.
80276         * sysdeps/sparc/elf/configure: Regenerate.
80278         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
80279         * sysdeps/sparc/sparc32/elf/configure: Delete.
80280         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
80281         * sysdeps/sparc/sparc64/elf/configure: Delete.
80282         * sysdeps/sparc/elf/configure.in: New file.
80283         * sysdeps/sparc/elf/configure: Generate.
80285         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
80286         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
80287         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80288         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
80289         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
80291 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80293         * manual/install.texi: Do not mention specific glibc version
80294         numbers.
80295         * manual/libc.texinfo (VERSION, UPDATED): Update.
80296         (@copying): Use @copyright{} and range of years.
80298 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80300         [BZ #13695]
80301         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
80302         [crti.S not in sysdirs] (generated): Do not append.
80303         [crti.S not in sysdirs] (omit-deps): Likewise.
80304         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
80305         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
80306         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
80307         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
80308         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
80309         Likewise.
80310         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
80311         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
80312         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
80313         * csu/defs.awk: Remove file.
80314         * sysdeps/generic/initfini.c: Likewise.
80315         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
80316         variable.
80317         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
80318         Likewise.
80320 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80322         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
80323         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
80324         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
80325         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
80326         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80327         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
80328         <bits/epoll.h>.
80329         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
80330         (__EPOLL_PACKED): Define to empty if not defined by
80331         <bits/epoll.h>.
80332         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
80333         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80334         bits/epoll.h.
80336 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80338         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
80339         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
80340         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
80341         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
80342         <bits/timerfd.h>.
80343         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
80344         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80345         bits/timerfd.h.
80347 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80349         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
80350         in C locale.
80351         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80352         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
80353         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
80354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80356 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
80358         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80359         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80361 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
80363         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
80364         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
80365         defined.
80366         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
80367         Likewise.
80368         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
80369         entry for 2.16.
80371 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
80373         * math/w_acos.c: Use non-signaling floating-point comparisons.
80374         * math/w_acosf.c: Likewise.
80375         * math/w_acosh.c: Likewise.
80376         * math/w_acoshf.c: Likewise.
80377         * math/w_acoshl.c: Likewise.
80378         * math/w_acosl.c: Likewise.
80379         * math/w_asin.c: Likewise.
80380         * math/w_asinf.c: Likewise.
80381         * math/w_asinl.c: Likewise.
80382         * math/w_atanh.c: Likewise.
80383         * math/w_atanhf.c: Likewise.
80384         * math/w_atanhl.c: Likewise.
80385         * math/w_exp2.c: Likewise.
80386         * math/w_exp2f.c: Likewise.
80387         * math/w_exp2l.c: Likewise.
80388         * math/w_j0.c: Likewise.
80389         * math/w_j0f.c: Likewise.
80390         * math/w_j0l.c: Likewise.
80391         * math/w_j1.c: Likewise.
80392         * math/w_j1f.c: Likewise.
80393         * math/w_j1l.c: Likewise.
80394         * math/w_jn.c: Likewise.
80395         * math/w_jnf.c: Likewise.
80396         * math/w_log.c: Likewise.
80397         * math/w_log10.c: Likewise.
80398         * math/w_log10f.c: Likewise.
80399         * math/w_log10l.c: Likewise.
80400         * math/w_log2.c: Likewise.
80401         * math/w_log2f.c: Likewise.
80402         * math/w_log2l.c: Likewise.
80403         * math/w_logf.c: Likewise.
80404         * math/w_logl.c: Likewise.
80405         * math/w_sqrt.c: Likewise.
80406         * math/w_sqrtf.c: Likewise.
80407         * math/w_sqrtl.c: Likewise.
80408         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80409         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
80410         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80411         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80412         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80414 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80416         [BZ #9739]
80417         * manual/string.texi (strnlen): Use correct parameter name in
80418         equivalent expression.
80420 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80422         [BZ #11174]
80423         * manual/users.texi (seteuid): Consistently use neweuid for
80424         argument name.
80426 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80428         [BZ #13704]
80429         * manual/nss.texi (Services in the NSS configuration): Correct
80430         list of services in example configuration file.
80432 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
80434         [BZ #11322]
80435         * manual/arith.texi: Remove statements about negative zero
80436         behaving identically to zero.
80438 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80440         [BZ #5993]
80441         * manual/install.texi: Do not document upgrading from libc5.
80443 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80445         [BZ #4596]
80446         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
80448 2012-02-18  David S. Miller  <davem@davemloft.net>
80450         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
80451         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
80452         %o7 across the call.
80453         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
80454         instead.
80455         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
80456         SETUP_PIC_REG_LEAF.
80457         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80458         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
80459         * sysdeps/sparc/crtn.S: Likewise.
80461 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
80463         * aout/Makefile: Remove.
80465 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
80467         [BZ #13058]
80468         * manual/examples/argp-ex1.c (main): Format definition in GNU
80469         style.
80470         * manual/examples/argp-ex2.c (main): Likewise.
80471         * manual/examples/argp-ex3.c (main): Likewise.
80472         * manual/examples/argp-ex4.c (main): Likewise.
80473         * manual/examples/longopt.c (main): Use new-style prototype
80474         definition.
80475         * manual/examples/strncat.c (main): Specify return type and use
80476         (void) for arguments.
80477         * manual/examples/subopt.c (main): Use char **argv argument.
80479 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80481         [BZ #5077]
80482         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
80483         rounding modes.
80485 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
80487         [BZ #6907]
80488         * manual/string.texi (strchr): Change when strchrnul is
80489         recommended.
80491 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
80493         [BZ #174]
80494         * manual/locale.texi (setlocale): Document LOCPATH.
80496 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80498         [BZ #10210]
80499         * manual/process.texi (execle): Move @dots{} before last argument.
80501 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
80503         [BZ #12047]
80504         * manual/charset.texi (Generic Charset Conversion): Fix typo
80505         (LC_TYPE -> LC_CTYPE).
80507 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
80509         [BZ #5805]
80510         * manual/arith.texi (scalbn): Use @var{} on parameter names.
80511         (scalbnf): Likewise.
80512         (scalbnl): Likewise.
80513         (scalbln): Likewise.
80514         (scalblnf): Likewise.
80515         (scalblnl): Likewise.
80516         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
80517         (vwarnx): Likewise.
80518         (verr): Likewise.
80519         (verrx): Likewise.
80520         * manual/filesys.texi (telldir): Use braces around return type.
80521         * manual/llio.texi (mmap): Add space after comma.
80522         (mmap64): Likewise.
80523         * manual/math.texi (jn): Use @var{} on parameter names.
80524         (jnf): Likewise.
80525         (jnl): Likewise.
80526         (yn): Likewise.
80527         (ynf): Likewise.
80528         (ynl): Likewise.
80529         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
80530         line.
80531         * manual/resource.texi (ulimit): Use @dots{} instead of literal
80532         "...".
80533         (sched_get_priority_min): Remove semicolon on @deftypefun line.
80534         (sched_get_priority_max): Likewise.
80535         * manual/signal.texi (sigvec): Add space after comma.
80536         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
80537         names.
80538         (if_indextoname): Likewise.
80539         (if_freenameindex): Likewise.
80540         (sendto): Use ',' instead of '.' in prototype.
80541         * manual/startup.texi (syscall): Use @dots{} instead of literal
80542         "...".
80543         * manual/stdio.texi (__fpending): Separate initial words of
80544         paragraph from @deftypefun line.
80545         * manual/syslog.texi (syslog): Use @dots{} instead of literal
80546         "...".
80547         (vsyslog): Use @var{} on parameter names.
80548         * manual/terminal.texi (stty): Use @var{} on parameter names.
80549         * manual/users.texi (getutmp): Use @var{} on parameter names.
80550         (getutmpx): Likewise.
80552 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80554         [BZ #6884]
80555         * manual/stdio.texi (fopen): Fix typos in description of
80556         ",ccs=STRING".
80558 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
80560         [BZ #4026]
80561         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
80562         get clock_id definition.
80564 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
80566         [BZ #4822]
80567         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
80568         (madvise): Cast every argument to void on its own.
80570 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80572         [BZ #9902]
80573         * manual/startup.texi (Exit Status): Fix typo.
80575 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80577         [BZ #10140]
80578         * manual/examples/argp-ex1.c: Include <stdlib.h>.
80579         * manual/examples/argp-ex2.c: Likewise.
80580         * manual/examples/argp-ex3.c: Likewise.
80582 2012-02-16  Richard Henderson  <rth@redhat.com>
80584         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
80585         * sysdeps/s390/s390-32/initfini.c: Remove.
80586         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
80587         * sysdeps/s390/s390-64/initfini.c: Remove.
80589 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80591         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
80592         compiler output for sysdeps/generic/initfini.c.
80593         * sysdeps/sh/elf/initfini.c: Remove file.
80595 2012-02-16  David S. Miller  <davem@davemloft.net>
80597         [BZ #11494]
80598         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
80600         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
80601         * sysdeps/sparc/crti.S: New file.
80602         * sysdeps/sparc/crtn.S: New file.
80603         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
80604         * sysdeps/sparc/sparc64/Makefile: Likewise.
80606 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
80608         [BZ #3335]
80609         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
80611 2012-02-15  Roland McGrath  <roland@hack.frob.com>
80613         [BZ #4822]
80614         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
80616         * mach/devstream.c (cookie_io_functions_t): Macro removed.
80617         (write, read, close): Likewise.
80618         Patch by Aurelien Jarno <aurelien@aurel32.net>.
80620 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
80622         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
80623         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
80624         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
80625         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
80626         <bits/signalfd.h>.
80627         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
80628         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80629         bits/signalfd.h.
80631 2012-02-14  Marek Polacek  <polacek@redhat.com>
80633         * sysdeps/x86_64/crti.S: New file.
80634         * sysdeps/x86_64/crtn.S: New file.
80635         * sysdeps/x86_64/elf/initfini.c: Remove file.
80637 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
80639         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
80640         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
80641         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
80642         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
80643         <bits/inotify.h>.
80644         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
80645         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80646         bits/inotify.h.
80648 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
80650         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
80651         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
80652         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
80653         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
80654         <bits/eventfd.h>.
80655         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
80656         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80657         bits/eventfd.h.
80659 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
80661         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
80662         __feraiseexcept instead of feraiseexcept.
80664         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
80665         nanosleep invocations.
80666         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
80667         strings, and add error checking for a nanosleep invocations.
80669 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
80671         Replace FSF snail mail address with URLs, as per GNU coding standards.
80672         Most of the snail mail addresses were wrong anyway, and omitting
80673         them makes the source code easier to maintain.  Almost all of the
80674         changes are to license notices and to locale LC_IDENTIFICATION
80675         addresses, except for this one:
80676         * manual/libc.texinfo: In "Published by", give the FSF's URL,
80677         not its snail mail address.
80679 2012-02-09  Richard Henderson  <rth@twiddle.net>
80681         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
80682         of kernel-features.h.
80684         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
80686 2012-02-08  Marek Polacek  <polacek@redhat.com>
80688         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
80689         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
80690         * sysdeps/gnu/_G_config.h: Likewise.
80691         * sysdeps/generic/_G_config.h: Likewise.
80693 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
80695         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
80696         tests.
80697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80699         * sysdeps/powerpc/powerpc32/crti.S: New file.
80700         * sysdeps/powerpc/powerpc32/crtn.S: New file.
80701         * sysdeps/powerpc/powerpc64/crti.S: New file.
80702         * sysdeps/powerpc/powerpc64/crtn.S: New file.
80704         * Makeconfig (have-initfini): Don't set.
80705         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
80706         * configure.in (nopic_initfini): Don't substitute.
80707         * config.h.in (HAVE_INITFINI): Don't #undef.
80708         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
80709         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
80711 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
80713         Support crti.S and crtn.S provided directly by architectures.
80714         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
80715         [crti.S in sysdirs] (omit-deps): Likewise.
80716         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
80717         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
80718         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
80719         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
80720         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
80721         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
80722         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
80723         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
80724         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
80725         compiler output for sysdeps/generic/initfini.c.
80726         * sysdeps/i386/elf/Makefile: Remove file.
80727         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
80729 2012-02-07  Marek Polacek  <polacek@redhat.com>
80731         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
80732         * sysdeps/gnu/_G_config.h: Likewise.
80733         * sysdeps/mach/hurd/_G_config.h: Likewise.
80735 2012-02-07  Marek Polacek  <polacek@redhat.com>
80737         * math/Makefile (tests): Add tst-CMPLX2.
80738         * math/tst-CMPLX2.c: New file.
80740 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
80742         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80744         * math/libm-test.inc (jn_test): Add missing L suffix.
80746 2012-02-06  Marek Polacek  <polacek@redhat.com>
80748         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
80749         * sysdeps/i386/fpu/e_powf.S: Likewise.
80750         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80751         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
80752         * sysdeps/i386/fpu/e_acosh.S: Likewise.
80753         * sysdeps/i386/fpu/e_pow.S: Likewise.
80754         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
80755         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80756         * sysdeps/i386/fpu/s_expm1.S: Likewise.
80757         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
80758         * sysdeps/i386/fpu/e_log2.S: Likewise.
80759         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80760         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80761         * sysdeps/i386/fpu/e_powl.S: Likewise.
80762         * sysdeps/i386/fpu/s_log1p.S: Likewise.
80763         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80764         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
80765         * sysdeps/i386/fpu/e_logl.S: Likewise.
80766         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
80767         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
80768         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
80769         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
80770         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80771         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80772         * sysdeps/i386/fpu/e_log.S: Likewise.
80773         * sysdeps/i386/fpu/s_cexp.S: Likewise.
80774         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80775         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
80776         * sysdeps/i386/fpu/e_logf.S: Likewise.
80777         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80778         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80779         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
80780         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
80781         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
80782         * sysdeps/i386/fpu/e_log10.S: Likewise.
80783         * sysdeps/i386/fpu/s_frexp.S: Likewise.
80784         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80785         * sysdeps/i386/fpu/s_asinh.S: Likewise.
80786         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
80787         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80788         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
80789         * sysdeps/i386/asm-syntax.h: Likewise.
80790         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80791         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80792         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80793         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
80794         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
80795         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80796         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
80797         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
80798         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80799         * sysdeps/powerpc/sysdep.h: Likewise.
80800         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
80801         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
80803 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
80805         [BZ #411]
80806         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
80808 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
80810         * sysdeps/i386/sysdep.h: Include <features.h>.
80811         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
80812         version.
80814 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
80816         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
80817         Define.
80818         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
80819         LOAD_PIC_REG_STR.
80821 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80823         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
80824         (SETUP_PIC_REG): Use GET_PC_THUNK.
80825         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
80826         macro.
80828 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80830         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
80831         for non-PIC compilation.
80832         (SETUP_PIC_REG): Add .p2align directive.
80833         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
80834         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
80835         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
80836         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
80837         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
80838         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
80839         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
80840         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
80841         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
80842         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
80843         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
80844         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
80845         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
80846         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
80847         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
80848         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
80849         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
80850         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
80851         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
80852         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
80853         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
80854         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
80855         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
80856         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
80857         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
80858         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
80859         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
80860         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
80861         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
80862         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
80863         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
80864         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
80865         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
80866         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
80867         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
80868         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
80869         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
80870         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
80871         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
80872         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
80873         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
80875 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
80877         * math/tst-CMPLX.c: Include <stdio.h>.
80879 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
80881         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
80882         float.
80883         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
80884         * sysdeps/sparc/bits/mathdef.h: Likewise.
80886 2012-01-31  Marek Polacek  <polacek@redhat.com>
80888         * libio/libio.h: Don't define _PARAMS.
80889         * locale/programs/config.h: Don't define PARAMS.
80890         * stdlib/strtol_l.c: Likewise.
80891         (__strtol_l): Remove PARAMS from the prototype.
80893 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
80895         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
80896         names.  Just use the correct names.  Remove unnecessary wrapper
80897         functions.
80898         * malloc/arena.c: Likewise.
80899         * malloc/hooks.c: Likewise.
80901         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
80902         ARENA_TEST says not to.  Simplify test for creation of a new arena.
80903         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
80905 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
80907         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
80908         into tail calls.
80909         (update_get_addr): New function.
80910         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
80911         GET_ADDR_MODULE parameter.
80913 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
80915         * crypt/cert.c: Remove __STDC__ conditionals.
80916         * crypt/crypt-entry.c: Likewise.
80917         * crypt/crypt_util.c: Likewise.
80918         * libio/filedoalloc.c: Likewise.
80919         * libio/fileops.c: Likewise.
80920         * libio/genops.c: Likewise.
80921         * libio/iofclose.c: Likewise.
80922         * libio/iofdopen.c: Likewise.
80923         * libio/iofopen.c: Likewise.
80924         * libio/iofopen64.c: Likewise.
80925         * libio/iogetdelim.c: Likewise.
80926         * libio/iopopen.c: Likewise.
80927         * libio/obprintf.c: Likewise.
80928         * libio/oldfileops.c: Likewise.
80929         * libio/oldiofclose.c: Likewise.
80930         * libio/oldiofdopen.c: Likewise.
80931         * libio/oldiofopen.c: Likewise.
80932         * libio/oldiopopen.c: Likewise.
80933         * libio/wfiledoalloc.c: Likewise.
80934         * libio/wgenops.c: Likewise.
80935         * locale/programs/xmalloc.c: Likewise.
80936         * misc/syslog.c: Likewise.
80937         * stdio-common/xbug.c: Likewise.
80938         * string/memchr.c: Likewise.
80939         * string/memcmp.c: Likewise.
80940         * string/memrchr.c: Likewise.
80941         * string/rawmemchr.c: Likewise.
80942         * sysdeps/posix/getcwd.c: Likewise.
80943         * time/strftime_l.c: Likewise.
80945 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
80947         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
80948         * config.make.in (config-cflags-sse2avx): Define.
80949         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
80950         Fix typo.
80952 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
80954         * scripts/config.guess: Update from upstream config git repository.
80955         * scripts/config.sub: Likewise.
80957 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
80959         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
80960         (EM_NUM): Update.
80961         (R_TILEPRO_*, R_TILEGX_*): New macros.
80963         * scripts/firstversions.awk: Fix bug in version range handling.
80965         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
80967         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
80969         * include/sys/epoll.h: New file.
80970         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
80971         libc_hidden_def.
80973 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
80975         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
80976         Avoid unnecessary __WORDSIZE == 64 test.
80977         (fmaxf): Use VEX format if possible.
80978         (fmax): Likewise.
80979         (fminf): Likewise.
80980         (fmin): Likewise.
80982         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
80983         * math/math_private.h: Remove libc_fegetround* and
80984         libc_fesetround*.
80985         * sysdeps/i386/configure.in: Check for -msse2avx.
80986         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
80987         also if SSE2AVX is defined.
80988         Remove libc_fegetround* and libc_fesetround*.
80989         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
80990         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
80991         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
80992         of HAS_YMM_USABLE.
80993         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80994         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80995         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80996         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80997         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80999         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
81001 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81003         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
81004         size is not set.
81005         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81007 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
81009         [BZ #13618]
81010         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
81011         relocation.
81012         * Makeconfig (libm): Define.
81013         * elf/Makefile: Add rules to build and run tst-relsort1.
81014         * elf/tst-relsort1.c: New file.
81015         * elf/tst-relsort1mod1.c: New file.
81016         * elf/tst-relsort1mod2.c: New file.
81018 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
81020         * math/s_ldexp.c: Remove __STDC__ conditionals.
81021         * math/s_ldexpf.c: Likewise.
81022         * math/s_ldexpl.c: Likewise.
81023         * math/s_nextafter.c: Likewise.
81024         * math/s_nexttowardf.c: Likewise.
81025         * math/s_significand.c: Likewise.
81026         * math/s_significandf.c: Likewise.
81027         * math/s_significandl.c: Likewise.
81028         * math/w_jnl.c: Likewise.
81029         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81030         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81031         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81032         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81033         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81034         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
81035         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
81036         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81037         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
81038         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
81039         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
81040         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81041         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81042         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81043         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
81044         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
81045         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
81046         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
81047         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
81048         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81049         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81050         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
81051         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
81052         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
81053         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
81054         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
81055         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
81056         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
81057         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
81058         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
81059         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
81060         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
81061         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
81062         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
81063         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
81064         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
81065         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
81066         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
81067         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
81068         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
81069         * sysdeps/ieee754/k_standard.c: Likewise.
81070         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81071         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81072         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
81073         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
81074         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
81075         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
81076         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
81077         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
81078         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
81079         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
81080         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81081         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
81082         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
81083         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
81084         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
81085         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
81086         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
81087         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
81088         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
81089         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
81090         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
81091         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
81092         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
81093         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
81094         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
81095         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
81096         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81097         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81098         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81099         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
81100         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
81101         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
81102         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
81103         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
81104         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81105         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81106         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
81107         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81108         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81109         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
81110         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
81111         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81112         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
81113         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
81114         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81115         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
81116         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
81117         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81118         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81119         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
81120         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
81121         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81122         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81123         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81124         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81125         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81126         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
81127         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81128         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81129         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81130         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81131         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81132         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81133         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81134         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81135         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81136         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81137         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81138         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81139         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81140         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81141         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81142         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81143         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81144         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81145         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81146         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81147         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81148         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81149         * sysdeps/ieee754/s_matherr.c: Likewise.
81150         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81151         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81152         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81153         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81155 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81157         * crypt/md5.h: Remove __STDC__ conditionals.
81158         * libio/libioP.h: Likewise.
81159         * locale/programs/config.h: Likewise.
81160         * sysdeps/generic/sysdep.h: Likewise.
81161         * sysdeps/i386/asm-syntax.h: Likewise.
81162         * sysdeps/s390/asm-syntax.h: Likewise.
81163         * sysdeps/unix/sysdep.h: Likewise.
81164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
81165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
81167 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81169         * libio/libio.h: Remove __STDC__ conditionals.
81170         * malloc/obstack.h: Likewise.
81171         * math/complex.h: Likewise.
81172         * math/math.h: Likewise.
81173         * sysdeps/generic/_G_config.h: Likewise.
81174         * sysdeps/gnu/_G_config.h: Likewise.
81175         * sysdeps/mach/hurd/_G_config.h: Likewise.
81176         * sysdeps/powerpc/bits/mathdef.h: Likewise.
81177         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81178         * sysdeps/sparc/bits/mathdef.h: Likewise.
81180 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
81182         [BZ #13583]
81183         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
81184         Clean up HAS_* macros.
81185         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
81186         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
81187         possible.
81188         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
81189         HAS_AVX.
81190         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81191         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81192         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81193         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81194         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81196 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
81198         * elf/tst-unique3.cc (gets): Remove declaration.
81199         * elf/tst-unique3lib.cc (gets): Likewise.
81200         * elf/tst-unique3lib2.cc (gets): Likewise.
81201         * elf/tst-unique4.cc (gets): Likewise.
81203 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
81205         * include/stdio.h: Add C++ protection.  Add gets declarations and
81206         definitions.
81207         * debug/tst-chk1.c: Don't declare gets here.
81208         * stdio-common/tst-gets.c: Likewise.
81210 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81212         * posix/glob: Remove directory.
81214 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81216         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
81218 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
81220         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
81221         of the non-standard EPFNOSUPPORT.
81223 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81225         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
81226         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
81227         ANYWHERE set to 1 only on KERN_NO_SPACE error.
81229 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
81231         * wcsmbs/uchar.h: Test __STDC_VERSION__.
81233 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
81235         * nscd/aicache.c (addhstaiX): Do not cache negative results of
81236         transient errors.
81237         * nscd/grpcache.c (cache_addgr): Likewise.
81238         * nscd/hstcache.c (cache_addhst): Likewise.
81239         * nscd/initgrcache.c (addinitgroupsX): Likewise.
81240         * nscd/pwdcache.c (cache_addpw): Likewise.
81241         * nscd/servicescache.c (cache_addserv): Likewise.
81243 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
81245         * malloc/malloc.c: Various cleanups.
81246         * malloc/hooks.c: Likewise.
81248         * stdlib/Makefile (tests): Add bug-fmtmsg1.
81249         * stdlib/bug-fmtmsg1.c: New file.
81251         * stdlib/fmtmsg.c (init): Add missing unlock.
81252         Patch by Peng Haitao <penght@cn.fujitsu.com>.
81254 2012-01-12  Marek Polacek  <polacek@redhat.com>
81256         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
81257         and _GNU_SOURCE.
81259 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81261         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
81262         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
81263         macro to ensure uniqueness of label name.
81264         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
81265         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
81267 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
81269         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
81271         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
81272         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
81273         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81274         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
81276 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
81278         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
81280         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
81281         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
81282         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81284         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
81286         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
81287         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
81288         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81289         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
81291         * math/bits/math-finite.h: Add ldexp support.
81293 2012-01-10  Marek Polacek  <polacek@redhat.com>
81295         * locale/programs/localedef.h (show_archive_content): Add noreturn
81296         attribute.
81298 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
81300         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
81302 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81304         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
81306         * io/Makefile (headers): Add bits/poll2.h.
81308 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
81310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
81311         typo #include statement.
81313 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81315         * include/sys/cdefs.h: Define __attribute_alloc_size.
81316         * catgets/gencat.c: Add alloc_size attribute and apply consistently
81317         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
81318         * elf/pldd.c: Likewise.
81319         * iconv/iconv_charmap.c: Likewise.
81320         * iconv/iconvconfig.c: Likewise.
81321         * iconv/strtab.c: Likewise.
81322         * locale/programs/locale.c: Likewise.
81323         * locale/programs/localedef.h: Likewise.
81324         * locale/programs/simple-hash.c: Likewise.
81325         * nscd/nscd.h: Likewise.
81326         * nss/makedb.c: Likewise.
81327         * sysdeps/generic/ldconfig.h: Likewise.
81328         * locale/programs/localedef.c: Remove xmalloc prototype.
81329         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
81331 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81333         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
81334         appropriate.
81336 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81338         * math/Makefile (tests): Add tst-CMPLX.
81339         * math/tst-CMPLX.c: New file.
81341         * math/complex.h (CMPLXL): Fix typo.
81343         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
81344         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
81345         GLIBC_2.16.
81346         * debug/tst-chk1.c: Add poll and ppoll tests.
81347         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
81348         * include/sys/poll.h: Add hidden proto for ppoll.
81349         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
81350         * sysdeps/mach/hurd/ppoll.c: Likewise.
81351         * io/ppoll.c: Likewise.
81352         * debug/poll_chk.c: New file.
81353         * debug/ppoll_chk.c: New file.
81354         * include/bits/poll2.h: New file.
81355         * io/bits/poll2.h: New file.
81357         [BZ #1350]
81358         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
81360         * configure.in: static is always set to yes.  Remove.
81361         * config.make.in: Don't set build-static.
81362         * Makeconfig: Remove use of build-static.
81363         * dlfcn/Makefile: Likewise.
81364         * elf/Makefile: Likewise.
81365         * math/Makefile: Likewise.
81366         * misc/Makefile: Likewise.
81367         * nptl/Makefile: Likewise.
81368         * sysdeps/mach/hurd/Makefile: Likewise.
81370         * configure.in: PWD_P is not used anymore.
81371         * config.make.in: Remove PWD_P entry.
81373         * configure.in: Remove last remnants of RANLIB.
81374         No need to check for signed size_t anymore.
81375         Don't set libc_commonpagesize and libc_relro_required here for Alpha
81376         and IA-64.
81377         Remove __builtin_expect test because we require at least gcc 3.4.
81378         * aclocal.m4: Likewise.
81380         * wcsmbs/mbrtoc16.c: Implement using towc function.
81381         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
81382         * wcsmbs/wcsmbsload.c: Likewise.
81383         * iconv/gconv_simple.c: Likewise.
81384         * iconv/gconv_int.h: Likewise.
81385         * iconv/gconv_builtin.h: Likewise.
81386         * iconv/iconv_prog.c: Remove CHAR16 handling.
81388         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
81390         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
81392         * configure.in: Remove --with-elf and --enable-bounded options.
81393         Dont set base_machine for ia64.  More non-ELF conditions removed.
81394         Remove testing and setting of leading underscore information.
81395         * config.make.in (build-bounded): Set to no.
81396         * config.h.in: Remove NO_UNDERSCORES entry.
81397         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
81398         them.
81399         * csu/start.c: Remove !NO_UNDERSCORE code.
81400         * locale/localeinfo.h: Likewise.
81401         * sysdeps/generic/machine-gmon.h: Likewise.
81402         * sysdeps/generic/sysdep.h: Likewise.
81403         * sysdeps/i386/sysdep.h: Likewise.
81404         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
81405         * sysdeps/mach/sysdep.h: Likewise.
81406         * sysdeps/s390/s390-32/sysdep.h: Likewise.
81407         * sysdeps/s390/s390-64/sysdep.h: Likewise.
81408         * sysdeps/sh/sysdep.h: Likewise.
81409         * sysdeps/sparc/sparc32/alloca.S: Likewise.
81410         * sysdeps/unix/i386/sysdep.S: Likewise.
81411         * sysdeps/unix/sparc/start.c: Likewise.
81412         * sysdeps/unix/sparc/sysdep.S: Likewise.
81413         * sysdeps/unix/sparc/sysdep.h: Likewise.
81414         * sysdeps/unix/start.c: Likewise.
81415         * sysdeps/unix/x86_64/sysdep.S: Likewise.
81416         * sysdeps/x86_64/sysdep.h: Likewise.
81418 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
81420         [BZ #13553]
81421         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
81422         for non-gcc.
81423         * argp/argp-fmtstream.h: Use const instead __const.
81424         * argp/argp.h: Likewise.
81425         * assert/assert.h: Likewise.
81426         * bits/fenv.h: Likewise.
81427         * bits/sched.h: Likewise.
81428         * bits/sigset.h: Likewise.
81429         * bits/sigthread.h: Likewise.
81430         * catgets/nl_types.h: Likewise.
81431         * conform/data/pthread.h-data: Likewise.
81432         * crypt/crypt-private.h: Likewise.
81433         * crypt/crypt.h: Likewise.
81434         * crypt/crypt_util.c: Likewise.
81435         * ctype/ctype.h: Likewise.
81436         * debug/execinfo.h: Likewise.
81437         * debug/mbsnrtowcs_chk.c: Likewise.
81438         * debug/mbsrtowcs_chk.c: Likewise.
81439         * debug/wcsnrtombs_chk.c: Likewise.
81440         * debug/wcsrtombs_chk.c: Likewise.
81441         * debug/wcstombs_chk.c: Likewise.
81442         * dirent/dirent.h: Likewise.
81443         * dlfcn/dlfcn.h: Likewise.
81444         * elf/neededtest4.c: Likewise.
81445         * grp/grp.h: Likewise.
81446         * gshadow/gshadow.h: Likewise.
81447         * iconv/gconv.h: Likewise.
81448         * iconv/gconv_int.h: Likewise.
81449         * iconv/gconv_simple.c: Likewise.
81450         * iconv/iconv.h: Likewise.
81451         * iconv/loop.c: Likewise.
81452         * iconv/skeleton.c: Likewise.
81453         * include/aio.h: Likewise.
81454         * include/aliases.h: Likewise.
81455         * include/argz.h: Likewise.
81456         * include/arpa/inet.h: Likewise.
81457         * include/assert.h: Likewise.
81458         * include/dirent.h: Likewise.
81459         * include/dlfcn.h: Likewise.
81460         * include/execinfo.h: Likewise.
81461         * include/fcntl.h: Likewise.
81462         * include/fenv.h: Likewise.
81463         * include/glob.h: Likewise.
81464         * include/grp.h: Likewise.
81465         * include/libintl.h: Likewise.
81466         * include/mntent.h: Likewise.
81467         * include/netdb.h: Likewise.
81468         * include/pwd.h: Likewise.
81469         * include/rpc/netdb.h: Likewise.
81470         * include/sched.h: Likewise.
81471         * include/search.h: Likewise.
81472         * include/shadow.h: Likewise.
81473         * include/signal.h: Likewise.
81474         * include/stdio.h: Likewise.
81475         * include/stdlib.h: Likewise.
81476         * include/string.h: Likewise.
81477         * include/sys/socket.h: Likewise.
81478         * include/sys/stat.h: Likewise.
81479         * include/sys/statfs.h: Likewise.
81480         * include/sys/statvfs.h: Likewise.
81481         * include/sys/syslog.h: Likewise.
81482         * include/sys/time.h: Likewise.
81483         * include/sys/uio.h: Likewise.
81484         * include/time.h: Likewise.
81485         * include/unistd.h: Likewise.
81486         * include/utmp.h: Likewise.
81487         * include/wchar.h: Likewise.
81488         * include/wctype.h: Likewise.
81489         * inet/aliases.h: Likewise.
81490         * inet/arpa/inet.h: Likewise.
81491         * inet/netinet/ether.h: Likewise.
81492         * inet/netinet/in.h: Likewise.
81493         * intl/libintl.h: Likewise.
81494         * io/bits/fcntl2.h: Likewise.
81495         * io/fcntl.h: Likewise.
81496         * io/ftw.h: Likewise.
81497         * io/sys/poll.h: Likewise.
81498         * io/sys/stat.h: Likewise.
81499         * io/sys/statfs.h: Likewise.
81500         * io/sys/statvfs.h: Likewise.
81501         * io/utime.h: Likewise.
81502         * libio/bits/stdio.h: Likewise.
81503         * libio/bits/stdio2.h: Likewise.
81504         * libio/libio.h: Likewise.
81505         * libio/libioP.h: Likewise.
81506         * libio/stdio.h: Likewise.
81507         * locale/lc-ctype.c: Likewise.
81508         * locale/locale.h: Likewise.
81509         * login/utmp.h: Likewise.
81510         * malloc/arena.c: Likewise.
81511         * malloc/malloc.c: Likewise.
81512         * malloc/malloc.h: Likewise.
81513         * malloc/mcheck.c: Likewise.
81514         * malloc/mtrace.c: Likewise.
81515         * math/bits/mathcalls.h: Likewise.
81516         * math/fenv.h: Likewise.
81517         * math/math_private.h: Likewise.
81518         * misc/bits/error.h: Likewise.
81519         * misc/bits/syslog.h: Likewise.
81520         * misc/err.h: Likewise.
81521         * misc/error.h: Likewise.
81522         * misc/fstab.h: Likewise.
81523         * misc/mntent.h: Likewise.
81524         * misc/regexp.h: Likewise.
81525         * misc/search.h: Likewise.
81526         * misc/sgtty.h: Likewise.
81527         * misc/sys/mman.h: Likewise.
81528         * misc/sys/syslog.h: Likewise.
81529         * misc/sys/uio.h: Likewise.
81530         * misc/sys/xattr.h: Likewise.
81531         * misc/ttyent.h: Likewise.
81532         * nis/rpcsvc/ypclnt.h: Likewise.
81533         * nss/nss.h: Likewise.
81534         * posix/bits/unistd.h: Likewise.
81535         * posix/fnmatch.h: Likewise.
81536         * posix/glob.h: Likewise.
81537         * posix/sched.h: Likewise.
81538         * posix/spawn.h: Likewise.
81539         * posix/sys/wait.h: Likewise.
81540         * posix/unistd.h: Likewise.
81541         * posix/wordexp.h: Likewise.
81542         * pwd/pwd.h: Likewise.
81543         * resolv/netdb.h: Likewise.
81544         * resource/sys/resource.h: Likewise.
81545         * rt/aio.h: Likewise.
81546         * rt/bits/mqueue2.h: Likewise.
81547         * rt/mqueue.h: Likewise.
81548         * shadow/shadow.h: Likewise.
81549         * signal/signal.h: Likewise.
81550         * socket/send.c: Likewise.
81551         * socket/sendto.c: Likewise.
81552         * socket/sys/socket.h: Likewise.
81553         * stdio-common/printf.h: Likewise.
81554         * stdlib/bits/stdlib.h: Likewise.
81555         * stdlib/fmtmsg.h: Likewise.
81556         * stdlib/monetary.h: Likewise.
81557         * stdlib/stdlib.h: Likewise.
81558         * stdlib/ucontext.h: Likewise.
81559         * streams/stropts.h: Likewise.
81560         * string/argz.h: Likewise.
81561         * string/bits/string2.h: Likewise.
81562         * string/string.h: Likewise.
81563         * string/strings.h: Likewise.
81564         * sunrpc/rpc/auth.h: Likewise.
81565         * sunrpc/rpc/auth_des.h: Likewise.
81566         * sunrpc/rpc/clnt.h: Likewise.
81567         * sunrpc/rpc/netdb.h: Likewise.
81568         * sunrpc/rpc/pmap_clnt.h: Likewise.
81569         * sunrpc/rpc/xdr.h: Likewise.
81570         * sysdeps/generic/inttypes.h: Likewise.
81571         * sysdeps/generic/net/if.h: Likewise.
81572         * sysdeps/generic/sys/swap.h: Likewise.
81573         * sysdeps/gnu/net/if.h: Likewise.
81574         * sysdeps/gnu/utmpx.h: Likewise.
81575         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
81576         * sysdeps/i386/i486/bits/string.h: Likewise.
81577         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
81578         * sysdeps/s390/bits/string.h: Likewise.
81579         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
81580         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
81581         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
81582         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
81583         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
81584         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
81585         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
81586         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
81587         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
81588         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
81589         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
81590         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
81591         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
81592         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
81593         * sysdeps/unix/sysv/linux/readv.c: Likewise.
81594         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
81595         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
81596         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81597         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
81598         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
81599         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
81600         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
81601         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
81602         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
81603         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
81604         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
81605         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
81606         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81607         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
81608         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
81609         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
81610         * sysvipc/sys/ipc.h: Likewise.
81611         * sysvipc/sys/msg.h: Likewise.
81612         * sysvipc/sys/sem.h: Likewise.
81613         * sysvipc/sys/shm.h: Likewise.
81614         * termios/termios.h: Likewise.
81615         * time/sys/time.h: Likewise.
81616         * time/time.h: Likewise.
81617         * wcsmbs/bits/wchar2.h: Likewise.
81618         * wcsmbs/uchar.h: Likewise.
81619         * wcsmbs/wchar.h: Likewise.
81620         * wctype/wctype.h: Likewise.
81622         [BZ #13551]
81623         * Makeconfig: Remove all but ELF support including AIX support.
81624         * Makerules: Likewise.
81625         * config.h.in: Likewise.
81626         * config.make.in: Likewise.
81627         * configure: Likewise.
81628         * configure.in: Likewise.
81629         * csu/Makefile: Likewise.
81630         * csu/version.c: Likewise.
81631         * debug/Makefile: Likewise.
81632         * dlfcn/Makefile: Likewise.
81633         * elf/Makefile: Likewise.
81634         * extra-lib.mk: Likewise.
81635         * iconv/Makefile: Likewise.
81636         * include/libc-symbols.h: Likewise.
81637         * include/shlib-compat.h: Likewise.
81638         * resolv/Makefile: Likewise.
81639         * resolv/res_libc.c: Likewise.
81640         * rt/Makefile: Likewise.
81641         * sysdeps/i386/asm-syntax.h: Likewise.
81642         * sysdeps/i386/sysdep.h: Likewise.
81643         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
81644         * sysdeps/mach/sysdep.h: Likewise.
81645         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
81646         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
81647         * sysdeps/s390/asm-syntax.h: Likewise.
81648         * sysdeps/s390/s390-32/sysdep.h: Likewise.
81649         * sysdeps/s390/s390-64/sysdep.h: Likewise.
81650         * sysdeps/sh/sysdep.h: Likewise.
81651         * sysdeps/unix/sparc/sysdep.h: Likewise.
81652         * sysdeps/wordsize-32/divdi3.c: Likewise.
81653         * sysdeps/x86_64/sysdep.h: Likewise.
81655         * argp/Versions: Remove _argp_unlock_xxx.
81657         [BZ #13559]
81658         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
81659         * abilist/libBrokenLocale.abilist: Likewise.
81660         * abilist/libanl.abilist: Likewise.
81661         * abilist/libc.abilist: Likewise.
81662         * abilist/libcrypt.abilist: Likewise.
81663         * abilist/libdl.abilist: Likewise.
81664         * abilist/libm.abilist: Likewise.
81665         * abilist/libnsl.abilist: Likewise.
81666         * abilist/libpthread.abilist: Likewise.
81667         * abilist/libresolv.abilist: Likewise.
81668         * abilist/librt.abilist: Likewise.
81669         * abilist/libthread_db.abilist: Likewise.
81670         * abilist/libutil.abilist: Likewise.
81671         * abilist/libnss_db.abilist: New file.
81673         * scripts/abilist.awk: Add support for indirect functions.
81675         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
81677         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
81679         * shlib-versions: Remove entries for ports architectures.
81681         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
81682         files in ports.
81683         * elf/stackguard-macros.h: Remove support for IA-64.
81684         * elf/tst-auditmod1.c: Likewise.
81685         * sysdeps/generic/ldsodefs.h: Likewise.
81687         * sysdeps/unix/sysv/linux/configure.in: Ports should define
81688         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
81689         configure files.
81691         [BZ #13552]
81692         * configure.in: Remove --enable-omitfp support.
81693         * FAQ.in: Adjust.
81694         * config.make.in: Likewise.
81695         * Makeconfig: Likewise.
81696         * manual/install.texi: Likewise.
81698         In case anyone cares, the IA-64 architecture could move to ports.
81699         * sysdeps/ia64/*: Removed.
81700         * sysdeps/unix/sysv/linux/ia64/*: Removed.
81701         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
81703         [BZ #13555]
81704         * configure.in: Remove entries for unsupported architectures.
81706         [BZ #13533]
81707         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
81708         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
81709         routines.
81710         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
81711         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
81712         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
81713         fall back to using wcrtomb.
81714         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
81715         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
81716         renaming.
81717         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
81718         * wcsmbs/tst-c16c32-1.c: New file.
81720         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
81721         local variable.
81723         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
81725         * elf/tst-unique3.cc: Add explicit declaration of gets.
81726         * elf/tst-unique3lib.cc: Likewise.
81727         * elf/tst-unique3lib2.cc: Likewise.
81728         * elf/tst-unique4.cc: Likewise.
81730         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
81732 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
81734         [BZ #13566]
81735         * assert/assert.h (static_assert): Don't define for C++.
81736         * libio/stdio.h (gets): Do declare for C++ <= C++11.
81737         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
81739 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
81741         * iconv/loop.c (single loop): Fix assertion in storing of
81742         remaining bytes.
81744         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
81746 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
81748         * posix/getconf.c: Update copyright year.
81749         * nss/getent.c: Likewise.
81750         * nss/makedb.c: Likewise.
81751         * iconv/iconvconfig.c: Likewise.
81752         * iconv/iconv_prog.c: Likewise.
81753         * elf/ldconfig.c: Likewise.
81754         * elf/pldd.c: Likewise.
81755         * elf/sotruss.ksh: Likewise.
81756         * catgets/gencat.c: Likewise.
81757         * csu/version.c: Likewise.
81758         * elf/ldd.bash.in: Likewise.
81759         * elf/sprof.c (print_version): Likewise.
81760         * locale/programs/locale.c: Likewise.
81761         * locale/programs/localedef.c: Likewise.
81762         * login/programs/pt_chown.c: Likewise.
81763         * nscd/nscd.c (print_version): Likewise.
81764         * debug/xtrace.sh: Likewise.
81765         * malloc/memusage.sh: Likewise.
81766         * malloc/mtrace.pl: Likewise.
81767         * debug/catchsegv.sh: Likewise.
81769 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
81771         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
81772         pure attribute.
81774 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
81776         [BZ #13533]
81777         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
81778         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
81779         transformations.
81780         * iconv/gconv_int.h: Likewise.
81781         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
81782         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
81783         from libc for GLIBC_2.16.
81784         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
81785         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
81786         * wcsmbs/uchar.h: Really define mbstate_t.
81787         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
81788         * wcsmbs/c16rtomb.c: New file.
81789         * wcsmbs/mbrtoc16.c: New file.
81790         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
81791         for C/POSIX locale.
81792         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
81793         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
81795         * wcsmbs/wchar.h: Add missing __restrict.
81797 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
81799         [BZ #13532]
81800         * time/Makefile (routines): Add timespec_get.
81801         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
81802         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
81803         timespec for ISO C11.
81804         * time/timespec_get.c: New file.
81805         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
81806         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
81808         [BZ #13531]
81809         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
81810         * stdlib/stdlib.h: Declare aligned_alloc.
81811         * Versions.def: Add GLIBC_2.16 for libc.
81812         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
81814         [BZ 13527]
81815         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
81816         ISO C11.
81818         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
81819         code.
81821         [BZ #13528]
81822         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
81824         [BZ #13529]
81825         * assert/assert.h (static_assert): Define.
81827         * version.h: Update for 2.16 development version.
81829         [BZ #13526]
81830         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
81831         _ISOC11_SOURCE.
81833         * version.h (RELEASE): Bump for 2.15 release.
81834         * include/features.h (__GLIBC_MINOR__): Bump to 15.
81836         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
81837         Patch by Marek Polacek <mpolacek@redhat.com>.
81839         * bits/byteswap.h: Protect long long constants with __extension__.
81840         * sysdeps/i386/bits/byteswap.h: Likewise.
81841         * sysdeps/ia64/bits/byteswap.h: Likewise.
81842         * sysdeps/s390/bits/byteswap.h: Likewise.
81843         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81845 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81847         [BZ #13540]
81848         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
81849         destination buffer.
81850         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
81852 2011-12-23  Marek Polacek  <polacek@redhat.com>
81854         * elf/dl-addr.c (determine_info): Add inline keyword.
81855         * elf/tst-auditmod4b.c (check_avx): Likewise.
81856         * elf/tst-auditmod6b.c (check_avx): Likewise.
81857         * elf/tst-auditmod6c.c (check_avx): Likewise.
81858         * elf/tst-auditmod7b.c (check_avx): Likewise.
81860 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
81862         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
81863         !__SSE_MATH__.
81865 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81867         [BZ #13540]
81868         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
81869         processing for last bytes.
81871 2011-08-06  Bruno Haible  <bruno@clisp.org>
81873         [BZ #13061]
81874         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
81875         U+0385, not to U+1FEE.
81877         [BZ #13062]
81878         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
81879         entry for U+00A5 U+0301.
81881 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
81883         [BZ #13166]
81884         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
81885         buffer for the output is too small.
81887         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
81888         optimization.
81890         [BZ #13185]
81891         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
81892         SSE flags if possible.
81894 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81896         [BZ #13540]
81897         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
81898         processing for last bytes.
81900 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
81902         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
81903         (syscall-list-default-options, syscall-list-default-condition)
81904         (syscall-list-includes): Define.
81905         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
81906         list of ABIs and options and #if conditions for each ABI.  Do not
81907         handle common syscalls between ABIs specially.
81908         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
81909         Remove.
81910         (syscall-list-variants, syscall-list-32bit-options)
81911         (syscall-list-32bit-condition, syscall-list-64bit-options)
81912         (syscall-list-64bit-condition): Define.
81913         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
81914         (syscall-list-variants, syscall-list-32bit-options)
81915         (syscall-list-32bit-condition, syscall-list-64bit-options)
81916         (syscall-list-64bit-condition): Define.
81917         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
81918         Remove.
81919         (syscall-list-variants, syscall-list-32bit-options)
81920         (syscall-list-32bit-condition, syscall-list-64bit-options)
81921         (syscall-list-64bit-condition): Define.
81922         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
81923         Remove.
81924         (syscall-list-variants, syscall-list-32bit-options)
81925         (syscall-list-32bit-condition, syscall-list-64bit-options)
81926         (syscall-list-64bit-condition): Define.
81928 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
81930         * locale/iso-639.def: Add brx entry.
81932         [BZ #13328]
81933         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
81934         Proposed by Mariusz_Cukr <marcukr@op.pl>.
81936         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
81937         __feraiseexcept_renamed.
81939 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
81941         [BZ #13538]
81942         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
81943         EPOLLET with unsigned values.
81944         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81945         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
81947         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
81948         to large cancellation.
81949         * math/s_cacoshf.c: Likewise.
81950         * math/s_cacoshl.c: Likewise.
81952 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
81954         [BZ #13305]
81955         [BZ #12786]
81956         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
81957         * math/s_cacoshf.c: Likewise.
81958         * math/s_cacoshl.c: Likewise.
81960 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
81962         [BZ #13439]
81963         * iconv/gconv.h: Define __GCONV_SWAP.
81964         * iconvdata/unicode.c: The swap bit must be stored in __flags.
81965         * iconvdata/utf-16.c: Likewise.
81966         * iconvdata/utf-32.c: Likewise.
81968 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
81970         [BZ #13524]
81971         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
81972         numerator after shifting it by one limb.
81974 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
81976         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
81977         under [__USE_EXTERN_INLINES].
81979 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
81981         [BZ #13446]
81982         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
81984 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81986         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
81987         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
81988         optimized code.
81989         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
81990         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
81991         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
81992         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
81993         for strncasecmp/strncasecmp_l compilation.
81994         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
81995         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
81997 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
81999         [BZ #13484]
82000         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
82001         of __asm__.
82003 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82005         [BZ #13506]
82006         * time/tzfile.c (__tzfile_read): Check values from file header.
82008 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
82010         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
82011         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
82012         * powerpc/powerpc32/dl-start.S: Likewise.
82013         * powerpc/powerpc32/elf/start.S: Likewise.
82014         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
82015         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
82016         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
82017         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
82018         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
82019         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
82020         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
82021         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
82022         * powerpc/powerpc32/fpu/s_round.S: Likewise.
82023         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
82024         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
82025         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
82026         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
82027         * powerpc/powerpc32/memset.S: Likewise.
82028         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
82029         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
82030         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
82031         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
82032         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
82033         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
82034         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
82035         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
82036         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
82037         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
82038         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
82039         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82040         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82042 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82044         * math/libm-test.inc: Added more nearbyint tests.
82045         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
82046         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
82047         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
82048         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
82050 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
82052         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
82053         FD_CLOEXEC.
82055 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82057         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
82058         Add wcscpy-ssse3 wcscpy-c.
82059         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
82060         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
82061         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
82062         * sysdeps/x86_64/wcschr.S: New file.
82063         * sysdeps/x86_64/wcsrchr.S: New file.
82064         * string/test-strcmp.c: Remove checking of wcscmp function for
82065         wrong alignments.
82066         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
82067         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
82068         wcsrchr-sse2 wcsrchr-c.
82069         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
82070         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
82071         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
82072         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
82073         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
82074         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
82075         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
82076         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
82077         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
82078         * wcsmbc/wcschr.c (WCSCHR): New macro.
82080 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82082         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
82083         * wcsmbs/test-wcsrchr.c: New file.
82084         * string/test-strrchr.c: Add wcsrchr support.
82085         (WIDE): New macro.
82086         * wcsmbs/test-wcscpy.c: New file.
82087         * string/test-strcpy.c: Add wcscpy support.
82088         (WIDE): New macro.
82090 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
82092         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
82093         the inner loop.
82095 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
82097         [BZ #13472]
82098         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
82100 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
82102         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
82103         Minor optimizations.
82105         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
82106         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
82107         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
82109 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
82111         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
82112         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
82113         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
82114         for gcc to avoid warnings.
82115         * inet/Makefile (tests): Add tst-checks.
82116         * inet/tst-checks.c: New file.
82118         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
82119         warning.
82121         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
82122         __wmemcmp_sse2.
82124         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
82125         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
82127         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
82129 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
82131         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
82132         problem.
82134         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
82136 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
82138         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
82139         conditional on GCC version.
82140         (__arch_compare_and_exchange_val_8_acq)
82141         (__arch_compare_and_exchange_val_16_acq)
82142         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
82143         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
82144         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
82146 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
82148         * sysdeps/sh/backtrace.c: New file.
82150 2011-12-02  Andreas Schwab  <schwab@redhat.com>
82152         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
82153         parenthesis.
82155 2011-12-01  Andreas Schwab  <schwab@redhat.com>
82157         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
82158         falling back to utime.
82160 2011-11-30  Andreas Schwab  <schwab@redhat.com>
82162         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
82163         expectations for float.
82165 2011-11-29  Andreas Schwab  <schwab@redhat.com>
82167         * locale/weight.h (findidx): Add parameter len.
82168         * locale/weightwc.h (findidx): Likewise.
82169         * posix/fnmatch_loop.c (FCT): Adjust caller.
82170         * posix/regcomp.c (build_equiv_class): Likewise.
82171         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
82172         * posix/regexec.c (check_node_accept_bytes): Likewise.
82173         * string/strcoll_l.c (STRCOLL): Likewise.
82174         * string/strxfrm_l.c (STRXFRM): Likewise.
82176 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
82178         * Makefile.in: Remove CVSOPT handling.
82179         * configure.in: Remove use of AC_REVISION.
82180         * iconvdata/Makefile (distribute): No need to filter out CVS.
82181         * scripts/list-sources.sh: Remove CVS, subversion and monotone
82182         handling.
82184 2011-11-16  Andreas Schwab  <schwab@redhat.com>
82186         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
82187         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
82188         [USE_AS_STRNCASECMP_L]: Likewise.
82189         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
82190         NO_TLS_DIRECT_SEG_REFS.
82191         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
82192         Fix argument offsets for non-PIC.
82193         [USE_AS_STRNCASECMP_L]: Likewise.
82194         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
82195         NO_TLS_DIRECT_SEG_REFS.
82197 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82199         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
82200         O_CLOEXEC.
82201         * locale/loadlocale.c (_nl_load_locale): Likewise.
82203 2011-11-15  Andreas Schwab  <schwab@redhat.com>
82205         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
82206         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
82207         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
82208         (SYSCALL_GETTIME): Set errno on error.
82210         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
82211         count references to noai6ai_cached.
82213 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82215         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
82217         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
82218         FD_CLOEXEC for /proc/self/maps.
82220         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
82221         FD_CLOEXEC for /proc/meminfo.
82223         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
82224         gai.conf.
82226         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
82227         FD_CLOEXEC for given file.
82229         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
82231         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
82232         FD_CLOEXEC for /etc/hosts.
82233         (_gethtent): Likewise.
82235         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
82237         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
82238         cancellation and set FD_CLOEXEC for /etc/netgroup.
82240         * nss/nss_files/files-key.c (search): Don't allow cancellation when
82241         reading /etc/publickey.
82243         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
82244         allow cancellation when reading /etc/group.
82246         * nss/nss_files/files-alias.c (internal_setent): Don't allow
82247         cancellation.
82248         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
82250         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
82251         when using data file.
82253         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
82255         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
82256         (write_nis_obj): Use "c" and "e" in fopen.
82258         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
82260         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
82262         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
82264         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
82266         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
82267         locale.alias.
82269         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
82271         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
82273         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
82275         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
82276         file parsing and set FD_CLOEXEC.
82278 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82280         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
82282 2011-11-14  Andreas Schwab  <schwab@redhat.com>
82284         * malloc/arena.c (arena_get2): Don't call reused_arena when
82285         _int_new_arena failed.
82287 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82289         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
82290         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
82291         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
82292         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82293         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82294         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
82295         to compile strcasecmp and strncasecmp.
82296         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
82297         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
82299         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
82301 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
82303         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
82304         locale-defines.sym to gen-as-const-headers.
82305         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
82306         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
82307         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
82308         to compile strcasecmp and strncasecmp.
82309         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
82310         strcasecmp_l and strncasecmp_l.
82311         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
82312         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
82313         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
82314         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
82315         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
82316         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
82317         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
82318         * sysdeps/i386/i686/multiarch/strncase.S: New file.
82319         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
82320         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
82321         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
82323 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
82325         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
82326         result of SYSDEP_GETTIME_CPU to retval.
82327         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
82328         parameter list to macro.  Remove trailing semicolon.  Adjust users.
82330         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
82331         variable.
82333         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
82334         mantissa words.
82335         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
82337         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
82338         from unused variable.
82340         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
82341         DWARF definitions.
82342         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
82343         for assembling.
82345         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
82346         over namespaces.
82348         * sunrpc/rpc_prot.c (rejected): Fix case value.
82350         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
82351         unsigned long long int to avoid warnings in shift.
82353         * posix/regex_internal.c (re_string_reconstruct): Actually use result
82354         of use of trans.
82355         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
82356         variable tmp.
82358         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
82359         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
82360         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
82362         * nis/nis_table.c (nis_list): Use variable of correct type for
82363         result of __follow_path call.
82365 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82367         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
82368         of math functions ceil, trunc, floor, round, and sqrt, when
82369         avaliable on the platform.
82370         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
82371         name clash.
82372         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82373         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82374         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82376 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
82378         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
82379         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
82381 2011-11-11  Roland McGrath  <roland@hack.frob.com>
82383         * include/unistd.h: Fix __readlink return type.
82384         Reported by Chris Metcalf <cmetcalf@tilera.com>.
82386 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
82388         * stdlib/ucontext.h: Undo last change for makecontext.
82390 2011-11-11  Andreas Schwab  <schwab@redhat.com>
82392         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
82394         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
82395         * setjmp/setjmp.h: Mark functions as non-leaf.
82396         * setjmp/bits/setjmp2.h: Likewise.
82397         * stdlib/ucontext.h: Likewise.
82399 2011-11-10  Andreas Schwab  <schwab@redhat.com>
82401         * malloc/arena.c (_int_new_arena): Don't increment narenas.
82402         (reused_arena): Don't check arena limit.
82403         (arena_get2): Atomically check arena limit.
82405 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
82407         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
82408         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
82410         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
82411         instructions.
82413 2011-11-07  Andreas Schwab  <schwab@redhat.com>
82415         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
82416         handler when locking.
82418         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
82419         Fix size of allocated buffer.
82421 2011-11-04  Andreas Schwab  <schwab@redhat.com>
82423         [BZ #10103]
82424         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
82425         declarations for long double functions.
82426         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
82428         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
82430 2011-11-03  Andreas Schwab  <schwab@redhat.com>
82432         * nscd/nscd.c (main): Don't start AVC thread until credentials are
82433         installed.
82435         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
82436         is disabled.
82438 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82440         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
82442 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
82444         * include/alloca.h (stackinfo_alloca_round): Define.
82445         (extend_alloca): Use it.
82446         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
82447         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
82448         here.
82450         * scripts/check-local-headers.sh: Ignore libaudit.h.
82452         * nscd/Makefile (extra-objs): Make recursively expanded.
82454 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
82456         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
82457         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
82459         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
82460         * posix/tst-rfc3484-2.c: Likewise.
82461         * posix/tst-rfc3484-3.c: Likewise.
82463         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
82464         process_vm_writev.
82465         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
82466         process_vm_writev.
82467         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
82468         process_vm_writev from libc using GLIBC_2.15 version.
82470         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
82472 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
82474         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
82475         stack usage.
82477 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
82479         [BZ #13367]
82480         * nss/getent.c (initgroups_keys): Show error message in case no group
82481         names are given.
82483         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
82484         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
82485         __bump_nl_timestamp.
82486         * nscd/connections (nscd_init): When host database is served open
82487         netlink socket and request notification about configuration changes.
82488         (main_loop_poll): Track netlink file descriptor and bump timestamp
82489         in case data becomes available.
82490         (main_loop_epoll): Likewise.
82491         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
82492         (database_pers_head): Add extra_data fileds.
82493         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
82494         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
82495         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
82496         Adjust caller.
82497         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
82498         in6ai data, call __free_in6ai.
82499         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
82500         Add -DHAVE_NETLINK.
82501         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
82502         interface information.  Reuse previous data if netlink timestamp
82503         is not changed.
82504         (__bump_nl_timestamp): New function.
82505         (__free_in6ai): New function.
82507 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
82509         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
82510         close_not_cancel_no_status here.
82511         (__check_pf): Reorganize code a bit to not call close twice if OOM.
82513 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
82515         [BZ #13276]
82516         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
82517         return value.
82519         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
82520         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
82521         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
82523 2011-07-03  Andreas Jaeger  <aj@suse.de>
82525         [BZ #10709]
82526         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
82527         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
82528         * math/libm-test.inc (sin_test): Add test case.
82530 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
82532         [BZ #13337]
82533         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
82534         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
82536         * elf/chroot_canon.c (chroot_canon): Cleanups.
82538         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
82540         [BZ #13335]
82541         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
82542         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
82544         * string/test-strchr.c: Make usable for strchrnul testing.
82545         * string/test-strchrnul.c: New file.
82546         * string/Makefile (strop-tests): Add strchrnul.
82548         * po/it.po: Update from translation team.
82549         * po/es.po: Likewise.
82551 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
82553         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
82554         the three constants needed as parameters.  Drop the others.
82555         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
82556         __m128i_strloadu_tolower.
82557         Create and initialize variable zero and use it in all the places
82558         where _mm_setzero_si128 was used.
82560         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
82561         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
82562         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
82563         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
82564         anymore.
82565         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
82566         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
82567         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
82568         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
82569         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
82570         __mpranred, __mptan.
82571         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
82572         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
82573         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
82574         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
82575         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
82576         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
82577         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
82578         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
82579         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
82581 2011-10-28  Andreas Schwab  <schwab@redhat.com>
82583         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
82584         redefine if SHARED.
82585         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
82587         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
82588         wide char related routines to wcsmbs subdir.
82590 2011-10-27  Andreas Schwab  <schwab@redhat.com>
82592         [BZ #13344]
82593         * misc/sys/cdefs.h (__THROWNL): Define.
82594         * posix/unistd.h: Use __THREADNL instead of __THREAD
82595         for memory synchronization functions.
82597 2011-10-26  Roland McGrath  <roland@hack.frob.com>
82599         [BZ #13349]
82600         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
82601         doesn't exist.
82602         * manual/stdio.texi (Obstack Streams): Node removed.
82604 2011-10-26  Andreas Schwab  <schwab@redhat.com>
82606         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
82607         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
82608         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
82610         * math/math_private.h (math_force_eval): Allow non-addressable
82611         arguments.
82612         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
82614 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
82616         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
82617         file is not needed.
82619         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
82620         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
82621         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82622         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82623         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82624         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82625         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82626         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
82627         Add AVX variants.
82628         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
82629         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
82630         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
82631         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
82632         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
82633         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
82634         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
82635         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
82636         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
82637         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
82638         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
82639         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
82640         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
82641         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
82642         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
82643         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
82644         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
82645         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
82646         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
82648         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
82649         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
82651         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
82652         place.  Use VEX encoding when compiling for AVX.
82654 2011-10-25  Andreas Schwab  <schwab@redhat.com>
82656         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
82657         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
82659         * string/test-strchr.c (do_test): Don't generate NUL bytes.
82661 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
82663         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
82664         useless if() expression.
82665         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82666         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
82667         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
82668         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82669         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
82670         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
82671         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82672         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82673         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
82674         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82675         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82676         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82677         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
82678         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82679         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
82680         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
82681         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82682         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82683         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
82685         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
82687 2011-10-25  Andreas Schwab  <schwab@redhat.com>
82689         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
82690         condition.
82691         * elf/dl-fini.c (_dl_sort_fini): Likewise.
82693 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
82695         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
82696         .text section.  Avoid duplicate constants.
82697         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
82698         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82699         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82700         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82701         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82702         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82703         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82704         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82705         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
82706         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
82707         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
82708         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
82709         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
82710         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
82711         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
82712         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
82713         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
82714         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
82715         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
82716         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82717         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
82718         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
82719         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
82720         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
82721         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
82722         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
82723         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
82724         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
82725         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
82726         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
82727         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
82728         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
82729         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
82730         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
82731         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
82732         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
82733         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
82734         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
82735         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
82736         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
82737         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
82738         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
82739         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
82740         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
82741         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
82743 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
82745         * sysdeps/x86_64/dla.h: Move to ...
82746         * sysdeps/x86_64/fpu/dla.h: ...here.
82747         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
82748         situations.  Use __builtin_fma only for gcc 4.6 and up.
82750         * config.make.in: Add have-mfma4 entry.
82751         * configure.in: Substitute libc_cv_cc_fma4.
82752         * math/Makefile (dbl-only-routines): Add sincostab.
82753         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
82754         Use __sincostab not sincos.
82755         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
82756         name is a macro.
82757         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82758         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82759         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82760         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
82761         using __copysign.
82762         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
82763         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
82764         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
82765         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
82766         and __inv.
82767         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
82768         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
82769         __copysign.
82770         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
82771         define aliases when function name is a macro.
82772         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
82773         sysdeps/ieee754/dbl-64/sincos.tbl.
82774         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
82775         fma4-enabled routines.
82776         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
82777         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
82778         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
82779         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
82780         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
82781         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
82782         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
82783         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
82784         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
82785         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
82786         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
82787         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
82788         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
82789         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
82790         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
82791         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
82792         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
82793         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
82794         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
82795         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
82796         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
82797         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
82798         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
82799         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
82800         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
82801         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
82802         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
82803         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
82804         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
82805         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
82807         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
82808         rename.
82809         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82810         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82811         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82812         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82813         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82814         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82815         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82816         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82818 2011-10-24  Andreas Schwab  <schwab@redhat.com>
82820         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
82822 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82824         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
82826         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
82827         prediction.
82828         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
82830         * string/strnlen.c: Don't define STRNLEN, reverse logic.
82831         Remove unused variable magic_bits.
82832         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
82834         * string/strnlen.c: Define and use STRNLEN macro.
82835         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
82836         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
82837         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
82838         * wcsmbs/wcslen.c: Define and use WCSLEN.
82839         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
82840         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
82841         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
82842         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
82843         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
82844         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
82845         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
82847 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82849         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82850         strnlen-sse2-no-bsf.
82851         Rename strlen-no-bsf to strlen-sse2-no-bsf.
82852         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
82853         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
82854         Add strnlen support.
82855         (USE_AS_STRNLEN): New macro.
82856         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
82857         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
82858         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
82859         * sysdeps/x86_64/wcslen.S: New file.
82861 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
82863         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
82864         XMM-moves are used for copying on small sizes.
82866 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82868         * wcsmbs/Makefile (strop-tests): Add wcschr.
82869         * wcsmbs/test-wcschr.c: New file.
82870         * string/test-strchr.c: Update.
82871         Add wcschr support.
82872         (WIDE): New macro.
82874 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82876         * wcsmbs/Makefile (strop-tests): Add wcslen.
82877         * wcsmbs/test-wcslen.c: New file.
82878         * string/test-strlen.c: Update.
82879         Add wcslen support.
82880         (WIDE): New macro.
82882 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82884         * po/it.po: Update from translation team.
82886 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82888         * sysdeps/x86_64/wcscmp.S: Update.
82889         Fix wrong comparison semantics.
82890         wcscmp shall use signed comparison not unsigned.
82891         Don't use substraction to avoid overflow bug.
82892         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
82893         * wcsmbc/wcscmp.c: Likewise.
82894         * string/test-strcmp.c: Likewise.
82895         Add new tests to check cases with negative values.
82897 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
82899         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
82900         * sysdeps/x86_64/dla.h: ...here.  New file.
82901         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
82902         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82903         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82904         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82905         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82906         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
82907         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82908         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82909         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82911 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
82913         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
82914         __ynl_finite aliases.
82916 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
82918         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82920         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
82921         define DLA_FMA.
82922         [DLA_FMA] (EMULV): Use DLA_FMA.
82923         [DLA_FMA] (MUL12): Use EMULV.
82924         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
82925         that are not needed.
82926         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82927         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82928         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82929         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82930         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82931         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
82932         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82934 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
82936         * math/s_nan.c: Undef __nan.
82937         * math/s_nanf.c: Undef __nanf.
82938         * math/s_nanl.c: Undef __nanl.
82939         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
82940         "math_private.h".
82942 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
82944         * math/s_catan.c: Add branch predictions.
82945         * math/s_catanf.c: Likewise.
82946         * math/s_catanh.c: Likewise.
82947         * math/s_catanhf.c: Likewise.
82948         * math/s_catanhl.c: Likewise.
82949         * math/s_catanl.c: Likewise.
82950         * math/s_cexp.c: Likewise.
82951         * math/s_cexpf.c: Likewise.
82952         * math/s_cexpl.c: Likewise.
82953         * math/s_clog.c: Likewise.
82954         * math/s_clog10.c: Likewise.
82955         * math/s_clog10f.c: Likewise.
82956         * math/s_clog10l.c: Likewise.
82957         * math/s_clogf.c: Likewise.
82958         * math/s_clogl.c: Likewise.
82959         * math/s_csqrt.c: Likewise.
82960         * math/s_csqrtf.c: Likewise.
82961         * math/s_csqrtl.c: Likewise.
82962         * math/s_ctanf.c: Likewise.
82963         * math/s_ctanh.c: Likewise.
82964         * math/s_ctanhf.c: Likewise.
82965         * math/s_ctanhl.c: Likewise.
82966         * math/s_ctanl.c: Likewise.
82968         * math/math_private.h: Define __nan, __nanf, __nanl.
82969         * math/s_cacosh.c: Include <math_private.h>.
82970         * math/s_cacoshl.c: Likewise.
82971         * math/s_casinh.c: Likewise.
82972         * math/s_casinhf.c: Likewise.
82973         * math/s_casinhl.c: Likewise.
82974         * math/s_ccos.c: Rely entire on ccosh.
82975         * math/s_ccosf.c: Rely entire on ccoshf.
82976         * math/s_ccosl.c: Rely entirely on ccoshl.
82977         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
82978         Remove tests for FE_INVALID.
82979         * math/s_ccoshf.c: Likewise.
82980         * math/s_ccoshl.c: Likewise.
82981         * math/s_csin.c: Likewise.
82982         * math/s_csinf.c: Likewise.
82983         * math/s_csinh.c Likewise.
82984         * math/s_csinhf.c: Likewise.
82985         * math/s_csinhl.c: Likewise.
82986         * math/s_csinl.c: Likewise.
82987         * math/s_ctan.c: Likewise.
82988         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
82989         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
82990         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
82992 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
82994         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
82995         compilation problems.
82997         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
82998         __builtin_expect.
83000 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
83002         * sysdeps/i386/configure.in: Test for -mfma4 option.
83003         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
83004         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
83005         COMMON_CPUID_INDEX_80000001.
83006         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
83007         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
83008         use it if FMA3 is not supported.
83009         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
83011         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
83012         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
83014 2011-10-20  Andreas Schwab  <schwab@redhat.com>
83016         [BZ #12892]
83017         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
83018         it would create a cycle with a link time dependency.
83020 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
83022         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
83023         instruction.
83024         * string/Makefile (strop-tests): Add rawmemchr.
83025         * string/test-rawmemchr.c: New file.
83027         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
83028         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
83029         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
83030         when compiling str{,n}casecmp and when AVX is available.  Hook up
83031         new optimized code in initializers.
83033 2011-10-19  Andreas Schwab  <schwab@redhat.com>
83035         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
83036         __feraiseexcept instead of feraiseexcept.
83038 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
83040         * math/math_private.h: Define defaults for libc_fetestexcept and
83041         libc_feupdateenv.
83042         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
83043         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
83044         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83045         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83046         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83047         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83048         libc_fetestexcept and libc_feupdateenv.
83050         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
83051         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
83052         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
83053         * sysdeps/x86_64/fpu/math_private.h: Define special version of
83054         libc_feholdexcept_setround.
83056         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
83057         Add s_nearbyint-c and s_nearbyintf-c.
83058         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
83059         nearbyintf inlines.
83060         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
83061         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
83062         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
83063         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
83065         * math/math_private.h: Define defaults for libc_fegetround,
83066         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
83067         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
83068         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
83069         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
83070         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
83071         standard functions.
83072         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83073         Remove comments and hacks for old compiler versions.
83074         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83075         libc_fegetround, libc_fesetround, libc_feholdexcept, and
83076         libc_feholdexceptl.
83078 2011-10-18  Andreas Schwab  <schwab@redhat.com>
83080         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83081         (__feraiseexcept_renamed): Add __NTH.
83082         (feraiseexcept): Add __NTH.  Rename local variables to fix
83083         namespace violations.
83085 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
83087         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
83089         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
83091         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
83092         recently added interfaces.
83093         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
83095         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
83096         about macro parameter expansion.
83098         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
83099         __NO_MATH_INLINES is defined.  Cleanups.
83101         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
83102         and __floorf is target has SSE4.1.
83103         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
83104         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
83105         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
83106         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
83108         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
83109         name.
83110         (floorf): Likewise.
83112         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
83114 2011-10-17  Andreas Schwab  <schwab@redhat.com>
83116         * misc/sys/cdefs.h: Fix last change.
83118         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
83119         database lookup.
83121 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
83123         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
83125         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
83126         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83127         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83128         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83129         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83130         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83131         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83132         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83133         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83134         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
83135         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
83136         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
83137         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
83138         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
83139         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
83140         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
83141         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
83142         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
83143         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
83144         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
83145         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
83146         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
83148         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
83149         ceil, ceilf, floor, floorf.
83151         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
83152         Perform IRELATIVE relocations last.
83154         * elf/do-rel.h: Add another parameter nrelative, replacing the
83155         local variable with the same name.  Change name of the function
83156         to end in Rel or Rela (uppercase).
83157         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
83158         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
83159         elf_dynamic_do_##reloc function.
83161 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83163         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
83164         is sufficient, at least on modern CPUs.
83166         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
83168         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
83169         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
83171         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
83172         __expl_finite.
83173         * math/bits/math-finite.h: Add entries for exp.
83174         * math/e_expl.c: Add __*_finite alias.
83175         * sysdeps/i386/fpu/e_exp.S: Likewise.
83176         * sysdeps/i386/fpu/e_expf.S: Likewise.
83177         * sysdeps/i386/fpu/e_expl.c: Likewise.
83178         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83179         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83180         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
83181         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
83182         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
83183         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
83184         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
83186         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
83187         is sufficient, at least on modern CPUs.
83189         * ctype/ctype-info.c (__ctype_init): Define.
83190         * include/ctype.h (__ctype_init): Declare.
83191         (__ctype_b_loc): The variable is always initialized.
83192         (__ctype_toupper_loc): Likewise.
83193         (__ctype_tolower_loc): Likewise.
83194         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
83195         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
83197 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
83199         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
83201         * configure.in: Also look in $cxxmachine/include for C++ system
83202         headers.
83204 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83206         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
83207         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
83208         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
83209         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
83210         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
83211         (USE_AS_WMEMCMP): New macro.
83212         Fixing indents.
83213         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
83214         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
83215         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
83216         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
83217         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83218         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
83219         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
83220         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
83221         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
83222         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
83223         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
83224         (USE_AS_WMEMCMP): New macro.
83225         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
83226         * sysdeps/string/test-memcmp.c: Update.
83227         Fix simple_wmemcmp.
83228         Add new tests.
83229         * wcsmbs/wmemcmp.c: Update.
83230         (WMEMCMP): New macro.
83231         Fix overflow bug.
83233 2011-10-12  Andreas Jaeger  <aj@suse.de>
83235         [BZ #13268]
83236         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
83238 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83240         * libio/iofwide.c (do_length): Avoid warning.
83242         * ctype/ctype.h (__isctype_f): Add missing __THROW.
83244 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
83246         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
83248         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
83249         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
83250         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
83251         * sysdeps/i386/i686/fpu/e_log.S: New file.
83252         * sysdeps/i386/i686/fpu/e_logf.S: New file.
83253         * sysdeps/i386/i686/fpu/e_logl.S: New file.
83255         * ctype/ctype.h: Add support for inlined isXXX functions when
83256         compiling C++ code.
83258 2011-10-14  Andreas Schwab  <schwab@redhat.com>
83260         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83262         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
83264 2011-10-13  Roland McGrath  <roland@hack.frob.com>
83266         [BZ #13291]
83267         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
83269 2011-10-13  Andreas Schwab  <schwab@redhat.com>
83271         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
83272         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
83273         feraiseexcept.
83275         * sysdeps/x86_64/memrchr.S: Check for zero size.
83277         * string/stratcliff.c: Add memrchr tests.
83279 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83281         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83282         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
83283         rawmemchr-sse2 rawmemchr-sse2-bsf.
83284         * sysdeps/i386/i686/multiarch/memchr.S: New file.
83285         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
83286         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
83287         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
83288         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
83289         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
83290         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
83291         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
83292         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
83293         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
83294         * string/memrchr.c (MEMRCHR): New macro.
83296 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
83298         Add integration with gcc's -ffinite-math-only and optimize wrapper
83299         functions in libm.
83300         * Versions.def: Define GLIBC_2.15 version for libm.
83301         * math/Makefile (headers): Add bits/math-finite.h.
83302         * math/bits/math-finite.h: New file.
83303         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
83304         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
83305         * math/e_acoshl.c: Add __*_finite alias.
83306         * math/e_acosl.c: Likewise.
83307         * math/e_asinl.c: Likewise.
83308         * math/e_atan2l.c: Likewise.
83309         * math/e_atanhl.c: Likewise.
83310         * math/e_coshl.c: Likewise.
83311         * math/e_exp10.c: Likewise.
83312         * math/e_exp10f.c: Likewise.
83313         * math/e_exp10l.c: Likewise.
83314         * math/e_exp2l.c: Likewise.
83315         * math/e_fmodl.c: Likewise.
83316         * math/e_gammal_r.c: Likewise.
83317         * math/e_hypotl.c: Likewise.
83318         * math/e_j0l.c: Likewise.
83319         * math/e_j1l.c: Likewise.
83320         * math/e_jnl.c: Likewise.
83321         * math/e_lgammal_r.c: Likewise.
83322         * math/e_log10l.c: Likewise.
83323         * math/e_log2l.c: Likewise.
83324         * math/e_logl.c: Likewise.
83325         * math/e_powl.c: Likewise.
83326         * math/e_sinhl.c: Likewise.
83327         * math/e_sqrtl.c: Likewise.
83328         * math/e_scalb.c: Completely rewritten and optimized.
83329         * math/e_scalbf.c: Likewise.
83330         * math/e_scalbl.c: Likewise.
83331         * math/w_acos.c: Likewise.
83332         * math/w_acosf.c: Likewise.
83333         * math/w_acosl.c: Likewise.
83334         * math/w_acosh.c: Likewise.
83335         * math/w_acoshf.c: Likewise.
83336         * math/w_acoshl.c: Likewise.
83337         * math/w_asin.c: Likewise.
83338         * math/w_asinf.c: Likewise.
83339         * math/w_asinl.c: Likewise.
83340         * math/w_atan2.c: Likewise.
83341         * math/w_atan2f.c: Likewise.
83342         * math/w_atan2l.c: Likewise.
83343         * math/w_atanh.c: Likewise.
83344         * math/w_atanhf.c: Likewise.
83345         * math/w_atanhl.c: Likewise.
83346         * math/w_exp10.c: Likewise.
83347         * math/w_exp10f.c: Likewise.
83348         * math/w_exp10l.c: Likewise.
83349         * math/w_fmod.c: Likewise.
83350         * math/w_fmodf.c: Likewise.
83351         * math/w_fmodl.c: Likewise.
83352         * math/w_j0.c: Likewise.
83353         * math/w_j0f.c: Likewise.
83354         * math/w_j0l.c: Likewise.
83355         * math/w_j1.c: Likewise.
83356         * math/w_j1f.c: Likewise.
83357         * math/w_j1l.c: Likewise.
83358         * math/w_jn.c: Likewise.
83359         * math/w_jnf.c: Likewise.
83360         * math/w_log.c: Likewise.
83361         * math/w_logf.c: Likewise.
83362         * math/w_logl.c: Likewise.
83363         * math/w_log10.c: Likewise.
83364         * math/w_log10f.c: Likewise.
83365         * math/w_log10l.c: Likewise.
83366         * math/w_log2.c: Likewise.
83367         * math/w_log2f.c: Likewise.
83368         * math/w_log2l.c: Likewise.
83369         * math/w_pow.c: Likewise.
83370         * math/w_powf.c: Likewise.
83371         * math/w_powl.c: Likewise.
83372         * math/w_remainder.c: Likewise.
83373         * math/w_remainderf.c: Likewise.
83374         * math/w_remainderl.c: Likewise.
83375         * math/w_scalb.c: Likewise.
83376         * math/w_scalbf.c: Likewise.
83377         * math/w_scalbl.c: Likewise.
83378         * math/w_sqrt.c: Likewise.
83379         * math/w_sqrtf.c: Likewise.
83380         * math/w_sqrtl.c: Likewise.
83381         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
83382         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
83383         used.
83384         * math/math_private.h: Declare __kernel_standard_f.
83385         * math/w_cosh.c: Remove cruft and optimize a bit.
83386         * math/w_coshf.c: Likewise.
83387         * math/w_coshl.c: Likewise.
83388         * math/w_exp2.c: Likewise.
83389         * math/w_exp2f.c: Likewise.
83390         * math/w_exp2l.c: Likewise.
83391         * math/w_hypot.c: Likewise.
83392         * math/w_hypotf.c: Likewise.
83393         * math/w_hypotl.c: Likewise.
83394         * math/w_lgamma.c: Likewise.
83395         * math/w_lgamma_r.c: Likewise.
83396         * math/w_lgammaf.c: Likewise.
83397         * math/w_lgammaf_r.c: Likewise.
83398         * math/w_lgammal.c: Likewise.
83399         * math/w_lgammal_r.c: Likewise.
83400         * math/w_sinh.c: Likewise.
83401         * math/w_sinhf.c: Likewise.
83402         * math/w_sinhl.c: Likewise.
83403         * math/w_tgamma.c: Likewise.
83404         * math/w_tgammaf.c: Likewise.
83405         * math/w_tgammal.c: Likewise.
83406         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83407         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83408         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
83409         Minor optimizations.  Pretty printing.  Remove cruft.
83410         * sysdeps/i386/fpu/e_acosf.S: Likewise.
83411         * sysdeps/i386/fpu/e_acosh.S: Likewise.
83412         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
83413         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
83414         * sysdeps/i386/fpu/e_acosl.c: Likewise.
83415         * sysdeps/i386/fpu/e_asin.S: Likewise.
83416         * sysdeps/i386/fpu/e_asinf.S: Likewise.
83417         * sysdeps/i386/fpu/e_atan2.S: Likewise.
83418         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
83419         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
83420         * sysdeps/i386/fpu/e_atanh.S: Likewise.
83421         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
83422         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
83423         * sysdeps/i386/fpu/e_exp10.S: Likewise.
83424         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
83425         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
83426         * sysdeps/i386/fpu/e_exp2.S: Likewise.
83427         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
83428         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
83429         * sysdeps/i386/fpu/e_fmod.S: Likewise.
83430         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
83431         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
83432         * sysdeps/i386/fpu/e_hypot.S: Likewise.
83433         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
83434         * sysdeps/i386/fpu/e_log.S: Likewise.
83435         * sysdeps/i386/fpu/e_log10.S: Likewise.
83436         * sysdeps/i386/fpu/e_log10f.S: Likewise.
83437         * sysdeps/i386/fpu/e_log10l.S: Likewise.
83438         * sysdeps/i386/fpu/e_log2.S: Likewise.
83439         * sysdeps/i386/fpu/e_log2f.S: Likewise.
83440         * sysdeps/i386/fpu/e_log2l.S: Likewise.
83441         * sysdeps/i386/fpu/e_logf.S: Likewise.
83442         * sysdeps/i386/fpu/e_logl.S: Likewise.
83443         * sysdeps/i386/fpu/e_pow.S: Likewise.
83444         * sysdeps/i386/fpu/e_powf.S: Likewise.
83445         * sysdeps/i386/fpu/e_powl.S: Likewise.
83446         * sysdeps/i386/fpu/e_remainder.S: Likewise.
83447         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
83448         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
83449         * sysdeps/i386/fpu/e_scalb.S: Likewise.
83450         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
83451         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
83452         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
83453         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
83454         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
83455         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83456         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83457         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83458         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83459         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83460         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83461         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
83462         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83463         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83464         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83465         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83466         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83467         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83468         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83469         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83470         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83471         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83472         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83473         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83474         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83475         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
83476         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
83477         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83478         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83479         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
83480         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
83481         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83482         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
83483         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
83484         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
83485         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83486         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
83487         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83488         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
83489         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
83490         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
83491         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
83492         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
83493         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
83494         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
83495         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
83496         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
83497         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
83498         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
83499         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83500         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
83501         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
83502         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
83503         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
83504         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
83505         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
83506         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
83507         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
83508         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83509         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
83510         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
83511         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
83512         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
83513         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
83514         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
83515         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
83516         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
83517         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83518         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83519         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
83520         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
83521         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
83522         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
83523         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
83524         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
83525         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
83526         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
83527         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
83528         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
83529         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
83530         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83531         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
83532         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
83533         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83534         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
83535         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83536         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
83537         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
83538         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83539         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83540         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
83541         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83542         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
83543         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
83544         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
83545         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83546         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
83547         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
83548         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
83549         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
83550         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
83551         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
83552         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
83553         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
83554         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
83555         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
83556         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
83557         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
83558         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
83559         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
83560         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
83561         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
83562         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83563         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
83564         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
83565         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
83566         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
83567         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
83568         (__isnanf): Likewise.
83569         (__isinf_ns): Likewise.
83570         (__isinf_nsf): Likewise.
83571         (__finite): Likewise.
83572         (__finitef): Likewise.
83573         (__ieee754_sqrt): Define as macro.
83574         (__ieee754_sqrtf): Define as macro.
83575         (__ieee754_sqrtl): Define as macro.
83576         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
83577         inlined copy.
83578         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
83579         __FINITE_MATH_ONLY__ consistent.
83580         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
83582 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
83584         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
83585         of rawmemchr.
83587         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
83589 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
83591         * po/ja.po: Update from translation team.
83593 2011-10-08  Roland McGrath  <roland@hack.frob.com>
83595         * locale/programs/locarchive.c (prepare_address_space): New function.
83596         (create_archive, enlarge_archive, open_archive): Use it.
83598         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
83599         inside [SHARED], where it is used.
83601         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
83603         * nss/getent.c (netgroup_keys): Remove unused variable.
83604         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
83606 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
83608         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
83609         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
83610         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
83611         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
83612         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
83613         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
83614         * math/Makefile (libm-calls): Add s_isinf_ns.
83615         * math/divtc3.c: Use __isinf_nsl instead of isinf.
83616         * math/multc3.c: Likewise.
83617         * math/s_casin.c: Likewise.
83618         * math/s_casinf.c: Likewise.
83619         * math/s_casinl.c: Likewise.
83620         * math/s_ccos.c: Likewise.
83621         * math/s_ccosf.c: Likewise.
83622         * math/s_ccosl.c: Likewise.
83623         * math/s_ctan.c: Likewise.
83624         * math/s_ctanf.c: Likewise.
83625         * math/s_ctanh.c: Likewise.
83626         * math/s_ctanhf.c: Likewise.
83627         * math/s_ctanhl.c: Likewise.
83628         * math/s_ctanl.c: Likewise.
83629         * math/w_fmod.c: Likewise.
83630         * math/w_fmodf.c: Likewise.
83631         * math/w_fmodl.c: Likewise.
83632         * math/w_remainder.c: Likewise.
83633         * math/w_remainderf.c: Likewise.
83634         * math/w_remainderl.c: Likewise.
83635         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
83636         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
83637         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
83638         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
83639         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
83640         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
83641         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
83642         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
83644         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
83645         of the number.
83646         * stdio-common/printf_fphex.c: Likewise.
83647         * stdio-common/printf_size.c: Likewise.
83649         * math/e_exp10.c: Include math_private.h using <...> not "...".
83650         * math/e_exp10f.c: Likewise.
83651         * math/e_exp10l.c: Likewise.
83652         * math/e_exp2l.c: Likewise.
83653         * math/e_j0l.c: Likewise.
83654         * math/e_j1l.c: Likewise.
83655         * math/e_jnl.c: Likewise.
83656         * math/e_lgammal_r.c: Likewise.
83657         * math/e_rem_pio2l.c: Likewise.
83658         * math/e_scalb.c: Likewise.
83659         * math/e_scalbf.c: Likewise.
83660         * math/e_scalbl.c: Likewise.
83661         * math/k_cosl.c: Likewise.
83662         * math/k_sinl.c: Likewise.
83663         * math/k_tanl.c: Likewise.
83664         * math/s_cacoshf.c: Likewise.
83665         * math/s_catan.c: Likewise.
83666         * math/s_catanf.c: Likewise.
83667         * math/s_catanh.c: Likewise.
83668         * math/s_catanhf.c: Likewise.
83669         * math/s_catanhl.c: Likewise.
83670         * math/s_catanl.c: Likewise.
83671         * math/s_ccosh.c: Likewise.
83672         * math/s_ccoshf.c: Likewise.
83673         * math/s_ccoshl.c: Likewise.
83674         * math/s_cexp.c: Likewise.
83675         * math/s_cexpf.c: Likewise.
83676         * math/s_cexpl.c: Likewise.
83677         * math/s_clog.c: Likewise.
83678         * math/s_clog10.c: Likewise.
83679         * math/s_clog10f.c: Likewise.
83680         * math/s_clog10l.c: Likewise.
83681         * math/s_clogf.c: Likewise.
83682         * math/s_clogl.c: Likewise.
83683         * math/s_csin.c: Likewise.
83684         * math/s_csinf.c: Likewise.
83685         * math/s_csinh.c: Likewise.
83686         * math/s_csinhf.c: Likewise.
83687         * math/s_csinhl.c: Likewise.
83688         * math/s_csinl.c: Likewise.
83689         * math/s_csqrt.c: Likewise.
83690         * math/s_csqrtf.c: Likewise.
83691         * math/s_csqrtl.c: Likewise.
83692         * math/s_ctan.c: Likewise.
83693         * math/s_ctanf.c: Likewise.
83694         * math/s_ctanh.c: Likewise.
83695         * math/s_ctanhf.c: Likewise.
83696         * math/s_ctanhl.c: Likewise.
83697         * math/s_ctanl.c: Likewise.
83698         * math/s_ldexp.c: Likewise.
83699         * math/s_ldexpf.c: Likewise.
83700         * math/s_ldexpl.c: Likewise.
83701         * math/s_significand.c: Likewise.
83702         * math/s_significandf.c: Likewise.
83703         * math/s_significandl.c: Likewise.
83704         * math/w_acos.c: Likewise.
83705         * math/w_acosf.c: Likewise.
83706         * math/w_acosh.c: Likewise.
83707         * math/w_acoshf.c: Likewise.
83708         * math/w_acoshl.c: Likewise.
83709         * math/w_acosl.c: Likewise.
83710         * math/w_asin.c: Likewise.
83711         * math/w_asinf.c: Likewise.
83712         * math/w_asinl.c: Likewise.
83713         * math/w_atan2.c: Likewise.
83714         * math/w_atan2f.c: Likewise.
83715         * math/w_atan2l.c: Likewise.
83716         * math/w_atanh.c: Likewise.
83717         * math/w_atanhf.c: Likewise.
83718         * math/w_atanhl.c: Likewise.
83719         * math/w_cosh.c: Likewise.
83720         * math/w_coshf.c: Likewise.
83721         * math/w_coshl.c: Likewise.
83722         * math/w_dremf.c: Likewise.
83723         * math/w_exp10.c: Likewise.
83724         * math/w_exp10f.c: Likewise.
83725         * math/w_exp10l.c: Likewise.
83726         * math/w_exp2.c: Likewise.
83727         * math/w_exp2f.c: Likewise.
83728         * math/w_fmod.c: Likewise.
83729         * math/w_fmodf.c: Likewise.
83730         * math/w_fmodl.c: Likewise.
83731         * math/w_hypot.c: Likewise.
83732         * math/w_hypotf.c: Likewise.
83733         * math/w_hypotl.c: Likewise.
83734         * math/w_j0.c: Likewise.
83735         * math/w_j0f.c: Likewise.
83736         * math/w_j0l.c: Likewise.
83737         * math/w_j1.c: Likewise.
83738         * math/w_j1f.c: Likewise.
83739         * math/w_j1l.c: Likewise.
83740         * math/w_jn.c: Likewise.
83741         * math/w_jnf.c: Likewise.
83742         * math/w_jnl.c: Likewise.
83743         * math/w_lgamma.c: Likewise.
83744         * math/w_lgamma_r.c: Likewise.
83745         * math/w_lgammaf.c: Likewise.
83746         * math/w_lgammaf_r.c: Likewise.
83747         * math/w_lgammal.c: Likewise.
83748         * math/w_lgammal_r.c: Likewise.
83749         * math/w_log.c: Likewise.
83750         * math/w_log10.c: Likewise.
83751         * math/w_log10f.c: Likewise.
83752         * math/w_log10l.c: Likewise.
83753         * math/w_log2.c: Likewise.
83754         * math/w_log2f.c: Likewise.
83755         * math/w_log2l.c: Likewise.
83756         * math/w_logf.c: Likewise.
83757         * math/w_logl.c: Likewise.
83758         * math/w_pow.c: Likewise.
83759         * math/w_powf.c: Likewise.
83760         * math/w_powl.c: Likewise.
83761         * math/w_remainder.c: Likewise.
83762         * math/w_remainderf.c: Likewise.
83763         * math/w_remainderl.c: Likewise.
83764         * math/w_scalb.c: Likewise.
83765         * math/w_scalbf.c: Likewise.
83766         * math/w_scalbl.c: Likewise.
83767         * math/w_sinh.c: Likewise.
83768         * math/w_sinhf.c: Likewise.
83769         * math/w_sinhl.c: Likewise.
83770         * math/w_sqrt.c: Likewise.
83771         * math/w_sqrtf.c: Likewise.
83772         * math/w_sqrtl.c: Likewise.
83773         * math/w_tgamma.c: Likewise.
83774         * math/w_tgammaf.c: Likewise.
83775         * math/w_tgammal.c: Likewise.
83777         * po/ja.po: Update from translation team.
83779 2011-09-29  Andreas Jaeger  <aj@suse.de>
83781         [BZ #13179]
83782         * sunrpc/netname.c (netname2host): Fix logic.
83784         [BZ #6779]
83785         [BZ #6783]
83786         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
83787         correctly.
83788         * math/w_remainder.c (__remainder): Likewise.
83789         * math/w_remainderf.c (__remainderf): Likewise.
83790         * math/libm-test.inc (remainder_test): Add test cases.
83792 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83794         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
83795         sdiv_qrnnd.
83797 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
83799         * string/test-memcmp.c: Avoid unncessary #defines.
83800         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83802 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83804         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
83805         Use new sse2 version for core i3 - i7 as it's faster
83806         than sse42 version.
83807         (bit_Prefer_PMINUB_for_stringop): New.
83808         * sysdeps/x86_64/rawmemchr.S: Update.
83809         Replace with faster SSE2 version.
83810         * sysdeps/x86_64/memrchr.S: New file.
83811         * sysdeps/x86_64/memchr.S: Update.
83812         Replace with faster SSE2 version.
83814 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
83816         * elf/dl-load.c (lose): Add cast to avoid warning.
83818 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
83820         * po/ca.po: Update from translation team.
83822         * inet/getnetgrent_r.c: Hook up nscd.
83823         * nscd/Makefile (routines): Add nscd_netgroup.
83824         (nscd-modules): Add netgroupcache.
83825         (CFLAGS-netgroupcache.c): Define.
83826         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
83827         (cache_search): Add const to second parameter.
83828         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
83829         INNETGR.
83830         (dbs): Add netgrdb entry.
83831         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
83832         (verify_persistent_db): Handle netgrdb.
83833         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
83834         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
83835         GETFDNETGR.
83836         (netgroup_response_header): Define.
83837         (innetgroup_response_header): Define.
83838         (datahead): Add netgroup_response_header and innetgroup_response_header
83839         elements.
83840         * nscd/nscd.conf: Add entries for netgroup cache.
83841         * nscd/nscd.h (dbtype): Add netgrdb.
83842         (_PATH_NSCD_NETGROUP_DB): Define.
83843         (netgroup_iov_disabled): Declare.
83844         (xmalloc, xcalloc, xrealloc): Move declarations here.
83845         (cache_search): Adjust prototype.
83846         Add netgroup-related prototypes.
83847         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
83848         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
83849         (__nscd_innetgr): Declare.
83850         * nscd/selinux.c (perms): Use access_vector_t as element type and
83851         add netgroup-related initializers.
83852         * nscd/netgroupcache.c: New file.
83853         * nscd/nscd_netgroup.c: New file.
83854         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
83855         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
83856         For four parameters use innetgr.
83857         * nss/nss_files/files-init.c: Add definition and callback for netgr.
83858         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
83859         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
83860         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
83862         * nscd/connections.c (register_traced_file): Don't register file
83863         for disabled databases.
83865 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
83867         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
83869         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
83870         from tree and freeing node.
83872 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
83874         * nss/nsswitch.c (__nss_database_lookup): Handle
83875         nss_parse_service_list out of memory case.
83877 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
83879         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
83880         out of memory case.
83882 2011-10-04  Andreas Schwab  <schwab@redhat.com>
83884         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
83885         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
83886         pass it down.
83887         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
83888         elf_machine_rela, elf_machine_lazy_rel.
83889         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
83890         (ELF_DYNAMIC_DO_REL): Likewise.
83891         (ELF_DYNAMIC_DO_RELA): Likewise.
83892         (ELF_DYNAMIC_RELOCATE): Likewise.
83893         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
83894         to ELF_DYNAMIC_DO_REL.
83895         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
83896         (dl_main): In trace mode always set __RTLD_NOIFUNC.
83897         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
83898         elf_machine_rela.
83899         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
83900         skip_ifunc, don't call ifunc function if non-zero.
83901         (elf_machine_rela): Likewise.
83902         (elf_machine_lazy_rel): Likewise.
83903         (elf_machine_lazy_rela): Likewise.
83904         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
83905         (elf_machine_lazy_rel): Likewise.
83906         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
83907         Likewise.
83908         (elf_machine_lazy_rel): Likewise.
83909         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
83910         Likewise.
83911         (elf_machine_lazy_rel): Likewise.
83912         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
83913         (elf_machine_lazy_rel): Likewise.
83914         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
83915         (elf_machine_lazy_rel): Likewise.
83916         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
83917         (elf_machine_lazy_rel): Likewise.
83918         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
83919         (elf_machine_lazy_rel): Likewise.
83920         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
83921         (elf_machine_lazy_rel): Likewise.
83922         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
83923         (elf_machine_lazy_rel): Likewise.
83925 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
83927         * nss/nss_files/files-init.c (_nss_files_init): Use static
83928         initialization for all the *_traced_file variables.
83930 2011-09-28  Andreas Schwab  <schwab@redhat.com>
83932         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83934 2011-09-27  Roland McGrath  <roland@hack.frob.com>
83936         [BZ #13226]
83937         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
83939 2011-09-27  Andreas Schwab  <schwab@redhat.com>
83941         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
83942         Reread the line before reparsing it.
83944 2011-09-26  Andreas Schwab  <schwab@redhat.com>
83946         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
83948 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
83949             Maxim Kuvyrkov  <maxim@codesourcery.com>
83950             Joseph Myers  <joseph@codesourcery.com>
83952         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
83953         if needed for __stack_chk_guard.
83955 2011-09-19  Roland McGrath  <roland@hack.frob.com>
83957         * sysdeps/posix/spawni.c (script_execute): Always define it.
83958         It will be optimized away if unused.
83959         (maybe_script_execute): New function.
83960         (__spawni): Call it.
83962         * Makerules: Don't include tls.make.
83963         (config-tls): Always set to thread.
83964         * tls.make.c: File removed.
83966 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
83968         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
83969         * config.make.in (CPPFLAGS-config): New substituted variable.
83971 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
83973         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
83975         [BZ #13192]
83976         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
83977         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
83979 2011-09-15  Roland McGrath  <roland@hack.frob.com>
83981         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
83982         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
83983         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
83984         (CALL_FAIL): Likewise.
83985         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
83986         (CALL_FAIL): Macro removed.
83987         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
83989 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
83991         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
83992         for __FINITE_MATH_ONLY__ == 1.
83994 2011-09-15  Andreas Schwab  <schwab@redhat.com>
83996         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
83997         __ieee754_sqrt instead of sqrt.
83998         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
83999         __ieee754_sqrtf instead of sqrtf.
84000         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
84001         __floorf instead of floorf.
84002         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
84003         __floorf, __truncf instead of floorf, truncf.
84005 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
84007         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
84009         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
84010         __extern_always_inline.
84011         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
84012         32-bit.
84014 2011-09-14  Andreas Schwab  <schwab@redhat.com>
84016         * elf/rtld.c (dl_main): Also relocate in dependency order when
84017         doing symbol dependency testing.
84019 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
84021         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84022         Always define `refsym'.
84024 2011-09-13  Andreas Schwab  <schwab@redhat.com>
84026         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
84027         (__FD_ELT): Renamed from __FDELT.
84028         * misc/bits/select2.h (__FD_ELT): Likewise.
84029         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
84030         __FD_MASK instead of __FDELT, __FDMASK.
84031         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84032         Likewise.
84033         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84034         Likewise.
84036         * elf/Makefile (gen-ldd): Fix pattern.
84038         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
84039         (init_tls): Likewise.
84041 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
84043         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
84045 2011-09-12  Andreas Schwab  <schwab@redhat.com>
84047         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
84048         `struct cmsghdr *' instead of `void *'.
84049         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
84050         Likewise.
84052 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
84054         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
84055         if non-absolute.
84056         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
84057         ldd_rewrite_script.
84059 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
84061         * configure.in: Remove --with-tls option.
84062         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
84063         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
84064         out in case it is missing.
84065         * sysdeps/ia64/elf/configure.in: Likewise.
84066         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
84067         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
84068         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
84069         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
84070         * sysdeps/sh/elf/configure.in: Likewise.
84071         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
84072         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84073         * sysdeps/x86_64/elf/configure.in: Likewise.
84074         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
84075         * sysdeps/mach/hurd/tls.h: Likewise.
84077         [BZ #13067]
84078         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
84080         [BZ #13090]
84081         * configure.in: Fix use of AC_INIT.
84083         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
84085 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
84087         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
84088         __set_errno.
84089         * malloc/hooks.c: Likewise.
84091         [BZ #11929]
84092         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
84093         variables statically.
84094         (narenas): Initialize.
84095         (list_lock): Initialize.
84096         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
84097         initializtion of main_arena and list_lock.  Small cleanups.
84098         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
84099         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
84100         Add initializers to main_arena and mp_.
84101         (malloc_state): Remove pagesize member.  Change all users to use
84102         GLRO(dl_pagesize).
84104         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
84105         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
84106         is always initialized.
84108         * malloc/malloc.c: Removed unused configurations and dead code.
84109         * malloc/arena.c: Likewise.
84110         * malloc/hooks.c: Likewise.
84111         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
84113         * include/tls.h: Removed.  USE___THREAD must always be defined.
84114         * bits/libc-tsd.h: Don't handle !USE___THREAD.
84115         * elf/dl-libc.c: Likewise.
84116         * elf/dl-tsd.c: Likewise.
84117         * include/errno.h: Likewise.
84118         * include/netdb.h: Likewise.
84119         * include/resolv.h: Likewise.
84120         * inet/herrno-loc.c: Likewise.
84121         * inet/herrno.c: Likewise.
84122         * malloc/arena.c: Likewise.
84123         * malloc/hooks.c: Likewise.
84124         * malloc/malloc.c: Likewise.
84125         * resolv/res-state.c: Likewise.
84126         * resolv/res_libc.c: Likewise.
84127         * sysdeps/i386/dl-machine.h: Likewise.
84128         * sysdeps/ia64/dl-machine.h: Likewise.
84129         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
84130         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
84131         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
84132         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
84133         * sysdeps/sh/dl-machine.h: Likewise.
84134         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84135         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84136         * sysdeps/unix/i386/sysdep.S: Likewise.
84137         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
84138         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
84139         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
84140         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
84141         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
84142         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
84143         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
84144         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84145         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84146         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
84147         * sysdeps/unix/x86_64/sysdep.S: Likewise.
84148         * sysdeps/x86_64/dl-machine.h: Likewise.
84149         * tls.make.c: Likewise.
84151         * configure.in: Remove --with-__thread option.  Make tests for
84152         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
84153         tls_model attribute fail if no support is available.  Remove
84154         USE_IN_LIBIO.
84155         * Makeconfig: Adjust for dropped configure option.  All features are
84156         now mandatory.
84157         * Makerules: Likewise.
84158         * Versions.def: Likewise.
84159         * argp/argp-fmtstream.c: Likewise.
84160         * argp/argp-fmtstream.h: Likewise.
84161         * argp/argp-help.c: Likewise.
84162         * assert/assert.c: Likewise.
84163         * config.h.in: Likewise.
84164         * config.make.in: Likewise.
84165         * configure: Likewise.
84166         * configure.in: Likewise.
84167         * csu/Versions: Likewise.
84168         * csu/init.c: Likewise.
84169         * elf/tst-audit2.c: Likewise.
84170         * elf/tst-tls10.c: Likewise.
84171         * elf/tst-tls10.h: Likewise.
84172         * elf/tst-tls11.c: Likewise.
84173         * elf/tst-tls12.c: Likewise.
84174         * elf/tst-tls14.c: Likewise.
84175         * elf/tst-tlsmod11.c: Likewise.
84176         * elf/tst-tlsmod12.c: Likewise.
84177         * elf/tst-tlsmod13.c: Likewise.
84178         * elf/tst-tlsmod13a.c: Likewise.
84179         * elf/tst-tlsmod14a.c: Likewise.
84180         * elf/tst-tlsmod15b.c: Likewise.
84181         * elf/tst-tlsmod16a.c: Likewise.
84182         * elf/tst-tlsmod16b.c: Likewise.
84183         * elf/tst-tlsmod7.c: Likewise.
84184         * elf/tst-tlsmod8.c: Likewise.
84185         * elf/tst-tlsmod9.c: Likewise.
84186         * gmon/gmon.c: Likewise.
84187         * grp/fgetgrent_r.c: Likewise.
84188         * grp/putgrent.c: Likewise.
84189         * hurd/fopenport.c: Likewise.
84190         * include/libc-symbols.h: Likewise.
84191         * include/tls.h: Likewise.
84192         * intl/gettextP.h: Likewise.
84193         * intl/loadinfo.h: Likewise.
84194         * locale/global-locale.c: Likewise.
84195         * locale/localeinfo.h: Likewise.
84196         * mach/devstream.c: Likewise.
84197         * malloc/arena.c: Likewise.
84198         * malloc/set-freeres.c: Likewise.
84199         * misc/err.c: Likewise.
84200         * misc/getttyent.c: Likewise.
84201         * misc/mntent_r.c: Likewise.
84202         * posix/getopt.c: Likewise.
84203         * posix/wordexp.c: Likewise.
84204         * pwd/fgetpwent_r.c: Likewise.
84205         * resolv/Versions: Likewise.
84206         * resolv/res_hconf.c: Likewise.
84207         * shadow/fgetspent_r.c: Likewise.
84208         * shadow/putspent.c: Likewise.
84209         * stdio-common/printf_fphex.c: Likewise.
84210         * stdio-common/tmpfile.c: Likewise.
84211         * stdlib/abort.c: Likewise.
84212         * stdlib/fmtmsg.c: Likewise.
84213         * sunrpc/auth_unix.c: Likewise.
84214         * sunrpc/clnt_perr.c: Likewise.
84215         * sunrpc/clnt_tcp.c: Likewise.
84216         * sunrpc/clnt_udp.c: Likewise.
84217         * sunrpc/clnt_unix.c: Likewise.
84218         * sunrpc/openchild.c: Likewise.
84219         * sunrpc/svc_simple.c: Likewise.
84220         * sunrpc/svc_tcp.c: Likewise.
84221         * sunrpc/svc_udp.c: Likewise.
84222         * sunrpc/svc_unix.c: Likewise.
84223         * sunrpc/xdr.c: Likewise.
84224         * sunrpc/xdr_array.c: Likewise.
84225         * sunrpc/xdr_rec.c: Likewise.
84226         * sunrpc/xdr_ref.c: Likewise.
84227         * sunrpc/xdr_stdio.c: Likewise.
84229 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84231         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84233 2011-07-03  Andreas Jaeger  <aj@suse.de>
84235         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
84236         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
84237         regenerate with gen-libm-tests.pl.
84239 2010-05-12  Petr Baudis  <pasky@suse.cz>
84241         [BZ #11589]
84242         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
84243         around j0() zero points by switching to j1().
84244         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84245         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84246         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84247         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84249 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84251         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
84252         instead of 0.
84253         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
84254         instead of 0.
84255         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84256         Patch in part by Pavel Roskin <proski@gnu.org>.
84258         [BZ #13138]
84259         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
84260         realloc.
84261         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
84262         Free memory block if necessary.
84264         [BZ #12847]
84265         * libio/genops.c (INTDEF): For string streams the _lock pointer can
84266         be NULL.  Don't lock in this case.
84268 2011-09-09  Roland McGrath  <roland@hack.frob.com>
84270         * elf/elf.h (ELFOSABI_GNU): New macro.
84271         (ELFOSABI_LINUX): Define to that.
84273 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
84275         * string/strncat.c (strncat): Undef the symbol in case it has been
84276         defined in bits/string.h.
84278 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84280         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
84282         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
84283         link map.
84285 2011-08-17  Andreas Jaeger  <aj@suse.de>
84287         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
84289 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
84290             Ian Lance Taylor  <iant@google.com>
84292         * math/libm-test.inc (lround_test): New testcase.
84293         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
84295 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
84297         * Makefile: Remove support for automatic cvs check-ins.
84298         * Makerules: Likewise.
84299         * config.make.in: Likewise.
84300         * configure.in: Likewise.
84301         * intl/Makefile: Likewise.
84302         * locale/Makefile: Likewise.
84303         * po/Makefile: Likewise.
84304         * posix/Makefile: Likewise.
84305         * sysdeps/gnu/Makefile: Likewise.
84306         * sysdeps/mach/hurd/Makefile: Likewise.
84307         * sysdeps/sparc/sparc32/Makefile: Likewise.
84309         [BZ #13118]
84310         * posix/Makefile (bug-regex32-ENV): Define.
84311         Patch by John Stanley <jpsinthemix@verizon.net>.
84313         * misc/Makefile (headers): Add bits/select2.h.
84314         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
84315         * misc/bits/select2.h: New file.
84316         * include/bits/select2.h: New file.
84317         * debug/Makefile (routines): Add fdelt_chk.
84318         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
84319         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
84320         FD_ISSET.
84321         * debug/fdelt_chk.c: New file.
84323         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
84324         * wcsmbs/test-wmemcmp.c: Likewise.
84325         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
84326         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
84328 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84330         * string/Makefile (strop-tests): Add memcmp.
84331         * string/test-wmemcmp.c: New file.
84332         * string/test-memcmp.c: Add wmemcmp support.
84334 2011-09-08  Roland McGrath  <roland@hack.frob.com>
84336         [BZ #13153]
84337         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
84338         2011-07-19 change.
84340         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
84341         garbage value in a __mach_port_mod_refs call in the cases of the
84342         task-self and thread-self ports.
84344 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84346         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
84348 2011-09-08  Andreas Schwab  <schwab@redhat.com>
84350         * elf/dl-load.c (lose): Check for non-null L.
84352 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84354         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
84356         * elf/dl-libc.c (dlerror_run): Pass back error code from
84357         dl_catch_error.
84359         [BZ #13123]
84360         * elf/dl-load.c (lose): Free l_origin if it is valid.
84362         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
84363         names.
84364         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
84365         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84366         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84367         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84368         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
84369         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
84371 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84373         * sysdeps/powerpc/fpu/e_hypot.c: New file.
84374         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
84375         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
84376         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
84377         * sysdeps/powerpc/fpu/k_cosf.c: New file.
84378         * sysdeps/powerpc/fpu/k_sinf.c: New file.
84379         * sysdeps/powerpc/fpu/s_cosf.c: New file.
84380         * sysdeps/powerpc/fpu/s_sinf.c: New file.
84381         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
84382         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
84384 2011-08-15  Alan Modra  <amodra@gmail.com>
84386         [BZ #13092]
84387         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
84388         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
84389         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
84390         ppc_mcount to static-only-routines.
84391         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
84392         __mcount_internal.
84393         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
84394         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
84396 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
84398         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
84399         for finite and infinity parameters.
84401 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
84403         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
84404         and add nop instructions for throughput optimization.
84405         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
84407 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
84409         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
84410         aligned copy for power7 with vector-scalar instructions.
84411         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
84413 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
84415         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
84416         AVX check.
84418 2011-09-07  Andreas Schwab  <schwab@redhat.com>
84420         [BZ #13144]
84421         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
84422         last change.
84424 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84426         * sysdeps/unix/sysv/linux/x86_64/init-first.c
84427         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
84428         syscall wrapper around clock_gettime in __vdso_clock_gettime.
84429         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
84430         clock_gettime.
84432 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84434         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
84435         Forgot to demangle the pointer.
84437         * sysdeps/i386/sysdep.h: Define atom_text_section.
84438         * sysdeps/x86_64/sysdep.h: Likewise.
84439         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
84440         section with atom_text_section.
84441         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84442         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84443         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
84444         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
84445         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
84447         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
84448         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
84449         already be defined.  Change to take two parameters and don't assign
84450         result to variable.  Adjust all users.
84451         Define INTERNAL_GETTIME if not already defined.
84452         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
84453         call.
84454         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
84455         HAVE_CLOCK_GETTIME_VSYSCALL.
84456         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
84458         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
84459         gettimeofday vsyscall, just use time.
84461 2011-09-06  Andreas Schwab  <schwab@redhat.com>
84463         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
84464         <errno.h>.
84466 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84468         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
84469         syscall on x86-64.
84470         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
84471         syscall.
84472         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
84473         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
84474         syscall if possible.
84476 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84478         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
84479         e_ident.  Don't pass to find_mapsXX.
84480         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
84482 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84484         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84485         strchr-sse2-no-bsf strrchr-sse2-no-bsf
84486         * sysdeps/x86_64/multiarch/strchr.S: Update.
84487         Check bit_slow_BSF bit.
84488         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
84489         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
84490         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
84492 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84494         [BZ #13134]
84495         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
84496         before glibc 2.15.
84497         (tryshell): Define.
84498         (__spawni): Change last parameter to be flag.  Test
84499         SPAWN_XFLAGS_USE_PATH flag to use path or not.
84500         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
84501         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
84502         * posix/spawni.c: Likewise.
84503         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
84504         * posix/spawnp.c: Likewise.  Change normal version to use
84505         SPAWN_XFLAGS_USE_PATH.
84506         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
84507         SPAWN_XFLAGS_TRY_SHELL.
84509         [BZ #13150]
84510         * posix/glob.h: Remove gcc 1.x support.
84512         [BZ #13068]
84513         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
84515 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84517         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84518         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
84519         strrchr-sse2-bsf
84520         * sysdeps/i386/i686/multiarch/strchr.S: New file.
84521         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
84522         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
84523         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
84524         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
84525         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
84527 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84529         * sysdeps/x86_64/wcscmp.S: New file.
84531         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
84532         wcscmp-c wcscmp-sse2
84533         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
84534         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
84535         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
84536         * wcsmbs/wcscmp.c: Allow renaming.
84538 2011-09-05  David S. Miller  <davem@davemloft.net>
84540         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
84541         stack slot, rather than the struct return pointer slot.
84542         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
84543         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
84544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
84545         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
84547 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84549         * po/ja.po: Update from translation team.
84551         [BZ #13144]
84552         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
84553         kernel in 64-bit binaries.
84555 2011-09-01  David S. Miller  <davem@davemloft.net>
84557         * elf/elf.h (HWCAP_SPARC_*): Move to..
84558         * sysdeps/sparc/sysdep.h: this new file and add new values.
84559         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
84560         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
84561         _DL_HWCAP_COUNT to 24.
84562         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
84563         entries.
84564         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
84565         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
84566         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
84567         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
84568         instead of magic constants.
84569         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84571 2011-08-31  David S. Miller  <davem@davemloft.net>
84573         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
84574         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
84575         Reimplement to do errno handling inline.
84576         (SYSCALL_ERROR_HANDLER): New macro.
84577         (__SYSCALL_STRING): Do not do errno handling in asm.
84578         (__CLONE_SYSCALL_STRING): Delete.
84579         (__INTERNAL_SYSCALL_STRING): Delete.
84580         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
84581         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
84582         (PSEUDO): Reimplement to do errno handling inline.
84583         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
84584         (SYSCALL_ERROR_HANDLER): New macro.
84585         (__SYSCALL_STRING): Do not do errno handling in asm.
84586         (__CLONE_SYSCALL_STRING): Delete.
84587         (__INTERNAL_SYSCALL_STRING): Delete.
84588         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
84589         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
84590         i386.
84591         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
84592         (inline_syscall*): Add 'err' argument.
84593         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
84594         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
84595         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
84596         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
84598         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
84599         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
84601 2011-08-30  Andreas Schwab  <schwab@redhat.com>
84603         * elf/rtld.c (dl_main): Relocate objects in dependency order.
84605 2011-08-29  Jiri Olsa <jolsa@redhat.com>
84607         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
84608         directive.
84610 2011-08-24  David S. Miller  <davem@davemloft.net>
84612         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
84614 2011-08-24  Andreas Schwab  <schwab@redhat.com>
84616         * elf/Makefile: Add rules to build and run unload8 test.
84617         * elf/unload8.c: New file.
84618         * elf/unload8mod1.c: New file.
84619         * elf/unload8mod1x.c: New file.
84620         * elf/unload8mod2.c: New file.
84621         * elf/unload8mod3.c: New file.
84623         * elf/dl-close.c (_dl_close_worker): Reset private search list if
84624         it wasn't used.
84626 2011-08-23  David S. Miller  <davem@davemloft.net>
84628         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
84629         subtract stack bias.
84630         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
84631         %sp not %fp in calculations.
84632         (_JMPBUF_UNWINDS_ADJ): Likewise.
84634         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
84635         (aio_suspend): Call it to force an exception region around the
84636         AIO_MISC_WAIT() invocation.
84638 2011-08-23  Andreas Schwab  <schwab@redhat.com>
84640         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
84641         backslash.
84643 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
84645         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
84646         protection macro.
84647         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
84648         and <dl-machine.h>.
84649         (Elf64_FuncDesc): Remove.
84651 2011-08-22  David S. Miller  <davem@davemloft.net>
84653         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
84654         sigaltstack check, add missing cfi directives.
84655         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
84656         missing cfi directives, and sigaltstack handling.
84658 2011-08-16  Andreas Schwab  <schwab@redhat.com>
84660         [BZ #11724]
84661         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
84662         object is seen twice.
84663         * elf/dl-fini.c (_dl_sort_fini): Likewise.
84665         * elf/Makefile (distribute): Add tst-initorder2.c.
84666         (tests): Add tst-initorder2.
84667         (modules-names): Add tst-initorder2a tst-initorder2b
84668         tst-initorder2c tst-initorder2d.  Add rules to build them.
84669         ($(objpfx)tst-initorder2.out): New rule.
84670         * elf/tst-initorder2.c: New file.
84671         * elf/tst-initorder2.exp: New file.
84673 2011-08-22  Andreas Schwab  <schwab@redhat.com>
84675         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
84677         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
84678         dependencies back to end of function.
84680         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
84681         $(elfobjdir)/ld.so.
84683 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
84685         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
84686         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
84687         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
84688         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
84689         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
84690         of __vdso_gettimeofday.
84691         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
84692         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
84693         attribute_hidden.
84694         (_libc_vdso_platform_setup): Remove initialization of
84695         __vdso_gettimeofday and __vdso_time.
84697 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
84699         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
84700         and fgetc_unlocked.
84701         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
84702         getc_unlocked.
84704         * elf/dl-open.c (add_to_global): Report additions to the global scope
84705         for LD_DEBUG=scopes.
84706         (dl_open_worker): Also print scope of newly loaded dependencies.
84707         (_dl_show_scope): Indicate if there is no scope.
84709         [BZ #13114]
84710         * stdio-common/Makefile (tests): Add bug24.
84711         * stdio-common/bug24.c: New file.
84713 2011-08-19  Andreas Jaeger  <aj@suse.de>
84715         [BZ #13114]
84716         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
84717         non-existant file when using close-on-exec mode.
84719 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
84721         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
84722         the very first instruction.
84724         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
84725         the CFI state in the end.
84726         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
84727         inclusion of dl-trampoline.h.
84728         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
84730 2011-08-19  Andreas Schwab  <schwab@redhat.com>
84732         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
84733         expectations for long double.
84735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
84736         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
84738 2011-08-14  David S. Miller  <davem@davemloft.net>
84740         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
84741         artificual limit depends upon the system page size.
84743 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
84745         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
84746         * resolv/Makefile: Define CFLAGS-libresolv.
84748 2011-08-17  Andreas Schwab  <schwab@redhat.com>
84750         * nss/makedb.c (compute_tables): Make variables used in nested
84751         function static.
84753 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
84755         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
84756         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
84757         if buffer was too small.
84759         * elf/pldd.c (main): Attach to all threads in the process.
84760         Rewrite /proc handling to use *at functions.
84762 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
84764         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
84765         specifies first scope to show.
84766         (dl_open_worker): Update callers.  Move printing scope of new
84767         object to before the relocation.
84768         * elf/rtld.c (dl_main): Update _dl_show_scope call.
84769         * sysdeps/generic/ldsodefs.h: Update declaration.
84771         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
84772         string for the scope number.
84774 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
84776         * nscd/servicescache.c (cache_addserv): Make sure written is always
84777         initialized.
84779 2011-08-14  Roland McGrath  <roland@hack.frob.com>
84781         * sysdeps/i386/i486/bits/atomic.h
84782         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
84783         statement expression, so as to suppress "set but not used" warning.
84784         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
84786         * string/strncat.c (STRNCAT): Use prototype definition.
84788         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
84789         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
84790         -Iprograms here.
84791         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
84792         (localedef-modules): Add localedef.
84793         (locale-modules): Add locale.
84795         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
84796         * elf/rtld.c (dl_main): Invert order of assignment in last change,
84797         to avoid a warning.
84799 2011-08-14  David S. Miller  <davem@davemloft.net>
84801         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
84802         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
84804 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
84806         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
84807         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
84808         * elf/rtld.c (dl_main): Set l_name of vDSO.
84809         Call _dl_show_scope when DL_DEBUG_SCOPES.
84810         (process_dl_debug): Recognize scopes flag and also set it for all.
84811         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
84812         Declare _dl_show_scope.
84814         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
84815         (do_dlopen): Pass caller_dlopen to dl_open.
84816         (__libc_dlopen_mode): Initialize caller_dlopen.
84818         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
84819         of libc.  Make tolower call locale-independent.  Optimize a bit by
84820         using isdigit instead of isalnum.
84821         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
84823 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
84825         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
84826         was a dependency or dynamically loaded.
84828 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
84830         * intl/l10nflist.c: Allow architecture-specific pop function.
84831         * sysdeps/x86_64/l10nflist.c: New file.
84833         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
84834         classification.
84836 2011-08-10  Andreas Schwab  <schwab@redhat.com>
84838         * include/dirent.h: Add libc_hidden_proto for scandirat and
84839         scandirat64.  Don't declare __scandirat64.
84840         * dirent/scandirat.c: Add libc_hidden_def.
84841         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
84842         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
84844 2011-08-10  David S. Miller  <davem@davemloft.net>
84846         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
84847         enum.
84848         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
84849         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
84850         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
84852 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
84854         * Versions.def [libc]: Add GLIBC_2.15.
84855         * dirent/Makefile (routines): Add scandirat and scandirat64.
84856         * dirent/Versions [libc]: Export scandirat and scandirat64 for
84857         GLIBC_2.15.
84858         * dirent/dirent.h: Declare scandirat and scandirat64.
84859         * dirent/scandirat.c: New file.
84860         * dirent/scandirat64.c: New file.
84861         * sysdeps/wordsize-64/scandirat.c: New file.
84862         * sysdeps/wordsize-64/scandirat64.c: New file.
84863         * dirent/opendir.c: Define opendirat.
84864         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
84865         using scandirat.
84866         * dirent/scandir64.c: Adjust for scandir.c change.
84867         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
84868         __scandirat64, and __scandir_cancel_handler.
84869         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
84870         additional parameter and use openat instead of open (outside of ld.so).
84871         Add new __opendir as wrapper around __opendirat.
84872         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
84873         here without requiring old scandirat implementation.
84875 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
84877         * dirent/scandir.c (cancel_handler): Renamed to
84878         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
84879         defined.  Adjust users.
84880         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
84881         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
84883 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
84885         * string/test-string.h (IMPL): Use __STRING to expand name and then
84886         stringify it.
84888         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
84889         of cleanups.
84891 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84893         * string/Makefile: Update.
84894         (strop-tests): Append strncat.
84895         * string/test-wcscmp.c: New file.
84896         New comprehensive test for wcscmp.
84897         * string/test-strcmp.c: Update.
84898         (WIDE): New define.
84900 2011-07-22  Andreas Schwab  <schwab@redhat.com>
84902         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
84903         line.
84905 2011-07-26  Andreas Schwab  <schwab@redhat.com>
84907         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84908         encoding to ACE if AI_IDN.
84910 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
84912         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
84913         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
84915 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84917         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
84918         Fix overflow bug in strncat.
84919         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
84921         * string/test-strncat.c: Update.
84922         Add new tests for checking overflow bugs.
84924 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84926         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84927         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
84928         * sysdeps/i386/i686/multiarch/strcat.S: New file.
84929         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
84930         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
84931         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
84932         * sysdeps/i386/i686/multiarch/strncat.S: New file.
84933         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
84934         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
84936         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
84937         (USE_AS_STRCAT): Define.
84938         Add strcat and strncat support.
84939         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84941 2011-07-25  Andreas Schwab  <schwab@redhat.com>
84943         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
84944         __n bigger than INT_MAX+1.
84945         (__strncmp_g): Likewise.
84947 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
84949         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
84950         * libio/stido.h: Likewise.
84952         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
84953         (AF_NFC): Define.
84954         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
84955         (AF_NFC): Define.
84957         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
84958         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
84959         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
84960         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
84961         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
84963         [BZ #13021]
84964         * scripts/test-installation.pl: Don't expect libnss_test1 to be
84965         installed.
84967         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
84968         typo.
84969         (_dl_x86_64_save_sse): Likewise.
84971 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
84973         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
84974         OSXSAVE.
84975         (_dl_x86_64_save_sse): Likewise.
84977         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
84979         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
84981 2011-07-21  Andreas Schwab  <schwab@redhat.com>
84983         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
84984         change.
84985         (_dl_x86_64_save_sse): Use correct AVX check.
84987 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84989         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
84990         bug in strncpy/strncat.
84991         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
84993 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
84995         * string/tester.c (test_strcat): Add tests for different alignments
84996         of source and destination.
84997         (test_strncat): Likewise.
84999 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85001         [BZ #12852]
85002         * posix/glob.c (glob): Check passed in values before using them in
85003         expressions to avoid some overflows.
85004         (glob_in_dir): Likewise.
85006         [BZ #13007]
85007         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
85008         check for AVX enablement so that we don't crash with old kernels and
85009         new hardware.
85010         * elf/tst-audit4.c: Add same checks here.
85011         * elf/tst-audit6.c: Likewise.
85013         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
85015 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
85017         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
85019 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85021         * po/cs.po: Update from translation team.
85022         * po/bg.po: Likewise.
85024 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
85026         * misc/sys/cdefs.h: Add support for const attribute.
85027         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
85028         to gnu_dev_{major,minor,makedev} functions.
85030 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
85032         * intl/dcigettext.c (get_output_charset): Add missing bracket.
85034 2011-07-20  Andreas Schwab  <schwab@redhat.com>
85036         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
85037         strlen results.
85039 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85041         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
85042         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
85043         register in order to avoid conflicts with the soft frame pointer
85044         being held in r11 when necessary.
85045         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
85046         (INTERNAL_VSYSCALL_NCS): Likewise.
85048 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
85050         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
85051         * elf/dl-fini.c (_dl_fini): Adjust caller.
85052         * elf/dl-close.c (_dl_close_worker): Likewise.
85053         * sysdeps/generic/ldsodefs.h: Adjust declaration.
85055 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85057         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
85058         "aux_cache->nlibs < 0".
85060         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
85061         in the reload-count case.
85063 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85065         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85066         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
85067         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
85068         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
85069         * sysdeps/x86_64/multiarch/strcat.S: New file.
85070         * sysdeps/x86_64/multiarch/strncat.S: New file.
85071         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
85072         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
85073         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
85074         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
85075         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
85076         (USE_AS_STRCAT): Define.
85077         Add strcat and strncat support.
85078         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85079         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
85080         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
85081         * string/strncat.c: Update.
85082         (USE_AS_STRNCAT): Define.
85083         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85084         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
85085         and i7.
85086         * sysdeps/x86_64/multiarch/init-arch.h
85087         (bit_Prefer_PMINUB_for_stringop): New.
85088         (index_Prefer_PMINUB_for_stringop): Likewise.
85089         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
85090         bit_Prefer_PMINUB_for_stringop.
85092 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85094         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
85095         buffer64.
85096         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
85097         of casting of buffer.
85098         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
85099         buffer32 and buffer64.
85100         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
85101         writes instead of casting of buffer.
85102         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
85103         buffer32.
85104         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
85105         casting of buffer.
85107 2011-07-19  Andreas Schwab  <schwab@redhat.com>
85109         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
85111 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85113         * nscd/nscd.c (termination_handler): Don't do anything for a database
85114         if it has not yet been initialized.
85116 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85118         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85120 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85122         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85124 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85126         * po/nl.po: Update from translation team.
85127         * po/sv.po: Likewise.
85129 2011-07-16  Roland McGrath  <roland@hack.frob.com>
85131         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
85132         now disallowed by GCC.
85134         * configure.in (use-default-link): Default to yes if a test -shared
85135         link meets our qualifications.
85136         * configure: Regenerated.
85138         * config.make.in (output-format): New variable.
85139         * configure.in: Check for ld --print-output-format support.
85140         * configure: Regenerated.
85141         * Makerules ($(common-objpfx)format.lds)
85142         [$(output-format) != unknown]: Just use $(output-format),
85143         instead of the linker-script munging.
85145 2011-07-14  Roland McGrath  <roland@hack.frob.com>
85147         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
85148         of $(common-objpfx)shlib.lds.
85149         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
85151         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
85152         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
85154         * configure.in (-z relro check): Adjust test code to add a large
85155         writable data section after it.
85156         * configure: Regenerated.
85158 2011-07-11  Roland McGrath  <roland@hack.frob.com>
85160         * configure.in (-z relro check): Fix test code to make the variable
85161         truly const.
85162         * configure: Regenerated.
85164 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
85166         * nscd/nscd.h (struct traced_file): Define.
85167         (struct database_dyn): Remove inotify_descr, reset_res, and filename
85168         elements.  Add traced_files.
85169         (inotify_fd): Declare.
85170         (register_traced_file): Declare.
85171         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
85172         (inotify_fd): Export.
85173         (resolv_conf_descr): Remove.
85174         (nscd_init): Move inotify descriptor creation to main.
85175         Don't register files for notification here.
85176         (register_traced_file): New function.
85177         (invalidate_cache): Don't use reset_res to determine whether to call
85178         res_init, go through the list of registered files.
85179         (main_loop_poll): The inotify descriptors are now stored in the
85180         structures for the traced files.
85181         (main_loop_epoll): Likewise.
85182         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
85183         to __nss_disable_nscd.
85184         * nscd/cache.c (prune_cache): There is no single inotify descriptor
85185         for a database anymore.  Check the records for all the registered
85186         files instead.
85187         * nss/Makefile (libnss_files-routines): Add files-init.
85188         (libnss_db-routines): Add db-init.
85189         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
85190         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
85191         * nss/nss_db/db-init.c: New file.
85192         * nss/nss_files/files-init.c: New file.
85193         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
85194         __nss_lookup_function.
85195         (__nss_lookup_function): Call nss_load_library.
85196         (nss_load_all_libraries): New function.
85197         (__nss_disable_nscd): Take parameter with callback function for files
85198         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
85199         used for the cached services.
85200         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
85201         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
85202         options for features to all the files in nscd.
85204         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
85206 2011-07-10  Roland McGrath  <roland@hack.frob.com>
85208         * csu/elf-init.c (__libc_csu_init): Comment typo.
85210 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
85212         * po/pl.po: Update from translation team.
85213         * po/ja.po: Likewise.
85214         * po/ru.po: Likewise.
85215         * po/ko.po: Likewise.
85216         * po/fr.po: Likewise.
85218 2011-07-09  Roland McGrath  <roland@hack.frob.com>
85220         * configure.in (.ctors/.dtors header and trailer check):
85221         Use an empirical test on a built program.
85222         * configure: Regenerated.
85224         * configure.in (-z relro check): Use an empirical test on a built DSO.
85225         Detect, but do not require, on ia64.
85226         * configure: Regenerated.
85228         * configure.in (READELF): Find it with AC_CHECK_TOOL.
85229         Update tests that use readelf to use $READELF instead.
85230         * configure: Regenerated.
85232 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
85234         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
85235         if the result is not used.
85237 2011-07-05  Andreas Jaeger  <aj@suse.de>
85239         [BZ#9696]
85240         * stdlib/tst-strtod.c: Add testcase.
85242 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
85244         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
85245         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
85246         The latter has a higher limit.  Take additional parameter to pass to
85247         the new function.
85248         (__pathconf): Pass file to __statfs_link_max.
85249         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
85250         __statfs_link_max.
85251         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
85252         __statfs_link_max.
85254         [BZ #12868]
85255         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
85256         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85257         Handle Lustre.
85258         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
85259         (__statfs_filesize_max): Likewise.
85260         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
85262 2011-07-05  Andreas Jaeger  <aj@suse.de>
85264         * resolv/res_comp.c (dn_skipname): Remove unused variable.
85266 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
85268         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
85269         `status' variable.
85270         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
85271         Likewise.
85273 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
85275         * Makefile (strop-tests): Add strncat.
85276         * string/test-strncat.c: New file.
85278 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
85280         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
85282 2011-06-21  Andreas Jaeger  <aj@suse.de>
85284         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
85285         Copy rule from iconvdata/Makefile.
85287 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85289         [BZ #12922]
85290         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
85291         but no long options are defined, just return 'W'.
85293 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
85295         [BZ #9696]
85296         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
85298 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85300         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
85301         netgroups to read.
85302         (innetgr): Likewise.
85304 2011-07-05  Roland McGrath  <roland@hack.frob.com>
85306         * config.make.in (install_root): Default to $(DESTDIR).
85308 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
85310         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
85312 2011-07-02  Roland McGrath  <roland@hack.frob.com>
85314         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
85316         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
85317         containing directory rather than embedding absolute directory names.
85319         * scripts/check-local-headers.sh: Rewritten using awk.
85320         Match by word, not by line.  Print error messages for matches.
85321         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
85323         * Makerules [shlib-lds-flags empty]:
85324         ($(common-objpfx)libc_pic.opts): New target.
85325         ($(common-objpfx)libc_pic.os.clean): New target.
85326         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
85328         * config.make.in (OBJCOPY): New variable.
85329         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
85330         * configure: Regenerated.
85332         * config.make.in (use-default-link): New variable.
85333         * configure.in (use_default_link): Grok --with-default-link to set it.
85334         * configure: Regenerated.
85335         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
85336         (shlib-lds, shlib-lds-flags): Define to empty.
85338         * Makerules (shlib-lds): New variable.
85339         (shlib-lds-flags): New variable.
85340         (build-shlib, build-moduile, build-module-asneeded): Use it.
85341         ($(common-objpfx)libc.so): Use $(shlib-lds).
85342         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
85343         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
85345         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
85346         DT_FLAGS/DT_FLAGS_1 with zero flags.
85348         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
85349         linker script munging.
85351 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
85353         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
85354         as 128-bit value.
85355         * crypt/sha512.c (sha512_process_block): Perform total addition using
85356         128-bit if possible.
85357         (__sha512_finish_ctx): Likewise.
85358         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
85359         as 64-bit value.
85360         * crypt/sha256.c (SWAP64): Define.
85361         (sha256_process_block): Perform total addition using 64-bit if
85362         possible.
85363         (__sha256_finish_ctx): Likewise.
85365 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
85367         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
85368         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85369         * nscd/hstcache.c (cache_addhst): Likewise.
85370         * nscd/grpcache.c (cache_addgr): Likewise.
85371         * nscd/aicache.c (addhstaiX): Likewise.
85372         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
85374 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
85376         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
85377         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85378         * nscd/hstcache.c (cache_addhst): Likewise.
85379         * nscd/grpcache.c (cache_addgr): Likewise.
85380         * nscd/aicache.c (addhstaiX): Likewise.
85382 2011-07-01  Andreas Schwab  <schwab@redhat.com>
85384         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
85385         domain only when needed.
85387 2011-06-30  Andreas Schwab  <schwab@redhat.com>
85389         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
85390         is always restored.
85392 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
85394         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
85395         are re-adding the entry.
85396         * nscd/servicescache.c (cache_addserv): Likewise.
85398 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
85400         * sysdeps/generic/dl-irel.h: fix protection against multiple
85401         inclusions.
85402         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
85404 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
85406         [BZ #12935]
85407         * malloc/memusage.sh: Fix quoting in message.
85408         * debug/xtrace.sh: Likewise.
85410         * configure.in: Remove support for --experimental-malloc option, make
85411         it the default.
85412         * config.make.in: Likewise.
85413         * malloc/Makefile: Likewise.
85415 2011-06-27  Andreas Schwab  <schwab@redhat.com>
85417         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
85418         two-byte characters.
85420 2011-06-27  Roland McGrath  <roland@hack.frob.com>
85422         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
85423         AC_CACHE_CHECK invocation.
85424         * configure: Regenerated.
85426         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
85428 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
85430         [BZ #12350]
85431         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
85432         bit from old_res_options.
85434         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
85436         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
85437         value type for setfct.
85439 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
85441         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
85442         __gettimeofday instead of gettimeofday.
85444 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
85446         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
85448 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
85450         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
85452         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
85453         info.
85455 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
85457         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85458         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
85459         strcpy-sse2-unaligned strncpy-sse2-unaligned
85460         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
85461         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
85462         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
85463         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
85464         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
85465         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
85466         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
85467         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
85468         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
85469         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
85470         (STRCPY): Support SSE2 and SSSE3 versions.
85472 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
85474         [BZ #12874]
85475         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
85476         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
85477         kernels which artificially limit size of requests.
85479 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
85481         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85482         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
85483         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
85484         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
85485         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
85486         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
85487         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
85488         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
85489         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
85490         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
85491         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
85492         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
85493         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
85494         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
85495         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
85496         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85497         Enable unaligned load optimization for Intel Core i3, i5 and i7
85498         processors.
85499         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
85500         Define.
85501         (index_Fast_Unaligned_Load): Define.
85502         (HAS_FAST_UNALIGNED_LOAD): Define.
85504 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
85506         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
85508 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
85510         [BZ #12907]
85511         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
85512         until it is clear that the information is realy needed.
85513         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
85515 2011-06-22  Andreas Schwab  <schwab@redhat.com>
85517         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
85519 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
85521         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
85522         /sys/devices/system/cpu/online if it is usable.
85524         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
85525         reading the information from the /proc filesystem to once a second.
85527 2011-06-21  Andreas Jaeger  <aj@suse.de>
85529         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
85530         NULL after inclusion of kernel headers.
85532 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
85534         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
85535         calls to internal_setent.
85537         [BZ #12885]
85538         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
85539         addresses using gethostbyname4_r ignore IPv4 addresses.
85541         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
85542         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
85544         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
85546 2011-06-20  David S. Miller  <davem@davemloft.net>
85548         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
85549         inclusions.
85550         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
85552         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
85553         (elf_irel): Use it.
85554         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
85555         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
85556         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
85557         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
85558         * sysdeps/x86_64/dl-irel.h: Likewise.
85560         * elf/dl-runtime.c: Use elf_ifunc_invoke.
85561         * elf/dl-sym.c: Likewise.
85563 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
85565         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
85566         need to dereference resplen2.
85568 2011-06-14  Andreas Schwab  <schwab@redhat.com>
85570         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
85572 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
85574         * Makeconfig: Define vardbdir and inst_vardbdir.
85575         * nss/Makefile: Add rules to install db-Makefile.
85577         * nss/nss_db/db-XXX.c: Cleanup.
85579         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
85580         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
85581         GLIBC_PRIVATE.
85582         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
85583         * nss/makedb.c: Implement -g option to specify that value strings
85584         are generated and should not be added to table iterated over for
85585         get*ent calls.
85586         * nss/nss_db/db-initgroups.c: New file.
85588         * nss/getent.c: Add support for initgroups lookups through getgrouplist
85589         interface.
85591         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
85592         (internal_getgrouplist): Adjust to name change.
85593         Update use_initgroups_entry if this is not the first call.
85594         * nss/databases.def: Add initgroups entry.
85596         * nss/makedb.c (compute_tables): Check result of multiple hash table
85597         sizes to minimize maximum chain length.
85599 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
85601         * Versions.def: Add entry for libnss_db.
85602         * shlib-versions: Likewise.
85603         * nss/Makefile: Add rules to build libnss_db.
85604         * nss/Versions: Add libnss_db information.  Organize libnss_files
85605         entries better.
85606         * nss/db-Makefile: Add gshadow support.  Change rules for the new
85607         makedb progra.  Some minor improvements to generate smaller files.
85608         * nss/nss_db/nss_db.h: Move NSS database header data structures to
85609         here from...
85610         * nss/makedb.c: ...here.
85611         Improve database format to be smaller and require less memory at
85612         runtime.
85613         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
85614         db anymore.
85615         * nss/nss_db/db-netgrp.c: Likewise.
85616         * nss/nss_db/db-open.c: Likewise.
85617         * nss/nss_files/flies-XXX.x: Adjust comments.
85618         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
85619         * nss/nss_files/files-grp.c: Likewise.
85620         * nss/nss_files/files-hosts.c: Likewise.
85621         * nss/nss_files/files-network.c: Likewise.
85622         * nss/nss_files/files-proto.c: Likewise.
85623         * nss/nss_files/files-pwd.c: Likewise.
85624         * nss/nss_files/files-rpc.c: Likewise.
85625         * nss/nss_files/files-service.c: Likewise.
85626         * nss/nss_files/files-sgrp.c: Likewise.
85627         * nss/nss_files/files-spwd.c: Likewise.
85628         * nss/nss_db/db-alias.c: Removed.
85629         * nss/nss_db/dummy-db.h: Removed.
85631 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
85633         * nss/makedb.c: Rewritten to not use database library.
85634         * nss/Makefile: Update to build new makedb program.
85636 2011-06-14  Andreas Jaeger  <aj@suse.de>
85638         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
85639         memset declaration.
85641 2011-06-10  Andreas Schwab  <schwab@redhat.com>
85643         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
85644         tmpbuf.
85646 2011-06-10  Roland McGrath  <roland@hack.frob.com>
85648         * Makerules (shlib.lds): Fail if the linker script comes out empty.
85649         * elf/Makefile ($(objpfx)ld.so): Likewise.
85651         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
85652         Don't list ld.so twice in dependencies.
85654         * posix/bug-regex31.c: Include <stdlib.h>.
85656         * nscd/hstcache.c (cache_addhst): Remove unused variable.
85658         * nis/nss_compat/compat-spwd.c
85659         (getspent_next_nss_netgr): Remove unused variable.
85660         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
85662         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
85663         nonmembers" output to use the right array.
85665         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
85667         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
85669         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
85670         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
85671         * catgets/gencat.c (read_input_file): Likewise.
85672         * locale/programs/locarchive.c (enlarge_archive): Likewise.
85674         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
85675         variable definition inside #if's controlling its use.
85677         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
85679         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
85681         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
85683         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
85684         unreachable code.
85686         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
85688         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
85689         * configure: Regenerated.
85691         * Makerules: Revert last change.
85692         * elf/Makefile: Likewise.
85694 2011-06-09  Roland McGrath  <roland@hack.frob.com>
85696         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
85697         * elf/Makefile ($(objpfx)librtld.os): Likewise.
85698         (reloc-link): Likewise.
85700 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
85702         * elf/Makefile: Add rules to build pldd.
85703         * elf/pldd.c: New file.
85704         * elf/pldd-xx.c: New file.
85706 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
85708         * version.h: Update for 2.15 development version.
85710 2011-06-07  David S. Miller  <davem@davemloft.net>
85712         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
85713         ifuncs.
85714         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
85715         elf_machine_lazy_rel): Likewise.
85716         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
85717         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
85718         elf_machine_lazy_rel): Likewise.
85719         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
85720         dl_hwcap via passed in argument.
85721         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
85722         Likewise.
85724 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85726         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
85728 2011-06-06  Roland McGrath  <roland@hack.frob.com>
85730         [BZ #12849]
85731         * manual/fdl-1.1.texi: New file, verbatim from:
85732         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
85733         * manual/lgpl-2.1.texi: New file, verbatim from:
85734         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
85735         * manual/Makefile (licenses): New variable, list those new file names.
85736         (texis): Use it.
85737         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
85739         * manual/fdl.texi: File removed.
85740         * manual/lesser.texi: File removed.
85741         * manual/libc.texinfo (Copying, Documentation License):
85742         Use new @include file names, put @appendix directive before @include.
85744 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
85746         [BZ #12841]
85747         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
85748         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
85749         (mq_open): Add __NTH.
85751 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
85753         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85754         Assume Intel Core i3/i5/i7 processor if AVX is available.
85756 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85758         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
85759         typo.
85761 2011-05-31  Andreas Schwab  <schwab@redhat.com>
85763         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
85764         memory.  Use alloca_account.  Fix memory leak when retrying.
85766 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85768         * version.h (RELEASE): Bump for 2.14 release.
85769         * include/features.h (__GLIBC_MINOR__): Bump to 14.
85771         * config.make.in (RANLIB): Remove entry.
85773 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
85775         * po/Makefile (po-sed-cmd): Add ksh to extensions.
85776         (libc.pot): Work around missing support for .ksh extension in xgettext.
85778         [BZ #12684]
85779         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
85780         if both request failed.
85781         (send_dg): In case of server errors clear resplen or *resplen2.
85783         [BZ #12454]
85784         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
85785         when there are multiple maps.
85786         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
85787         (_dl_fini): Remove test here.
85789         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
85791 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
85793         [BZ #12350]
85794         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
85795         bit from old_res_options.
85796         (gaih_inet): Likewise.
85798         [BZ #11099]
85799         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
85800         as signed.
85802         * resolv/res_init.c (res_setoptions): Make the code more compact.
85804         [BZ #11558]
85805         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
85806         set RES_USEVC.
85808         [BZ #11634]
85809         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
85811         * malloc/malloc.h: Mark malloc hook variables as deprecated.
85813         [BZ #11781]
85814         * malloc/malloc.h: Declare malloc hook variables as volatile.
85816         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
85817         in last patch.
85819         [BZ #11799]
85820         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
85821         raise in the comment.
85822         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
85823         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
85824         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
85826 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
85828         [BZ #12811]
85829         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
85830         grow the buffers more if it already has to be sufficient.
85831         (build_wcs_upper_buffer): Likewise.
85832         * posix/regexec.c (check_matching): Likewise.
85833         (clean_state_log_if_needed): Likewise.
85834         (extend_buffers): Don't enlarge buffers beyond size of the input
85835         buffer.
85836         Patches mostly by Emil Wojak <emil@wojak.eu>.
85837         * posix/bug-regex32.c: New file.
85838         * posix/Makefile (tests): Add bug-regex32.
85840         * locale/findlocale.c (_nl_find_locale): Return right away if
85841         _nl_explode_name failed.
85842         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
85844         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
85846         * debug/xtrace.sh: Unify messages.
85847         * malloc/memusage.sh: Likewise.
85849         [BZ #12813]
85850         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
85851         time symbol from vDSO.  Substitute with vsyscall if not available.
85852         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
85853         __vdso_time.
85855         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
85856         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
85857         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
85858         Add sendmmsg and internal_sendmmsg.
85859         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
85860         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
85861         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
85863         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
85864         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
85865         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
85867 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
85869         [BZ #12813]
85870         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
85871         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
85872         available.
85873         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
85874         __vdso_getcpu.
85876         [BZ #12814]
85877         * iconvdata/Makefile (tests): Add bug-iconv9.
85878         * iconvdata/bug-iconv9.c: New file.
85880 2011-05-27  Andreas Schwab  <schwab@redhat.com>
85882         [BZ #12814]
85883         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
85885 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
85887         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
85888         (struct user_regs_struct): Change intcs field back to cs.
85890 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
85892         * po/ja.po: Update from translation team.
85894 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
85896         [BZ #12795]
85897         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
85898         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
85900 2011-05-20  Andreas Schwab  <schwab@redhat.com>
85902         * stdlib/longlong.h: Update from GCC.
85904 2011-05-23  Andreas Schwab  <schwab@redhat.com>
85906         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
85907         parameter name.
85908         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
85909         Add parameter name.
85910         (__sysconf): Pass it down.
85912 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
85914         [BZ #12671]
85915         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
85916         some situations.
85917         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
85918         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
85919         add in in __libc_use_alloca calls.  Adjust callers.
85920         (glob): Use malloc in some situations.
85922         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
85923         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
85924         pltexit.
85926 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
85928         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
85929         and CLOCK_BOOTTIME_ALARM.
85931         [BZ #12782]
85932         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
85933         is returned.
85935         * string/_strerror.c (__strerror_r): Print negative errors as signed
85936         numbers.
85938         [BZ #12777]
85939         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
85940         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
85941         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
85943         * configure.in: Fix typo in redirection and correct removal of test
85944         files in two cases.
85946         [BZ #12788]
85947         * locale/setlocale.c (new_composite_name): Fix test to check for
85948         identical name of all categories.
85950         [BZ #12792]
85951         * libio/filedoalloc.c (local_isatty): New function.
85952         (_IO_file_doallocate): Use local_isatty.
85953         * stdio-common/perror.c (perror): In case a new stream is used
85954         forward the stream error.
85955         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
85956         error flag.
85958 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
85960         [BZ #11884]
85961         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
85962         alloca.
85963         * include/alloca.h (extend_alloca_account): Define.
85965         [BZ #11857]
85966         * posix/regex.h: Fix comments with documentation of user-accessible
85967         fields after compilation and describe correct free'ing of pattern
85968         after re_compile_pattern.
85969         Patch by Reuben Thomas <rrt@sc3d.org>.
85971 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
85973         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
85974         and -mno-altivec to prevent the compiler from using Altivec and/or
85975         VSX instructions when the corresponding registers are not available.
85977 2011-05-19  Andreas Schwab  <schwab@redhat.com>
85979         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
85981 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
85983         * libio/freopen.c (freopen): Use __dup2, not dup2.
85984         * libio/freopen64.c (freopen64): Likewise.
85986 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
85988         [BZ #12775]
85989         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
85990         * math/Makefile (tests): Add test-powl.
85991         (CFLAGS-test-powl.c): Define.
85992         * math/test-powl.c: New file.
85994 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
85996         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
85998 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
86000         [BZ #11837]
86001         * iconvdata/gb18030.c: Update to GB18020-2005.
86003 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
86005         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
86006         RE_SYNTAX_POSIX_AWK): Update to match recent development.
86007         Patch by Aharon Robbins <arnold@skeeve.com>.
86009         [BZ #11892]
86010         * stdlib/putenv.c (putenv): Don't always create copy of the variable
86011         on the stack.
86013         [BZ #11895]
86014         * misc/pselect.c (__pselect): Handle timeout value errors hidden
86015         through underflows.
86017         [BZ #12766]
86018         * misc/error.c (error_at_line): Ensure file_name and old_file_name
86019         point to strings before performing equality test for error_one_per_line
86020         mode.
86022         [BZ #11697]
86023         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
86025         [BZ #11820]
86026         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86027         (struct user_fpregs_struct): Avoid __uint*_t types.
86029         [BZ #6420]
86030         * malloc/mtrace.c (tr_where): Add additional parameter to point to
86031         symbol info.  Use it instead of calling _dl_addr locally.
86032         (lock_and_info): New function.
86033         (tr_freehook): Call lock_and_info and pass symbol info as additional
86034         parameter to tr_where.
86035         (tr_mallochook): Likewise.
86036         (tr_reallochook): Likewise.
86037         (tr_memalignhook): Likewise.
86039         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
86040         used and couldn't be at all thread-safe.
86042 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
86044         * libio/freopen.c (freopen): Don't close old file descriptor
86045         before the new one is opened.  Instead dup the new file descriptor
86046         to the old one after the new stream is created.
86047         * libio/freopen64.c (freopen64): Likewise.
86048         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
86049         * libio/fileops.c (_IO_new_file_close_it): Handle new
86050         _IO_FLAGS2_NOCLOSE flag.
86051         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
86052         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
86053         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
86054         _IO_FLAGS2_NOCLOSE flag.
86055         * include/unistd.h: Add hidden_proto for dup3.
86056         Define __have_dup3.
86057         * io/dup3.c: Define hidden symbol.
86058         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
86060         [BZ #7101]
86061         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
86062         when an incomplete long option is used.
86063         * posix/tst-getopt_long1.c: New file.
86064         * posix/Makefile (tests): Add tst-getopt_long1.
86066         [BZ #10138]
86067         * scripts/config.guess: Update from autoconf-2.68.
86068         * scripts/config.sub: Likewise.
86070         [BZ #10157]
86071         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
86072         tests into ...
86073         (has_cpuclock): ...this.  New function.
86074         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
86075         macro here based on has_cpuclock code.
86077         [BZ #10149]
86078         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86079         First byte (not low byte) is now always NUL.
86080         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
86082         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86083         Use non-cancelable interfaces.
86085         [BZ #9809]
86086         * locale/iso-639.def: Add entry for Sorani.
86088         [BZ #11901]
86089         * include/stdlib.h: Move include protection to the right place.
86090         Define abort_msg_s.  Declare __abort_msg with it.
86091         * stdlib/abort.c (__abort_msg): Adjust type.
86092         * assert/assert.c (__assert_fail_base): New function.  Majority
86093         of code from __assert_fail.  Allocate memory for __abort_msg with
86094         mmap.
86095         (__assert_fail): Now call __assert_fail_base.
86096         * assert/assert-perr.c: Remove bulk of implementation.  Use
86097         __assert_fail_base.
86098         * include/assert.hL Declare __assert_fail_base.
86099         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
86100         mmap.
86101         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
86103 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
86105         [BZ #11952]
86106         [BZ #12453]
86107         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
86108         until all modules are registered in the DTV.
86109         * elf/Makefile: Add rules to build and run tst-tls19.
86110         * elf/tst-tls19.c: New file.
86111         * elf/tst-tls19mod1.c: New file.
86112         * elf/tst-tls19mod2.c: New file.
86113         * elf/tst-tls19mod3.c: New file.
86114         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
86116         [BZ #12083]
86117         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
86118         correctly.
86120         [BZ #12601]
86121         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
86122         two-byte sequence errors.
86123         * iconvdata/Makefile (tests): Add bug-iconv8.
86124         * iconvdata/bug-iconv8.c: New file.
86126         [BZ #12626]
86127         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
86128         buf2 definition.
86130         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
86132         [BZ #12432]
86133         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
86134         (dummy_getcfa): New function.
86135         (init): Get _Unwind_GetCFA address, use dummy if not found.
86136         (backtrace_helper): In recursion check, also check whether CFA changes.
86137         (__backtrace): Completely initialize arg.
86139         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
86140         storing incomplete byte sequence in state object.  Avoid testing for
86141         guaranteed too small input if we know there is enough data available.
86143 2011-05-11  Andreas Schwab  <schwab@redhat.com>
86145         * Makeconfig (+link-pie): Indent.
86146         * Rules (binaries-pie): Define if $(have-fpie) and
86147         $(build-shared).
86148         (binaries-shared): Also filter out $(binaries-pie).
86149         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
86150         * nscd/Makefile (others-pie): Add nscd.
86151         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
86152         ($(objpfx)nscd): Remove command override.
86153         * login/Makefile (others-pie): Add pt_chown.
86154         ($(objpfx)pt_chown): Remove command override.
86155         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
86156         remove command overrides.
86158 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
86160         * libio/tst_putwc.c: Fix error messages.
86162         [BZ #12724]
86163         * libio/fileops.c (_IO_new_file_close_it): Always flush when
86164         currently writing and seek to current position when not.
86165         * libio/Makefile (tests): Add bug-fclose1.
86166         * libio/bug-fclose1.c: New file.
86168 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
86170         [BZ #12511]
86171         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
86172         don't set DF_1_NODELETE here.
86173         (do_lookup_x): When entering new entry test for copy relocation
86174         and if necessary set DF_1_NODELETE flag.
86175         * elf/tst-unique4.cc: New file.
86176         * elf/tst-unique4.h: New file.
86177         * elf/tst-unique4lib.cc: New file.
86178         * elf/Makefile: Add rules to build and run tst-unique4.
86179         Patch by Piotr Bury <pbury@goahead.com>.
86181 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
86183         [BZ #12052]
86184         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
86186         [BZ #12625]
86187         * misc/mntent_r.c (addmntent): Flush the stream after the output
86189         [BZ #12393]
86190         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
86191         (is_trusted_path_normalize): Skip initial colon.  Append slash
86192         to empty buffer.  Duplicate is_trusted_path code but allow
86193         constructed patch to be prefix.
86194         (is_dst): Allow $ORIGIN followed by /.
86195         (_dl_dst_substitute): Correct clearing of check_for_trusted.
86196         Correct testing of result of is_trusted_path_normalize
86197         (decompose_rpath): Fix warning.
86199 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
86201         [BZ #11257]
86202         * grp/initgroups.c (internal_getgrouplist): When we found the service
86203         list through the initgroups entry in nsswitch.conf do not always
86204         continue on a successful lookup.  Don't always use the
86205         __nss_group_database value if it is set.
86206         * nss/nsswitch.conf (initgroups): Change action for successful db
86207         lookup to continue for compatibility.
86209 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
86211         [BZ #11532]
86212         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
86213         and CP774 modules.
86214         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
86215         and CP774 modules.
86216         * iconvdata/tst-tables.sh: Likewise.
86217         * iconvdata/cp770.c: New file.
86218         * iconvdata/cp771.c: New file.
86219         * iconvdata/cp772.c: New file.
86220         * iconvdata/cp773.c: New file.
86221         * iconvdata/cp774.c: New file.
86222         * iconvdata/testdata/CP770: New file.
86223         * iconvdata/testdata/CP770..UTF8: New file.
86224         * iconvdata/testdata/CP771: New file.
86225         * iconvdata/testdata/CP771..UTF8: New file.
86226         * iconvdata/testdata/CP772: New file.
86227         * iconvdata/testdata/CP772..UTF8: New file.
86228         * iconvdata/testdata/CP773: New file.
86229         * iconvdata/testdata/CP773..UTF8: New file.
86230         * iconvdata/testdata/CP774: New file.
86231         * iconvdata/testdata/CP774..UTF8: New file.
86233         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
86234         END CHARMAP line.
86235         * iconvdata/gen-8bit-gap.sh: Likewise.
86236         * iconvdata/gen-8bit.sh: Likewise.
86238         * locale/iso-639.def: Add ary entry.
86240         [BZ #11258]
86241         * locale/C-translit.h.in: Add U20A1 transliteration.
86243         [BZ #12178]
86244         * locale/iso-639.def: Add wae entry.
86245         Patch by Kevin Bortis <bortis@translate-wae.ch>.
86247         [BZ #12545]
86248         * locale/programs/localedef.c (construct_output_path): Use ssize_t
86249         for n.
86251         [BZ #12711]
86252         * locale/C-translit.h.in: Add entry for U20B9.
86253         Patch by pravin.d.s@gmail.com.
86255 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
86257         [BZ #12713]
86258         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
86259         ENAMETOOLONG use generic getcwd.
86260         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
86261         in rtld.  Use *stat64.
86262         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
86263         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
86264         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
86265         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
86266         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
86267         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
86268         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
86269         __fstatat64 macros.
86270         * include/dirent.h: Add libc_hidden_proto for rewinddir.
86271         * dirent/rewinddir.c: Add libc_hidden_def.
86272         * sysdeps/mach/hurd/rewinddir.c: Likewise.
86273         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
86275         * include/dirent.h (__alloc_dir): Add flags parameter.
86276         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
86277         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
86278         __alloc_dir.
86279         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
86280         from fdopendir if O_CLOEXEC is already set.
86282 2011-03-15  Alan Modra  <amodra@gmail.com>
86284         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
86285         l_tls_firstbyte_offset non-zero.  Save padding offset in
86286         l_tls_firstbyte_offset for later use.
86287         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
86288         freeing static tls block.
86290 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
86292         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
86293         where #ifdef was intended.  The intent is to prevent ARG_MAX from
86294         being defined by the kernel headers.
86296 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
86298         [BZ #12734]
86299         * resolv/resolv.h: Define RES_NOTLDQUERY.
86300         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
86301         no-tld-query and set RES_NOTLDQUERY.
86302         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
86303         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
86304         modern BIND to search name as TLD unless forbidden.
86306 2011-05-07  Petr Baudis  <pasky@suse.cz>
86307             Ulrich Drepper  <drepper@gmail.com>
86309         [BZ #12393]
86310         * elf/dl-load.c (fillin_rpath): Move trusted path check...
86311         (is_trusted_path): ...to here.
86312         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
86313         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
86314         using is_trusted_path_normalize() in setuid scripts.
86316 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
86318         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
86319         __BEGIN/__END_DECLS.
86321 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
86323         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
86324         NSS_STATUS_NOTFOUND if no record was found.
86326 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86328         * sunrpc/Makefile (headers): Add rpc/netdb.h.
86329         (headers-not-in-tirpc): Remove rpc/netdb.h
86330         * resolv/netdb.h: Revert last change.
86332 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
86334         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
86335         circular dependency between libgcc.a and libc.a.
86337 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86339         * resolv/netdb.h: Don't include <rpc/netdb.h>.
86340         * nis/Makefile: Don't install rpcsvc/*.
86341         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
86342         instead of <rpc/types.h>.
86343         (MAXHOSTNAMELEN): Define.
86345 2011-05-03  Andreas Schwab  <schwab@redhat.com>
86347         * elf/ldconfig.c (add_dir): Don't crash on empty path.
86349 2011-04-28  Maciej Babinski  <mbabinski@google.com>
86351         [BZ #12714]
86352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
86353         gethostbyname4_r when IPv6 results are possible.
86355 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
86357         [BZ #12723]
86358         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
86359         _PC_PIPE_BUF handling.
86361 2011-04-30  Bruno Haible  <bruno@clisp.org>
86363         [BZ #12717]
86364         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
86365         * resolv/netdb.h (getnameinfo): Change type of flags parameter
86366         to 'int'.
86367         * inet/getnameinfo.c (getnameinfo): Likewise.
86369 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
86371         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
86372         to groups setting in database lookup.
86373         * nss/nsswitch.conf: Add initgroups entry.
86375 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
86377         [BZ #12685]
86378         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
86379         mode string.
86380         Patch by Eric Blake <eblake@redhat.com>.
86382 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
86384         * sunrpc/Makefile (need-export-routines): Add svc_run.
86385         (routines): Remove svc_run.
86386         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
86387         * sunrpc/clnt_perr.c (clnt_perrno): Export.
86388         * sunrpc/svc_run.c (svc_run): Likewise.
86389         * sunrpc/svc_udp.c (svcudp_create): Likewise.
86391 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
86393         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
86394         problem in reallocation in last patch.
86396 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
86398         * sunrpc/Makefile: Move inclusion of Rules.
86400 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86402         * nss/nss_files/files-initgroups.c: New file.
86403         * nss/Makefile (libnss_files-routines): Add files-initgroups.
86404         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
86405         _nss_files_initgroups_dyn.
86407 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
86409         * elf/elf.h (R_ARM_IRELATIVE): Define.
86411 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86413         * po/ru.po: Update from translation team.
86415 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86417         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
86418         dependencies.
86420 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
86422         [BZ #12653]
86423         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
86424         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
86425         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
86426         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
86427         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
86429 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
86431         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
86432         differing bytes.
86433         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
86434         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
86435         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86437 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86439         [BZ #12420]
86440         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
86441         storing it.
86442         * stdlib/bug-getcontext.c: New file.
86443         * stdlib/Makefile: Add rules to build and run bug-getcontext.
86445 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86447         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
86448         instructions into .machine "z9-109".
86449         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
86450         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
86452 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86454         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
86455         between environment variables and auxiliary vector.
86457 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
86459         * Makefile: Add rules to build linkobj/libc.so.
86460         * include/libc-symbols.h: Define libc_hidden_nolink.
86461         * include/rpc/auth.h: Mark functions which are to be hidden.
86462         * include/rpc/auth_des.h: Likewise.
86463         * include/rpc/auth_unix.h: Likewise.
86464         * include/rpc/clnt.h: Likewise.
86465         * include/rpc/des_crypt.h: Likewise.
86466         * include/rpc/key_prot.h: Likewise.
86467         * include/rpc/pmap_clnt.h: Likewise.
86468         * include/rpc/pmap_prot.h: Likewise.
86469         * include/rpc/pmap_rmt.h: Likewise.
86470         * include/rpc/rpc_msg.h: Likewise.
86471         * include/rpc/svc.h: Likewise.
86472         * include/rpc/svc_auth.h: Likewise.
86473         * include/rpc/xdr.h: Likewise.
86474         * nis/Makefile: Link all DSOs against linkobj/libc.so.
86475         * nss/Makefile: Likewise.
86476         * sunrpc/Makefile: Don't install headers.  Build library with normal
86477         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
86478         * sunrpc/auth_des.c: Hide exported symbols by default, export some
86479         for the compat linking library.  Remove use of INTDEF/INTUSE.
86480         * sunrpc/auth_none.c: Likewise.
86481         * sunrpc/auth_unix.c: Likewise.
86482         * sunrpc/authdes_prot.c: Likewise.
86483         * sunrpc/authuxprot.c: Likewise.
86484         * sunrpc/clnt_gen.c: Likewise.
86485         * sunrpc/clnt_perr.c: Likewise.
86486         * sunrpc/clnt_raw.c: Likewise.
86487         * sunrpc/clnt_simp.c: Likewise.
86488         * sunrpc/clnt_tcp.c: Likewise.
86489         * sunrpc/clnt_udp.c: Likewise.
86490         * sunrpc/clnt_unix.c: Likewise.
86491         * sunrpc/des_crypt.c: Likewise.
86492         * sunrpc/des_soft.c: Likewise.
86493         * sunrpc/get_myaddr.c: Likewise.
86494         * sunrpc/key_call.c: Likewise.
86495         * sunrpc/key_prot.c: Likewise.
86496         * sunrpc/netname.c: Likewise.
86497         * sunrpc/pm_getmaps.c: Likewise.
86498         * sunrpc/pm_getport.c: Likewise.
86499         * sunrpc/pmap_clnt.c: Likewise.
86500         * sunrpc/pmap_prot.c: Likewise.
86501         * sunrpc/pmap_prot2.c: Likewise.
86502         * sunrpc/pmap_rmt.c: Likewise.
86503         * sunrpc/publickey.c: Likewise.
86504         * sunrpc/rpc_cmsg.c: Likewise.
86505         * sunrpc/rpc_common.c: Likewise.
86506         * sunrpc/rpc_dtable.c: Likewise.
86507         * sunrpc/rpc_prot.c: Likewise.
86508         * sunrpc/rpc_thread.c: Likewise.
86509         * sunrpc/rtime.c: Likewise.
86510         * sunrpc/svc.c: Likewise.
86511         * sunrpc/svc_auth.c: Likewise.
86512         * sunrpc/svc_authux.c: Likewise.
86513         * sunrpc/svc_raw.c: Likewise.
86514         * sunrpc/svc_run.c: Likewise.
86515         * sunrpc/svc_simple.c: Likewise.
86516         * sunrpc/svc_tcp.c: Likewise.
86517         * sunrpc/svc_udp.c: Likewise.
86518         * sunrpc/svc_unix.c: Likewise.
86519         * sunrpc/svcauth_des.c: Likewise.
86520         * sunrpc/xcrypt.c: Likewise.
86521         * sunrpc/xdr.c: Likewise.
86522         * sunrpc/xdr_array.c: Likewise.
86523         * sunrpc/xdr_float.c: Likewise.
86524         * sunrpc/xdr_intXX_t.c: Likewise.
86525         * sunrpc/xdr_mem.c: Likewise.
86526         * sunrpc/xdr_rec.c: Likewise.
86527         * sunrpc/xdr_ref.c: Likewise.
86528         * sunrpc/xdr_sizeof.c: Likewise.
86529         * sunrpc/xdr_stdio.c: Likewise.
86531 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
86533         [BZ #12650]
86534         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
86535         * sysdeps/ia64/dl-tls.h: Likewise.
86536         * sysdeps/powerpc/dl-tls.h: Likewise.
86537         * sysdeps/s390/dl-tls.h: Likewise.
86538         * sysdeps/sh/dl-tls.h: Likewise.
86539         * sysdeps/sparc/dl-tls.h: Likewise.
86540         * sysdeps/x86_64/dl-tls.h: Likewise.
86541         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
86543 2011-03-14  Andreas Schwab  <schwab@redhat.com>
86545         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
86546         rpath element also skip the following colon.
86547         (expand_dynamic_string_token): Add is_path parameter and pass
86548         down to DL_DST_REQUIRED and _dl_dst_substitute.
86549         (decompose_rpath): Call expand_dynamic_string_token with
86550         non-zero is_path.  Ignore empty rpaths.
86551         (_dl_map_object_from_fd): Call expand_dynamic_string_token
86552         with zero is_path.
86554 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
86556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
86557         Make cancelable.
86559 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
86561         [BZ #12655]
86562         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
86563         Patch by Filipe David Manana <fdmanana@apache.org>.
86565 2011-04-07  Andreas Schwab  <schwab@redhat.com>
86567         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
86568         Maintain aligned stack.
86569         (CHECK_RSP): Remove unused macro.
86571 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
86573         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
86574         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
86576 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
86578         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
86580         * include/features.h: Mention __USE_XOPEN2K8 in comment.
86582 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
86584         [BZ #12518]
86585         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
86586         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
86587         * sysdeps/x86_64/memmove.c: New file.
86588         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
86589         (memcpy): Renamed to ...
86590         (__new_memcpy): This.
86591         (memcpy): Provide GLIBC_2_14 memcpy.
86592         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
86593         (memcpy): Provide GLIBC_2_2_5 memcpy.
86595 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
86597         [BZ #12631]
86598         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
86600 2011-03-30  Andreas Schwab  <schwab@redhat.com>
86602         * misc/syncfs.c: New file.
86603         * misc/Makefile (routines): Add syncfs.
86604         * posix/unistd.h: Declare syncfs.
86605         * sysdeps/unix/syscalls.list: Add syncfs.
86607 2011-04-01  Andreas Schwab  <schwab@redhat.com>
86609         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
86610         open_by_handle_at.
86611         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
86612         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86613         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86614         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86615         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86616         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
86617         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86619 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
86621         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
86622         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86623         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
86624         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86625         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86626         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86627         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86629         * io/Makefile: Compile fallocate.c, fallocate64.c, and
86630         sync_file_range.c with -fexceptions.
86631         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
86632         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
86633         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
86634         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
86635         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
86636         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
86637         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
86638         sync_file_range as cancellation point
86639         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
86640         now a wrapper around __call_sync_file_range with cancellation handling.
86641         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
86642         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
86643         function name to __call_sync_file_range.
86644         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
86645         Add call_sync_file_range.
86647 2011-04-01  Andreas Schwab  <schwab@redhat.com>
86649         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86650         bits/timex.h.
86652 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
86654         * iconv/iconv.h: Fix typo in comment.
86655         * io/fcntl.h: Likewise.
86656         * libio/stdio.h: Likewise.
86657         * posix/spawn.h: Likewise.
86658         * posix/unistd.h: Likewise.
86659         * stdlib/stdlib.h: Likewise.
86660         * time/time.h: Likewise.
86661         * wcsmbs/wchar.h: Likewise.
86663         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
86664         open_by_handle): Add.
86665         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
86666         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
86667         Augment a few comments.
86668         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86669         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86670         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86671         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86672         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86673         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
86674         open_by_handle.
86676         * io/fcntl.h (AT_EMPTY_PATH): Define.
86678 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
86680         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
86681         * sysdeps/unix/sysv/linux/bits/time.h: New file.
86682         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
86683         to...
86684         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
86685         * Versions.def: Add GLIBC_2.14.
86686         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
86687         Export.
86689 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
86691         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
86692         round counter.
86693         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
86695 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
86697         [BZ #12597]
86698         * string/test-strncmp.c (do_page_test): New function.
86699         (check2): Likewise.
86700         (test_main): Call check2.
86701         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
86703 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
86705         [BZ #12587]
86706         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
86707         Handle cache information in CPU leaf 4.
86708         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
86710 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
86712         [BZ #12583]
86713         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
86714         character representation.
86715         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
86717 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
86719         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
86720         END(__isnan) to END(__isnanf) to match function entry point/label
86721         EALIGN(__isnanf,...).
86723 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
86725         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
86727 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
86729         [BZ #12510]
86730         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
86731         copy from the symbol referenced in the relocation to initialize the
86732         used variable.
86733         Patch by Piotr Bury <pbury@goahead.com>.
86734         * elf/Makefile: Add rules to build and tst-unique3.
86735         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
86736         * elf/tst-unique3.cc: New file.
86737         * elf/tst-unique3.h: New file.
86738         * elf/tst-unique3lib.cc: New file.
86739         * elf/tst-unique3lib2.cc: New file.
86741         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
86743 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
86745         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
86746         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
86747         to _start.
86749 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
86751         * elf/dl-load.c (_dl_map_object): If we are looking for the first
86752         to-be-loaded object along a path to loader is ld.so.
86754 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
86755             Ulrich Drepper  <drepper@gmail.com>
86757         * sysdeps/x86_64/memset.S: After aligning destination, code
86758         branches to different locations depending on the value of
86759         misalignment, when multiarch is enabled. Fix this.
86761 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
86763         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
86764         Set _x86_64_preferred_memory_instruction for AMD processsors.
86765         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86766         Set bit_Prefer_SSE_for_memop for AMD processors.
86768 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
86770         * libio/fmemopen.c (fmemopen): Optimize a bit.
86772 2011-03-03  Andreas Schwab  <schwab@redhat.com>
86774         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
86776 2011-03-03  Roland McGrath  <roland@redhat.com>
86778         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
86780 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
86782         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
86783         __bzero_ultra1 instead of __memset_ultra1.
86785 2011-02-23  Andreas Schwab  <schwab@redhat.com>
86786             Ulrich Drepper  <drepper@gmail.com>
86788         [BZ #12509]
86789         * include/link.h (struct link_map): Add l_orig_initfini.
86790         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
86791         returning unsuccessfully.
86792         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
86793         close of a file loaded at startup, restore the original l_initfini
86794         list.
86795         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
86796         list, store the pointer.
86797         * elf/Makefile ($(objpfx)noload-mem): New rule.
86798         (noload-ENV): Define.
86799         (tests): Add $(objpfx)noload-mem.
86800         * elf/noload.c: Include <memcheck.h>.
86801         (main): Call mtrace.  Close all opened handles.
86803 2011-02-17  Andreas Schwab  <schwab@redhat.com>
86805         [BZ #12454]
86806         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
86807         dependencies are missing.
86809 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86811         Fix __if_freereq crash: Unlike the generic version which uses free,
86812         Hurd needs munmap.
86813         * sysdeps/mach/hurd/ifreq.h: New file.
86815 2011-01-27  Petr Baudis  <pasky@suse.cz>
86816             Ulrich Drepper  <drepper@gmail.com>
86818         [BZ 12445]#
86819         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
86820         to extend_alloca().
86821         * stdio-common/bug23.c: New file.
86822         * stdio-common/Makefile (tests): Add bug23.
86824 2010-09-28  Andreas Schwab  <schwab@redhat.com>
86825             Ulrich Drepper  <drepper@gmail.com>
86827         [BZ #12489]
86828         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
86829         before performing relro protection.  At old place add assertion
86830         to make sure nothing changed.
86832 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
86833             Glauber de Oliveira Costa  <glommer@gmail.com>
86835         * elf/elf.h: Add new ARM TLS relocs.
86837 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
86839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
86840         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
86841         cast from r3.
86842         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
86843         'tests' variable.
86844         * sysdeps/wordsize-64/tst-writev.c: New file.
86846 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
86848         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
86849         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
86850         insns in _dl_start to prevent a TOC reference before relocs are
86851         resolved.
86853 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
86855         [BZ #12469]
86856         * Makeconfig: Remove RANLIB definition.
86857         * Makerules: Don't use RANLIB.
86858         * aclocal.m4: Remove ranlib test.
86859         * configure.in: No need to check for ranlib.
86860         * elf/rtld-Rules: Don't use RANLIB.
86862 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86864         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
86865         protection macro.
86866         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
86867         inclusion protection macro.
86869         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
86870         SIGRTMIN and SIGRTMAX and print information in that case only when
86871         SIGRTMIN is defined.
86873 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
86875         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
86876         arginfo fn returning -1.
86878         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
86879         and thousands string is zero terminated.
86881 2011-02-03  Andreas Schwab  <schwab@redhat.com>
86883         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
86884         sysdeps/unix/sysv/linux/bits/socket.h.
86886 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86888         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
86889         (__CPU_COUNT): Remove old macros.
86890         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
86891         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
86892         (__CPU_ALLOC, __CPU_FREE): Add macros.
86893         (__sched_cpualloc, __sched_cpufree): Add declarations.
86895 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
86897         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
86898         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
86899         * nscd/aicache.c (addhstaiX): Return timeout of added value.
86900         (readdhstai): Return value of addhstaiX call.
86901         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
86902         (addgrbyX): Return value returned by cache_addgr.
86903         (readdgrbyname): Return value returned by addgrbyX.
86904         (readdgrbygid): Likewise.
86905         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
86906         (addpwbyX): Return value returned by cache_addpw.
86907         (readdpwbyname): Return value returned by addhstbyX.
86908         (readdpwbyuid): Likewise.
86909         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
86910         (addservbyX): Return value returned by cache_addserv.
86911         (readdservbyname): Return value returned by addservbyX:
86912         (readdservbyport): Likewise.
86913         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
86914         (addhstbyX): Return value returned by cache_addhst.
86915         (readdhstbyname): Return value returned by addhstbyX.
86916         (readdhstbyaddr): Likewise.
86917         (readdhstbynamev6): Likewise.
86918         (readdhstbyaddrv6): Likewise.
86919         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
86920         (readdinitgroups): Return value returned by addinitgroupsX.
86921         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
86922         (prune_cache): Keep track of timeout value of re-added entries.
86923         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
86924         * nscd/nscd.h: Adjust prototypes of readd* functions.
86926 2011-02-04  Roland McGrath  <roland@redhat.com>
86928         * nis/nis_server.c (nis_servstate): Use the right name for 0.
86929         (nis_stats): Likewise.
86930         * nis/nis_modify.c (nis_modify): Likewise.
86931         * nis/nis_remove.c (nis_remove): Likewise.
86932         * nis/nis_add.c (nis_add): Likewise.
86934         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
86936         * posix/fnmatch_loop.c: Add some consts.
86938         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
86940 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
86942         [BZ #12460]
86943         * config.make.in (config-cflags-novzeroupper): Define.
86944         * configure.in: Substitute libc_cv_cc_novzeroupper.
86945         * elf/Makefile (AVX-CFLAGS): Define.
86946         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
86947         (CFLAGS-tst-auditmod4a.c): Likewise.
86948         (CFLAGS-tst-auditmod4b.c): Likewise.
86949         (CFLAGS-tst-auditmod6b.c): Likewise.
86950         (CFLAGS-tst-auditmod6c.c): Likewise.
86951         (CFLAGS-tst-auditmod7b.c): Likewise.
86952         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
86954 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
86956         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
86957         function to the callback.
86958         Patch partly by Jiri Olsa <jolsa@redhat.com>.
86960 2011-02-02  Andreas Schwab  <schwab@redhat.com>
86962         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
86963         of errno.
86965 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
86967         [BZ #11724]
86968         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
86969         of constructors.
86970         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
86971         of destructors.
86972         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
86974         [BZ #11724]
86975         * elf/Makefile: Add rules to build and run new test.
86976         * elf/tst-initorder.c: New file.
86977         * elf/tst-initorder.exp: New file.
86978         * elf/tst-initordera1.c: New file.
86979         * elf/tst-initordera2.c: New file.
86980         * elf/tst-initordera3.c: New file.
86981         * elf/tst-initordera4.c: New file.
86982         * elf/tst-initorderb1.c: New file.
86983         * elf/tst-initorderb2.c: New file.
86984         * elf/tst-order-a1.c: New file.
86985         * elf/tst-order-a2.c: New file.
86986         * elf/tst-order-a3.c: New file.
86987         * elf/tst-order-a4.c: New file.
86988         * elf/tst-order-b1.c: New file.
86989         * elf/tst-order-b2.c: New file.
86990         * elf/tst-order-main.c: New file.
86991         New test case by George Gensure <werkt0@gmail.com>.
86993 2010-10-01  Andreas Schwab  <schwab@redhat.com>
86995         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86996         decoding ACE if AI_CANONIDN.
86998 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
87000         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
87002 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
87004         * version.h (RELEASE): Bump for 2.13 release.
87005         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
87007         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
87009         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
87010         MADV_NOHUGEPAGE.
87011         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
87012         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
87013         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
87014         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
87015         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
87016         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87018         * posix/getconf.c: Update copyright year.
87019         * catgets/gencat.c: Likewise.
87020         * csu/version.c: Likewise.
87021         * debug/catchsegv.sh: Likewise.
87022         * debug/xtrace.sh: Likewise.
87023         * elf/ldconfig.c: Likewise.
87024         * elf/ldd.bash.in: Likewise.
87025         * elf/sprof.c (print_version): Likewise.
87026         * iconv/iconv_prog.c: Likewise.
87027         * iconv/iconvconfig.c: Likewise.
87028         * locale/programs/locale.c: Likewise.
87029         * locale/programs/localedef.c: Likewise.
87030         * malloc/memusage.sh: Likewise.
87031         * malloc/mtrace.pl: Likewise.
87032         * nscd/nscd.c (print_version): Likewise.
87033         * nss/getent.c: Likewise.
87035         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
87036         PF_CAIF, and PF_ALG.
87037         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87039 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
87041         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
87042         (modules-names): Use them.
87043         (ifunc-test-modules, ifunc-pie-tests): Define.
87044         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
87045         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
87046         (test-extras): Likewise.
87047         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
87048         $(compile-command.c).
87049         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
87050         (all-built-dso): Define.
87051         (check-textrel.out, check-execstack.out): Depend on it.
87053         * configure.in: Don't override --enable-multi-arch.
87055 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
87057         [BZ #6812]
87058         * nscd/hstcache.c (tryagain): Define.
87059         (cache_addhst): Return tryagain not notfound for temporary errors.
87060         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
87061         failed.
87063 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
87065         [BZ #10563]
87066         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
87067         to make the syscall.
87068         * sysdeps/unix/sysv/linux/setgroups.c: New file.
87070         [BZ #12378]
87071         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
87072         and fall back to matching as normal character if the string ends before
87073         the matching ']' is found.  This is what POSIX requires.
87074         * posix/testfnm.c: Adjust test result.
87075         * posix/globtest.sh: Adjust test result.  Add new test.
87076         * posix/tst-fnmatch.input: Likewise.
87077         * posix/tst-fnmatch2.c: Add new test.
87079 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
87081         * elf/Makefile (check-execstack): Revert last change.  Depend on
87082         check-execstack.h.
87083         (check-execstack.h): New target.
87084         (generated): Add check-execstack.h.
87085         * elf/check-execstack.c: Include "check-execstack.h".
87086         (main): Revert last change.
87087         (handle_file): Return zero if GNU_STACK is absent and
87088         DEFAULT_STACK_PERMS doesn't include PF_X.
87090 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
87092         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
87093         in child fails because the descriptor is already closed.
87094         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
87095         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
87096         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
87098         [BZ #12397]
87099         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
87100         syscall.
87102         [BZ #10484]
87103         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
87104         temporary buffer used to handle multi lookups locally.
87105         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
87107 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87109         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
87110         loader is ld.so.
87112 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
87114         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
87115         alignment for SSE2.
87117 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87119         [BZ #12394]
87120         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
87121         characters.  When rounding increased number of integer digits recompute
87122         number of groups.
87123         * stdio-common/tst-grouping.c: New file.
87124         * stdio-common/Makefile: Add rules to build and run tst-grouping.
87126 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
87128         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
87129         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
87131         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
87132         void.
87133         * bits/select.h: Likewise.
87135 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
87137         * po/ja.po: Update from translation team.
87139 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
87141         [BZ #11155]
87142         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
87143         implementation just like for lxstat, fxstatat, et al.
87145 2010-12-27  Jim Meyering  <meyering@redhat.com>
87147         [BZ #12348]
87148         * posix/regexec.c (build_trtable): Return failure indication upon
87149         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
87151 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
87153         [BZ #12201]
87154         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
87155         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
87156         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
87157         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
87159         [BZ #12207]
87160         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
87162         [BZ #12204]
87163         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
87164         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
87166 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
87168         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
87169         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
87170         script has SORT_BY_INIT_PRIORITY.
87171         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
87172         NO_CTORS_DTORS_SECTIONS is defined.
87173         * elf/soinit.c: Likewise.
87174         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
87175         NO_CTORS_DTORS_SECTIONS is defined.
87176         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
87177         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
87178         * sysdeps/sh/init-first.c: Likewise.
87179         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
87181 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
87183         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
87184         always use the slow path.
87186 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
87188         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
87189         similar rule which adds the sysdep directories to the header search in
87190         order to pick up the correct platform stackinfo.h.
87191         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
87192         perform test if it is, otherwise return successfully without testing.
87193         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
87194         DEFAULT_STACK_PERMS define in stackinfo.h.
87195         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
87196         defined in stackinfo.h.
87197         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
87198         DEFAULT_STACK_PERMS defined in stackinfo.h.
87199         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
87200         * sysdeps/ia64/stackinfo.h: Likewise.
87201         * sysdeps/s390/stackinfo.h: Likewise.
87202         * sysdeps/sh/stackinfo.h: Likewise.
87203         * sysdeps/sparc/stackinfo.h: Likewise.
87204         * sysdeps/x86_64/stackinfo.h: Likewise.
87205         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
87206         PF_X for powerpc64.  Retain PF_X for powerpc32.
87208 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
87210         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
87211         accurately.
87212         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
87213         GETDENTS_64BIT_ALIGNED.
87215 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
87217         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
87219 2010-12-10  Andreas Schwab  <schwab@redhat.com>
87221         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
87222         _GNU_SOURCE.
87224         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
87225         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
87226         Remove __restrict.
87227         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
87228         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
87230 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
87232         [BZ #11655]
87233         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
87234         are initialized.
87236 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
87238         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
87240 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
87242         * po/it.po: Update from translation team.
87244 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
87246         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
87247         unused codes.
87249 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
87251         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
87253 2010-11-24  Andreas Schwab  <schwab@redhat.com>
87255         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
87256         specially.
87257         (gaih_getanswer_slice): Likewise.
87259 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
87261         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
87263 2010-05-31  Petr Baudis  <pasky@suse.cz>
87265         [BZ #11149]
87266         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
87267         silently even in the chroot mode.
87269 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
87271         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
87272         last patch a bit.  Pretty printing
87274 2010-05-31  Petr Baudis <pasky@suse.cz>
87276         [BZ #10085]
87277         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
87278         initialization of skip_initgroups_dyn.
87280 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
87282         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
87283         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87285 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
87287         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
87289 2010-11-11  Andreas Schwab  <schwab@redhat.com>
87291         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
87292         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
87293         (tst-fnmatch-ENV): Set MALLOC_TRACE.
87294         ($(objpfx)tst-fnmatch-mem): New rule.
87295         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
87296         * posix/tst-fnmatch.c (main): Call mtrace.
87298 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
87300         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87301         Support Intel processor model 6 and model 0x2c.
87303 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
87305         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
87306           signed comparison.
87308 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
87310         [BZ #12205]
87311         * string/test-strncasecmp.c (check_result): New function.
87312         (do_one_test): Use it.
87313         (check1): New function.
87314         (test_main): Use it.
87315         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
87316         Support strcasecmp and strncasecmp.
87318 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
87320         [BZ #12194]
87321         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
87322         * sysdeps/x86_64/bits/byteswap.h: Likewise.
87324 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
87326         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
87327         IFUNC support.
87328         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87329         memset-x86-64.
87330         * sysdeps/x86_64/multiarch/bzero.S: New file.
87331         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
87332         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
87333         * sysdeps/x86_64/multiarch/memset.S: New file.
87334         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
87335         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87336         Set bit_Prefer_SSE_for_memop for Intel processors.
87337         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
87338         Define.
87339         (index_Prefer_SSE_for_memop): Define.
87340         (HAS_PREFER_SSE_FOR_MEMOP): Define.
87342 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
87344         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
87345         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
87347 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
87349         [BZ #12191]
87350         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87351         (__x86_64_raw_data_cache_size_half): Likewise.
87352         (__x86_64_raw_shared_cache_size): Likewise.
87353         (__x86_64_raw_shared_cache_size_half): Likewise.
87355         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87356         (__x86_64_raw_data_cache_size_half): Likewise.
87357         (__x86_64_raw_shared_cache_size): Likewise.
87358         (__x86_64_raw_shared_cache_size_half): Likewise.
87359         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
87360         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
87361         and __x86_64_raw_shared_cache_size_half.  Round
87362         __x86_64_data_cache_size_half, __x86_64_data_cache_size
87363         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
87364         to multiple of 256 bytes.
87366 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
87368         [BZ #12167]
87369         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
87370         of inacessible symlinks.  Verify result of symlink before returning it.
87371         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
87372         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
87374 2010-10-28  Erich Ritz  <erichritz@gmail.com>
87376         * math/math.h (isinf): Fix typo in comment.
87378 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
87380         * po/da.po: Update from translation team.
87382 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
87384         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
87385         is added to the list.
87387 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87388             Ulrich Drepper  <drepper@gmail.com>
87390         * elf/dl-object.c (_dl_new_object): Don't append the new object to
87391         the global list here.  Move code to...
87392         (_dl_add_to_namespace_list): ...here.  New function.
87393         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
87394         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
87395         * elf/dl-load.c (lose): Don't remove the element from the list.
87396         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
87397         (_dl_map_object): Likewise.
87399 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
87401         [BZ #12159]
87402         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
87403         into all bytes of SSE register.
87404         Patch by Richard Li <richardpku@gmail.com>.
87406 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
87408         [BZ #12140]
87409         * malloc/malloc.c (_int_free): Fill correct number of bytes when
87410         perturbing.
87412 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
87414         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
87415         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
87416         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
87417         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
87418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
87419         submachine.
87420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
87422 2010-10-22  Andreas Schwab  <schwab@redhat.com>
87424         * include/dlfcn.h (__RTLD_SECURE): Define.
87425         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
87426         mode & __RTLD_SECURE instead.
87427         (open_path): Rename preloaded parameter to secure.
87428         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
87429         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
87430         * elf/dl-deps.c (openaux): Likewise.
87431         * elf/rtld.c (struct map_args): Remove is_preloaded.
87432         (map_doit): Don't use it.
87433         (dl_main): Likewise.
87434         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
87435         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
87437 2010-09-09  Andreas Schwab  <schwab@redhat.com>
87439         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
87440         (sysd-rules-targets): Remove duplicates.
87441         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
87442         rtld-%.$o dependency.
87444 2010-10-18  Andreas Schwab  <schwab@redhat.com>
87446         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
87447         _dl_map_object do it.
87449 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
87451         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
87452         fast fma builtins, define the macros in the C99 standard.
87453         (FP_FAST_FMAF): Likewise.
87454         (FP_FAST_FMAL): Likewise.
87455         * sysdeps/x86_64/bits/mathdef.h: Likewise.
87457         * bits/mathdef.h: Update copyright year.
87458         * sysdeps/powerpc/bits/mathdef.h: Likewise.
87460 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
87462         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
87463         builtins, define the macros in the C99 standard.
87464         (FP_FAST_FMAF): Likewise.
87465         (FP_FAST_FMAL): Likewise.
87466         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
87467         multiply/add.
87468         (FP_FAST_FMAF): Likewise.
87470 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
87472         [BZ #3268]
87473         * math/libm-test.inc (fma_test): Some new testcases.
87474         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
87475         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
87476         y and infinite z.  Do multiplication by C already in long double.
87477         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
87478         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
87479         y and infinite z.  Do bitwise or of inexact bit into u.d.
87480         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
87481         * sysdeps/i386/fpu/s_fmaf.S: Removed.
87482         * sysdeps/i386/fpu/s_fma.S: Removed.
87483         * sysdeps/i386/fpu/s_fmal.S: Removed.
87485 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
87487         [BZ #3268]
87488         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
87489         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
87490         computation is not scheduled after fetestexcept.  Fix value
87491         of minimum denormal long double.
87493 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
87495         [BZ #3268]
87496         * math/libm-test.inc (fma_test): Add some more tests.
87497         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
87498         correctly.
87500 2010-10-15  Andreas Schwab  <schwab@redhat.com>
87502         * scripts/data/localplt-s390-linux-gnu.data: New file.
87503         * scripts/data/localplt-s390x-linux-gnu.data: New file.
87505 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
87507         [BZ #3268]
87508         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
87509         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
87510         instead of dbl-64.
87511         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
87512         inlines.
87513         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
87514         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
87515         if one of x and y is very large and the other is subnormal.
87516         * sysdeps/s390/fpu/s_fmaf.c: New file.
87517         * sysdeps/s390/fpu/s_fma.c: New file.
87518         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
87519         * sysdeps/powerpc/fpu/s_fma.S: New file.
87520         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
87521         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
87522         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
87524 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
87526         [BZ #3268]
87527         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
87528         fma tests.
87529         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
87530         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
87531         * sysdeps/i386/i686/multiarch/s_fma.c: Include
87532         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
87533         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
87534         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
87535         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
87537 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
87539         [BZ #12078]
87540         * posix/regcomp.c (parse_branch): One more memory leak plugged.
87541         * posix/bug-regex31.input: Add test case.
87543 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
87545         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
87546         * posix/bug-regex31.input: New file.
87548         [BZ #12078]
87549         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
87550         (parse_sub_exp): Fix last change, use postorder.
87552         * posix/bug-regex31.c: New file.
87553         * posix/Makefile: Add rules to build and run bug-regex31.
87555         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
87557         [BZ #12078]
87558         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
87560         [BZ #12108]
87561         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
87562         to have entries in sys_siglist.
87564         [BZ #12093]
87565         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
87566         be NULL.
87568 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
87570         [BZ #3268]
87571         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
87572         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
87573         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
87574         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
87575         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
87576         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
87577         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
87578         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
87579         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
87580         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
87581         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
87582         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
87583         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
87584         * math/ftestexcept.c (fetestexcept): Likewise.
87585         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
87586         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
87587         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
87588         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
87589         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
87590         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
87591         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
87593 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
87595         [BZ #12107]
87596         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
87597         newline.
87599 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
87601         * string/bug-strstr1.c: New file.
87602         * string/Makefile: Add rules to build and run bug-strstr1.
87604 2010-10-05  Eric Blake  <eblake@redhat.com>
87606         [BZ #12092]
87607         * string/str-two-way.h (two_way_long_needle): Always clear memory
87608         when skipping input due to the shift table.
87610 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
87612         [BZ #12005]
87613         * malloc/mcheck.c: Handle large requests.
87615         [BZ #12077]
87616         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
87617         for strncmp and strncasecmp.
87618         * string/stratcliff.c: Add tests for strcmp and strncmp.
87619         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
87621 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
87623         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
87624         __set_fpscr.
87626 2010-09-30  Andreas Jaeger  <aj@suse.de>
87628         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
87629         (CGROUP_SUPER_MAGIC): Define.
87630         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87631         Handle btrfs and cgroup file systems.
87632         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
87633         Likewise.
87635 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
87637         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
87638         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
87640 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87642         [BZ #12067]
87643         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
87644         trying to locate the ELF header.
87646 2010-09-27  Andreas Schwab  <schwab@redhat.com>
87648         [BZ #11611]
87649         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
87650         Mask out sign-bit copies when constructing f_fsid.
87652 2010-09-24  Petr Baudis <pasky@suse.cz>
87654         * debug/stack_chk_fail_local.c: Add missing licence exception.
87655         * debug/warning-nop.c: Likewise.
87657 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
87659         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
87660         implementing getdents64 using getdents syscall, set d_type if
87661         __ASSUME_GETDENTS32_D_TYPE.
87663 2010-09-16  Andreas Schwab  <schwab@redhat.com>
87665         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
87666         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
87668 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
87670         [BZ #12037]
87671         * posix/unistd.h: Undo change of feature selection for ftruncate from
87672         2010-01-11.
87674 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
87676         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
87677         detection.
87679 2010-09-20  Andreas Schwab  <schwab@redhat.com>
87681         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
87682         fanotify_mark.
87683         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
87685 2010-09-14  Andreas Schwab  <schwab@redhat.com>
87687         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
87688         variables after CHECK_SP call.
87689         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
87691 2010-09-13  Andreas Schwab  <schwab@redhat.com>
87692             Ulrich Drepper  <drepper@redhat.com>
87694         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
87695         re-relocationg ld.so.
87696         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
87697         _dl_init_paths call.
87698         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
87699         here anymore.
87701 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
87703         * resolv/res_init.c (__res_vinit): Count the default server we added.
87705 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
87706             Ulrich Drepper  <drepper@redhat.com>
87708         [BZ #11968]
87709         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
87710         (____longjmp_chk): Use %ebx for saving value across system call.
87711         Add unwind info.
87713 2010-09-06  Andreas Schwab  <schwab@redhat.com>
87715         * manual/Makefile: Don't mix pattern rules with normal rules.
87717 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
87719         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
87720         operation.
87721         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
87722         * libio/iofopncook.c (_IO_cookie_init): Likewise.
87723         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
87724         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
87725         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87726         Likewise.
87728 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
87730         [BZ #11979]
87731         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
87732         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
87734 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
87736         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
87737         * sysdeps/x86_64/addmul_1.S: Likewise.
87738         * sysdeps/x86_64/lshift.S: Likewise.
87739         * sysdeps/x86_64/mul_1.S: Likewise.
87740         * sysdeps/x86_64/rshift.S: Likewise.
87741         * sysdeps/x86_64/sub_n.S: Likewise.
87742         * sysdeps/x86_64/submul_1.S: Likewise.
87744 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87746         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
87747         Define __sched_param instead of SCHED_* and sched_param when
87748         <bits/sched.h> is included with __need_schedparam defined.
87749         * bits/sched.h [__need_schedparam]
87750         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
87751         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
87752         (__defined_schedparam): Define to 1.
87753         (__sched_param): New structure, identical to sched_param.
87754         (__need_schedparam): Undefine.
87756 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
87758         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
87759         (epoll_create1): Declare.
87761         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
87763 2010-08-31  Andreas Schwab  <schwab@redhat.com>
87765         [BZ #7066]
87766         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
87767         shifting retval into place.
87769 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
87771         * nis/rpcsvc/nis.h: Update copyright notice.
87772         * nis/rpcsvc/nis.x: Likewise.
87773         * nis/rpcsvc/nis_callback.h: Likewise.
87774         * nis/rpcsvc/nis_callback.x: Likewise.
87775         * nis/rpcsvc/nis_object.x: Likewise.
87776         * nis/rpcsvc/nis_tags.h: Likewise.
87777         * nis/rpcsvc/yp.h: Likewise.
87778         * nis/rpcsvc/yp.x: Likewise.
87779         * nis/rpcsvc/ypupd.h: Likewise.
87780         * nis/yp_xdr.c: Likewise.
87781         * nis/ypupdate_xdr.c: Likewise.
87783         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
87784         mainly the body of pmap_getport.  Add parameters to specify timeouts.
87785         (pmap_getport): Use __libc_rpc_getport.
87786         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
87787         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
87788         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
87790 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
87792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
87793         fanotify_mark.
87795 2010-08-27  Roland McGrath  <roland@redhat.com>
87797         * sysdeps/i386/i686/multiarch/Makefile
87798         (CFLAGS-varshift.c): New variable.
87800 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
87802         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
87803         * sysdeps/i386/i686/multiarch/varshift.c: New file.
87805         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
87807         * sysdeps/x86_64/strlen.S: Minimal code improvement.
87809 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
87811         * sysdeps/x86_64/strlen.S: Unroll the loop.
87812         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87813         strlen-sse2 strlen-sse2-bsf.
87814         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
87815         __strlen_no_bsf if bit_Slow_BSF is set.
87816         (__strlen_sse42): Removed.
87817         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
87818         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
87820 2010-08-25  Roland McGrath  <roland@redhat.com>
87822         * sysdeps/x86_64/multiarch/varshift.S: File removed.
87823         * sysdeps/x86_64/multiarch/varshift.c: New file.
87824         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
87825         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
87826         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
87827         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
87829 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
87831         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87832         strlen-sse2 strlen-sse2-bsf.
87833         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
87834         __strlen_sse2_bsf if bit_Slow_BSF is unset.
87835         (__strlen_sse2): Removed.
87836         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
87837         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
87838         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
87839         bit_Slow_BSF for Atom.
87840         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
87841         (index_Slow_BSF): Define.
87842         (HAS_SLOW_BSF): Define.
87844 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
87846         [BZ #10851]
87847         * resolv/res_init.c (__res_vinit): When no server address at all
87848         is given default to loopback.
87850 2010-08-24  Roland McGrath  <roland@redhat.com>
87852         * configure.in: Remove config-name.h generation.
87853         * configure: Regenerated.
87854         * config-name.in: File removed.
87855         * scripts/config-uname.sh: New file.
87856         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
87857         ($(objdir)config-name.h): New target.
87859         * sunrpc/rpc_parse.h: Avoid nested comment.
87861 2010-08-24  Richard Henderson  <rth@redhat.com>
87862             Ulrich Drepper  <drepper@redhat.com>
87863             H.J. Lu  <hongjiu.lu@intel.com>
87865         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
87866         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
87867         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
87868         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
87869         _mm_alignr_epi8 with _mm_loadu_si128.
87870         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
87871         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
87872         (__m128i_shift_right): Removed.
87873         * sysdeps/i386/i686/multiarch/varshift.h: New file.
87874         * sysdeps/i386/i686/multiarch/varshift.S: New file.
87875         * sysdeps/x86_64/multiarch/varshift.h: New file.
87876         * sysdeps/x86_64/multiarch/varshift.S: New file.
87878 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
87880         * configure.in: Move assembler checks to before sysdep dir checking.
87882 2010-08-20  Petr Baudis  <pasky@suse.cz>
87884         * LICENSES: Sync the sunrpc license.
87886 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
87888         * sunrpc/auth_des.c: Update copyright notice once again.
87889         * sunrpc/auth_none.c: Likewise.
87890         * sunrpc/auth_unix.c: Likewise.
87891         * sunrpc/authdes_prot.c: Likewise.
87892         * sunrpc/authuxprot.c: Likewise.
87893         * sunrpc/bindrsvprt.c: Likewise.
87894         * sunrpc/clnt_gen.c: Likewise.
87895         * sunrpc/clnt_perr.c: Likewise.
87896         * sunrpc/clnt_raw.c: Likewise.
87897         * sunrpc/clnt_simp.c: Likewise.
87898         * sunrpc/clnt_tcp.c: Likewise.
87899         * sunrpc/clnt_udp.c: Likewise.
87900         * sunrpc/clnt_unix.c: Likewise.
87901         * sunrpc/des_crypt.c: Likewise.
87902         * sunrpc/des_soft.c: Likewise.
87903         * sunrpc/get_myaddr.c: Likewise.
87904         * sunrpc/getrpcport.c: Likewise.
87905         * sunrpc/key_call.c: Likewise.
87906         * sunrpc/key_prot.c: Likewise.
87907         * sunrpc/openchild.c: Likewise.
87908         * sunrpc/pm_getmaps.c: Likewise.
87909         * sunrpc/pm_getport.c: Likewise.
87910         * sunrpc/pmap_clnt.c: Likewise.
87911         * sunrpc/pmap_prot.c: Likewise.
87912         * sunrpc/pmap_prot2.c: Likewise.
87913         * sunrpc/pmap_rmt.c: Likewise.
87914         * sunrpc/rpc/auth.h: Likewise.
87915         * sunrpc/rpc/auth_unix.h: Likewise.
87916         * sunrpc/rpc/clnt.h: Likewise.
87917         * sunrpc/rpc/des_crypt.h: Likewise.
87918         * sunrpc/rpc/key_prot.h: Likewise.
87919         * sunrpc/rpc/netdb.h: Likewise.
87920         * sunrpc/rpc/pmap_clnt.h: Likewise.
87921         * sunrpc/rpc/pmap_prot.h: Likewise.
87922         * sunrpc/rpc/pmap_rmt.h: Likewise.
87923         * sunrpc/rpc/rpc.h: Likewise.
87924         * sunrpc/rpc/rpc_des.h: Likewise.
87925         * sunrpc/rpc/rpc_msg.h: Likewise.
87926         * sunrpc/rpc/svc.h: Likewise.
87927         * sunrpc/rpc/svc_auth.h: Likewise.
87928         * sunrpc/rpc/types.h: Likewise.
87929         * sunrpc/rpc/xdr.h: Likewise.
87930         * sunrpc/rpc_clntout.c: Likewise.
87931         * sunrpc/rpc_cmsg.c: Likewise.
87932         * sunrpc/rpc_common.c: Likewise.
87933         * sunrpc/rpc_cout.c: Likewise.
87934         * sunrpc/rpc_dtable.c: Likewise.
87935         * sunrpc/rpc_hout.c: Likewise.
87936         * sunrpc/rpc_main.c: Likewise.
87937         * sunrpc/rpc_parse.c: Likewise.
87938         * sunrpc/rpc_parse.h: Likewise.
87939         * sunrpc/rpc_prot.c: Likewise.
87940         * sunrpc/rpc_sample.c: Likewise.
87941         * sunrpc/rpc_scan.c: Likewise.
87942         * sunrpc/rpc_scan.h: Likewise.
87943         * sunrpc/rpc_svcout.c: Likewise.
87944         * sunrpc/rpc_tblout.c: Likewise.
87945         * sunrpc/rpc_util.c: Likewise.
87946         * sunrpc/rpc_util.h: Likewise.
87947         * sunrpc/rpcinfo.c: Likewise.
87948         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
87949         * sunrpc/rpcsvc/key_prot.x: Likewise.
87950         * sunrpc/rpcsvc/klm_prot.x: Likewise.
87951         * sunrpc/rpcsvc/mount.x: Likewise.
87952         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
87953         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
87954         * sunrpc/rpcsvc/rex.x: Likewise.
87955         * sunrpc/rpcsvc/rstat.x: Likewise.
87956         * sunrpc/rpcsvc/rusers.x: Likewise.
87957         * sunrpc/rpcsvc/sm_inter.x: Likewise.
87958         * sunrpc/rpcsvc/spray.x: Likewise.
87959         * sunrpc/rpcsvc/yppasswd.x: Likewise.
87960         * sunrpc/rtime.c: Likewise.
87961         * sunrpc/svc.c: Likewise.
87962         * sunrpc/svc_auth.c: Likewise.
87963         * sunrpc/svc_authux.c: Likewise.
87964         * sunrpc/svc_raw.c: Likewise.
87965         * sunrpc/svc_run.c: Likewise.
87966         * sunrpc/svc_simple.c: Likewise.
87967         * sunrpc/svc_tcp.c: Likewise.
87968         * sunrpc/svc_udp.c: Likewise.
87969         * sunrpc/svc_unix.c: Likewise.
87970         * sunrpc/svcauth_des.c: Likewise.
87971         * sunrpc/xcrypt.c: Likewise.
87972         * sunrpc/xdr.c: Likewise.
87973         * sunrpc/xdr_array.c: Likewise.
87974         * sunrpc/xdr_float.c: Likewise.
87975         * sunrpc/xdr_mem.c: Likewise.
87976         * sunrpc/xdr_rec.c: Likewise.
87977         * sunrpc/xdr_ref.c: Likewise.
87978         * sunrpc/xdr_sizeof.c: Likewise.
87979         * sunrpc/xdr_stdio.c: Likewise.
87981         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
87982         handling.
87984 2010-08-19  Andreas Schwab  <schwab@redhat.com>
87986         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
87988 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
87990         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
87991         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
87992         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
87993         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
87994         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
87995         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
87996         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
87997         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
87998         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
87999         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
88000         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
88001         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
88002         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
88003         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
88005 2010-07-26  Anton Blanchard  <anton@samba.org>
88007         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
88008         * malloc/arena.c (heap_trim): Likewise.
88010 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
88012         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
88013         here.  Not...
88014         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
88015         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
88017 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
88019         * sysdeps/i386/elf/Makefile: New file.
88021 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88023         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
88024         from fanotify_init.
88025         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
88026         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88028 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
88030         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
88031         of strncasecmp_l.
88032         * sysdeps/multiarch/strcmp.S: Likewise.
88034 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
88036         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88037         strncase_l-nonascii.
88038         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88039         Add strncase_l-ssse3.
88040         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
88041         * sysdeps/x86_64/strcmp.S: Likewise.
88042         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
88043         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
88044         * sysdeps/x86_64/strncase.S: New file.
88045         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
88046         * sysdeps/x86_64/strncase_l.S: New file.
88047         * string/Makefile (strop-tests): Add strncasecmp.
88048         * string/test-strncasecmp.c: New file.
88050         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
88051         warning.
88053         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
88054         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
88056 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88058         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
88060 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
88062         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
88063         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
88064         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
88066 2010-05-01  Alan Modra  <amodra@gmail.com>
88068         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
88069         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
88070         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
88071         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
88072         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
88073         tidying.  Don't tail-call __sigjmp_save for static lib.
88074         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
88075         save location.
88076         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
88077         (CALL_MCOUNT): Add eh info, and nop after bl.
88078         (TAIL_CALL_SYSCALL_ERROR): New macro.
88079         (PSEUDO_RET): Use it.
88080         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
88081         Correct save location of integer regs and cr.
88082         (_dl_profile_resolve): Correct cr save location.  Delete nops
88083         after bl when SHARED.  Reduce cfi size a little by better
88084         placement of cfi directives.
88085         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
88086         make a stack frame.  Instead use parm save area as a temp.
88087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
88088         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
88089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
88090         Don't make a stack frame for parent, use parm save area.
88091         Increase child stack frame to 112 bytes.  Don't save unused reg,
88092         and adjust reg usage.  Set up cfi on error recovery and
88093         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
88094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
88095         (__makecontext): Add dummy nop after jump to exit.
88096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
88097         Use correct parm save area and cr save, reduce stack frame.
88098         Correct cfi for possible PSEUDO_RET frame setup.
88099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
88100         Branch to local label emitted by PSEUDO_RET rather than
88101         __syscall_error.
88103 2010-08-12  Andreas Schwab  <schwab@redhat.com>
88105         [BZ #11904]
88106         * locale/programs/locale.c (print_assignment): New function.
88107         (show_locale_vars): Use it.
88109 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
88111         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
88112         field.
88113         (struct statfs64): Likewise.
88114         (_STATFS_F_FLAGS): Define.
88115         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
88116         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88117         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
88118         (ST_VALID): Define locally.
88119         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
88120         __statvfs_getflags, use the provided value.
88121         * sysdeps/unix/sysv/linux/kernel-features.h: Define
88122         __ASSUME_STATFS_F_FLAGS.
88124         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
88126         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
88127         Add sys/fanotify.h.
88128         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
88129         fanotify_mask for GLIBC_2.13.
88130         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
88131         fanotify_init and fanotify_mark.
88132         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88133         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
88135         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
88136         Add prlimit.
88137         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
88138         prlimit64 for GLIBC_2.13.
88139         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
88140         prlimit64.
88141         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
88142         syscall.
88143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
88144         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88145         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
88146         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
88147         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
88148         add prlimit alias.
88149         * sysdeps/unix/sysv/linux/prlimit.c: New file.
88151         [BZ #11903]
88152         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
88153         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
88155         * nss/Makefile: Add rules to build and run tst-nss-test1.
88156         * shlib-versions: Add entry for libnss_test1.
88157         * nss/nss_test1.c: New file.
88158         * nss/tst-nss-test1.c: New file.
88160         * nss/nsswitch.c (__nss_database_custom): Define new variable.
88161         (__nss_configure_lookup): Set appropriate entry in
88162         __nss_configure_lookup to true.
88163         * nss/nsswitch.h: Define enum with indeces of databases in
88164         databases and __nss_database_custom arrays.  Declare
88165         __nss_database_custom.
88166         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
88167         to avoid using nscd when custom rules are installed.
88168         * nss/getXXbyYY_r.c: Likewise.
88169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
88171         * nss/nss_files/files-parse.c: Whitespace fixes.
88173 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
88175         [BZ #11883]
88176         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
88177         * posix/fnmatch_loop.c: Likewise.
88179 2010-07-17  Andi Kleen  <ak@linux.intel.com>
88181         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
88182         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
88183         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
88184         * Versions.def [GLIBC_2.13]: Add.
88186 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
88188         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88189         Also fail if tpwd after pwuid call is NULL.
88191 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88193         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
88194         when converting to ms.
88196 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88198         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
88199         EOPNOTSUPP errors with ENOTTY.
88200         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
88201         EOPNOTSUPP errors with ENOTTY.
88203 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
88205         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88206         Add strcasecmp_l-ssse3.
88207         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
88208         strcasecmp.
88209         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
88210         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
88211         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
88213 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
88215         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
88217         * string/Makefile (strop-tests): Add strcasecmp.
88218         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88219         strcasecmp_l-nonascii.
88220         (gen-as-const-headers): Add locale-defines.sym.
88221         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
88222         * sysdeps/x86_64/strcasecmp.S: New file.
88223         * sysdeps/x86_64/strcasecmp_l.S: New file.
88224         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
88225         * sysdeps/x86_64/locale-defines.sym: New file.
88226         * string/test-strcasecmp.c: New file.
88228         * string/test-strcasestr.c: Test both ends of the range of characters.
88229         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
88231 2010-07-29  Roland McGrath  <roland@redhat.com>
88233         [BZ #11856]
88234         * manual/locale.texi (Yes-or-No Questions): Fix example code.
88236 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
88238         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
88239         for ld.so.
88241 2010-07-27  Andreas Schwab  <schwab@redhat.com>
88243         * manual/memory.texi (Malloc Tunable Parameters): Document
88244         M_PERTURB.
88246 2010-07-26  Roland McGrath  <roland@redhat.com>
88248         [BZ #11840]
88249         * configure.in (-fgnu89-inline check): Set and substitute
88250         gnu89_inline, not libc_cv_gnu89_inline.
88251         * configure: Regenerated.
88252         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
88254 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
88256         * string/test-strnlen.c: New file.
88257         * string/Makefile (strop-tests): Add strnlen.
88258         * string/tester.c (test_strnlen): Add a few more test cases.
88259         * string/tst-strlen.c: Better error reporting.
88261         * sysdeps/x86_64/strnlen.S: New file.
88263 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
88265         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
88266         lower-latency instructions.
88268 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
88270         * string/test-strcasestr.c: New file.
88271         * string/test-strstr.c: New file.
88272         * string/Makefile (strop-tests): Add strstr and strcasestr.
88273         * string/str-two-way.h: Don't undefine MAX.
88274         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
88276 2010-07-21  Andreas Schwab  <schwab@redhat.com>
88278         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88279         strcasestr-nonascii.
88280         (CFLAGS-strcasestr-nonascii.c): Define.
88281         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
88282         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
88283         Remove unused attribute.
88285 2010-07-20  Roland McGrath  <roland@redhat.com>
88287         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
88288         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
88289         ld.so.cache was broken.  With it, there is no way to disable dsocaps
88290         like LD_HWCAP_MASK can disable hwcaps.
88292 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
88294         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
88296 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
88298         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
88299         call in strcasestr.
88300         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
88301         __strcasestr_sse42_nonascii.
88302         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
88303         strcasestr-nonascii.c.
88304         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
88306 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
88308         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
88309         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
88310         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
88311         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
88313 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
88315         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
88316         fcntl.
88318 2010-07-06  Andreas Schwab  <schwab@redhat.com>
88320         [BZ #11577]
88321         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
88322         dl_signal_cerror.
88324 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
88326         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
88327         _PC_PIPE_BUF using F_GETPIPE_SZ.
88329 2010-07-05  Roland McGrath  <roland@redhat.com>
88331         * manual/arith.texi (Rounding Functions): Fix rint description
88332         implicit in round description.
88334 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
88336         * elf/Makefile: Fix linking for a few tests to make recent linker
88337         happy.
88339 2010-06-30  Andreas Schwab  <schwab@redhat.com>
88341         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
88342         $(common-objpfx)libc_nonshared.a.
88344 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
88346         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
88347         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
88348         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88349         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88350         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
88351         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
88352         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88353         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
88355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
88356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
88357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
88359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
88361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
88362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
88363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
88364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
88366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
88368         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
88369         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
88370         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
88371         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
88372         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
88373         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
88374         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
88375         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
88376         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
88377         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
88378         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
88379         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
88380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
88381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
88382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
88383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
88384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
88385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
88386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
88387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
88388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
88389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
88390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
88391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
88392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
88393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
88395 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
88397         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
88398         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
88399         * string/memmove.c (memmove): Renamed to ...
88400         (MEMMOVE): ...this.  Default to memmove.
88401         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
88402         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
88403         (END_CHK): Define.
88404         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88405         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
88406         mempcpy-ssse3-back memmove-ssse3-back.
88407         * sysdeps/x86_64/multiarch/bcopy.S: New file .
88408         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
88409         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
88410         * sysdeps/x86_64/multiarch/memcpy.S: New file.
88411         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
88412         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
88413         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
88414         * sysdeps/x86_64/multiarch/memmove.c: New file.
88415         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
88416         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
88417         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
88418         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
88419         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
88420         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
88421         Define.
88422         (index_Fast_Copy_Backward): Define.
88423         (HAS_ARCH_FEATURE): Define.
88424         (HAS_FAST_REP_STRING): Define.
88425         (HAS_FAST_COPY_BACKWARD): Define.
88427 2010-06-21  Andreas Schwab  <schwab@redhat.com>
88429         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88430         Restore proper fallback handling.
88432 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
88434         [BZ #11701]
88435         * posix/group_member.c (__group_member): Correct checking loop.
88437         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
88438         OOM in getpwuid_r correctly.  Return error number when the caller
88439         should return, otherwise -1.
88440         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
88441         call returning > 0 value.
88442         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
88444 2010-06-07  Andreas Schwab  <schwab@redhat.com>
88446         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
88447         libc_nonshared.a from targets in modules-names.
88449 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
88451         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
88452         requires it.
88454 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
88456         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
88457         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
88458         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
88459         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
88461 2010-06-02  Andreas Schwab  <schwab@redhat.com>
88463         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
88465 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
88467         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
88468         and F_GETPIPE_SZ.
88469         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88470         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88471         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88472         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88473         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88474         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88476 2010-06-14  Roland McGrath  <roland@redhat.com>
88478         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
88480 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
88482         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
88483         __REDIRECT followed by __THROW.
88484         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
88485         * posix/getopt.h (getopt): Likewise.
88487 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
88489         * hurd/lookup-at.c (__file_name_lookup_at): Accept
88490         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
88491         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
88492         in AT_FLAGS.
88493         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
88494         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
88496 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
88498         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
88500 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
88502         [BZ #11640]
88503         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88504         Properly check family and model.
88506 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
88508         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
88510 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
88512         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
88514 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
88516         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
88517         symbol reference.
88519 2010-05-19  Andreas Schwab  <schwab@redhat.com>
88521         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
88522         symbol reference.
88524 2010-05-21  Andreas Schwab  <schwab@redhat.com>
88526         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
88527         and internal_recvmmsg.
88528         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
88529         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
88530         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
88531         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
88533         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
88534         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
88535         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
88537 2010-05-20  Andreas Schwab  <schwab@redhat.com>
88539         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
88541 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
88543         POWER7 optimizations.
88544         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
88545         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
88547 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
88549         * version.h: Update for 2.13 development version.
88551 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
88553         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
88554         exceptions.  Return 0.
88556 2010-05-07  Roland McGrath  <roland@redhat.com>
88558         * elf/ldconfig.c (main): Add a const.
88560 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
88562         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
88563         (args_options): Add no-idn option.
88564         (ahosts_keys_int): Add idn_flags to ai_flags.
88565         (parse_option): Handle 'i' option to clear idn_flags.
88567         * malloc/malloc.c (_int_free): Possible race in the most recently
88568         added check.  Only act on the data if no current modification
88569         happened.
88571 See ChangeLog.17 for earlier changes.